Skip to main content
System Manager Classic

Configure iSCSI protocol on SVMs with System Manager - ONTAP 9.7 and earlier

Contributors netapp-mwallis

You can use ONTAP System Manager classic (available in ONTAP 9.7 and earlier) to configure the iSCSI protocol on a storage virtual machine (SVM) to provide block-level data access. You can create iSCSI LIFs and portsets and then add the LIFs to the portsets. LIFs are created on the most suitable adapters and are assigned to portsets to ensure data path redundancy.

Before you begin
  • The iSCSI license must be enabled on the cluster.

    If the iSCSI protocol is not enabled on the SVM, you can use the Edit Storage Virtual Machine window to enable the protocol for the SVM.

  • All of the nodes in the cluster must be healthy.

  • Each node must have at least two data ports, and the port state must be up.

About this task
  • You can configure the iSCSI protocol while creating the SVM or you can do so at a later time.

  • SnapLock aggregates are not considered for automatically creating volumes.

Steps
  1. If you have not configured the iSCSI protocol while creating the SVM, click Storage > SVMs.

  2. Select the SVM, and then click SVM Settings.

  3. In the Protocols pane, click iSCSI.

  4. Optional: In the Network Access section, specify an alias for the iSCSI target.

    The maximum number of characters for an alias name is 128. If you do not specify a target alias, the SVM name is used as an alias.

  5. Specify the number of iSCSI LIFs that can be assigned to a single node.

    The minimum number of LIFs per node is one. The maximum number is the minimum of all the ports in the up state across the nodes. If the maximum value is an odd number, the previous even number is considered as the maximum value. You can choose any even number in the minimum and maximum value range.

    A 4-node cluster has node1, node2, and node3 with six ports each in the up state, and node4 with seven ports in the up state. The effective maximum value for the cluster is 6.

    If the number of LIFs that you want to assign to the node is more than two, you must assign at least one portset to each LIF.

  6. Specify the network details, including the subnet details, to create iSCSI LIFs:

    If you want to…​ Then…​

    Specify the IP address by using a subnet

    1. Select Using a subnet.

    2. In the Add Details dialog box, select the subnet from which the IP address must be assigned.

      For intercluster LIFs, only the subnets that are associated with the selected IPspace are displayed.

    3. If you want to assign a specific IP address to the interface, select Use a specific IP address, and then type the IP address.

      The IP address that you specify is added to the subnet if the IP address is not already present in the subnet range.

    4. Click OK.

    Specify the IP address manually without using a subnet

    1. Select Without a subnet.

    2. In the Add Details dialog box, perform the following steps:

      1. Specify the IP address and the network mask or prefix.

      2. Optional: Specify the gateway.

      3. If you do not want to use the default value for the Destination field, specify a new destination value.

        If you do not specify a destination value, the Destination field is populated with the default value based on the family of the IP address.

      If a route does not exist, a new route is automatically created based on the gateway and destination.

    3. Click OK.

  7. Select the broadcast domain.

  8. Select the adapter type.

    If you have NIC cards configured in your cluster, you should select NIC.

    If you have CNS cards configured in your cluster, you should select CNA.

    If you have ifgrps configured in your cluster, you should select Interface Group.

    Note

    The ifgrp port must be added in the broadcast domain.

  9. Optional: Provision a LUN for iSCSI storage when configuring the iSCSI protocol by specifying the LUN size, OS type for the LUN, and host initiator details.

  10. If you want to verify or modify the configuration of the automatically generated iSCSI LIFs, select Review or Modify LIFs configuration (Advanced Settings).

    You can modify only the LIF name and the home port. By default, the portsets are set to the minimum value. You must specify unique entries. If you specify duplicate LIF names, System Manager appends numeric values to the duplicate LIF name.

    Based on the selected portset, the LIFs are distributed across the portsets by using a round-robin method to ensure redundancy in case of node failure or port failure.

  11. Click Submit & Continue.

Results

The iSCSI LIFs and portsets are created with the specified configuration. The LIFs are distributed among the portsets based on the selected portset. The iSCSI service is started if all of the LIFs are successfully created.

If LIF creation fails, you can create the LIFs by using the Network Interfaces window, attach the LIFs to the portsets by using the LUNs window, and then start the iSCSI service by using the iSCSI window.