Hitachi XP P9500 User Manual page 396

Hitachi dynamic link manager software user's guide for linux (6.x) (hit5203-96004, october 2011)
Hide thumbs Also See for XP P9500:
Table of Contents

Advertisement

4. HDLM Operation
Table 4-3: Adding or Deleting a SCSI Device
Operation
Adding a device
• When using a QLogic HBA driver on Red Hat Enterprise Linux AS4/ES4 Update 1,
(for FC-SAN
environments)
• When using an Emulex HBA driver on Red Hat Enterprise Linux AS4/ES4 Update 1,
• When using any of the following OS and HBA driver combinations:
Adding a device
• For a device added to the target for which no session is established with the iSCSI
(for IP-SAN
environments)
• For a device added to the target for which a session is established with the iSCSI
372
execute the commands in the following order:
# echo "scsi-qlascan" > /proc/scsi/
driver-name
# cat /proc/scsi/
View the
part, which is output under
Id:Lun
command result, and then execute the following command based on the target ID of
the added device:
# echo "scsi add-single-device
execute the following command:
# echo "scsi add-single-device a b c d" > /proc/scsi/scsi
- Red Hat Enterprise Linux AS4/ES4 Update 3 or later and a QLogic HBA driver
- Red Hat Enterprise Linux 5 or Red Hat Enterprise Linux 6 and a QLogic HBA driver
- SUSE LINUX Enterprise Server and a QLogic HBA driver
- Red Hat Enterprise Linux AS4/ES4 Update 3 or later and an Emulex HBA driver
- Red Hat Enterprise Linux 5 or Red Hat Enterprise Linux 6 and an Emulex HBA
driver
- SUSE LINUX Enterprise Server and an Emulex HBA driver
- Red Hat Enterprise Linux 5 or Red Hat Enterprise Linux 6 and a Brocade HBA driver
- SUSE LINUX Enterprise Server and a Brocade HBA driver
Execute the following command:
# echo "- - -" > /sys/class/scsi_host/host
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/host
If you are using Red Hat Enterprise Linux 5, Red Hat Enterprise Linux 6, SUSE
LINUX Enterprise Server 10, or SUSE LINUX Enterprise Server 11, the devices might
be automatically recognized by the OS hot plug function. If the devices are recognized,
the above procedure is not necessary.
initiator
Execute the following command to make the OS recognize the target:
# iscsiadm -m discovery -t sendtargets -p
Then, log in to the target to establish a session.
# iscsiadm -m node -T
IP-address-of-the-target
port-number-of-the-target
:
initiator
Execute the following command:
# iscsiadm -m session -R
Command
driver-name
n
/
SCSI LUN Information:
a b c d
" > /proc/scsi/scsi
n
/scan
n
/scan
IP-address-of-the-target
target-name
-p
--login
n
/
, of the output

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dynamic link manager

Table of Contents