Configure ONTAP FC ports for direct-attachment to FC and FC-NVMe hosts
Beginning with ONTAP 9.19.1, an FC switch is not required to establish connections between FC and FC-NVMe hosts and ONTAP storage. Hosts can be directly connected to FC adapter ports on AFF, ASA, ASA r2 and FAS systems. Direct-attachment capability can be especially valuable in remote sites and hybrid environments where simplicity is key. You must take the FC port offline and modify its topology before it can be directly attached to a host.
FC ports used in direct-attachment configurations have the following restrictions:
-
The port can be assigned to only one storage VM (SVM).
-
Only one network interface (LIF) can be assigned to the port after it is configured for direct attachment.
-
The port can support the FC protocol or the FC-NVMe protocol, but not both.
You must be a cluster administrator.
-
In System Manager, select Network > FC ports.
-
Select
next to the port you want to configure for direct attachment and then select Edit topology. -
Under Topology, select Direct and then select I want to change the topology and take the port offline.
-
Select Save.
-
Connect the cable for the target port directly to the host initiator.
-
If you have an ASA r2 system, follow this System Manager procedure to create a LIF. If you have an AFF, ASA or FAS system, follow these steps to create a LIF:
-
Select Network > Interfaces and then select
. -
Select the FC or NVMe/FC protocol.
-
Name the LIF or accept the name generated by ONTAP.
-
If at least one subnet is configured, you can select a subnet for the LIF.
-
If you don't select a subnet, you can specify the IP address and subnet mask for the broadcast domain.
-
Select the home port from the broadcast domain.
The home port control is displayed based on the broadcast domain or subnet selection
-
Select Save.
The port is brought online automatically when the LIF is created.
-
In System Manager, select Network > FC ports and then verify that the Topology is displayed as Direct.
-
View the administrative and operational status of the LIF used for the adapter port:
network interface show -vserver <SVM_name> -
Take the adapter offline:
network fcp adapter modify -node <node_name> -adapter <adapter_port> -status-admin down -
Remove all LIFs from the adapter port:
network interface delete -vserver <SVM_name> -lif <lif_name>,<lif_name> -
Change the adapter port topology to direct:
network fcp adapter modify -node <node_name> -adapter <adapter_port> -topology direct -
Connect the cable for the target port directly to the host initiator.
-
Create a single LIF interface:
network interface create -vserver <SVM_name> -lif <lif_name> -data protocol fcp|fcp-nvme -home-node <node_name> -home-port <port_name>The port is automatically enabled after LIF creation.
-
Verify that the port is configured for direct attachment:
network fcp adapter show -fields topologies-supportedThe topology should be displayed as direct.