Fujitsu PRIMEQUEST 2000 Series Administration Manual page 241

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
# /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 to exclude SLAVE interface to be
replaced from the bonding configuration. 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
6. Power off the PCI Express slot.
Confirm that the /sys/bus/pci/slots directory contains a directory for the target slot information, which
will be referenced and otherwise used. Below, the slot number confirmed in step 2 is shown at <slot
number> in the directory path in the following format, where the directory is the operational target.
/sys/bus/pci/slots/<slot number>
To disable a PCI Express card and make it ready for removal, write "0" to the "power" file in the
directory corresponding to the target slot. The LED turns off. The interface (ethX) is removed at the
same time.
# echo 0 > /sys/bus/pci/slots/<slot number>/power
7. Save the interface configuration file.
Save all the interface configuration files that you checked in step 3 by executing the following command.
udevd and configuration scripts may reference the contents of files in /etc/sysconfig/network. For this
reason, create a save directory and save these files to the directory so that udevd and the configuration
scripts will not reference them.
# cd /etc/sysconfig/network
# mkdir temp
# mv ifcfg-ethX temp
(following also executed for bonding configuration)
# mv ifcfg-bondX temp
8. Physically replace the NIC by using MMB Maintenance Wizard. This step is performed by the field
engineer in charge of your system.
For details on the operation of replacement, see step 1 to 7 of 'Operation for Hot replacement of PCI
Express card by Maintenance Wizard' in
9. Delete the entries associated with the replaced NIC from the udev function rule file.
Each entry for the new NIC is automatically added to the udev function rule file, /etc/udev/rules.d/70-
persistent-net.rules, when the NIC is detected. However, the entries of a NIC are not automatically
deleted even if the NIC is removed. Leaving the entries of the removed NIC may have the following
impact.
-
The interface names defined in the entries of the removed NIC cannot be assigned to the replaced
NIC or an added NIC.
For this reason, delete or comment out the entries of the removed NIC from the udev function rule file.
a. Confirm the correspondence between the interface name and hardware address in the table created
in step 3.
"6.1.2 PCI Express card replacement procedure in
215
detail".
CA92344-0537-08

Advertisement

Table of Contents
loading

Table of Contents