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

18
In the example above, the shared volume is active on cmumgt2, run format on that server. If
the volume is inactive on both servers, activate it on one of the two.
Note: when the volume is inactive on a node, the device special file does not exist.
It is created as the volume is activated.
Format the volume:
# mke2fs -j /dev/vgcmu/lvol0
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
2621440 inodes, 5242880 blocks
262144 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
160 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736,
1605632, 2654208,
4096000
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 22 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
2-4 Configuring the cluster
Enable the use of Serviceguard variables by entering the following command:
On Redhat:
# . /usr/local/cmcluster/conf/cmcluster.conf.default
On SuSE:
# . /opt/cmcluster/conf/cmcluster.conf.default
Configure PATH
On Redhat:
# vi /etc/bashrc
export PATH=$PATH:/usr/local/cmcluster/bin
Os SuSE:
# vi /etc/bash.bashrc.local
export PATH=$PATH:/opt/cmcluster/bin
Authorize Serviceguard access
Edit the file $SGCONF/cmclnodelist and add a “+” at the end, as follows:
# vi $SGCONF/cmclnodelist
###########################################################
# Do not edit this file!
# Serviceguard uses this file only to authorize access to an