Fujitsu 2000 SERIES Manual Do Utilizador

Página de 285
CHAPTER 4 PCI Card Hot Maintenance in Red Hat Enterprise Linux 6 
4.5 IOU hot remove 
79 
 
C122-E175-01EN 
 
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ¥ 
ATTR{address}=="2c:d4:44:f1:44:f1", ATTR{type}=="1", 
KERNEL=="eth*", NAME="eth1" 
 : 
 : 
The ¥ at the end of a line indicates that there is no line feed. 
Example of descriptions in the file after editing 
(In the example, eth0 was deleted, and eth1 is commented out.) 
# PCI device 0x8086:0x1521 (igb) 
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ¥ 
ATTR{address}=="2c:d4:44:f1:44:f1", ATTR{type}=="1", 
KERNEL=="eth*", NAME="eth1" 
 
 : 
The ¥ at the end of a line indicates that there is no line feed. 
Do this editing for all the interfaces listed in the table created in step 2. 
7.  Reflect the edited rules in udev. 
udevd reads the rules described in the rule file at its start time and then retains the rules in memory. 
Simply changing the rule file does not mean the changed rules are reflected. Take action as follows to 
reflect the new rules in udev. 
# udevadm control --reload-rules 
iSCSI (NIC) on the IOU 
If replace iSCSI (NIC) on the IOU, you have to take not only the same steps of ‘NIC on the IOU (including 
Onboard NIC)’ but also takes below steps in step 3 of that. 
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 
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