CHAPTER 4 PCI Card Hot Maintenance in Red Hat Enterprise Linux 6
4.6 Hot Replacement of PCI Express Cards
88
C122-E175-01EN
- To prevent a device name mismatch due to the failure, addition, removal, or replacement of an FC card,
access the SAN disk unit by using the by-id name (/dev/disk/by-id/...) for the device name.
- If all the paths in a mounted disk become hidden when an FC card is hot replaced, unmount the disk.
Then, execute PCI hot plug.
FC card replacement procedure
The procedure for replacing only a faulty FC card without replacing other peripherals is as follows.
1. Make the necessary preparations.
Stop access to the faulty FC card, such as by stopping applications.
2. Confirm the slot number of the PCI Express slot.
See ‘Confirming the slot number of a PCI Express slot’ in “4.6.2 PCI Express card replacement procedure
in detail”.
3. Power off the PCI Express slot.
See ‘Powering on and off PCI Express slots’ in “4.6.2 PCI Express card replacement procedure in detail”.
4. Physically replace the target card 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 “4.6.2 PCI Express card replacement procedure in detail”.
5. Reconfigure the peripheral according to its manual.
For example, suppose that the storage device used is ETERNUS and that the host affinity function is
used (to set the access right for each server). Their settings would need to be changed as a result of FC
card replacement.
6. Connect the FC card cable.
7. Power on the PCI Express slot.
See ‘Powering on and off PCI Express slots’ in “4.6.2 PCI Express card replacement procedure in detail”.
8. Check whether there is an error in added FC card by 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 8 to 11 of ‘Operation for Hot replacement of PCI
Express card by Maintenance Wizard’ in “4.6.2 PCI Express card replacement procedure in detail”.
9. Check the version of the firmware
It is required that the firmware version of new FC card is same as that of the FC card which had been
replaced. If the firmware version of new FC card is coincident with that of the FC card which had been
replaced (current firmware version), it is not necessary to update the firmware version of new FC card to
current firmware version.
If the firmware version of new FC card is not coincident with that of the FC card which had been replaced
(current firmware version), update the firmware version of new FC card to current firmware version.
For how to update the firmware version, see Firmware update manual for fibre channel card.
Note
If you cannot confirm the firmware version of the FC card before replacing due to the fault of the FC card,
check the firmware version of the FC card which is same type as the faulty one to update firmware
version.
10. Confirm the incorporation results.
‘Confirming the FC card incorporation results’ describes the confirmation method. Start operation with the
FC card again by restarting applications as needed or by other such means.
11. Perform the necessary post-processing.
If you stopped any other application in step 1, restart it too as needed.
Confirming the FC card incorporation results
Confirm the incorporation results of the FC card and the corresponding driver in the following method. Then,
take appropriate action. Check the log. (The following example shows a log of FC card hot plugging.)
As shown below, the output of an FC card incorporation message and device found message as the log
output to /var/log/messages after the PCI Express slot containing the mounted FC card is enabled means that
the FC card was successfully incorporated.
scsi10:Emulex LPe1250-F8 8Gb PCIe Fibre Channel ¥
Adapter on PCI bus 0f device 08 irq 59 ...(*1)
lpfc 0000:0d:00.0: 0:1303 Link Up Event x1 received ¥
Data: x1 x0 x10 x0 x0 x0 0 ...(*2)