Fujitsu 2000 SERIES Manual Do Utilizador

Página de 285
CHAPTER 4 PCI Card Hot Maintenance in Red Hat Enterprise Linux 6 
4.6 Hot Replacement of PCI Express Cards 
82 
 
C122-E175-01EN 
 
This slot number is the identification information for operating the slot of the PCI Express card to be 
replaced. 
Note 
The four-digit decimal numbers shown in <Slot number> i
have the leading digits filled with zeroes. The actual slot numbers do not include 
the zeroes in the leading digits. 
Checking the power status of a PCI Express slot 
For the partition with Dynamic Reconfiguration utility installed 
Execute /opt/FJSVdp-util/sbin/dp stat pcie command on the shell of OS. 
After the list of the power status of PCI Express slots is shown, see the power status of the slot with the 
slot number which you confirmed at “Confirming the slot number of a PCI Express slot” 
Example: 
# /opt/FJSVdp-util/sbin/dp stat pcie 
pcie20: online 
pcie21: offline 
pcie22: empty 
For the partition without Dynamic Reconfiguration utility installed 
Using the PCI Express slot number confirmed in “
Confirming the slot number of a PCI Express slot”
confirm that the /sys/bus/pci/ slots directory contains a directory for this slot information, which will be 
referenced and otherwise used. Below, the PCI Express slot number confirmed in 
Confirming the slot 
number of a PCI Express slot 
is shown at <slot number> location in the directory path in the following 
format, where the directory is the operational target. 
/sys/bus/pci/slots/<slot number> 
Confirm that the PCI Express card in the slot is enabled or disabled by displaying the "power" file 
contents in this directory. 
# cat /sys/bus/pci/slots/<slot number>/power 
When displayed, "0" means disabled, and "1" means enabled. 
Powering on and off PCI Express slots 
For the partition with Dynamic Reconfiguration utility installed 
Execute /opt/FJSVdp-util/sbin/dp rm pcie<slot number> command on the shell of OS. 
The PCI Express card is disabled and has become to be ready for removal. The LED goes out. 
Example: Making the PCI Express slot with PCI Express slot number 20 power off 
# /opt/FJSVdp-util/sbin/dp rm pcie20 
This operation concurrently removes the device associated with the relevant adapter from the system. 
Execute /opt/FJSVdp-util/sbin/dp add pcie<slot number> command on the shell of OS to power on the 
target slot and enable the PCI Express card on the slot. The PCI Express card becomes available again. 
Example: 
# /opt/FJSVdp-util/sbin/dp add pcie20 
This operation concurrently installs the device associated with the relevant adapter on the system. After 
power-on, you need to confirm that the card and driver are correctly installed. The procedures vary 
depending on the card and driver specifications. For the appropriate procedures, see the respective 
manuals. 
For the partition without Dynamic Reconfiguration utility installed 
You can power on and off a PCI Express slot through an operation on the file confirmed in “
Checking the 
power status of a
 
PCI Express slot
”. 
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 goes out. 
# echo 0 > /sys/bus/pci/slots/<slot number>/power 
This operation concurrently removes the device associated with the relevant adapter from the system. 
To enable the card again and make it available, write "1" to the "power" file in the directory corresponding 
to the disabled slot. 
# echo 1 > /sys/bus/pci/slots/<slot number>/power