User Guide
Setup method when using CHAP authentication of Initiator.
1. Use vi or another editor to open the /etc/iscsi/iscsid.conf file on the server.
2. After editing the file as shown below, save and close the file.
node.session.auth.authmethod = CHAP
node.session.auth.username = <iqn (username) of server>
node.session.auth.password = <password of CHAP Initiator>
(Example)
node.session.auth.authmethod = CHAP
node.session.auth.username = iqn.1991-05.com.microsoft.exp120rj
node.session.auth.password = jR021_0085sserpxE
3. Restart the iSCSI service
# /etc/init.d/iscsi stop
# /etc/init.d/iscsi start
Setup method when using bidirectional CHAP authentication.
1. Use vi or another editor to open the /etc/iscsi/iscsid.conf file on the server.
2. Edit the file as shown below, then save and close the file.
node.session.auth.authmethod = CHAP
node.session.auth.username = <iqn (username) of server>
node.session.auth.password = <password of CHAP Initiator>
node.session.auth.username_in= <iqn (username) of disk array>
node.session.auth.password_in = < password of CHAP target>
(Example)
node.session.auth.authmethod = CHAP
node.session.auth.username = iqn.1991-05.com.microsoft.exp120rj
node.session.auth.password = jR021_0085sserpxE
node.session.auth.username_in =
iqn.2001-03.jp.nec:storage01:ist-m000-sn-
0000000938209213.wn-0.target0000 -p 192.168.10.64:3260
node.session.auth.password_in = i3DegarotsiCEN
Release 6.0
Appendix F How to Set/Check Application Server (Linux) (iSCSI)
The CHAP Initiator password that is set here is a password that a target uses
to authenticate the Initiator. This password is also required for settings on the
disk array side (see Section: 15.3.21 iSMcfg setldsetchap in the NEC
Storage Manager Command Reference), so be sure to write it down so it is
not forgotten.
391