HP StorageWorks P9000 Cluster Extension Software Administrator Guide (TB534-96009, February 2011)

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
2. Obtain the SCSI ID for a multipath device. Use the scsi_id command for SUSE Linux
Enterprise Server, and the hp_scsi_id command for Red Hat Enterprise Linux.
SUSE Linux Enterprise Server:
[root@node1 ]# scsi_id -guns /block/dm-21
360060e8014424600000142460000039d
Red Hat Enterprise Linux:
[root@node1]# hp_scsi_id -guns /block/dm-14
360060e8014424600000142460000039d
3. Use the multipath command to obtain the user-friendly name for the multipath device's
generated SCSI ID. In the following example, mpathq is the user-friendly name of a multipath
device:
[root@node1]# multipath -ll | grep 360060e8014424600000142460000039d | awk
'{print $1}' mpathq
Configuring the pair/resync monitor
The pair/resync monitor is a service that verifies that disks are in the pair state, and resyncs them
when necessary. The pair/resync monitor determines whether the requesting server is allowed
access to the pair/resync monitor. To access the pair/resync monitor, you must update the remote
access hosts file and configure the pair/resync monitor port.
Updating the remote access hosts file
Enter the names of the remote systems in a remote access hosts file.
1. Open the /etc/opt/hpclx/conf/clxhosts file.
2. Enter each host name on a separate line.
You can leave blank lines, but do not enter comments. For example:
# cat /etc/opt/hpclx/conf/clxhosts
dcBserver
dcAserver
Configuring the pair/resync monitor port
Enter the port that the pair/resync monitor will monitor.
1. Open the /etc/services file.
2. Choose the port that the pair/resync monitor will use, and then add the following line to the
services file:
clxmonitor nnnnn /tcp
where nnnnn is the port number. For example:
clxmonitor 22222/udp # CLX Pair/Resync Monitor
clxmonitor 22222/tcp # CLX Pair/Resync Monitor
Configuring the pair/resync monitor 67