Table 5.4 Correspondence Between Bus Addresses And Interface Names - Fujitsu PRIMEQUEST 2000 Series Administration Manual

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

Advertisement

CHAPTER 5 Hot Maintenance in Red Hat Enterprise Linux 7
5.6 IOU hot remove
Notes
-
To perform hot replacement in a system where a bonding device is installed, design the system so that it
specifies ONBOOT=YES in all interface configuration files (the /etc/sysconfig/network-scripts/ifcfg-
eth*files and the /etc/sysconfig/network-scripts/ifcfg-bond*files), regardless of whether the NIC to be
replaced is a configuration interface of the bonding device.
An IP address need not to be assigned to unused interfaces. This procedure is to prevent the device
name of the replacement target NIC from being changed after hot replacement. If ONBOOT=NO also
exists, the procedure described here may not work properly.
1. Confirm where the NIC is mounted.
Confirm the correspondence between PCI Address and interface name of NIC mounted in the IOU which
is confirmed by above "dr show IOU" command.
Example: When PCI Address is "0000:89:00.0".
# ls -l /sys/class/net/*/device | grep "0000:89:00.0"
lrwxrwxrwx. 1 root root 0 Aug 27 16:06 2013
/sys/class/net/eth0/
device ¥
-> ../../../ 0000:89:00.0
The ¥ at the end of a line indicates that there is no line feed.
In this case, eth0 is the interface name which is correspondent to PCI bus address "0000:89:00.0".
Note
You will use the bus address obtained here in steps 2 and procedure after IOU replacement. Record the
bus address so that you can reference it later.
Next, check the PCI slot number for this PCI bus address.
Execute "ethtool -p" command, making the LED of NIC blinked. Check IOU or PCI_Box connected to the
IOU, checking in which slots the NIC is mounted, (e.g. PCI#0)
Example: Blinking the LED of the NIC corresponding to interface "eth0" for ten seconds.
# /sbin/ethtool -p eth0 10
2. Make a table with information including interface name, hardware address and PCI bus address of NIC
mounted on IOU to be replaced.
Make a below table with information of IOU to be replaced within information which is got by step 1.

TABLE 5.4 Correspondence between bus addresses and interface names

Interface name
eth0
eth1
eth2
...
Note
When recording a bus address, include the function number (number after the period).
-
Confirm the correspondence between the interface name and hardware address
Execute below command, checking the correspondence between the interface name and the
Hardware address
0000:89:01.0
0000:89:01.1
0000:8f:00.0
...
166
Bus address
Onboard 0
Onboard 1
PCI#0
...
Location
CA92344-0537-08

Advertisement

Table of Contents
loading

Table of Contents