Settings For Xen - Hitachi XP P9500 User Manual

Command suite for linux(r)
Hide thumbs Also See for XP P9500:
Table of Contents

Advertisement

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
PV /dev/sddlmad2
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-36
Device Configuration on page
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
/dev/sddlmaa configured
/dev/sddlmab configured
KAPL10302-I /sbin/dlmcfgmgr completed normally.
VG vg01
VG vg01
]
Management
:
:
Creating an HDLM Environment
Hitachi Dynamic Link Manager User Guide (for Linux(R))
lvm2 [468.00 MB / 368.00 MB free]
lvm2 [548.00 MB / 548.00 MB free]
in
4-32.
Device
Host
Channel Target
/dev/sda
2
/dev/sdb
2
Changing the HDLM
Lun
0
0
0
0
0
1
3-175

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Dynamic link manager

Table of Contents