Checking CHAP authentication on the ESX/ESXi host
search cancel

Checking CHAP authentication on the ESX/ESXi host

book

Article ID: 304468

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

This article provides steps to check if CHAP authentication is enabled in the ESX/ESXi host.

Environment

VMware ESX Server 3.5.x
VMware ESX 4.0.x
VMware ESXi 3.5.x Embedded
VMware ESX Server 3.0.x
VMware ESXi 3.5.x Installable
VMware ESX 4.1.x
VMware ESXi 4.0.x Installable
VMware ESXi 4.1.x Embedded
VMware ESXi 4.1.x Installable
VMware ESXi 4.0.x Embedded

Resolution

ESX4.x:

To determine if CHAP is enabled on an ESXi/ESX 4.x host:
  1. Select the host.
  2. Click the Configuration tab.
  3. Click Storage Adapters.
  4. Select the Software iSCSI Adapter.
  5. Click Properties.
  6. In the General tab, click on CHAP...



  7. In the CHAP Credientals dialog, One-way CHAP (for all types of iSCSI initators) and Mutual CHAP (for software and dependent hardware iSCSI) can be configured.




    For more information on the CHAP authentication methods, see the Configuring CHAP Parameters for iSCSI Adapters section of the iSCSI SAN Configuration Guide.

ESX3.x:

To determine if you have CHAP enabled on an ESX or ESXi 3.x host:
  1. Select the ESX host you want to verify.


  2. Click the Configuration tab


  3. Click Storage Adapters.


  4. Select the software iSCSI adapter. ESX 3.0 uses vmhba40 and ESX 3.5 uses vmhba32.


  5. Click Properties.


  6. In the window that appears, click CHAP authentication.

    CHAP authentication is not being used

    CHAP authentication is being used

  7. If CHAP is enabled, click Configure to confirm that the password is as expected



Additional Information

Note: If CHAP authentication issues occur, be sure that the the IQN matches exactly on the host and the storage system. In some cases the storage array may convert uppercase characters to lowercase. If this occurs, you can uncheck the 'Use initiator name option' and manually correct the value in the 'Name' field so that it matches the storage array's configuration.

The CHAP name and secret are stored in
/etc/vmkiscsi.conf.