HP StorageWorks XP Cluster Extension Software Administrator Guide (T1656-96035, April 2010)
1. Copy the multipath_rescan.sh script to the /etc/opt/hpclx/conf folder, and rename
the file as follows:
• RHCS: multipath_rescan_ServiceName.sh
• SLE HA: multipath_rescan_ResourceGroupName.sh
2. Open the script file and enter the user-friendly names of all multipath devices that are in the
volume groups configured for the RHCS service or SLE HA resource group.
For instructions on finding the user-friendly name of a multipath device, see “Finding the
user-friendly name of a multipath device” on page 107.
In the following example, you specify the user-friendly names (mpathab, mpathac, and mpathad)
for the variable MULTIPATH_DEVICES:
MULTIPATH_DEVICES=( mpathab mpathac mpathad )
3. Enter the multipath_rescan.sh script for the PostExecScript object in the Cluster Extension
resource configuration file.
You must specify the full path name of the multipath_rescan.sh script. For example:
Finding the user-friendly name of a multipath device
The multipath_rescan.sh script requires that you enter the user-friendly names of the multipath
devices. To obtain the user-friendly name of a multipath device:
1. Run the pvs command to view the multipath device names for your volume groups.
In the following example, dm-21 and dm-23 are the multipath devices for the volume group
vg01:
[root@node1 ]# pvs
PV VG Fmt Attr PSize PFree
/dev/dm-21 vg01 lvm2 a- 1.82G 0
/dev/dm-23 vg01 lvm2 a- 1.82G 0
/dev/dm-24 vg02 lvm2 a- 1.82G 0
XP Cluster Extension Software Administrator Guide 107