Hot Removal Procedure For Iscsi (Nic) - Fujitsu PRIMEQUEST 2000 Series Administration Manual

Primequest 2000 series
Hide thumbs Also See for PRIMEQUEST 2000 Series:
Table of Contents

Advertisement

CHAPTER 4 PCI Card Hot Maintenance in Red Hat Enterprise Linux 6
4.8 Removing PCI Express cards
8. Edit the settings in the udev function rule file.
The entries of the interface assigned to the removed NIC still remain in the udev function rule file,
/etc/udev/ rules.d/70-persistent-net.rules. Leaving the entries will affect the determination of interface
names for replacement cards or added cards in the future. For this reason, delete or comment out those
entries.
The following example shows editing of the udev function rule file, /etc/udev/rules.d/70-persistent-
net.rules. (In this example, the file is edited when the eth10 interface is removed.)
[Example of descriptions in the file before editing]
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ¥
ATTR{address}=="00:0e:0c:70:c3:38", ATTR{type}=="1", ¥
KERNEL=="eth*", NAME="eth0"
:
:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ¥
ATTR{address}=="00:0e:0c:70:c3:40", ATTR{type}=="1", ¥
KERNEL=="eth*", NAME="eth10"
The ¥ at the end of a line indicates that there is no line feed.
[Example of descriptions in the file after editing]
The entries for the eth10 interface are commented out.
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ¥
ATTR{address}=="00:0e:0c:70:c3:38", ATTR{type}=="1", ¥
KERNEL=="eth*", NAME="eth0"
:
:
# SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ¥
ATTR{address}=="00:0e:0c:70:c3:40", ATTR{type}=="1", ¥
KERNEL=="eth*", NAME="eth10"
The ¥ at the end of a line indicates that there is no line feed.
Do this editing for all the interfaces confirmed in step 2.
9. Reflect the udev function rules.
Since rules are not automatically reflected in udev at the removal time, take action to reflect the new rules
in udev.
# udevadm control ––reload-rules
10. If the removed interface includes any bonding interface, delete the driver setting of the interface.
When removing a bonding interface, be sure to delete the setting corresponding to the bonding interface
and driver. Execute the following command to check the descriptions in the configuration file, and confirm
the setting corresponding to the bonding interface and driver.
Example: Description in /etc/modprobe.d/bonding.conf
# grep -l bonding /etc/modprobe.d/*
/etc/modprobe.d/bonding.conf
Edit the file that describes the setting, and delete the setting of the removed bonding interface.
alias bondY bonding
bondY: Name of the removed bonding interface
Note
There are no means to dynamically remove the MASTER interface (bondY) of the bonding configuration.
If you want to remove the entire bonding interface, you can disable the bonding configuration and remove
all the SLAVE interfaces but the MASTER interface itself remains.
11. Execute the higher-level application processing required after NIC removal.
Perform the necessary post processing (such as changing application settings or restarting an
application) for the operations performed for the higher-level applications in step 3.

4.8.5 Hot removal procedure for iSCSI (NIC)

When performing hot replacement of NICs used for iSCSI connection, use the following procedures.
<- Delete
117
C122-E175-02EN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Primequest 2400ePrimequest 2800ePrimequest 2800b

Table of Contents