Fujitsu PRIMEQUEST 2000 Series Administration Manual page 140

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.8 Removing PCI Express cards
Components' to identify the physical mounting location corresponding to the PCI slot number. You can
confirm that it matches the mounting location of the operational target NIC.
2. Confirm each interface on the same NIC.
If the NIC has multiple interfaces, you need to remove all of them. Confirm that all the interfaces that have
the same bus address in a subsequent command.
# ls -l /sys/class/net/*/device | grep "0000:0b:01"
lrwxrwxrwx 1 root root 0 Sep 29 09:26 /sys/class/net ¥
/eth0/device
->../../../0000:00:01.2/0000:08:00.2/0000:0b:01.0
lrwxrwxrwx 1 root root 0 Sep 29 09:26 /sys/class/net ¥
/eth1/device
->../../../0000:00:01.2/0000:08:00.2/0000:0b:01.1
The ¥ at the end of a line indicates that there is no line feed.
As the above example shows, when more than one interface is displayed, they are on the same NIC.
3. Execute the higher-level application processing required before NIC removal.
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. (These operations precede deactivation of the physical interface.)
# /sbin/ifdown ethX.Y
# /sbin/vconfig rem ethX.Y
[For the interface under bonding]
If the bonding device is operating in mode 1, use the following steps for safety purposes on the SLAVE
interface to be removed to exclude it from operation. In any other mode, removing it immediately should
not cause any problems. Confirm that the SLAVE interface is the interface currently being used for
communication.
# cat /sys/class/net/bondY/bonding/active_slave
If the displayed interface name corresponds to the SLAVE interface to be removed, execute the following
command to switch to communicating now with the other SLAVE interface.
# /sbin/ifenslave -c bondY ethZ
(ethZ: bondY-configured interface not subject to 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
To remove the interfaces, including the bonding device, deactivate them collectively by executing the
following command.
# /sbin/ifdown bondY
5. Power off the PCI slot.
See 'Powering on and off PCI Express slots' in
6. After taking of all cables connected to the NIC, remove the NIC from the PCI Express slot.
7. Remove the interface configuration file.
Delete the configuration files of all the interfaces confirmed in step 2, by executing the following command.
# rm /etc/sysconfig/network-scripts/ifcfg-ethX
When deleting a bonding device, also delete the related bonding items (ifcfg-bondY files).
"4.6.2 PCI Express card replacement procedure in
116
detail".
C122-E175-02EN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Primequest 2400ePrimequest 2800ePrimequest 2800b

Table of Contents