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

16
# The environment variables PACKAGE, NODE, SG_PACKAGE,
# SG_NODE and SG_SCRIPT_LOG_FILE a
re set by Serviceguard
# at the time the control script is executed.
# Do not set these environment variables yourself!
# The package may fail to start or halt if the values for
# these environment variables are altered.
# NOTE: Starting from 11.17, all
environment variables set by
# Serviceguard implicitly at the time the control script is
# executed will contain the prefix "SG_". Do not set any variable
# with the defined prefix, or the control script may not
# function as it should.
# Test to see if
the shell is POSIX compliant. On RH6.2 /bin/bash (which
# is the default shell, ie. /bin/sh is sym linked to it) is version
# 1.x and does not support some of the features that this control
# script uses (specifically arrays). Bash version 2.x does support
# arrays and is included as /bin/bash2. We will first check to see of
# the shell that invoked us (/bin/bash) will work (in case someone
# changed it, if not we will use /bin/bash2.
#
# At SG installation time we checked to make sure
# that either /bin/ba
sh will work with this control script or
# that /bin/bash2 is installed. The SG rpm would not install unless
# one of these conditions are true. On RH7.x the default /bin/bash
# shell is version 2 and thus will work fine.
sglinux[0]=1 >/dev/null 2>&1
if [
$?
-
gt 0 ]; then
# not a valid shell
# will invoking /bin/bash2
exec /bin/bash2
-
c "$0 $*"
exit 1
fi
. ${SGCONFFILE:=/etc/cmcluster.conf}
# UNCOMMENT the variables as you set them.
# Set PATH to reference the appropriate directories.
PAT
H=$SGSBIN:/bin:/sbin:/usr/bin:/usr/sbin
# GFS
# This package control script provides support for the Red Hat GFS
# (Global File System). The use of GFS is mutually exclusive of other
# filesystems. That is if used GFS is the only filesystem that can
# be
defined within a single package control script. Other package
# control scripts may be defined and may define other filesystems.
# There are certain default variable settings when used with GFS. These
# are defined below. These variables will automatically
be set to
# the proper values if using GFS. Specifically:
#
# DATA_REP="none" (the default)
# RAIDTAB should be unset (the default)
# No VGs should be defined (the default)
# No MDs should be defined (the default)
# FS_UMOUNT_COUN
T=1 (the default)
# FS_MOUNT_RETRY_COUNT=0 (the default)
# CONCURRENT_FSCK_OPERATIONS=1 (the default)
#
# To use GFS uncomment the 'GFS="YES"' and comment 'GFS="NO"'
# (the default) and following the directions outlined below in the
# LV, FS and
FS_TYPE section.
#GFS="YES"
GFS="NO"
#
# REMOTE DATA REPLICATION DEFINITION
# Specify the remote data replication method.