Setting up an HP SIM server 6.0 or greater on a Linux-based Serviceguard Cluster White Paper 444847-004, February 2010

22
# external connections (activate package IP addresses). Therefore, at
the time
# the clients connect to the system, the application server is
# ready for service.
#
# If you set the HA_APP_SERVER to "post
-
IP", t
he application will be
started
# AFTER adding the package IP address(es) to the system. Application
servers
# such as Apache Web Server will check the existing IP when the server
starts.
# These applications will not be started if the IP has not been added
to the
# system.
#
#Uncomment one the following lines as needed:
#
#HA_APP_SERVER="pre
-
IP"
HA_APP_SERVER="post
-
IP"
# SERVICE NAMES AND COMMANDS.
# Specify the service name, command, and restart parameters which are
# used by this package. Uncomment SERV
ICE_NAME[0]="",
SERVICE_CMD[0]="",
# SERVICE_RESTART[0]="" and fill in the name of the first service,
command,
# and restart parameters. You must begin with SERVICE_NAME[0],
SERVICE_CMD[0],
# and SERVICE_RESTART[0] and increment the list in sequence.
#
# F
or example:
# SERVICE_NAME[0]=cmresserviced_pkg1
# SERVICE_CMD[0]="/usr/local/cmcluster/bin/cmresserviced
/dev/md0"
# SERVICE_RESTART[0]="" # Will not restart the service.
#
# SERVICE_NAME[1]=pkg1a
# SERVICE_
CMD[1]="/usr/bin/X11/xclock
-
display 192.10.25.54:0"
# SERVICE_RESTART[1]="" # Will not restart the service.
#
# SERVICE_NAME[2]=pkg1c
# SERVICE_CMD[2]="/bin/ping 127.0.0.1"
# SERVICE_RESTART[2]="
-
R" # Will restart the
service an
infinite
# number of times.
#
# Note: No environmental variables will be passed to the command, this
# includes the PATH variable. Absolute path names are required for the
# service command definition. Defau
lt shell is /bin/sh.
#
#SERVICE_NAME[0]=""
#SERVICE_CMD[0]=""
#SERVICE_RESTART[0]=""
# Setting the log file
log_file=${SG_SCRIPT_LOG_FILE:
-
$0.log}
# START OF CUSTOMER DEFINED FUNCTIONS
# This function is a place holder for customer define functions.