Users Guide

Broadcom DRVLin-LPe-UG124-100
33
Emulex Drivers for Linux User Guide
Chapter 4: Configuring NVMe over FC
NVMe over FC is supported on the following operating systems:
RHEL 8.0 and later
RHEL 7.6 and later
SLES 15 and later
SLES 12 SP3 and later
For supported operating systems, see Section 2.5, Installing the NVMe over FC Driver.
To configure NVMe over FC, you must perform the following procedures in the indicated sequence:
1. Attach NVMe over FC-based storage to the FC SAN. Alternatively, an Emulex adapter may be configured as an NVMe
over FC target and used by the Linux NVMeT subsystem (see Appendix B, Configuring NVMe over FC on a Target).
2. Configure NVMe over FC on initiator systems, as described in this chapter.
NOTE:
The nvmefc-connect RPM is not installed by default. To install the RPM, the elx_lpfc_install.sh script
includes an -n option. When the -n option is used, the install script installs the driver RPM and the
nvmefc-connect RPM. The nvmefc-connect RPM is not needed on SUSE systems. It is required on all
other operating systems.
All operating system distributions will be releasing the upstream version of the NVMe over Fabrics auto-connect
scripts, which will replace this lpfc RPM.
Before configuring NVMe over FC using native NVMe CLI commands, ensure that you have installed the latest
Emulex firmware for the LPe31000-series, LPe32000-series, and LPe35000-series adapters.
The target system must be configured and running before you connect the host system to the target.
4.1 Configuring NVMe over FC Initiator Using Native CLI Commands
NVMe over FC on an initiator is configured automatically with the lpfc installer script elx_lpfc_install.sh.
To install the lpfc driver with NVMe on the initiator, perform the following steps:
1. Type the following command:
# elx_lpfc_install.sh -n
-n installs the nvmefc-connect RPM if the running operating system is supported.
NOTE:
The nvmefc-connect RPM is not needed on SUSE systems. It is required on all other operating systems.
The existing lpfc driver parameters in the elx-lpfc.conf file are not affected.
By default the SCSI and NVMe protocols are enabled on the port; and by default, the port is an initiator for the
SCSI/NVMe protocol.