Print Download PDF Send Feedback

Previous

Next

mdsstart and mdsstop

Description

The mdsstart command starts the Multi-Domain Server and all Domain Management Servers.

The mdsstop command stops the Multi-Domain Server and all Domain Management Servers.

To stop and start a specific Domain Management Server, see these commands:

Syntax

mdsstart [-m | -s]

mdsstop [-m | -s]

Parameters

Parameter

Description

-m

Optional: Starts or stops only the Multi-Domain Server and not the Domain Management Servers.

-s

Optional: Starts or stops all the Domain Management Servers sequentially.

The command waits for each Domain Management Server to come up or to stop, before it starts or stops the next one.

Controlling the number of Domain Management Servers to start or stop sequentially

You can decrease the amount of time it takes to start and stop the Multi-Domain Server when there are many Domain Management Servers. To do this, set the value of the environment variable NUM_EXEC_SIMUL to the desired number of Domain Management Servers that start or stop at the same time. By default, the system attempts to start or stop up to 10 Domain Management Servers at the same time.

To set the desired value of the environment variable NUM_EXEC_SIMUL temporarily (in the current shell):

Step

Description

1

Connect to the command line on the Multi-Domain Server.

2

Log in to the Expert mode.

3

Set the value of the environment variable NUM_EXEC_SIMUL:

# export NUM_EXEC_SIMUL=<Number of Domain Management Servers>

Example: export NUM_EXEC_SIMUL=5

4

Make sure the new value of the environment variable NUM_EXEC_SIMUL is set:

# echo $NUM_EXEC_SIMUL

Output must show the configured value.

To set the desired value of the environment variable NUM_EXEC_SIMUL permanently:

Step

Description

1

Connect to the command line on the Multi-Domain Server.

2

Log in to the Expert mode.

3

Back up the current /etc/rc.d/rc.local file:

# cp -v /etc/rc.d/rc.local{,_BKP}

4

Edit the current /etc/rc.d/rc.local file:

# vi /etc/rc.d/rc.local

5

Add this line at the bottom of the file:

export NUM_EXEC_SIMUL=<Number of Domain Management Servers>

Example: export NUM_EXEC_SIMUL=5

Important - After this line, you must press Enter to add a new line.

6

Save the changes in the file and exit the Vi editor.

7

Reboot.

8

Make sure the new value of the environment variable NUM_EXEC_SIMUL is set:

# echo $NUM_EXEC_SIMUL

Output must show the configured value.

To unset the current value of the environment variable NUM_EXEC_SIMUL temporarily (in the current shell):

Item

Description

1

Connect to the command line on the Multi-Domain Server.

2

Log in to the Expert mode.

3

Unset the value of the environment variable NUM_EXEC_SIMUL:

# unset NUM_EXEC_SIMUL

4

Make sure the environment variable NUM_EXEC_SIMUL is unset:

# echo $NUM_EXEC_SIMUL

Output must be empty.