HP 3PAR SUSE Linux Enterprise Implementation Guide

1. Perform the CHAP configuration settings for the host initiator:
# 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
# To enable CHAP authentication set node.session.auth.authmethod
# to CHAP. The default is None.
node.session.auth.authmethod = CHAP
2. Perform the CHAP configuration setting for the target:
#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 = SuSElinux
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 = SuSElinux
node.session.auth.password = host_secret0
#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
NOTE: S121 is the target CHAP name, which can be displayed on the HP 3PAR StoreServ
Storage by running the showhost -chap command.
NOTE: The OutgoingUsername and IncomingUsername variables on the host should
each be set to the same name as shown in the showhost -chap output. The names are
case-sensitive. If the names do not match, an authentication error occurs. Similarly, the
OutgoingPassword and IncomingPassword must match the host CHAP password and
target CHAP password configured on the HP 3PAR StoreServ Storage.
44 Configuring a Host with iSCSI