ONTAP 9 Manuals ( CA08871-402 )

Configure FC adapters

Each onboard FC port can be individually configured as an initiator or a target. Ports on certain FC adapters can also be individually configured as either a target port or an initiator port, just like the onboard FC ports.

Target mode is used to connect the ports to FC initiators. Initiator mode is used to connect the ports to tape drives, tape libraries, or third-party storage with Foreign LUN Import (FLI).

The same steps are used when configuring FC adapters for the FC protocol and the FC-NVMe protocol. However, only certain FC adapters support FC-NVMe.

Configure FC adapters for target mode

Steps
  1. Take the adapter offline:

    node run -node node_name storage disable adapter adapter_name

    If the adapter does not go offline, you can also remove the cable from the appropriate adapter port on the system.

  2. Change the adapter from initiator to target:

    system hardware unified-connect modify -t target -node node_name adapter adapter_name

  3. Reboot the node hosting the adapter you changed.

  4. Verify that the target port has the correct configuration:

    network fcp adapter show -node node_name

  5. Bring your adapter online:

    network fcp adapter modify -node node_name -adapter adapter_port -state up

Configure FC adapters for initiator mode

What you’ll need
  • LIFs on the adapter must be removed from any port sets of which they are members.

  • All LIF’s from every storage virtual machine (SVM) using the physical port to be modified must be migrated or destroyed before changing the personality of the physical port from target to initiator.

NVMe/FC does support initiator mode.

Steps
  1. Remove all LIFs from the adapter:

    network interface delete -vserver SVM_name -lif LIF_name,LIF_name

  2. Take your adapter offline:

    network fcp adapter modify -node node_name -adapter adapter_port -status-admin down

    If the adapter does not go offline, you can also remove the cable from the appropriate adapter port on the system.

  3. Change the adapter from target to initiator:

    system hardware unified-connect modify -t initiator adapter_port

  4. Reboot the node hosting the adapter you changed.

  5. Verify that the FC ports are configured in the correct state for your configuration:

    system hardware unified-connect show

  6. Bring the adapter back online:

    node run -node node_name storage enable adapter adapter_port

Top of Page