HP 3PAR Ubuntu Operating System Implementation Guide

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.
3. Perform discovery and login as described in “Creating the iSCSI Connection in Ubuntu Using
the iscsiadm Command” (page 15).
If the targets have been discovered previously, you must logout of the iSCSI sessions, delete
the node and send target records before performing discovery and login by completing the
following steps:
a. Stop and start the open-iscsi daemon:
# /etc/init.d/open-iscsi stop
Logout session [0][10.1.1.100:3260 iqn.2000-05.com.3pardata:20110002ac0001a6]
Logout session [1][10.0.0.200:3260 iqn.2000-05.com.3pardata:21110002ac0001a6]
done
Stopping iSCSI initiator service:
done
b. Delete the target node records:
/etc/iscsi/nodes/#rm -r iqn.2000-05.com.3pardata:20110002ac0001a6
c. Delete the send_target records:
/etc/iscsi/send_targets/#rm 10.0.0.200,3260
d. Start the open-iscsi daemon:
/etc/init.d/open-iscsi start
Starting iSCSI initiator service: done
Setting up iSCSI targets: done
e. Repeat the steps as described in “Creating the iSCSI Connection in Ubuntu Using the
iscsiadm Command” (page 15) to rediscover the iSCSI target nodes and create the iSCSI
login sessions.
Connecting a Host Server with iSCSI 19