Query:
Can I run OpManagerCentral as Linux service so that it starts after server reboot.
Resolution:
Yes, you can run OpManagerCentral as a Unix Service.
Follow the steps mentioned below to install OpManagerCentral as a service on a linux box.
1. Copy the attached OpManagerCentral.txt file to /etc/init.d directory as OpManagerCentral
mv /etc/init.d/OpManagerCentral.txt /etc/init.d/OpManagerCentral
2.
Edit the MDIR variable in this file which should point to the bin
folder of OpManagerCentral Installation directory using the command "vi /etc/init.d/OpManagerCentral" . Typically, the default
installation folder on a Linux box will be /opt/AdventNet/ME/probe.
Hence the value for MDIR should be MDIR=/opt/AdventNet/ME/central/bin
3.Edit the line " sh ShutDownOpManager.sh admin admin >>/var/log/OpManagerCentral.log 2>&1 " in OpManagerCentral file, so that it will look like shown below
" sh ShutDownOpManager.sh admin <yourAdminPassword> >>/var/log/OpManagerCentral.log 2>&1 "
4. Provide executable permissions for this script using
chmod 755 /etc/init.d/OpManagerCentral
5. Use chkconfig command to add opmanager as a service
chkconfig --add OpManagerCentral
For further details visit this forum post;
http://forums.adventnet.com/viewtopic.php?t=1181
and get back to us (mspsupport@opmanager.com)
OS:RH Linux 7.2 and above
Please click on link below to download OpManagerCentral.txt :
OpManagerCentral.txt