Settings for xen, Settings for xen -205 – HP Hitachi Dynamic Link Manager Software User Manual
Page 277
Execute the following command to make sure that the information about
the physical volume for the target logical volume has been changed to the
information about the HDLM device:
# pvscan
PV /dev/sddlmad1 VG vg01 lvm2 [468.00 MB / 368.00 MB free]
PV /dev/sddlmad2 VG vg01 lvm2 [548.00 MB / 548.00 MB free]
Total: 2 [1016.00 MB] / in use: 2 [1016.00 MB] / in no VG: 0
[0 ]
11
.
Activate the volume group.
In the following example, the logical volume subject to the move belongs
to the vg01 volume group:
# vgchange -ay vg01
1 logical volume(s) in volume group "vg01" now active
12
.
Add a path to the LU.
Add a path to an existing LU by carrying out the procedure described in
Adding a Path to an Existing LU on page 4-40
in
Device Configuration on page 4-36
13
.
Mount the logical volume that was moved.
In the following example, the logical volume that was moved is /dev/
vg01/lvol1 and the command mounts the volume on /mnt/lvol1:
# mount /dev/vg01/lvol1 /mnt/lvol1
Settings for Xen
When HDLM is installed in an environment that uses Xen, the SCSI devices
corresponding to HDLM devices are accessible from a domainU environment.
Therefore, you must specify the certain settings so that the SCSI devices
cannot be accessed from the domainU environment directly.
The following procedure shows how to migrate SCSI device /dev/sda, which
is connected in the domainU environment in a single-path configuration, to
HDLM device /dev/sddlmaa, which is connected in a multi-path configuration.
1
.
Check the correspondence between the HDLM and SCSI devices.
Execute the HDLM configuration definition utility (dlmcfgmgr) with the -v
parameter.
# /sbin/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.
Creating an HDLM Environment
3-205
Hitachi Dynamic Link Manager User Guide for Linux
®