ONTAP 9 Manuals ( CA08871-402 )

to Japanese version

Configure an SVM for iSCSI

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

About this task

You need a minimum of one iSCSI LIF per node for each SVM serving data with the iSCSI protocol. For redundancy, you should create at least two LIFs per node.

ONTAP System Manager

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

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

  2. Enter a name for the storage VM.

  3. Select iSCSI for the Access Protocol.

  4. Click Enable iSCSI and enter the IP address and subnet mask for the network interface.

    Each node should have at least two network interfaces.

  5. Click Save.

  1. In ONTAP System Manager, click Storage > Storage VMs.

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

  3. Click on the Settings tab, and then click Settings icon next to the iSCSI protocol.

  4. Enter the IP address and subnet mask for the network interface.

    Each node should have at least two network interfaces.

  5. Click Save.

CLI

Configure an storage VM for iSCSI with the ONTAP CLI.

  1. Enable the SVMs to listen for iSCSI traffic:

    vserver iscsi create -vserver vserver_name -target-alias vserver_name

  2. Create a LIF for the SVMs on each node to use for iSCSI:

    network interface create -vserver vserver_name -lif lif_name -data-protocol iscsi -service-policy default-data-iscsi -home-node node_name -home-port port_name -address ip_address -netmask netmask

  3. Verify that you set up your LIFs correctly:

    network interface show -vserver vserver_name

  4. Verify that iSCSI is up and running and the target IQN for that SVM:

    vserver iscsi show –vserver vserver_name

  5. From your host, create iSCSI sessions to your LIFs.

Top of Page