ESXi supports unidirectional CHAP for all types of iSCSI initiators, and bidirectional CHAP for software and dependent hardware iSCSI.
Before configuring CHAP, check whether CHAP is enabled at the iSCSI storage system. Also, obtain information about the CHAP authentication method the system supports. If CHAP is enabled, configure it for your initiators, making sure that the CHAP authentication credentials match the credentials on the iSCSI storage.
For software and dependent hardware iSCSI adapters, you can set unidirectional CHAP and bidirectional CHAP for each adapter or at the target level. Independent hardware iSCSI supports CHAP only at the adapter level.
When you set the CHAP parameters, specify a security level for CHAP.
CHAP Security Level | Description | Supported |
---|---|---|
None | The host does not use CHAP authentication. If authentication is enabled, use this option to disable it. | Software iSCSI Dependent hardware iSCSI Independent hardware iSCSI |
Use unidirectional CHAP if required by target | The host prefers a non-CHAP connection, but can use a CHAP connection if required by the target. | Software iSCSI Dependent hardware iSCSI |
Use unidirectional CHAP unless prohibited by target | The host prefers CHAP, but can use non-CHAP connections if the target does not support CHAP. | Software iSCSI Dependent hardware iSCSI Independent hardware iSCSI |
Use unidirectional CHAP | The host requires successful CHAP authentication. The connection fails if CHAP negotiation fails. | Software iSCSI Dependent hardware iSCSI Independent hardware iSCSI |
Use bidirectional CHAP | The host and the target support bidirectional CHAP. | Software iSCSI Dependent hardware iSCSI |