Configure an SVM for iSCSI
-
PDF of this doc site
- Cluster administration
-
Volume administration
- Logical storage management with the CLI
-
NAS storage management
- Configure NFS with the CLI
- Manage NFS with the CLI
-
Manage SMB with the CLI
- Manage file access using SMB
- Security and data encryption
- Data protection and disaster recovery
Collection of separate PDF docs
Creating your file...
To configure a storage virtual machine (SVM) for iSCSI, you must create LIFs for the SVM and assign the iSCSI protocol to those LIFs.
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.
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 |
---|---|
|
|
Configure an storage VM for iSCSI with the ONTAP CLI.
-
Enable the SVMs to listen for iSCSI traffic:
vserver iscsi create -vserver vserver_name -target-alias vserver_name
-
Create a LIF for the SVMs on each node to use for iSCSI:
-
For ONTAP 9.6 and later:
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
-
For ONTAP 9.5 and earlier:
network interface create -vserver vserver_name -lif lif_name -role data -data-protocol iscsi -home-node node_name -home-port port_name -address ip_address -netmask netmask
-
-
Verify that you set up your LIFs correctly:
network interface show -vserver vserver_name
-
Verify that iSCSI is up and running and the target IQN for that SVM:
vserver iscsi show –vserver vserver_name
-
From your host, create iSCSI sessions to your LIFs.