This procedure describes how to configure the automatic startup/shutdown script for Control-M/EM on UNIX (optional).
NOTE: If not all Control-M/EM server components are installed on one account, you need to include the startup and shutdown commands in operating system startup and shutdown scripts of the host computer.
To configure the automatic startup/shutdown script for Control-M/EM on UNIX:
em ctl -U Control-M/EM_database_owner -P
Control-M/EM_database_owner_password -C Config_Agent -M hostname -cmd
shutdown
sleep 10
em ctl -U Control-M/EM_database_owner -P
Control-M/EM_database_owner_password -C CMS -M hostname -cmd stop
su - em_account -c stop_ns_daemon
su - em_account -c stop_web_server
sleep 10
su - em_account -c "stop_server -U db_server_administrator_name -P
db_server_administrator_name"
Parent Topic |