Previous Topic

Next Topic

Book Contents

Book Index

Cluster administration mode

To start the Control-M/EM components, enter the following commands.

EM_ACC='emxxx'

EM_VNAME='vhemxxx'

CTM_VNAME='vhctmxxx'

EM_DIR=$EM_HOME

# Start Control-M EM CORBA Naming Service

su - $EM_ACC -c "$EM_DIR/bin/start_ns_daemon"

# Start Control-M Configuration Server

su - $EM_ACC -c "$EM_DIR/bin/em cms -name $EMDB_VNAME"

# Start Control-M EM GUI Server

su - $EM_ACC -c "$EM_DIR/bin/em guisrv -name $EM_VNAME"

# Start Control-M EM Global Conditions Server

su - $EM_ACC -c "$EM_DIR/bin/em gcsrv"

# Start Control-M EM Gateway

su - $EM_ACC -c "$EM_DIR/bin/em gtw -dc $CTM_VNAME"

# Start Control-M Batch Impact Manager Server

su - $EM_ACC -c "$EM_DIR/bin/em bimsrv -name=$EM_VNAME & -gsr=$EM_VNAME "

# Start Control-M Forecast Server

su - $EM_ACC -c "$EM_DIR/bin/em forecastsrv -gsr=$EM_VNAME &"

# Start Control-M Self Service Server

su - $EM_ACC -c "$EM_DIR/bin/em selfservicesrv -name $EM_VNAME -gsr=$EM_VNAME &"

To stop the Control-M/EM components, enter the following commands.

EM_ACC='emxxx'

EM_OWNER='emuser'

EM_OWPD='empass'

EM_VNAME='vhemxxx'

HOSTNAME=`hostname`

EM_DIR=$EM_HOME

CTM_VNAME='vhctmxxx'

# Stop Control-M EM GUI Server

su - $EM_ACC -c "$EM_DIR/bin/em ctl -U $EM_OWNER -P $EM_OWPD -C GUI_Server -name $EM_VNAME -cmd stop"

sleep 3

# Stop Control-M EM Global Conditions Server

su - $EM_ACC -c "$EM_DIR/bin/em ctl -U $EM_OWNER -P $EM_OWPD -C GCS -M $HOSTNAME -cmd stop"

sleep 3

# Stop Control-M EM Gateway

su - $EM_ACC -c "$EM_DIR/bin/em ctl -U $EM_OWNER -P $EM_OWPD -C Gateway -dc $CTM_VNAME -cmd stop"

sleep 3

# Stop Control-M Configuration Server

su - EM_ACC -c "$EM_DIR/bin/em ctl -U $EM_OWNER -P $EM_OWPD -C CMS -all -cmd stop"

sleep 5

# Stop Control-M EM CORBA Naming Service

su - $EM_ACC -c "$EM_DIR/bin/orbadmin ns stop -local"

sleep 5

# Stop Control-M Batch Impact Manager Server

su - $EM_ACC -c "$EM_DIR/bin/em ctl -U $EM_OWNER -P $EM_OWPD -C BIM -name $EM_VNAME -

cmd stop"

sleep 3

# Stop Control-M Forecast Server

su - $EM_ACC -c "$EM_DIR/bin/em ctl -U $EM_OWNER -P $EM_OWPD

-C Forecast_Server -name $EM_VNAME -cmd stop"

sleep 5

# Stop Control-M Self Service Server

su - $EM_ACC -c "$EM_DIR/bin/em ctl -U $EM_OWNER -P $EM_OWPD

-C Self_Service_Server -name $EM_VNAME -cmd stop sleep 5

NOTE: Before defining the Control-M/EM Gateway cluster resource, the Control-M/Server should be defined using the Control-M Configuration Manager.

NOTE: Create a Gateway resource for each Control-M/Server that is connected to Control-M/EM. In the resource command line, indicate the Control-M/Server name as a value to the -dc parameter.

Commands for starting the Control-M Web Server:

# Start the Control-M Web Server

EM_ACC='emxxx'

EM_DIR=$EM_HOME

su - $EM_ACC -c "$EM_DIR/bin/start_web_server.sh"

Commands for stopping the Control-M Web Server:

# Stop the Control-M Web Server

EM_ACC='emxxx'

EM_DIR=$EM_HOME

su - $EM_ACC -c "$EM_DIR/bin/stop_web_server.sh"

sleep 3

Parent Topic

Configuring the policy file