HP Hitachi Dynamic Link Manager Software User Manual

Page 371

Advertising
background image

Operation

Command

- SUSE LINUX Enterprise Server and a Brocade HBA driver
Execute the following command:
# echo "- - -" > /sys/class/scsi_host/hostn/scan
Execute the following command to check whether the OS has

recognized any devices:
# cat /proc/scsi/scsi
If the OS has not recognized any devices, execute the

following commands in the order shown:
# echo "1" > /sys/class/fc_host/hostn/issue_lip
# echo "- - -" > /sys/class/scsi_host/hostn/scan
If you are using Red Hat Enterprise Linux 5, Red Hat

Enterprise Linux 6, or SUSE LINUX Enterprise Server, the

devices might be automatically recognized by the OS hot plug

function. If the devices are recognized, the above procedure is

not necessary.

Adding a device
(for IP-SAN

environments)

For a device added to the target for which no session is

established with the iSCSI initiator
Execute the following command to make the OS recognize the

target:
# iscsiadm -m discovery -t sendtargets -p IP-address-
of-the-target
Then, log in to the target to establish a session.
# iscsiadm -m node -T target-name -p IP-address-of-
the-target
:port-number-of-the-target --login

For a device added to the target for which a session is

established with the iSCSI initiator
Execute the following command:
# iscsiadm -m session -R

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
If you are using SUSE Linux Enterprise Server 11, Red Hat

Enterprise Linux 6, Oracle Unbreakable Enterprise Kernel 5, or

Oracle Unbreakable Enterprise Kernel 6, the above procedure is

not necessary for deleting a path that is in disconnected status.

Deleting a

device
(for IP-SAN

environments)

# echo "scsi remove-single-device a b c d" > /proc/scsi/
scsi
If you are using SUSE Linux Enterprise Server 11, Red Hat

Enterprise Linux 6, Oracle Unbreakable Enterprise Kernel 5, or

Oracle Unbreakable Enterprise Kernel 6, the above procedure is

not necessary for deleting a path that is in disconnected status.

Legend:

a: Host ID (host port number)

HDLM Operation

4-39

Hitachi Dynamic Link Manager User Guide for Linux

®

Advertising
This manual is related to the following products: