HP 3PAR RedHat and Oracle Linux Implementation Guide

NOTE: Notice that two DiscoveryAddress variables with the same IP address for the HP 3PAR
StoreServ Storage iSCSI target port are required. One for the host CHAP username and password
variables (OutgoingUsername and OutgoingPassword) and another one for target CHAP
username and password variables (IncomingUsername and IncomingPassword).
1. Perform the CHAP configuration settings for the host initiator:
# To enable CHAP authentication set node.session.auth.authmethod
# to CHAP. The default is None.
node.session.auth.authmethod = CHAP
# 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 = redhatlinux
discovery.sendtargets.auth.password = host_secret0
# To set a CHAP username and password for initiator
# authentication by the target(s), uncomment the following lines:
node.session.auth.username = redhatlinux
node.session.auth.password = host_secret0
2. Perform the CHAP configuration settings for the target:
#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 = S121
discovery.sendtargets.auth.password_in = target_secret0
# To set a CHAP username and password for target(s)
# authentication by the initiator, uncomment the following lines:
node.session.auth.username_in = S121
node.session.auth.password_in = target_secret0
# To enable CHAP authentication for a discovery session to the target
# set discovery.sendtargets.auth.authmethod to CHAP. The default is None.
discovery.sendtargets.auth.authmethod = CHAP
NOTE: S121 is the target CHAP name, which can be displayed on the HP 3PAR StoreServ
Storage by running the command showhost -chap.
NOTE: The OutgoingUsername and IncomingUsername variables can be set to anything
you want, but the OutgoingPassword and IncomingPassword must match the host CHAP
password and target CHAP password configured on the HP 3PAR StoreServ Storage.
Configuring CHAP for the iSCSI Host 87