CHAPTER 4 PCI Card Hot Maintenance in Red Hat Enterprise Linux 6
4.3 Hot replacement of IOU
70
C122-E175-01EN
# /opt/FJSVdp-util/sbin/dp stat IOU
IOU0: empty
IOU1: empty
IOU2: empty
IOU3: offline
IOU added to partition is shown as offline state because it is power-off state at this time.
8. Execute /opt/FJSVdp-util/sbin/dp add IOUcommand on the shell of OS.
The IOU to be removed will turn on.
Example: turning on IOU 3
# /opt/FJSVdp-util/sbin/dp add IOU3
4.3.3 Operation after IOU hot replacement
NIC on the IOU (including onboard NIC)
1. Collect the information associated with NIC on the replaced IOU.
An interface (ethX) is created for the replaced NIC. Make a table with information including the interface
name, hardware address, bus address, and location of the interface made corresponding to NIC mounted
on replaced according to step1 and step 2 of the section 4.3.1 Preparation for IOU hot replacement. The
interface name, hardware address and PCI bus address may change before and after replacing IOU.
TABLE 4.3 Example of interface information about interfaces after replacement
Interface name
Hardware address
Bus address
Location
eth0
2c:d4:44:f1:44:d2
0000:86:01.0
Onboard 0
eth1
2c:d4:44:f1:44: d3
0000:86:01.1
Onboard 1
eth
2
00:19:99:d7:36:5f
0000:87:00.0
PCI#0
...
...
...
For replacing IOU itself, confirm that new hardware address is defined to NIC of onboard. Confirm that
the interface name used before replacing NIC is re-assigned. New PCI bus address may be assigned.
Also confirm that the relevant entries in the above-described table were automatically added to the udev
function rule file, /etc/udev/rules.d/70-persistent-net.rules.
For expanding or removing PCI Express card by replacing IOU, the number of entry in table increase or
decrease.
2. Deactivate each newly created interface.
The interfaces created for the replaced NIC may be active by turning on IOU. In such cases, you need to
deactivate them before changing the interface configuration file.
Execute the below command for all the interface names (including interfaces which are not actually
replaced) on the IOU confirmed in step 1.
Example: eth0
# /sbin/ifconfig eth0 down
3. Confirm the correspondence between the interface names before and after the NIC replacement.
According to the table with the interface information about before and after the NIC replacement in steps
2 of 4.3.1 Preparation for IOU hot replacement and step 1 in this section, confirm that the relation
between the interface name and location is correct.
When switching interface name occurs before and after IOU replacement, make the correspondence
between interface name and location into the correspondence before IOU replacement by below
procedure.
Note
For the interface which name does not change before and after IOU replacement, this procedure does not
need.
Here shows the procedure to change the interface name of eth2 and eth3 (change eth2 to eth3, eth3 to
eth2) as a specific example.
a Edit the udev function rule file, /etc/udev/rules.d/70-persistent-net.rules, modifying the target interface
name to desired name. (In this example, change eth2 to eth3, eth3 to eth2.)
Example of descriptions in the file before editing
# PCI device 0x8086:0x1521 (igb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ¥