unix controlm/em startup and shutdown scripts
unix controlm/em startup and shutdown scripts
Hi, I am trying to locate some examples of startup and shutdown scrips for controlm and EM. I have reviewed the manuals.
Hi
Here is existing information on that topic for Control-EM
And here is an example for Control-M Server 6.1.03
You need to replace /controlm/ by your own path.
#!/bin/sh
# start/stop CONTROL-M
SYBASE=/controlm/sybase; export SYBASE
DSLISTEN=CTRLM; export DSLISTEN
DSQUERY=CTRLM; export DSQUERY
case "$1" in
'start')
# start sybase dataserver at boot
if [ -f /controlm/sybase/install/RUN ]; then
echo "Starting SQL server for CONTROL-M"
su - controlm -c "sleep 120 ; /controlm/ctm/scripts/start-sybase &"
sleep 10
fi
# start CONTROL-M at boot
if [ -f /controlm/ctm/scripts/start-ctm ]; then
echo "Starting CONTROL-M application"
su - controlm -c "sleep 120 ; /controlm/ctm/scripts/start-ctm &"
sleep 10
fi
;;
'stop')
if [ -f /controlm/ctm/scripts/shut-ctm ]; then
su - controlm -c "/controlm/ctm/scripts/shut-ctm &"
fi
if [ -f /controlm/ctm/scripts/shut-sybase ]; then
su - controlm -c "/controlm/ctm/scripts/shut-sybase &"
fi
;;
*)
echo "Usage: /etc/init.d/Controlm { start | stop }"
;;
esac
exit 0
To Control-M Server 6.2.01 and above
replace:
shut-ctm by shut_ctm
start-ctm by start_ctm
shut-sybase by shutdb same to oracle
start-sybase by startdb
To Control-M 6.3.01 you must add command followin command to manage Configuration Agent.
shut_ca and start_ca
And if it's for Control-M version 6.3.01 /ctm/ has been replace by /ctm_server/
Here is existing information on that topic for Control-EM
And here is an example for Control-M Server 6.1.03
You need to replace /controlm/ by your own path.
#!/bin/sh
# start/stop CONTROL-M
SYBASE=/controlm/sybase; export SYBASE
DSLISTEN=CTRLM; export DSLISTEN
DSQUERY=CTRLM; export DSQUERY
case "$1" in
'start')
# start sybase dataserver at boot
if [ -f /controlm/sybase/install/RUN ]; then
echo "Starting SQL server for CONTROL-M"
su - controlm -c "sleep 120 ; /controlm/ctm/scripts/start-sybase &"
sleep 10
fi
# start CONTROL-M at boot
if [ -f /controlm/ctm/scripts/start-ctm ]; then
echo "Starting CONTROL-M application"
su - controlm -c "sleep 120 ; /controlm/ctm/scripts/start-ctm &"
sleep 10
fi
;;
'stop')
if [ -f /controlm/ctm/scripts/shut-ctm ]; then
su - controlm -c "/controlm/ctm/scripts/shut-ctm &"
fi
if [ -f /controlm/ctm/scripts/shut-sybase ]; then
su - controlm -c "/controlm/ctm/scripts/shut-sybase &"
fi
;;
*)
echo "Usage: /etc/init.d/Controlm { start | stop }"
;;
esac
exit 0
To Control-M Server 6.2.01 and above
replace:
shut-ctm by shut_ctm
start-ctm by start_ctm
shut-sybase by shutdb same to oracle
start-sybase by startdb
To Control-M 6.3.01 you must add command followin command to manage Configuration Agent.
shut_ca and start_ca
And if it's for Control-M version 6.3.01 /ctm/ has been replace by /ctm_server/
AIX controlm/em startup and shutdown scripts for CTM server
Do you happen to have the startup and shutdown scripts for Control M server 6.2.01?
Thanks
TRAVO
Thanks
TRAVO
AIX controlm/em startup and shutdown scripts for CTM server
I assuem there is two different scripts one for Control M EM and one for Control M server???