CHAPTER 4 PCI Card Hot Maintenance in Red Hat Enterprise Linux 6
4.8 Removing PCI Express cards
114
C122-E175-01EN
Work to be performed before iSCSI (NIC) removal
For iSCSI (NIC) hot replacement, be sure to follow the procedure below when performing Step 3 of the ‘NIC
removal procedure’ in ‘4.8.4 Network card removal procedure’
1. Perform the work for suppressing access to the iSCSI connection interface.
a Confirm the state of multiple path by DM-MP (*1) or EMPD (*2).
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).