Table 4.7 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.6 Hot Replacement of PCI Express Cards
grep eth0 /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ¥
ATTR{address}=="00:0e:0c:70:c3:38", ATTR{type}=="1", ¥
KERNEL=="eth*", NAME="eth0"
The ¥ at the end of a line indicates that there is no line feed.
You can always obtain the correct hardware address from the description in etc/udev/rules.d/70-
persistent-net.rules regardless of whether the interface is incorporated in bonding.
Confirm the hardware address of other interfaces by repeating the operation with the same command.
The following table lists examples of descriptions.
Interface name
eth0
eth1
...
The above step is used in creating the correspondence table in step 13. Prepare a table here so that
you can reference it later.
Note
In a replacement due to a device failure, the information in the table showing the correspondence
between the interface and the hardware address, bus address, and slot number may be inaccessible
depending on the failure condition. We strongly recommend that a table showing the correspondence
between the interface and the hardware address, bus address, and slot number be created for all
interfaces at system installation.
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 for safety purposes on the SLAVE
interface to be replaced to exclude it 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. Power off the PCI Express slot.

TABLE 4.7 Hardware address description examples

Hardware address
00:0e:0c:70:c3:38
00:0e:0c:70:c3:39
...
97
Bus address
Slot number
0000:0b:01.0
20
0000:0b:01.1
20
...
...
C122-E175-02EN

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Primequest 2400ePrimequest 2800ePrimequest 2800b

Table of Contents