Users Guide

Table Of Contents
Broadcom DRVLin-UG128-100
34
Emulex Drivers for Linux User Guide
Chapter 4: Configuring NVMe over FC
NOTE: The NVMe over FC target drivers are meant for evaluation and testing during development only. They are not
intended for production use.
NVMe over FC is supported on LPe31000-series, LPe32000-series, and LPe35000-series adapters.
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.
3. Verify that the operating system has the dependency nvme-cli RPM installed to enable the NVMe feature.
NOTE: The following information applies to configuring NVMe over FC:
The nvmefc-connect RPM is not installed by default. To install the RPM, the elx_lpfc_install.sh script
includes a -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 the latest releases of SLES operating
systems such as SLES12 SP5 and SLES15 variants. It is also not needed on the latest releases of RHEL
operating systems such as RHEL 8.2 and later.
All operating system distributions will be releasing the upstream version of the NVMe over fabrics auto-connect
scripts, which will replace this nvmefc-connect 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 an 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 following information applies to configuring NVMe over FC on an initiator system:
The nvmefc-connect RPM is not needed on the latest releases of SLES operating systems such as
SLES12 SP5 and SLES15 variants. It is also not needed on the latest releases of RHEL operating systems
such as RHEL 8.2 and later.
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.