Setting up HP SIM 5.x on an HP-UX Serviceguard Cluster (448492-002, February 2008)

43
if [ $ret
-
eq 0 ]; then
echo_success
else
echo_failure
res=1
fi
echo
rm
-
f /var/lock/subsys/${NAME}
exit $res
}
restart(){
stop
start
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
status)
status sgsim
;;
restart)
restart
;;
*)
echo $"Usage: $0 {start|stop|status|restart}"
exit 1
esac
exit 0
7.
For each node, create the foll
owing symbolic link
#
ln
sf /hpsimlnx/etc/init.d/sgim /etc/init.d
The package
can be started
:
1.
Select
Package
and then
Administration / run
package
.