To set up CHAP for a peer connection (using the CLI):
Steps
If you have not already configured CHAP, run
query peer-connection from either the local system or the remote system to ensure that they have connectivity.
If you have an existing peer connection, stop I/O to it.
On the local system, use the
create chap-record command to create a CHAP record for one-way CHAP to allow access by the remote system.
On the remote system, use the
create chap-record command to create a CHAP record for one-way CHAP to the local system. Note that the same CHAP record used from the local system may also be used here but the configuration is still one-way CHAP.
On each system, enable CHAP by running:
set iscsi-parameters chap on
CAUTION:Enabling or disabling CHAP will cause all iSCSI host ports in the system to be reset and restarted. This may prevent iSCSI hosts from being able to reconnect if their CHAP settings are incorrect.
Wait one minute for the commands to complete before attempting to use the peer connection.
Run
query peer-connection from the local system and then from the remote system to ensure communication can be initiated from either system.
If both succeed, you can create, set, or perform replication on that peer connection.
If either fails, it is likely that you must fix a CHAP configuration issue and then repeat these steps as appropriate. If you need to modify a CHAP record, use the
set chap-record command.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\