HP Hitachi Dynamic Link Manager Software User Manual
Page 278
![background image](/manuals/397404/278/background.png)
3. Creating an HDLM Environment
254
In Figure 3-30: Device Configuration When a Logical Volume on a SCSI Device Is
Moved to an HDLM Device,
sd
n indicates the different LUs.
sddlmad1
and
sddlmad2
indicate the HDLM devices corresponding to each LU.
To move the logical volume to an HDLM device:
1.
Make sure that HDLM has been installed.
Execute the
rpm
command to make sure that HDLM has been installed.
# rpm -q HDLM
HDLM-
x
.
x
.
x
.
x
.
xxx
-
x
2.
Make sure that the path is a single path.
Execute the HDLM-configuration definition utility (
dlmcfgmgr
) with the
-v
parameter specified to make sure that the path to the LU is a single path.
# dlmcfgmgr -v
HDevName Management Device Host Channel Target Lun
/dev/sddlmaa configured /dev/sda 2 0 0 0
/dev/sddlmab configured /dev/sdb 2 0 0 1
KAPL10302-I /sbin/dlmcfgmgr completed normally.
3.
Stop all processes and services that are using the SCSI and HDLM devices.
4.
Unmount the logical volume to be moved.
In the following example, the logical volume subject to the move has been
mounted on
/mnt/lvol1
:
# umount /mnt/lvol1
5.
Deactivate the volume group.
In the following example, the logical volume to be moved belongs to the
vg01
volume group:
# vgchange -an vg01
0 logical volume(s) in volume group "vg01" now active
6.
Export the volume group.
In the following example, the command exports information about the
vg01
volume group:
# vgexport vg01
Volume group "vg01" successfully exported