OVNM 5.3 - Operations Agent for NonStop Installation Guide

Appendix E: HP MC/SG Cluster Installation Supplement 123
Appendix E: HP MC/SG Cluster Installation Supplement 123
MC/SG Cluster Package Control Script
To configure the Cluster to automatically start and stop OVNM, the package control script,
/etc/cmcluster/ov-server/ov-server.cntl, needs to be modified on EACH node of the cluster. The
startup and shutdown commands for OVNM are defined in the CUSTOMER DEFINED FUNCTIONS section.
function customer_defined_run_cmds
{
/opt/OV/lbin/ovharg -start ov-server
sleep 10
if [ -x /var/opt/OV/share/ovnm/bin/ovnm_start.sh ]; then
/var/opt/OV/share/ovnm/bin/ovnm_start.sh
fi
}
function customer_defined_halt_cmds
{
if [ -x /var/opt/OV/share/ovnm/bin/ovnm_stop.sh ]; then
/var/opt/OV/share/ovnm/bin/ovnm_stop.sh
fi
/opt/OV/lbin/ovharg -stop ov-server }