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

11
Configuring the
c
luster
Managing SGLX authorizations
#
cat > /usr/local/cmcluster/conf/cmclnodelist << EOF
SG1hpsimlnx root
SG2hpsimlnx root
SG1hpsimlnxp root
SG2hpsimlnxp root
EOF
#
chmod 600 /usr/local/cmcluster/conf/cmclnodelist
Generating the clust
er.conf file
# cmquerycl
v
C $SGCONF/cluster.config
n node1
n node2
q Quorum
#
cat > $SGCONF/cluster.conf << EOF
#**********************************************************************
#********* HIGH AVAILABILITY CLUSTER CONFIGURATION FILE *********
******
#***** For complete details about cluster parameters and how to *******
#***** set them, consult the ServiceGuard manual. *********************
#**********************************************************************
# Enter a name for this cluster.
This name will be used to identify the
# cluster when viewing or manipulating it.
CLUSTER_NAME sghpsimlnx
# Quorum Server Parameters. Use the SGQSHPSIMLNX_HOST,
SGQSHPSIMLNX_POLLING_INTERVAL,
# and SGQSHPSIMLNX_TIMEOUT_EXTENSION parameters to de
fine a quorum
server.
# The SGQSHPSIMLNX_HOST is the host name or IP address of the system
# that is running the quorum server process. The
# SGQSHPSIMLNX_POLLING_INTERVAL (microseconds) is the interval at which
# ServiceGuard checks to make sure the quor
um server is running.
# The optional SGQSHPSIMLNX_TIMEOUT_EXTENSION (microseconds) is used to
increase
# the time interval after which the quorum server is marked DOWN.
# The default quorum server timeout is calculated from the
# ServiceGuard cluster param
eters, including NODE_TIMEOUT and
# HEARTBEAT_INTERVAL. If you are experiencing quorum server
# timeouts, you can adjust these parameters, or you can include
# the SGQSHPSIMLNX_TIMEOUT_EXTENSION parameter.
# For example, to configure a quorum server runni
ng on node
# "SGQShpsimlnxhost" with 120 seconds for the
SGQSHPSIMLNX_POLLING_INTERVAL and to
# add 2 seconds to the system assigned value for the quorum server
# timeout, enter:
# SGQSHPSIMLNX_HOST SGQShpsimlnxhost
# SGQSHPSIMLNX_POLLING_INTERVAL 12000000
0
# SGQSHPSIMLNX_TIMEOUT_EXTENSION 2000000
SGQSHPSIMLNX_HOST SQSGQSHPSIMLNXhpsimlnx
SGQSHPSIMLNX_POLLING_INTERVAL 300000000
# Definition of nodes in the cluster.
# Repeat node definitions as necessary for additional nodes.
NODE_NA
ME SG1hpsimlnx
NETWORK_INTERFACE eth0
HEARTBEAT_IP 192.168.5.11
NETWORK_INTERFACE eth2
HEARTBEAT_IP 10.0.0.31
NODE_NAME SG2hpsimlnx
NETWORK_INTERFACE eth0
HEARTBEAT_IP 192.168.5
.12
NETWORK_INTERFACE eth2