3–Adapter Management Applications
General Management with QConvergeConsole
CU0354602-00 A
3-21
2.
To add a peer and BIDI CHAP entry (name and secret), issue the
-addchap
command to add a CHAP entry to the persistent CHAP table. The positional
parameters are
<hba_port_inst>
,
<CHAP name>
, and
<CHAP secret>
.
The optional parameter is
[-BIDI]
indicating the CHAP entry is a BIDI
entry (default is local CHAP). The adapter is reset after this command is
issued.
Command line options:
[-BIDI] -addchap <hba_port_inst> <CHAP name>
<CHAP secret>
Example:
In the following examples, the HBA port instance = 2, the CHAP name
= chapbidistorage1, and the CHAP secret = Z9aujqklaZwlqPplq0827.
$qaucli -pr iscsi -BIDI -addchap 2 chapbidistorage1
Z9aujqklaZwlqPplq0827
Or:
$qaucli -iscsi -BIDI -addchap 2 chapbidistorage1
Z9aujqklaZwlqPplq0827
3.
To view the CHAP map table to determine the CHAP index to use later to
link the CHAP entry to a target, issue the
–dspchap
command. The
positional parameter for this command is
<hba_port_inst>
.
Command line options:
-dspchap <hba_port_inst>
In the following examples, the HBA port instance = 0.
$qaucli -pr iscsi -dspchap 0
Or:
$qaucli -iscsi -dspchap 0
CHAP TABLE
Entry: 1
Name: chapdbserver1
Secret: k9Q038iaZwlqPplq012
4.
Add a persistent Send Target to discover, and log in with dynamic entries to
discovered targets, by issuing the
–pa
command. The
–pa
command adds a
persistent target. The positional parameters are
<hba_port_inst>
and
<ip address
>. The optional parameters are
[-PORT port_num
] and
[-INAME name]
. If the optional port number is not specified, it defaults to
3260. If the optional
INAME
(iSCSI name) is not specified, it defaults to an
empty string.