CHAPTER 4 PCI Card Hot Maintenance in Red Hat Enterprise Linux 6
4.6 Hot Replacement of PCI Express Cards
81
C122-E175-01EN
There are two ways to perform PCI hot plug:
- Operation by using sysfs
- Operation by using dp commands
You can perform the operation by using dp commands if Dynamic Reconfiguration utility is installed in the
partition. If not, be sure to use the operation by using sysfs. Although you can perform the operation by using
sysfs even if Dynamic Reconfiguration utility is installed in the partition, it is recommended to perform the
operation by using dp commands to prevent wrong operation.
Hereafter, description about the operation by using dp commands starts at ‘For the partition with Dynamic
Reconfiguration utility installed’ and description about the operation by sysfs starts at ‘For the partition without
Dynamic Reconfiguration utility installed’.
Notes
If you replace PCI Express cards on an IOU, see ‘4.3 Hot replacement of IOU’.
Remarks
For details on the card replacement procedures not described in this chapter, see the respective product
manuals.
4.6.1 Overview of common replacement procedures for PCI Express
cards
This section provides an overview of common replacement procedures for all PCI Express cards.
1. Performing the required operating system and software operations depending on the PCI Express card
type
2. Powering off a PCI slot
3. Replacing a PCI card
This step is performed by the field engineer in charge of your system.
4. Powering on a PCI slot
5. Performing the required operating system and software operations depending on the PCI card type
Note
This chapter provides instructions (e.g., commands, configuration file editing) for the operating system and
subsystems. Be sure to refer to the respective product manuals to confirm the command syntax and impact
on the system before performing tasks with those instructions.
The following sections describe card addition, removal, and replacement with the required instructions (e.g.,
commands, configuration file editing) for the operating system and subsystems, together with the actual
hardware operations. Step 3 is performed by the field engineer in charge of your system.
4.6.2 PCI Express card replacement procedure in detail
This section describes how to replace a PCI Express card.
Preparing the software using a PCI Express card
When a PCI Express card is replaced or removed, there must be no software using the PCI Express card.
For this reason, before replacing the PCI Express card, stop the software using the PCI Express card or
make the software operations inapplicable.
Confirming the slot number of a PCI Express slot
When replacing, adding or removing a PCI Express card, you need to manipulate the power supply to the
appropriate slot, through the operating system. First, use the following procedure to obtain the slot number
from the mounting location of the PCI Express slot for the card. It will be used to manipulate the power supply.
1. Identify the mounting location of the PCI Express card to be replaced.
See the figure in “B.1 Physical Mounting Locations of Components” to check the mounting location
(board and slot) of the PCI Express card to be replaced.
2. Obtain the slot number of the mounting location.
Check the table in “D.2
Correspondence between PCI Slot Mounting Locations and Slot Numbers
”, and
obtain the slot number that is unique in the cabinet and assigned to the confirmed mounting locations.