HP Cluster Management Utility CMU Installation Guide with Serviceguard Version 4.0 (May 2009)

24
SUBNET : This variable defines the subnet monitored by the cmu pakage to take a decision
on whether a failover should occur or not. If your cmu cluster has two networks (the site
network and the compute network) you may choose one of the two networks to monitor.
CAUTION:
Once you completed the customization, copy the file to the other management server at
the same location, to ensure that changes are applied to both servers.
Customize the package environment file
The package startup script $SGCONF/cmu_sg_pkg/cmu_sg_pkg.env must be configured to
reflect your configuration. Some changes are optional, other are mandatory.
Optional changes
If you had chosen to change the default values for LVM volume group and logical volume in
paragraph 16 “Configure LVM” you need to use the same naming here:
VG[0] the volume group name. Must be the name that you assigned to the volume when
you issued the lvcreate command. You can check with the vgscan command:
# vgscan
Reading all physical volumes. This may take a while...
Found volume group "vgcmu" using metadata type lvm2
LV[0]
a.
LV[0] : logical volume name. /dev/[volume-group]/lvol0, in this example
/dev/vgcmu/lvol0.
CAUTION:
Please do not change the following three parameters, which
are on the same line:
b.
FS[0] : the logical volume mount point: /opt/cmu
c.
FS_MOUNT_OPT[0]: ext3
d.
FS_MOUNT_OPT[0]: “”
Mandatory changes
The following parameter must be changed to reflect your configuration:
IP[0]="16.16.8.219" : the site alias address, presented to the GUI interface. This IP
address will be affected to the server actually running the package. This is IP0 of figure 2
and figure 4.
SUBNET[0]="16.16.8.0" : the subnet for the site alias address
If you have a cluster with compute nodes connected to a private network as in figure 4 you
also need to uncomment and configure the following lines:
IP[1]="10.0.0.10" : the private alias address associated with the package, presented
to the CMU cluster (compute nodes); This is IP1 in figure 2 and 3.
SUBNET[1]="10.0.0.0": the subnet for the private ip alias address.
Copy cmu package files to the other cmu administration server
Once you completed the customization, copy the cmu package files to
the other cmu server:
# ssh cmumgt2 mkdir $SGCONF/cmu_sg_pkg
# scp cmu_sg_pkg.sh hptc216:$SGCONF/cmu_sg_pkg
# scp cmu_sg_pkg.config hptc216:$SGCONF/cmu_sg_pkg
# scp cmu_sg_pkg.env hptc216:$SGCONF/cmu_sg_pkg
Apply the package configuration
CAUTION:
This step has to be performed on only one management
server.