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

Managing security for iSCSI initiators

Ways to manage initiator security with authentication methods  Top

You can manage the security for iSCSI initiators by performing the following tasks:

How iSCSI authentication works  Top

During the initial stage of an iSCSI session, the initiator sends a login request to the storage system to begin an iSCSI session. The storage system permits or denies the login request according to one of the following authentication methods:

You can define a list of initiators and their authentication methods. You can also define a default authentication method for initiators that are not on this list. If you do not specify a list of initiators and authentication methods, the default method is none--any initiator can access the storage system without authentication.

Authentication with vFiler units  Top

If you use iSCSI with vFiler units, the CHAP authentication settings are configured separately for each vFiler. Each vFiler has its own default authentication mode and list of initiators and passwords.

To configure CHAP settings for vFiler units, you must use the command line.

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

Guidelines for using CHAP authentication  Top

The following guidelines apply to CHAP authentication:

Upgrading from a previous release  Top

If you upgrade from Data ONTAP 6.4.x to Data ONTAP 6.5 or later, and you have CHAP authentication configured, the CHAP configuration from the previous release is not saved. The CHAP configuration file in Data ONTAP 6.5 and later uses a new format that is not compatible with the CHAP configuration file format of the previous release. When you upgrade, you must use the iscsi security command to reconfigure CHAP settings.

If you do not reconfigure CHAP after the upgrade, Data ONTAP displays the following message when the initiator sends a login message to the storage system:

"ISCSI: Incorrect iSCSI configuration file version"

Defining an authentication method for an initiator  Top

Defining an authentication method using the command line

To define an authentication method for an initiator that is in the authentication list, complete the following steps.

Step

Action

1

If you want to...

Then...

Use CHAP authentication and generate a random password

  1. Enter the following command:

    iscsi security generate

    Result: The storage system generates a 128-bit random password.

  2. Proceed to Step 2.
  • Use CHAP authentication and specify a password
  • Use another security method

Proceed to Step 2.

2

For each initiator, enter the following command:

iscsi security add -i initiator -s method -p inpassword 
-n inname [-o outpassword -m outname]

initiator is the initiator name in the iSCSI nodename format.

method is one of the following:

  • chap--Authenticate using a CHAP user name and password.
  • none--The initiator can access the storage system without authentication.
  • deny--The initiator cannot access the storage system.

inpassword is the inbound password for CHAP authentication. The storage system uses the inbound password to authenticate the initiator.

inname is a user name for inbound CHAP authentication. The storage system uses the inbound user name to authenticate the initiator.

outpassword is a password for outbound CHAP authentication. The storage system uses this password for authentication by the initiator.

outname is a user name for outbound CHAP authentication. The storage system uses this user name for authentication by the initiator.

Note
If you generated a random password in Step 1, you can use this string for either inpassword or outpassword. If you enter a string, the storage system interprets an ASCII string as an ASCII value and a hexadecimal string, such as 0x1345, as a binary value.

Defining an authentication method using FilerView

To define an authentication method for an initiator, complete the following steps.

Step

Action

1

Click LUNs > iSCSI > Manage Initiator Security.

Result

A list of initiators is displayed.

2

If you want to...

Then...

Define authentication for an initiator in the list

Check the box for the initiator and then click Modify. Proceed to Step 3.

Define authentication for an initiator that is not in the list

  1. Click Add New Initiator Security.
  2. Enter the initiator node name. Proceed to Step 3.
3

Select the security type.

4

Click Next.

5

If you selected CHAP, enter an inbound user name and password, and then click Next.

6

If you selected CHAP, optionally enter an outbound user name and password, and then click Next.

7

Click Commit.

Displaying initiator authentication methods  Top

Displaying initiator authentication methods using the command line

To view a list of initiators and their authentication methods, complete the following step.

Step

Action

1

On the storage system console, enter the following command:

iscsi security show 

Displaying initiator authentication methods using FilerView

To view a list of initiators and their authentication methods, complete the following step.

Step

Action

1

Click LUNs > iSCSI > Manage Initiator Security.

Defining a default authentication method  Top

To define a default authentication method for initiators that are not on the authentication list, complete the following step. You must use the command line to define a default method.

Step

Action

1

On the storage system console, enter the following command:

iscsi security default -s method -p inpassword -n inname 
[-o outpassword -m outname]

method is one of the following:

  • chap--Authenticate using a CHAP user name and password.
  • none--Initiators that are not on the list do not require authentication to access the storage system.
  • deny--Initiators that are not on the list are denied access to the storage system.

inpassword is the inbound password for CHAP authentication. The storage system uses the inbound password to authenticate the initiator.

inname is a user name for inbound CHAP authentication. The storage system uses the inbound user name to authenticate the initiator.

outpassword is a password for outbound CHAP authentication. The storage system uses this password for authentication by the initiator.

outname is a user name for outbound CHAP authentication. The storage system uses this user name for authentication by the initiator.

Removing specific authentication settings for an initiator  Top

Removing specific authentication settings using the command line

To remove specific authentication settings for an initiator, complete the following step.

Step

Action

1

On the storage system console, enter the following command:

iscsi security delete -i initiator 

-i initiator is the initiator name in the iSCSI node name format.

Result

The initiator is removed from the authentication list and logs in to the storage system using the default authentication method.

Removing specific authentication settings using FilerView

To remove an initiator from the authentication list, complete the following steps.

Step

Action

1

Click LUNs > iSCSI > Manage Initiator Security.

2

Check the box for the desired initiator.

3

Click Unset, and then click OK.

Result

The specific security settings for the initiator are removed and the initiator logs in to the storage system using the default authentication method.

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