Table 4.5 Hardware Address Description Examples - Fujitsu PRIMEQUEST 2000 Series Administration Manual

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

Advertisement

CHAPTER 4 Hot Maintenance in Red Hat Enterprise Linux 6
4.5 IOU hot remove
Interface name
eth0
eth1
eth2
...
3. Execute the higher-level application processing required before NIC replacement.
Stop all access to the interface as follows. Stop the application that was confirmed in step 2 as using the
interface, or exclude the interface from the target of use by the application.
4. Deactivate the NIC.
Execute the following command to deactivate all the interfaces that you confirmed in step 2. The
applicable command depends on whether the target interface is a single NIC interface or the SLAVE
interface of a bonding device.
For a single NIC interface:
# /sbin/ifdown ethX
If the single NIC interface has a VLAN device, you also need to remove the VLAN interface. Perform the
following operations (before deactivating the real interface).
# /sbin/ifdown ethX.Y
# /sbin/vconfig rem ethX.Y
For the SLAVE interface of a bonding device:
If the bonding device is operating in mode 1, use the following steps to exclude SLAVE interface to be
replaced from the bonding configuration. In any other mode, removing it immediately should not cause
any problems.
Confirm that the SLAVE interface to be replaced is the interface currently being used for communication.
First, confirm the interface currently being used for communication by executing the following command.
# cat /sys/class/net/bondY/bonding/active_slave
If the displayed interface matches the SLAVE interface being replaced, execute the following command to
switch the current communication interface to another SLAVE interface.
# /sbin/ifenslave -c bondY ethZ
(ethZ: Interface that composes bondY and does not perform hot replacement)
Finally, remove the SLAVE interface being replaced, from the bonding configuration. Immediately after
being removed, the interface is automatically no longer used.
# /sbin/ifenslave -d bondY ethX
5. Remove the interface configuration file..
Delete the configuration files of all the interfaces confirmed in step 2, by executing the following command.
# rm /etc/sysconfig/network-scripts/ifcfg-ethX
6. Delete the entries associated with the replaced NIC from the udev function rule file.
The entry to be removed is only onboard NIC for replacing IOU itself. For replacing or removing PCI
Express card, the entry to be removed is the interface corresponding to the PCI Express card.
a. Confirm the correspondence between the interface name and hardware address in the table created
in step 2.
b. Edit the udev function rule file, /etc/udev/rules.d/70-persistent-net.rules, to delete or comment out the
entry lines of all the interface names and hardware addresses confirmed in the above step a.
The following example shows editing of the udev function rule file.
Example of descriptions in the file before editing
# PCI device 0x8086:0x1521 (igb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ¥
ATTR{address}=="2c:d4:44:f1:44:f0", ATTR{type}=="1",
KERNEL=="eth*", NAME="eth0"

TABLE 4.5 Hardware address description examples

Hardware address
2c:d4:44:f1:44:f0
2c:d4:44:f1:44:f1
00:19:99:d7:36:5f
106
Bus address
0000:89:01.0
0000:89:01.1
0000:8f:00.0
...
Location
Onboard 0
Onboard 1
PCI#0
...
CA92344-0537-08

Advertisement

Table of Contents
loading

Table of Contents