How Can I Check Whether the Network Communication Is Normal Between Two ECSs Equipped with an InfiniBand NIC Driver?

For high-performance H2 ECSs equipped with an InfiniBand NIC driver (InfiniBand ECSs for short), perform the following operations to check whether the driver installation is successful and whether the network communication between the ECSs is normal.

Note

During the check, if your ECS has no command tool installed, such as ibstat, obtain the tool from the installation package for the InfiniBand NIC driver and install the tool.

  1. Check whether the NICs of the InfiniBand ECSs are functional.

    1. Log in to an ECS.

    2. Run the following command to check whether the NIC is functional:

      ibstat

      • If it is functional, go to 2.

      • If it is not functional, contact customer service for technical support.

  2. Check whether the network communication between two InfiniBand ECSs is normal.

    1. Log in to one InfiniBand ECS and run the following command:

      ib_write_bw -x 0 --pkey_index 0

    2. Log in to the other InfiniBand ECS and run the following command:

      ib_write_bw -x 0 --pkey_index 0ip_addr

      In the preceding command, ip_addr is the NIC IP address of the first InfiniBand ECS.

    3. Check whether the terminal display is correct.

      **Figure 1** Normal network communication

      Figure 1 Normal network communication

      • If the terminal display is shown in Figure 1, the network communication between the two InfiniBand ECSs is normal.

      • If the InfiniBand network is inaccessible, contact customer service for technical support.