HP Serviceguard for Linux Version A.11.18 Release Notes, 2nd Edition, March 2009

1. Choose from the list of disks to be configured for shared storage:
fdisk -l
The following output appears. Choose a disk accessible from all the members of
the cluster. It should be of type 8e Linux LVM. For example, in this case it should
be either /dev/sda1 or /dev/sdb1.
Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes
255 heads, 63 sectors/track, 8854 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 33 265041 83 Linux
/dev/cciss/c0d0p2 34 546 4120672+ 82 Linux swap
/dev/cciss/c0d0p3 547 8854 66734010 83 Linux
Disk /dev/sda: 104 MB, 104448000 bytes
4 heads, 50 sectors/track, 1020 cylinders
Units = cylinders of 200 * 512 = 102400 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1020 101975 8e Linux LVM
Disk /dev/sdb: 104 MB, 104448000 bytes
4 heads, 50 sectors/track, 1020 cylinders
Units = cylinders of 200 * 512 = 102400 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1020 101975 8e Linux LVM
2. Create the physical volume: pvcreate -ff /dev/sda1
3. Create the volume group: vgcreate /dev/vgclog /dev/sda1
4. Create a logical volume: lvcreate L 96 /dev/vgclog/
5. Check that the Volume group was created successfully: vgdisplay /dev/vgclog
6. Create an ext3 file system: mke2fs v j /dev/vgclog/lvol0
7. Create a mount point /clog. You should create a mount point for other cluster
nodes, allowing the clog package to fail over in case of a node failure: mkdir
/clog
8. Back up the configuration of the volume group: vgcfgbackup /dev/vgclog
9. On the other nodes in the cluster, re-read the disk header and scan for the file
system:
sfdisk -R /dev/sda
vgscan
Compatibility Information and Installation Requirements 63