3–Adapter Management Applications
General Management with QConvergeConsole
71
CU0354602-00 L
In the following examples, the HBA port instance is 0, and the Send Target
IP is 10.14.64.154.
$qaucli -pr iscsi -ps 0
Or:
$qaucli -iscsi -ps 0
Target ID: 2 hba_no: 0 IP: 10.14.64.154 Port: 3260 TGT
Instance #: 2
ISCSI Name:
Alias:
State: Session Failed
6.
Link the CHAP entry to the target by issuing the
-linkchap
command. The
positional parameters are
<
hba_port_inst
>
,
<
chap_no
> and
<
target_id
>
. The adapter is not reset after this command is issued.
Command line options:
-linkchap <
hba_port_inst
> <
chap_no
> <
target_id
> [<TGTBCA>
<
value
>]
In the following examples, the HBA port instance is 0, the CHAP number is
1, and the Target ID is 2.
$qaucli -pr iscsi -linkchap 0 1 2
Or:
$qaucli -iscsi -linkchap 0 1 2
Linking to a CHAP Target
You can link CHAP to a target with active bidirectional (BIDI) CHAP
authentication.
TGTBCA
is an optional parameter to turn BIDI CHAP authentication
on or off for this target connection.
To link a CHAP target:
1.
Link CHAP to a target with BIDI enabled by issuing the
-linkchap
command.
Command line options:
iscli –linkchap <
hba_port_inst
> <
chap_no
> <
target_id
>
[<TGTBCA> <on|off>]
In the following example, the HBA port instance is 2, the CHAP number is 9,
and the Target ID is 10.
$qaucli -pr iscsi -linkchap 2 9 10 TGTBCA on
2.
View persistent targets by issuing the
-ps
command. You should see only
the Send Target.