HP Serviceguard for Linux Version A.11.19 Deployment Guide, September 2012

21
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/mpath0p1
100 MB
n/a
ws package LUN
edenshare_ws
/dev/sdb,
/dev/sde
/dev/mapper/mpath1p1
200 MB
/ws
clog package
LUN
edenshare_clog
/dev/sdc, /dev/sdf
/dev/mapper/mpath2p1
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 can be configured as a Linux partition (Hex code 83) and the package LUNs can be
configured as Linux LVM partitions (Hex code 8e). Alternatively, you can configure the cluster lock
LUN on a whole LUN starting with the following patches:
SGLX_00330 for Red Hat Enterprise Linux 5 on IA32
SGLX_00331 for Red Hat Enterprise Linux 5 on IA64
SGLX_00332 for Red Hat Enterprise Linux 5 on x86_64
Patches can be downloaded from HP Support Centre at http://www.hp.com/go/hpsc.
If you are using a partitioned LUN for each volume, create a new (n) partition (Partition #1), set the
type (t), and save (w) the settings for the partition.
NOTE: If you are using a whole LUN, skip the steps described below.
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