13–NVMe-oF Configuration with RDMA
Configuring the Initiator Server
231
AH0054602-00 J
Configuring the Initiator Server
You must configure the initiator server after the reboot process. After the server is
operating, you cannot change the configuration without rebooting. If you are using
a startup script to configure the initiator server, consider pausing the script (using
the
wait
command or something similar) as needed to ensure that each
command finishes before executing the next command.
To configure the initiator server:
1.
Load the NVMe modules. Issue these commands after each server reboot:
#
modprobe qedr
#
modprobe nvme-rdma
2.
Download, compile and install the
nvme-cli
initiator utility. Issue these
commands at the first configuration—you do not need to issue these
commands after each reboot.
#
git clone https://github.com/linux-nvme/nvme-cli.git
#
cd nvme-cli
#
make && make install
3.
Verify the installation version as follows:
#
nvme version
4.
Discover the NVMe-oF target as follows:
#
nvme discover -t rdma -a 1.1.1.1 -s 1023
Make note of the subsystem NQN (
subnqn
) of the discovered target
(
) for use in
.
Figure 13-2. Subsystem NQN