HP 3PAR Solaris Implementation Guide

NOTE: The Target Chap name is set by default to the HP 3PAR StoreServ Storage name.
Use the HP 3PAR OS CLI showsys command to determine the HP 3PAR StoreServ Storage
name.
2. Enter the Host Chap secret key host_secret0 on the host.
# iscsiadm modify initiator-node --CHAP-secret
<prompts for secret key>
3. Enable the Host CHAP authentication after the secret key is set.
# iscsiadm modify initiator-node --authentication CHAP
4. Enable target or bidirectional authentication for each connected target port.
# iscsiadm list target
Target: iqn.2000-05.com.3pardata:21310002ac00003e
- -
Target: iqn.2000-05.com.3pardata:20310002ac00003e
# iscsiadm modify target-param -B enable iqn.2000-05.com.3pardata:21310002ac00003e
# iscsiadm modify target-param -B enable iqn.2000-05.com.3pardata:20310002ac00003e
5. Enter the Target Chap secret key target_secret0 for each connected target.
# iscsiadm modify target-param --CHAP-secret
iqn.2000-05.com.3pardata:21310002ac00003e
<prompts for secret key>
# iscsiadm modify target-param --CHAP-secret
iqn.2000-05.com.3pardata:20310002ac00003e
<prompts for secret key>
6. Enable CHAP as the authentication method.
# iscsiadm modify target-param --authentication CHAP
iqn.2000-05.com.3pardata:21310002ac00003
# iscsiadm modify target-param --authentication CHAP
iqn.2000-05.com.3pardata:20310002ac00003
7. Set the CHAP name for the HP 3PAR StoreServ Storage for the iSCSI targets (Use the HP 3PAR
OS CLI showsys command to determine the HP 3PAR StoreServ Storage name).
# iscsiadm modify target-param --CHAP-name s062
iqn.2000-05.com.3pardata:21310002ac00003e
# iscsiadm modify target-param --CHAP-name s062
iqn.2000-05.com.3pardata:20310002ac00003e
8. Verify that bidirectional authentication is enabled.
# iscsiadm list initiator-node
Initiator node name: iqn.1986-03.com.sun:01:0003bac3b2e1.45219d0d
Login Parameters (Default/Configured):
Authentication Type: CHAP
CHAP Name: iqn.1986-03.com.sun:01:0003bac3b2e1.45219d0d
24 Configuring the HP 3PAR StoreServ Storage for iSCSI