Configuring iSCSI protocol on SVMs

You can configure the iSCSI protocol on the Storage Virtual Machine (SVM) to provide block-level data access by using System Manager. You can create iSCSI LIFs and portsets and add the LIFs to the portsets. LIFs are created on the most suitable adapters and assigned to portsets to ensure data path redundancy.

Before you begin

About this task

Steps

  1. If you have not configured the protocols while creating the SVM, click the SVMs tab.
  2. Select the SVM, and then click Manage.
  3. Click the SVM Settings tab.
  4. In the Protocols pane, click iSCSI.
  5. 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.
  6. 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.
    Example
    A 4-node cluster has node1, node2, and node3 with 6 ports each in the up state, and node4 with 7 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 2, you must assign at least one portset to each LIF.
  7. Specify the network details, including the subnet details, to create iSCSI LIFs:
    If you want to... Then...
    Specify the IP address 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 LIF, 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 you specify is added to the subnet if it 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 network mask or prefix.
      2. Optional: Specify the gateway.

        The destination field is populated with the default value based on the family of the IP address.

      3. If you do not want the default value, specify the new destination value.

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

    3. Click OK.
  8. Select the broadcast domain.
  9. Select the adapter type.

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

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

    If you have ifgrps configured in your cluster, select Interface Group.
    Note: The ifgrp port must be added in the broadcast domain.
  10. Optional: Provision a LUN for iSCSI storage when configuring the iSCSI protocol by providing the LUN size, OS type for the LUN, and host initiator details.
  11. If you want to verify or modify the automatically generated iSCSI LIFs configuration, 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 ensure that you 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 using a round-robin method to ensure redundancy in case of node or port failure.

  12. Click Submit & Continue.

Result

The iSCSI LIFs and portsets are created with the specified configuration. The LIFs are distributed accordingly among the portsets. The iSCSI service is started if all the LIFs are successfully created.

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