Enable chap for the open-iscsi iscsi initiator – HP EVA P6000 Storage User Manual

Page 142

Advertising
background image

4.

Enable CHAP for the Microsoft iSCSI Initiator.
a.

Click the General tab.

b.

Click Secret in the middle of the screen.

c.

Click Reset.

d.

Enter the iSCSI or iSCSI/FCoE controller iSCSI Presented Target CHAP secret. For example:
hpstorageworks

.

e.

Click OK.

f.

Click Discovery.

For manually discovering iSCSI target portals:
a.

Click Add under Target Portals.

b.

Enter the IP address of the iSCSI port of the iSCSI or iSCSI/FCoE controller.

c.

Click Advanced.

d.

Select the CHAP Login Information check box.

e.

Enter the CHAP secret for the iSCSI or iSCSI/FCoE controller discovered iSCSI
Initiator in the Target Secret box. For example: CHAPsecret01.

f.

Select the Mutual Authentication check box.

g.

Click OK.

h.

Click OK and the initiator completes target discovery.

Using iSNS for target discovery:
a.

Click Add under iSNS Servers.

b.

Enter the IP address of the iSNS server.

c.

Click OK.

g.

Click Targets.

h.

Select the appropriate target for login.

i.

Click Log On.

j.

Click Advanced.

k.

Select the CHAP Login Information check box.

l.

Enter the CHAP secret for the iSCSI or iSCSI/FCoE controller discovered iSCSI Initiator
in the Target Secret box. For example: CHAPsecret01.

m. Select the Mutual Authentication check box.
n.

Click OK.

o.

Click OK and the initiator completes normal login.

Enable CHAP for the open-iscsi iSCSI Initiator

To enable CHAP in open-iscsi, you need to edit the /etc/iscsi/iscsid.conf file.
1.

Enable CHAP for both Discovery and Normal Session by:

node.session.auth.authmethod = CHAP
node.session.auth.authmethod = CHAP

2.

Setup Username and Password for Initiator and Target for Normal Session. For Example:

# To set a CHAP username and password for initiator
# authentication by the target(s), uncomment the following lines:
#node.session.auth.username = username
#node.session.auth.password = password
node.session.auth.username = iqn.1994-05.com.redhat:fc813cac13.sanergy33
node.session.auth.password = CHAPSecret01
# To set a CHAP username and password for target(s)
# authentication by the initiator, uncomment the following lines:
#node.session.auth.username_in = username_in
node.session.auth.username_in = iqn.2004-09.com.hp.fcgw.mez50.1.01.50014380025da538
#node.session.auth.password_in = password_in
node.session.auth.password_in = hpstorageworks

142

iSCSI or iSCSI/FCoE configuration rules and guidelines

Advertising