Table 6.4 Example Of Entered Values Corresponding To The Interface Names Before And After Nic Replacement - Fujitsu PRIMEQUEST 2000 Series Administration Manual

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

Advertisement

CHAPTER 6 PCI Card Hot Maintenance in SUSE Linux Enterprise Server 11
6.1 Hot Replacement of PCI Express Cards
14. Deactivate each newly created interface.
The interfaces created for the replaced NIC may be active because power is on to the PCI Express slot.
In such cases, you need to deactivate them before changing the interface configuration file.
Execute the following command for all the interface names confirmed in step 12.
Example: eth0
# /sbin/ifconfig eth0 down
15. Confirm the correspondence between the interface names before and after the NIC replacement.
From the interface information created before and after the NIC replacement in steps 3 and 12, confirm
the correspondence between the interface names before replacement and the new interface names.
a. Confirm the correspondence between the bus address and interface name on each line in the table
created in step 3.
b. Likewise, confirm the correspondence between the bus addresses and interface names in the table
created in step 12.
c. Match the interface names to the same bus addresses before and after the NIC replacement.
d. In the table created in step 12, enter values corresponding to the interface names before and after the
NIC replacement.

TABLE 6.4 Example of entered values corresponding to the interface names before and after NIC replacement

Interface name
After replacement
(-> Before replacement)
eth1 (-> eth0)
eth0 (-> eth1)
...
16. If an interface name is switched before and after the NIC replacement, make the interface name
correspond to the same bus address as before the NIC replacement by using the following procedure.
Note
Confirm that the interface name is the same before and after the NIC replacement. Then, proceed to step
16.
a. Power off the PCI Express slot again.
Repeat the process done in step 6 to power off the PCI Express slot.
b. Correct the interface name that is not the same before and after the NIC replacement in the entries of
the udev function rule file, /etc/udev/rules.d/70-persistent-net.rules. Make the interface name the
same as before the NIC replacement.
[Example of descriptions in the file before editing]
# PCI device 0x****:0x**** (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ¥
ATTR{address}=="00:0e:0c:70:c3:40", ATTR{type}=="1", ¥
KERNEL=="eth*", NAME="eth1"
# PCI device 0x****:0x**** (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ¥
ATTR{address}=="00:0e:0c:70:c3:41", ATTR{type}=="1", ¥
KERNEL=="eth*", NAME="eth0"
:
:
The ¥ at the end of a line indicates that there is no line feed.
[Example of descriptions in the file after editing]
(eth1, the name after replacement, has been corrected to eth0, the name before replacement.)
# PCI device 0x****:0x**** (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ¥
ATTR{address}=="00:0e:0c:70:c3:40", ATTR{type}=="1", ¥
KERNEL=="eth*", NAME="eth0"
# PCI device 0x****:0x**** (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ¥
ATTR{address}=="00:0e:0c:70:c3:41", ATTR{type}=="1", ¥
KERNEL=="eth*", NAME="eth1"
Hardware address
Bus address
00:0e:0c:70:c3:40
0000:0b:01.0
00:0e:0c:70:c3:41
0000:0b:01.1
...
...
217
Slot number
20
20
...
CA92344-0537-08

Advertisement

Table of Contents
loading

Table of Contents