Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
29.2. NVMe over fabrics using FC
The NVMe over Fibre Channel (FC-NVMe) is fully supported in initiator mode when used with certain Broadcom Emulex and Marvell Qlogic Fibre Channel adapters. As a system administrator, complete the tasks in the following sections to deploy the FC-NVMe:
29.2.1. Configuring the NVMe initiator for Broadcom adapters Link kopierenLink in die Zwischenablage kopiert!
Link kopierenLink in die Zwischenablage kopiert!
Use this procedure to configure the NVMe initiator for Broadcom adapters client using the NVMe management command line interface (
nvme-cli) tool.
- Install the
nvme-clitool:yum install nvme-cli
# yum install nvme-cliCopy to Clipboard Copied! Toggle word wrap Toggle overflow This creates thehostnqnfile in the/etc/nvme/directory. Thehostnqnfile identifies the NVMe host. To generate a newhostnqn:nvme gen-hostnqn
# nvme gen-hostnqnCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Create a
/etc/modprobe.d/lpfc.conffile with the following content:options lpfc lpfc_enable_fc4_type=3
options lpfc lpfc_enable_fc4_type=3Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Rebuild the
initramfsimage:dracut --force
# dracut --forceCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Reboot the host system to reconfigure the
lpfcdriver:systemctl reboot
# systemctl rebootCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Find the WWNN and WWPN of the local and remote ports and use the output to find the subsystem NQN:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace nn-0x204600a098cbcac6:pn-0x204700a098cbcac6 with thetraddr.Replace nn-0x20000090fae0b5f5:pn-0x10000090fae0b5f5 with thehost_traddr. - Connect to the NVMe target using the
nvme-cli:nvme connect --transport fc --traddr nn-0x204600a098cbcac6:pn-0x204700a098cbcac6 --host-traddr nn-0x20000090fae0b5f5:pn-0x10000090fae0b5f5 -n nqn.1992-08.com.netapp:sn.e18bfca87d5e11e98c0800a098cbcac6:subsystem.st14_nvme_ss_1_1
# nvme connect --transport fc --traddr nn-0x204600a098cbcac6:pn-0x204700a098cbcac6 --host-traddr nn-0x20000090fae0b5f5:pn-0x10000090fae0b5f5 -n nqn.1992-08.com.netapp:sn.e18bfca87d5e11e98c0800a098cbcac6:subsystem.st14_nvme_ss_1_1Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace nn-0x204600a098cbcac6:pn-0x204700a098cbcac6 with thetraddr.Replace nn-0x20000090fae0b5f5:pn-0x10000090fae0b5f5 with thehost_traddr.Replace nqn.1992-08.com.netapp:sn.e18bfca87d5e11e98c0800a098cbcac6:subsystem.st14_nvme_ss_1_1 with thesubnqn. - Verify the NVMe devices are currently connected:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Additional resources
- For more information, see the
nvmeman page and the NVMe-cli Github repository.
29.2.2. Configuring the NVMe initiator for QLogic adapters Link kopierenLink in die Zwischenablage kopiert!
Link kopierenLink in die Zwischenablage kopiert!
Use this procedure to configure NVMe initiator for Qlogic adapters client using the NVMe management command line interface
(nvme-cli) tool.
- Install the
nvme-clitool:yum install nvme-cli
# yum install nvme-cliCopy to Clipboard Copied! Toggle word wrap Toggle overflow This creates thehostnqnfile in the/etc/nvme/directory. Thehostnqnfile identifies the NVMe host. To generate a newhostnqn:nvme gen-hostnqn
# nvme gen-hostnqnCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Remove and reload the
qla2xxxmodule:rmmod qla2xxx modprobe qla2xxx
# rmmod qla2xxx # modprobe qla2xxxCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Find the WWNN and WWPN of the local and remote ports:
dmesg |grep traddr
# dmesg |grep traddr [ 6.139862] qla2xxx [0000:04:00.0]-ffff:0: register_localport: host-traddr=nn-0x20000024ff19bb62:pn-0x21000024ff19bb62 on portID:10700 [ 6.241762] qla2xxx [0000:04:00.0]-2102:0: qla_nvme_register_remote: traddr=nn-0x203b00a098cbcac6:pn-0x203d00a098cbcac6 PortID:01050dCopy to Clipboard Copied! Toggle word wrap Toggle overflow Using thishost-traddrandtraddr, find the subsystem NQN:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace nn-0x203b00a098cbcac6:pn-0x203d00a098cbcac6 with thetraddr.Replace nn-0x20000024ff19bb62:pn-0x21000024ff19bb62 with thehost_traddr. - Connect to the NVMe target using the
nvme-clitool:nvme connect --transport fc --traddr nn-0x203b00a098cbcac6:pn-0x203d00a098cbcac6 --host_traddr nn-0x20000024ff19bb62:pn-0x21000024ff19bb62 -n nqn.1992-08.com.netapp:sn.c9ecc9187b1111e98c0800a098cbcac6:subsystem.vs_nvme_multipath_1_subsystem_468
# nvme connect --transport fc --traddr nn-0x203b00a098cbcac6:pn-0x203d00a098cbcac6 --host_traddr nn-0x20000024ff19bb62:pn-0x21000024ff19bb62 -n nqn.1992-08.com.netapp:sn.c9ecc9187b1111e98c0800a098cbcac6:subsystem.vs_nvme_multipath_1_subsystem_468Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace nn-0x203b00a098cbcac6:pn-0x203d00a098cbcac6 with thetraddr.Replace nn-0x20000024ff19bb62:pn-0x21000024ff19bb62 with thehost_traddr.Replace nqn.1992-08.com.netapp:sn.c9ecc9187b1111e98c0800a098cbcac6:subsystem.vs_nvme_multipath_1_subsystem_468 with thesubnqn. - Verify the NVMe devices are currently connected:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Additional resources
- For more information, see the
nvmeman page and the NVMe-cli Github repository.