Chapter 2. Configuring the core RDMA subsystem
The rdma service configuration manages the network protocols and communication standards such as InfiniBand, iWARP, and RoCE.
Procedure
Install the
rdma-coreandopensmpackages:dnf install rdma-core opensm
# dnf install rdma-core opensmCopy to Clipboard Copied! Toggle word wrap Toggle overflow Enable the
opensmservice:systemctl enable opensm
# systemctl enable opensmCopy to Clipboard Copied! Toggle word wrap Toggle overflow Start the
opensmservice:systemctl start opensm
# systemctl start opensmCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Install the
libibverbs-utilsandinfiniband-diagspackages:dnf install libibverbs-utils infiniband-diags
# dnf install libibverbs-utils infiniband-diagsCopy to Clipboard Copied! Toggle word wrap Toggle overflow List the available InfiniBand devices:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Display the information of the
mlx4_1device:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Display the status of the
mlx4_1device:Copy to Clipboard Copied! Toggle word wrap Toggle overflow The
ibpingutility pings an InfiniBand address and runs as a client/server by configuring the parameters.Start server mode
-Son port number-Pwith-CInfiniBand channel adapter (CA) name on the host:ibping -S -C mlx4_1 -P 1
# ibping -S -C mlx4_1 -P 1Copy to Clipboard Copied! Toggle word wrap Toggle overflow Start client mode, send some packets
-con port number-Pby using-CInfiniBand channel adapter (CA) name with-LLocal Identifier (LID) on the host:ibping -c 50 -C mlx4_0 -P 1 -L 2
# ibping -c 50 -C mlx4_0 -P 1 -L 2Copy to Clipboard Copied! Toggle word wrap Toggle overflow