HP Serviceguard for Linux Version A.11.18 Deployment Guide, August 2008

23
volume for the sample Serviceguard for Linux package to be created in a later step. And the third
volume is for the DSAU consolidated log (clog), which allows the user to view consolidated syslog
and Serviceguard package logs for the entire cluster from a central location. The consolidated log
will be configured as a Serviceguard for Linux package, also in a later step.
Most of the shared volume configuration is performed on the first node. The configuration can then
be imported to the second node. A few of the steps must be performed on both nodes.
Table 3 shows the details for the 3 shared volumes used in this sample deployment.
Shared
Volume
Volume Name (on
the MSA)
Standard
device
paths
Device Mapper
persistent name
Partition
size
Mount
point
Cluster lock
LUN
edenshare_lockLUN /dev/sda,
/dev/sdd
/dev/mapper/mpath2 100 MB n/a
ws package
LUN
edenshare_ws /dev/sdb,
/dev/sde
/dev/mapper/mpath3 200 MB /ws
clog package
LUN
edenshare_clog /dev/sdc,
/dev/sdf
/dev/mapper/mpath4
300 MB /clog
Table 3. Shared Volumes
Create the Partitions
When configuring the shared storage device earlier in this document, you created 3 shared volumes.
They are for the cluster lock LUN, the ws package LUN, and the clog package LUN. The cluster lock
LUN needs to be configured as a “Linux” partition (Hex code 83) and the package LUNs need to be
configured as “Linux LVM” partitions (Hex code 8e). For each volume, you will create a new (n)
partition (Partition #1), set the type (t), and save (w) the settings for the partition.
The steps in this section are to be executed on one server only.
1. To create a partition on the cluster lock LUN (/dev/sda), run the fdisk command and answer
the prompts as follows (user inputs in bold):
fdisk /dev/sda
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-1024, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-1024, default 1024): 1024
Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 83
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
2. To create a partition on the ws package LUN (/dev/sdb), run the fdisk command and answer
the prompts as follows (user inputs in bold):
fdisk /dev/sdb
Command (m for help): n
Command action