3–Adapter Management Applications
General Management with QConvergeConsole
69 CU0354602-00 L
Configuring CHAP with QConvergeConsole CLI
To configure CHAP with QConvergeConsole CLI:
1. To add a primary and local 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 bidirectional 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>
In the following examples, the HBA port instance is 0, the CHAP name is
chapdbserver1, and the CHAP secret is k9Q038iaZwlqPplq012.
$qaucli -pr iscsi -addchap 0 chapdbserver1 k9Q038iaZwlqPplq012
Or:
$qaucli –iscsi -addchap 0 chapdbserver1 k9Q038iaZwlqPplq012
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 is 2, the CHAP name is
chapbidistorage1, and the CHAP secret is Z9aujqklaZwlqPplq0827.
$qaucli -pr iscsi -BIDI -addchap 2 chapbidistorage1
Z9aujqklaZwlqPplq0827
Or:
$qaucli -iscsi -BIDI -addchap 2 chapbidistorage1
Z9aujqklaZwlqPplq0827
The iSCSI RFC Specification recommends a minimum CHAP secret
length of 12 bytes or characters. The maximum CHAP secret length for
QLogic iSCSI cards (the firmware limit) is 100 bytes or characters.