You can set up all targets to receive the same CHAP name and secret from the iSCSI initiator at the initiator level. By default, all discovery addresses or static targets inherit CHAP parameters that you set up at the initiator level.

Before setting up CHAP parameters for software or dependent hardware iSCSI, determine whether to configure one-way or mutual CHAP. Independent hardware iSCSI adapters do not support mutual CHAP.

In one-way CHAP, the target authenticates the initiator.

In mutual CHAP, both the target and initiator authenticate each other. Make sure to use different secrets for CHAP and mutual CHAP.

When configuring CHAP parameters, make sure that they match the parameters on the storage side.

The CHAP name should not exceed 511 and the CHAP secret 255 alphanumeric characters. Some adapters, for example the QLogic adapter, might have lower limits, 255 for the CHAP name and 100 for the CHAP secret.

1

Access the iSCSI Initiator Properties dialog box.

2

On the General tab, click CHAP.

3

To configure one-way CHAP, under CHAP specify the following:

a

Select the CHAP security level.

Do not use CHAP unless required by target (software and dependent hardware iSCSI only)

Use CHAP unless prohibited by target

Use CHAP (software and dependent hardware iSCSI only). To be able to configure mutual CHAP, you must select this option.

b

Specify the CHAP name.

Make sure that the name you specify matches the name configured on the storage side.

To set the CHAP name to the iSCSI initiator name, select Use initiator name.

To set the CHAP name to anything other than the iSCSI initiator name, deselect Use initiator name and enter a name in the Name field.

c

Enter a one-way CHAP secret to be used as part of authentication. Make sure to use the same secret that you enter on the storage side.

4

To configure mutual CHAP, first configure one-way CHAP by following directions in Step Step 5.

Make sure to select Use CHAP as an option for one-way CHAP. Then, specify the following under Mutual CHAP:

a

Select Use CHAP.

b

Specify the mutual CHAP name.

c

Enter the mutual CHAP secret. Make sure to use different secrets for the one-way CHAP and mutual CHAP.

5

Click OK.

6

Rescan the initiator.

If you change the CHAP or mutual CHAP parameters, they are used for new iSCSI sessions. For existing sessions, new settings are not used until you log out and login again.