Skip to main content

Register the SVM with an iSNS server

Contributors

You can use the vserver iscsi isns command to configure the storage virtual machine (SVM) to register with an iSNS server.

About this task

The 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.

Steps
  1. On your iSNS server, ensure that your iSNS service is up and available for service.

  2. 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

  3. Create an iSCSI service on your SVM if one does not already exist:

    vserver iscsi create -vserver SVM_name

  4. Verify that the iSCSI service was created successfully:

    iscsi show -vserver SVM_name

  5. Verify that a default route exists for the SVM:

    network route show -vserver SVM_name

  6. If a default route does not exist for the SVM, create a default route:

    network route create -vserver SVM_name -destination destination -gateway gateway

  7. 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.

  8. Verify that the iSNS service is running:

    vserver iscsi isns show -vserver SVM_name

  9. If the iSNS service is not running, start it:

    vserver iscsi isns start -vserver SVM_name