Category: vSphere



Hello All, this post deals with fixing the ESXi Host, Host name resolution failing in Test Management Network settings.

HostName-Failed

If you have the DNS entry created in your AD, and able to ping the ESXi host from a windows machine, but from ESXi box this is failing, then please follow below steps.

To fix this, all you have to do is – Delete the hosts file backup created in ESXi box. This should be done via SSH, where putty tool is installed in a same LAN windows machine. Note: To access SSH from Putty tool of the ESXi box, you must first enable this SSH from ESXi DCUI interface, that is accessible from ESXi interface by pressing the F2 button. Once in there, you have to select Troubleshooting options and then Enable SSH from there. See below Image…

 

ssh

Once it is enabled, you can access ESXi shell from Putty tool. Open putty and enter IP or Hostname of ESXi and enter credentials when terminal is open for you.

Putty-1

Navigate to etc directory as shown below and delete the Hosts.backup file from etc dir

Putty-2

Putty-3

ESXi-1

ESXi-Hostname_Success


Recently I have came across this annoying error: Identity source cannot be added in vsphere Web client interface via SSO configuration to add Active Directory to be my Identity Source for Users authentication in my vSphere 5.1 Platform.

LDAP-error-49

The issue is Very straight-forward if you have read the Error description with patience; Authentication issue: Provided Credentials are not valid error. However, the Administrator account seems to be accurate with the password, but still throws this error. IN such cases try the below steps to isolate the issue straight away.

Steps:

1- Make sure the Administrator Password is Correct and it hasn’t changed since last known.

2- Make sure the Administrator account is a member of Domain Administrator account: Will be default, if Default Admin account is being used.

3- If everything is failing, Try using a different Account, whereby promoting/creating a Domain Admin Account and providing the same.

Once the valid credentials are provided, Identity source can be added without fail this time.

You may also encounter, LDAPS security error, where in The Domain Environment, the rejection of normal LDAP protocol is set via Group Policies. In such cases, you should use LDAPS protocol to connect to AD Source and use the certificate of LDAP security. See the below links about the LDAPS error.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2035934

Video: How to add Identity Source in vSphere 5.1 via Webclient

%d bloggers like this: