Register the SVM with an iSNS server
You can use the
vserver iscsi isns command to configure the storage virtual machine (SVM) to register with an iSNS server.
vserver iscsi isns create command configures the SVM to register with the iSNS server. The SVM does not provide commands that enable you to configure or manage the iSNS server. To manage the iSNS server, you can use the server administration tools or the interface provided by the vendor for the iSNS server.
On your iSNS server, ensure that your iSNS service is up and available for service.
Create the SVM management LIF on a data port:
network interface create -vserver SVM_name -lif lif_name -role data -data-protocol none -home-node home_node_name -home-port home_port -address IP_address -netmask network_mask
Create an iSCSI service on your SVM if one does not already exist:
vserver iscsi create -vserver SVM_name
Verify that the iSCSI service was created successfully:
iscsi show -vserver SVM_name
Verify that a default route exists for the SVM:
network route show -vserver SVM_name
If a default route does not exist for the SVM, create a default route:
network route create -vserver SVM_name -destination destination -gateway gateway
Configure the SVM to register with the iSNS service:
vserver iscsi isns create -vserver SVM_name -address IP_address
Both IPv4 and IPv6 address families are supported. The address family of the iSNS server must be the same as that of the SVM management LIF.
For example, you cannot connect anSVM management LIF with an IPv4 address to an iSNS server with an IPv6 address.
Verify that the iSNS service is running:
vserver iscsi isns show -vserver SVM_name
If the iSNS service is not running, start it:
vserver iscsi isns start -vserver SVM_name