Configure iSCSI CHAP

Here are the steps to configure iSCSI CHAP on an ESXi host using vSphere Web Client:

1. Select the ESXi host from the Inventory and go to Manage > Storage > Storage Adapters. Select the adapter listed under the iSCSI Software Adapter:

iscsi software adapter

2. Click the Properties tab at the bottom of the screen. Scroll down to the Authentication section and click Edit:

iscsi software adapter authentication

3. The Edit Authentication window opens. Under Authentication method, select the Use Unidirectional CHAP option. This method forces the initiator to authenticate to the target. Enter the username in the Name field and the secret in the Secret field:

iscsi chap authentication

4. Rescan the host bus adapter:

rescan host bus adapter

 

CHAP also needs to be enabled at the iSCSI storage system. Check the documentation of your storage provider to find out how to enable CHAP.
Geek University 2021