beautypg.com

HP Hitachi Dynamic Link Manager Software User Manual

Page 397

background image

4. HDLM Operation

373

Legend:

a: Host ID (host port number)
b: Channel number (bus number)
c: Target ID
d: Lun (host LU number)
n: host port number
driver-name:

qla

xxxx

(driver name in use)

Example entries are shown below.

When adding a device by using a QLogic HBA driver in Red Hat Enterprise

Linux AS4/ES4:

# echo "scsi-qlascan" > /proc/scsi/qla2200/1

# cat /proc/scsi/qla2200/1

# echo "scsi add-single-device 1 0 1 1" > /proc/scsi/scsi

4.

Execute the HDLM-configuration definition utility (

dlmcfgmgr -r

).

Based on the SCSI device created in step 3, an HDLM device for the path

configured in step 1 is added.
The following is an example of executing the

dlmcfgmgr

utility:

# /sbin/dlmcfgmgr -r

5.

Restart the host on which the HDLM is installed.
If you performed step 3 and step 4, the host does not have to be restarted. Go to

step 6.
While restarting, the HDLM device mapped with the path configured in the above

step 1 is added automatically.

6.

Refer to

/var/opt/DynamicLinkManager/log/dlmcfgmgr1.log

or

execute the

dlmcfgmgr

utility (

dlmcfgmgr -v

) to check if an LU was created

with a new HDLM device name.

Deleting a device
(for FC-SAN

environments)

# dlmcfgmgr -o logical-device-file-name-of-the-relevant-HDLM-device

# echo "scsi remove-single-device

a

b

c

d

" > /proc/scsi/scsi

# dlmcfgmgr -i logical-device-file-name-of-the-relevant-HDLM-device

Deleting a device

(for IP-SAN
environments)

# echo "scsi remove-single-device

a

b

c

d

" > /proc/scsi/scsi

Operation

Command

This manual is related to the following products: