AWS Storage Gateway User Guide
Configuring CHAP Authentication
iv. To apply the changes, choose
OK
.
f.
In the
Connect to Target
dialog box, choose
OK
.
4. If you provided the correct secret key, the target shows a status of
Connected
.
To configure mutual CHAP on a Red Hat Linux client
In this procedure, you configure CHAP in the Linux iSCSI initiator using the same keys that you used to
configure CHAP for the volume on the AWS Storage Gateway console.
1. Ensure that the iSCSI daemon is running and that you have already connected to a target. If you
have not completed these two tasks, see
Connecting to a Microsoft Windows Client (p. 84)
.
2. Disconnect and remove any existing configuration for the target for which you are about to
configure CHAP.
a. To find the target name and ensure it is a defined configuration, list the saved configurations
using the following command.
sudo /sbin/iscsiadm --mode node
b. Disconnect from the target.
The following command disconnects from the target named
myvolume
that is defined in the
Amazon iSCSI qualified name (IQN). Change the target name and IQN as required for your
situation.
sudo /sbin/iscsiadm --mode node --logout
GATEWAY_IP
:3260,1
iqn.1997-05.com.amazon:myvolume
c.
Remove the configuration for the target.
API Version 2013-06-30
384