- Table of Contents
- Related Documents
-
| Title | Size | Download |
|---|---|---|
| 03-Appendix B Managed Hot Removal of OCP Network Adapters | 365.96 KB |
Restrictions and guidelines
To view the operating systems that support hot swapping of OCP network adapters, use the OS Compatibility Lookup Tool at http://www.h3c.com/en/home/qr/default.htm?id=66.
Make sure the following software version requirements are met:
· BIOS: 6.00.15 or later.
· HDM2: 1.13 or later.
· CPLD: V004 or later.
Procedure
|
|
NOTE: This section uses the OCP network adapter in slot 16 as an example. |
1. Access the operating system.
2. Execute the dmidecode -t 9 command to search for the bus address of the OCP network adapter. As shown in Figure 1, the bus address of the OCP network adapter in slot 16 is 0000:31:00.0.
Figure 1 Searching for the bus address of an OCP network adapter by slot number
3. Execute the echo 0 > /sys/bus/pci/slots/slot_number/power command to power off the network adapter, where slot_number represents the number of the slot where the OCP network adapter resides.
Figure 2 Executing the echo 0 > /sys/bus/pci/slots/slot_number/power command
4. Identify whether the OCP network adapter has been disconnected:
¡ Observe the OCP network adapter LED. If the LED is off, it indicates that the OCP network adapter has been disconnected.
¡ In Figure 3, the bus address is 0000:31:00.0. Execute the lspci –vvv –s 0000:31:00.0 command. If no output is displayed, it indicates that the OCP network adapter has been disconnected.
Figure 3 Identifying OCP network adapter status
5. Reinstall the OCP network adapter.
6. Execute the echo 1 > /sys/bus/pci/slots/slot_number/power command to power off the network adapter, where slot_number represents the number of the slot where the OCP network adapter resides.
Figure 4 Executing the echo 1 > /sys/bus/pci/slots/slot_number/power command
7. Identify whether the OCP network adapter has been connected:
¡ Observe the OCP network adapter LED. If the LED is on, it indicates that the OCP network adapter has been connected.
¡ In Figure 5, the bus address is 0000:31:00.0. Execute the lspci –vvv –s 0000:31:00.0 command. If the command output is displayed, it indicates that the OCP network adapter has been connected.
Figure 5 Identifying OCP network adapter status
8. Identify whether any exception exists. If any exception occurs, contact Technical Support.


