beautypg.com

HP MPX200 Multifunction Router User Manual

Page 102

background image

# To set a discovery session CHAP username and password for the initiator
# authentication by the target(s), uncomment the following lines:
#discovery.sendtargets.auth.username = username
discovery.sendtargets.auth.username = iqn.1994-05.com.redhat:fc813cac13.sanergy3
3
#discovery.sendtargets.auth.password = password
discovery.sendtargets.auth.password = CHAPSecret01

# To set a discovery session CHAP username and password for target(s)
# authentication by the initiator, uncomment the following lines:
#discovery.sendtargets.auth.username_in = username_in
#discovery.sendtargets.auth.password_in = password_in

Enabling single-direction CHAP during discovery session and bidirectional CHAP
during normal session

Table 16 (page 102)

lists the settings you use to enable single-direction CHAP during a discovery

session and bidirectional CHAP during a normal session.

Table 16 CHAP single-direction settings

Microsoft initiator secret settings

MPX200 secret settings

Setting (example)

Action

Setting (example)

Source

hpstorageworks

General Tab Secret

N/A

iSCSI Port

CHAPsecret0

Add Target Portal

CHAPsecret01

Discovered iSCSI
Initiator

CHAPsecret01

Log on to Target

hpstorageworks

iSCSI Presented
Target

NOTE:

These are examples of secret settings. Configure CHAP using settings that apply to your network environment.

1.

Enable CHAP for the MPX200 discovered iSCSI initiator entry (CHAP can be enabled via CLI
only).
a.

If the iSCSI initiator is not listed under the set chap command, do one of the following:

From HP P6000 Command View, select Hosts, and then select the Add Host tab.
Enter the IQN name string.

From the CLI, use the add command to add the iSCSI initiator that will perform the
discovery.

b.

If the iSCSI initiator is listed when you execute the set chap command, then enable
CHAP secret (for example: CHAPsecret01).

Select the index of the iSCSI initiator.

Enable CHAP by selecting 0, and then entering the CHAP secret.

2.

Enable CHAP for the MPX200 iSCSI presented target:
a.

Enter the set chap command.

b.

Select the Presented Target the initiator will log in to.

c.

Enable CHAP and enter a CHAP secret. For example: hpstorageworks

102 MPX200 iSCSI configuration rules and guidelines