Building an HP SIM 5.x server on a Linux-based Serviceguard Cluster (444847-001, February 2007)

Click Add to add the FS Type (ext3), Volume Name (/dev/vgsg/lvsg), and the
Mount Directory (/hpsimlnx).
Figure 7
In the Run command field, enter the path for the start script:
/etc/init.d/sgsim start
In the Halt command field, enter the path for the stop script:
/etc/init.d/sgsim stop
# cat /etc/init.d/sgsim
#!/bin/sh
# sgsim This is the init script for starting up the HPSIM + SG
#
# chkconfig: - 99 01
# description: Starts and stops the HPSIM + PostgreSQL backend daemon
# processname: sgsim
# pidfile: /var/run/sgsim.pid
# Source function library.
INITD=/etc/rc.d/init.d
. $INITD/functions
# Get function listing for cross-distribution logic.
TYPESET=`typeset -f|grep "declare"`
NAME=sgsim
15