Table 4.2 Hardware Address Description Examples - 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.3 Hot replacement of IOU
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 safely SLAVE interface to
be replaced from operation. 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. Save all the interface configuration files that you checked in step 2 by executing the following command.
udevd and configuration scripts may reference the contents of files in /etc/sysconfig/network-scripts. For
this reason, create a save directory and save these files to the directory so that udevd and the
configuration scripts will not reference them.
# cd /etc/sysconfig/network-scripts
# mkdir temp
# mv ifcfg-ethX temp
(following also executed for bonding configuration)
# mv ifcfg-bondX temp
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)

TABLE 4.2 Hardware address description examples

Hardware address
2c:d4:44:f1:44:f0
2c:d4:44:f1:44:f1
00:19:99:d7:36:5f
69
Bus address
0000:89:01.0
0000:89:01.1
0000:8c:00.0
...
Location
Onboard 0
Onboard 1
PCI#0
...
C122-E175-02EN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Primequest 2400ePrimequest 2800ePrimequest 2800b

Table of Contents