Chapter 7 Installing the iSCSI Software Initiator and Setting Up the Server
> 7.2 Setting Up the Server
Server Connection Guide (iSCSI) for Oracle Solaris
22
Copyright 2010 FUJITSU LIMITED
P3AM-4182-03ENZ0
4 Set a CHAP name on the Initiator.
Example:
To set "iqn.1986-03.com.sun:01:00144f565a49.47677520" as the CHAP name, and
"iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm0" and "iqn.2000-
09.com.fujitsu:storage-system.e2000:00001001-cm1" as the target names
End of procedure
# iscsiadm modify target-param --CHAP-name Target_CHAP_name Target_name
# iscsiadm modify target-param --CHAP-name iqn.1986-03.com.sun:01:00144f565a49.47677520
iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm0
# iscsiadm modify target-param --CHAP-name iqn.1986-03.com.sun:01:00144f565a49.47677520
iqn.2000-09.com.fujitsu:storage-system.e2000:00001001-cm1