To start the Control-M/EM components, enter the following commands.
EM_ACC='emxxx'
EM_DIR=$EM_HOME
EM_OWNER='emuser'
EM_OWPD='empass'
EMDB_VNAME='vhemxxx'
HOSTNAME=`hostname`
# 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 emcms-name $EMDB_VNAME &"
# Start the Control-M/EM Configuration Agent and the Control-M/EM Server components
su - $EM_ACC -c $EM_DIR/bin/start_config_agent
NOTE: Ensure that the BMC_EM_PROFILE_NAME environment variable is set in the account prior starting the Control-M Configuration Server and the Control-M/EM Configuration Agent. This step is performed automatically if the $BMC_HOST_INSTALL environment variable is set prior to starting the installation.
To stop the Control-M/EM components, enter the following commands.
EM_ACC='emxxx'
EM_OWNER=$EM_HOME
EM_OWPD='empass'
EMDB_VNAME='vhemxxx'
EM_DIR='/export1/emxxx'
# Stop the Control-M/EM Configuration Agent and all components
su - $EM_ACC -c "$EM_DIR/bin/em ctl -U $EM DBO user -P $EM_OWPD -C Config_Agent -all -cmd shutdown"
# Stop Control-M Configuration Server
su - EM_ACC -c "$EM_DIR/bin/em ctl -U $EM DBO user -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
Parent Topic |