The APM Enterprise Manager EM is installed on RHEL. We have to start the EM service using “EMCtrl.sh” manually after an OS reboot. How can we get the EM to start automatically after a reboot?
To start the EM service automatically when RHEL reboots, configure the startup script. An example is provided below:
1. Open “/etc/rc.d/rc.local” in vi editor (vi /etc/rc.d/rc.local)
2. Add the following lines to the end of the file
cd <EM_HOME>/bin
./EMCtrl.sh start
It will look something like the following:
3. Save and quit the vi editor
Note: <EM_HOME> is the path of EM installation directory. The next time when server reboots, EM service should restart automatically. The above example is tested with RHEL 6.4.