OpUtils as a Linux Service

OpUtils as a Linux Service

Hi,

Given below are the steps to run OpUtils as a Linux Service:

1. Copy the attached oputils.txt to /etc/init.d directory as oputils
mv /etc/init.d/oputils.txt /etc/init.d/oputils

2. Edit the MDIR variable in this file which should point to the bin folder of OpUtils Installation directory.
MDIR=/root/AdventNet/ME/OpUtils/bin

3. Provide executable permissions for this script using
chmod 755 /etc/init.d/oputils

4. Use chkconfig command to add opmanager as a service
/sbin/chkconfig --add oputils


Now, OpUtils starts and shuts down along with the system.

Hope this helps

Thanks & regards,
Ananth

















                  New to ADSelfService Plus?