12–NVMe-oF Configuration with RDMA
Configuring the Initiator Server
191
AH0054601-00 B
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 12-2. Subsystem NQN
5.
Connect to the discovered NVMe-oF target (
nvme-qlogic-tgt1
) using
NQN. Issue the following command after each server reboot. For example:
#
nvme connect -t rdma -n nvme-qlogic-tgt1 -a 1.1.1.1 -s 1023
6.
Confirm the NVMe-oF target connection with the NVMe-oF device as
follows:
#
dmesg | grep nvme
#
lsblk
#
list nvme