Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Registering the storage system with an iSNS server

What an iSNS server does  Top

An iSNS server uses the Internet Storage Name Service (iSNS) protocol to maintain information about active iSCSI devices on the network, including their IP addresses, iSCSI node names, and portal groups. The iSNS protocol enables automated discovery and management of iSCSI devices on an IP storage network. An iSCSI initiator can query the iSNS server to discover iSCSI target devices.

NetApp does not supply or resell iSNS servers. You obtain these servers from a vendor supported by NetApp. Be sure to check the NetApp iSCSI Support Matrix to see which iSNS servers are currently supported.

Resolving iSNS service version incompatibility  Top

The specification for the iSNS service is still in draft form. Some draft versions are different enough to prevent the storage system from registering with the iSNS server. Because the protocol does not provide version information to the draft level, iSNS servers and storage systems cannot negotiate the draft level being used.

By default, Data ONTAP versions prior to 7.1 used iSNS draft 18. This draft was also used by Microsoft iSNS server versions prior to 3.0.

In Data ONTAP 7.1, the default iSNS version is draft 22. This draft is also used by Microsoft iSNS server 3.0.

Choices for iSNS service

You can either use the iSNS server that matches your Data ONTAP version, or you can configure Data ONTAP to use a different iSNS draft version by changing the iscsi.isns.rev option on the storage system. Refer to the following table.

If your Data ONTAP version is...

And your iSNS server version is...

Then you should...

Prior to 7.1

Prior to 3.0

Verify that the iscsi.isns.rev option is set to 18.

7.1

Prior to 3.0

Set iscsi.isns.rev option to 18 or upgrade to iSNS server 3.0.

Prior to 6.5.4

3.0

Upgrade Data ONTAP or use a version of iSNS server prior to 3.0.

6.5.4 to 7.0.x

3.0

Set iscsi.isns.rev option to 22 or use a version of iSNS server prior to 3.0.

7.1

3.0

Verify that the iscsi.isns.rev option is set to 22.

Note
When you upgrade to a new version of Data ONTAP, the existing value for the iscsi.isns.rev option is maintained. This reduces the risk of a draft version problem when upgrading. For example, if you upgrade from the 7.0 family to 7.1, the default value 18 from the 7.0 family is also used for 7.1. You must change the iscsi.isns.rev value manually when upgrading Data ONTAP.

Setting the iSNS service revision

To set the iSNS service revision, complete the following steps.

Step

Action

1

Verify the current iSNS revision value by entering the following command on the system console:

options iscsi.isns.rev

Result

The current draft revision used by the storage system is displayed.

2

If needed, change the iSNS revision value by entering the following command:

options iscsi.isns.rev draft

draft is the iSNS standard draft revision, either 18 or 22.

How the storage system interacts with an iSNS server  Top

The storage system automatically registers its IP address, node name, and portal groups with the iSNS server when the iSCSI service is started and iSNS is enabled. After iSNS is initially configured, Data ONTAP automatically updates the iSNS server any time the storage system's configuration settings change. There can be a delay of a few minutes between the time of the configuration change and the update being sent; you can use the iscsi isns update command to send an update immediately.

Command to register the storage system  Top

You can use the iscsi isns command or FilerView to configure the storage system to register with an iSNS server. This command specifies the information the storage system sends to the iSNS server.

How you manage the iSNS server  Top

The iscsi isns command only configures the storage system to register with the iSNS server. The storage system does not provide commands that enable you to configure or manage the iSNS server.

To manage the iSNS server, use the server administration tools or interface provided by the vendor of the iSNS server.

Configuring the storage system to register with an iSNS server  Top

Registering with iSNS using the command line

To configure the storage system to register with the iSNS server, complete the following steps.

Step

Action

1

Make sure the iSCSI service is running by entering the following command on the storage system console:

iscsi status
2

If the iSCSI service is not running, enter the following command:

iscsi start
3

On the storage system console, enter the following command to identify the iSNS server that the storage system registers with:

iscsi isns config -i ip_addr

ip_addr is the IP address of the iSNS server.

4

Enter the following command:

iscsi isns start

Result

The iSNS service is started and the storage system registers with the iSNS server.

Note
iSNS registration is persistent across reboots if the iSCSI service is running and iSNS is started.

Registering with iSNS using FilerView

To configure the storage system to register with the iSNS server, complete the following steps.

Step

Action

1

Click LUNs > Enable/Disable. Verify that the iSCSI service is enabled.

2

If the iSCSI service is not enabled, check the Enable box and click Apply.

3

Click LUNs > iSCSI > Manage iSNS.

4

Check the Enable box.

5

Enter the IP address of the iSNS server.

6

Click Apply.

Result

The iSNS service is started and the storage system registers with the iSNS server.

Note
iSNS registration is persistent across reboots if the iSCSI service is running and iSNS is started.

Updating the iSNS server immediately  Top

Data ONTAP checks for iSCSI configuration changes on the storage system every few minutes and automatically sends any changes to the iSNS server. If you do not want to wait for an automatic update, you can update the iSNS server immediately.

To immediately update the iSNS server with iSCSI configuration changes, complete the following step:

Step

Action

1

On the storage system console, enter the following command:

iscsi isns update

Disabling iSNS  Top

Disabling iSNS using the command line

When you stop the iSNS service, the storage system stops registering its iSCSI information with the iSNS server.

To stop the iSNS service, complete the following step.

Step

Action

1

On the storage system console, enter the following command:

iscsi isns stop

Disabling iSNS using FilerView

When you stop the iSNS service, the storage system stops registering its iSCSI information with the iSNS server.

To stop the iSNS service, complete the following steps.

Step

Action

1

Click LUNs > iSCSI > Manage iSNS.

2

Clear the Enable box.

3

Click Apply.

Setting up vFiler units with the iSNS service  Top

You can set up iSNS separately for each vFiler by using the iscsi isns command on each vFiler to:

To set up vFiler units with the iSNS service, complete the following steps for each vFiler. Configuring iSNS for each vFiler must be done using the command line.

Step

Action

1

Register the vFiler with the iSNS service by entering the following command:

iscsi isns config -i ip_addr

ip_addr is the IP address of the iSNS server.

Examples

The following example defines the iSNS server for the default vFiler (vfiler0) on the hosting storage system:

iscsi isns config -i 10.10.122.101

The following example defines the iSNS server for a specific vFiler (vf1). The vfiler context command switches to the command line for a specific vFiler.

vfiler context vf1
vf1> iscsi isns config -i 10.10.122.101
2

Enter the following command to enable the iSNS service:

iscsi isns start

Note
For information about managing vFiler units, see the sections on iSCSI service on vFiler units in the MultiStore Management Guide.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments