Managing HP Serviceguard for Linux, Eighth Edition, March 2008

Building an HA Cluster Configuration
Preparing Your Systems
Chapter 5168
The partition table on the rebooted node is then rebuilt using the
information placed on the disks when they were partitioned on the
other node.
NOTE You must reboot at this time.
3. Run vgscan to make the LVM configuration visible on the new node
and to create the LVM database on /etc/lvmtab and
/etc/lvmtab.d. For example, on ftsys10:
vgscan
Testing the Shared Configuration
When you have finished the shared volume group configuration, you can
test that the storage is correctly sharable as follows:
Step 1. On ftsys9, activate the volume group, mount the file system that was
built on it, write a file in the shared file system and look at the result:
vgchange --addtag $(uname -n) vgpkgB
vgchange -a y vgpkgB
mount /dev/vgpkgB/lvol1 /extra
echo ‘Written by’ ‘hostname‘ ‘on’ ‘date‘ > /extra/datestamp
cat /extra/datestamp
You should see something like the following, showing the datestamp
written by the other node:
Written by ftsys9.mydomain on Mon Jan 22 14:23:44 PST 2006
Now unmount the volume group again:
umount /extra
vgchange -a n vgpkgB
vgchange --deltag $(uname -n) vgpkgB