Release 6.0 392
User Guide Appendix F How to Set/Check Application Server (Linux) (iSCSI)
3. Restart the iSCSI service.
Execute Discovery
Method when not using iSNS (Internet Storage Name Service) server
Use the iscsiadm command to search for the target.
Method when using iSNS server
1. Use vi or another editor to open the /etc/iscsi/iscsid.conf file on the server.
2. Set the IP address and port number of the corresponding iSNS server.
3. Restart iSCSI service.
4. Get Initiator information from an application server registered to iSNS server.
See Appendix N: "Retrieve Initiator Information on Application Servers Registered with iSNS
Server".
# /etc/init.d/iscsi stop
# /etc/init.d/iscsi start
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.
# iscsiadm -m discovery -t sendtargets -p <IP address of disk array>
(Example)# iscsiadm -m discovery -t sendtargets -p 192.168.1.1:3260
# /etc/init.d/iscsi stop
# /etc/init.d/iscsi start
When using iSNS server, the Initiator name of the application server must be directly
entered under the Initiator settings in the iSCSI Setup Tool.