CHAPTER 4 PCI Card Hot Maintenance in Red Hat Enterprise Linux 6
4.6 Hot Replacement of PCI Express Cards
98
C122-E175-01EN
b Use the iscsiadm command to log out from the path (iqn) through which the iSCSI card to be replaced
is routed, and disconnect the session.
Example which confirms the state of session before disconnecting:
# /sbin/iscsiadm -m session
tcp: [1] 192.168.1.64:3260,1 iqn.2000-
09.com.fujitsu:storage-system.eternus-
dx400:00001049.cm0ca0p0
tcp: [2] 192.168.2.66:3260,3 iqn.2000-
09.com.fujitsu:storage-system.eternus-
dx400:00001049.cm1ca0p0
Example which logout path going through a NIC to be replaced:
# /sbin/iscsiadm -m node -T iqn.2000-09.com.fujitsu:storage-
system.eternus-dx400:00001049.cm1ca0p0 -p 192.168.2.66:3260
–logout
c Use the iscsiadm command to confirm that the target session has been disconnected.
Example which confirms the state of session after disconnecting
# /sbin/iscsiadm -m session
tcp: [1] 192.168.1.64:3260,1 iqn.2000-
09.com.fujitsu:storage-system.eternus-
dx400:00001049.cm0ca0p0
d You can confirm the disconnection of sessions on multipath products using DM-MP or ETERNUS
multidriver.
*1: Write down the DM-MP display contents at the session disconnection.
Example of DM-MP display before disconnecting path
# /sbin/multipath -ll
mpath1 (36000b5d0006a0000006a104900000000) dm-0
FUJITSU,ETERNUS_DX400
[size=50G][features=0][hwhandler=0][rw]
¥_ round-robin 0 [prio=2][active]
¥_ 3:0:0:0 sdb 8:16 [active][ready]
¥_ 4:0:0:0 sdc 8:32 [active][ready]
Example of DM-MP display after disconnecting path
# /sbin/multipath -ll
mpath1 (36000b5d0006a0000006a104900000000) dm-0
FUJITSU,ETERNUS_DX400
[size=50G][features=0][hwhandler=0][rw]
¥_ round-robin 0 [prio=1][enabled]
¥_ 3:0:0:0 sdb 8:16 [active][ready]
*2: See the ETERNUS Multipath Driver User's Guide (For Linux).
Work to be performed after NIC replacement
For iSCSI (NIC) hot replacement, be sure to follow the procedure below when Step 19 of the NIC
replacement procedure in 4.6.4 Network card replacement procedure.
2. To restore access to the iSCSI connection interface, perform the following.
e Confirm the state of multiple path by DM-MP (*1) or EMPD (*2).
f Use the iscsiadm command to log in to the path (iqn) through which the replacement iSCSI card is
routed, and reconnect the session.
Example which confirms the state of session before connecting:
# /sbin/iscsiadm -m session
tcp: [1] 192.168.1.64:3260,1 iqn.2000-
09.com.fujitsu:storage-system.eternus-
dx400:00001049.cm0ca0p0
Example which login path going through a NIC to be replaced:
# /sbin/iscsiadm -m node -T iqn.2000-09.com.fujitsu:storage-
system.eternus-dx400:00001049.cm1ca0p0 -p 192.168.2.66:3260
–login