Using udev to Simplify HP Serviceguard for Linux Configuration, October 2006

4
Special Naming for LockLUN
Serviceguard for Linux treats the LockLUN device in a special way. This places a
restriction on the types of device names that are acceptable. Only names starting with
/dev/sd or /dev/cciss are accepted for LockLUN. When using udev, the recommended
persistent names for LockLUN are /dev/sdLockLUN since CCISS devices are not
supported. Partition numbers will be added by the system.
Configuring udev
The configuration files for udev are in /etc/udev/rules.d. The udev configuration file
entries associate a physical device to a logical name based on information that uniquely
identifies the physical device. The three major steps to configuring udev for the shared
storage used by Serviceguard are:
Obtain and install the LMP utility
Create rules for a device
Create links for persistence
Note that the kernel shipped with Novell SLES10 (and probably later distributions like
RedHat 5) have differences in implementation.
Obtaining and Installing the LMP Utility
HP’s LUN Persistence and Migration Utility for Linux was created to simplify migration
from SecurePath. This tool can be used to simplify creating udev entries for Serviceguard
for Linux.
1. Download the file LMPutils.tar.gz on the page “LUN Persistence and Migration Utility
for Linux”. You can access this page directly using the URL link:
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=e
n&cc=us&prodTypeId=12169&prodSeriesId=1814938&prodNameId=1825342&swEnv
OID=2025&swLang=8&mode=2&taskId=135&swItem=co-39335-1
or you can search
www.hp.com
for the title. The version used for this white paper is dated March 2006.
2. Enter the following commands to install the hpudev-cfg package:
# tar -zxvf LMPutils.tar.gz
# cd ./LMPutils
# ./install.sh –i