Skip to main content

Configure an SVM for FC

Contributors netapp-aherbin netapp-aaron-holt netapp-ahibbard netapp-andreajost netapp-dbagwell netapp-lenida netapp-thomi

To configure a storage virtual machine (SVM) for FC, you must create LIFs for the SVM and assign the FC protocol to those LIFs.

About this task

NetApp supports a minimum of one FC LIF per node for each SVM serving data with the FC protocol. You must use two LIFs per node and two fabrics, with one LIF per node attached. This provides for redundancy at the node layer and the fabric.

Before you begin
  • You must be a cluster administrator to perform this task.

  • You must have an FC license (included with ONTAP One) and it must be enabled. If the FC license is not enabled, the LIFs and SVMs will appear to be online but the operational status will be down. The FC service must be enabled for your LIFs and SVMs to be operational. You must use single initiator zoning for all of the FC LIFs in the SVM to host the initiators.

Example 1. Steps
System Manager

Configure an storage VM for iSCSI with ONTAP System Manager (9.7 and later).

To configure FC on a new storage VM To configure FC on an existing storage VM
  1. In System Manager, select Storage > Storage VMs and then select Add.

  2. Enter a name for the storage VM.

  3. Select FC for the Access Protocol.

  4. Select Enable FC.

    The FC ports are automatically assigned.

  5. Select Save.

  1. In System Manager, select Storage > Storage VMs.

  2. Select on the storage VM you want to configure.

  3. Select on the Settings tab, and then select Actions icon next to the FC protocol.

  4. Select Enable FC and enter the IP address and subnet mask for the network interface. + The FC ports are automatically assigned.

  5. Select Save.

CLI
  1. Enable FC service on the SVM:

    vserver fcp create -vserver <vserver_name> -status-admin up
  2. Create two LIFs for the SVMs on each node serving FC:

    • For ONTAP 9.6 and later:

      network interface create -vserver <vserver_name> -lif <lif_name> -data-protocol fcp -service-policy default-data-fcp -home-node <node_name> -home-port <port_name> -address <ip_address> -netmask <netmask> -status-admin up
    • For ONTAP 9.5 and earlier:

      network interface create -vserver <vserver_name>_ -lif <lif_name> -role data -data-protocol fcp -home-node <node_name> -home-port <port_name>
  3. Verify that your LIFs have been created and that their operational status is online:

    network interface show -vserver <vserver_name> <lif_name>

    Learn more about network interface show in the ONTAP command reference.