If a user wants to connect an IB interface card on 5500 V3 to a server and the user's upper-layer host OS is Red Hat, the user needs to configure the IB NICs on the system first.
1、 1. In the /etc/infiniband/openib.conf configuration file, modify the values of the following four drive configuration items to yes:
Reason for modification: The IB HCA supports many protocols. The SRP protocol used by 5500 V3 defaults to be disabled on the IB HCA and needs to be enabled manually.
2. Restart the host to
make the configuration effective.
3. Change the port status to active.
Run the ibstat command to view the IB port information on the host, as shown in the following figure:
State: Initializing, Physical state:Linkup
If the port status is always Initializing and the physical link status is Linkup, no subnet management software is running in the subnet, and the networking fails. Subnet management software opensm needs to be started manually.
Start the subnet management software:
Run the opensm –g xxx command to bind opensm to the specified port. xxx in the command indicates the port GUID which can be obtained by running the ibstat command.
4. Ensure that the srp_daemon process is enabled.
Run the ps x| grep srp_daemon command to check the status of the srp_daemon process:
If the process is not enabled, run the following command to enable it:
Parameter description: -i specifies the card. -p specifies the port on which the process is enabled (can be obtained by running the ibstat command).