vSphere Web Client lost connectivity to hosts and cluster

I have a cluster that has been online for months.  Now I can no longer manage it from my vSphere Web Client.  In fact, I don't even know if it's still actually a cluster.

There are two hosts in the cluster and when I go to Related Objects, Hosts, I see the two hosts:
Both show State: connected.
Both show Status: Alert.
Both show red exclamation mark on the name.

For one of them I tried Reconfigure vSphere HA host but got:
Cannot complete login due to an incorrect user name or password.
Initiator: VSPHERE.LOCAL\\Administrator
Target: Host IP

In Related events I see "vSphere HA agent is disabled"

I do know the root pw on both hosts and can log in using that with simple vSphere Client on another windows machine.
I also obviously know the VSPHERE.LOCAL\\Administrator (don't know why 2 \\) password, since I am logged in to the Web Client.

Any ideas how to get my cluster back?

Thanks
gateguardAsked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
Sorry, got confused with wrong post.

There is no need to change the password on the host.

You need to remove/re-add the Hosts back to vCenter Server....

Unless, you have remembered the original password, that was used on the ESXi hosts, that you did not change!
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Can you connect to vCenter Server using the older VI Client?

If HA is disabled, it's likely that Networking is having issues with the Cluster.
0
 
gateguardAuthor Commented:
I can connect to both of the hosts individually with the older VI client, from the vCenter vm.
0
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 
gateguardAuthor Commented:
Andrew, you told me once that the cluster actually resides on the host servers themselves, and not on the vCenter cluster manager.  Is there a way I can check on that cluster from the simple VI Client, to see if it still actually exists?

Also, can I just delete the cluster in the current configuration of Web Client and rebuild the cluster?

Thanks.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, vCenter is used to Configure HA.

Can you connect to vCenter Server from the VI Client, and can you screenshot and upload for me to see if there are alerts?

Do you have a SAN and what cluster features are you licensed for?
0
 
gateguardAuthor Commented:
Ok, I'll show you the alerts.  Yes we have a SAN and we are licensed for vCenter Server 5 Essentials.

I'll post some screenshots.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
do you have the vSphere Client (the older C# client?)

Something odd seems to have stopped on the hosts....causing the HA Agent to stop...

this will not cause any issues to the VM, other than VMware HA will not currently be functioning...
0
 
gateguardAuthor Commented:
I do have the vsphere Client
0
 
gateguardAuthor Commented:
0
 
gateguardAuthor Commented:
I"m not sure what you mean by C# client but I do have this.
configuration.png
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
the original vSphere Client is written in C# programing language!

let me have  a look.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
screenshot of the Datacenter, and the hosts?
0
 
gateguardAuthor Commented:
The correct vcenter server is indicated.  I wonder if I should "Disassociate" link.
host1.png
host2.png
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Please CONNECT to vCenter Server using the Client, and not directly to the host!
0
 
gateguardAuthor Commented:
Here is the connection to vCenter from the old client.
vcenter-connection.png
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
and if you select a vSphere ESXi host, what does the error message state in the Summary ?

If you Right Click a Host, and Select Re-configure HA
0
 
gateguardAuthor Commented:
"Cannot complete login due to incorrect user name or password."

But I only know two logins:
1. root (on both hosts) and that is working, I can login without problem
2. vsphere.local\administrator on vcenter, and that is working, I can login without problem

But anything I try to do with regard to HA returns this login error.
reconfigure-failure.png
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Okay, the username and password root is only used to login directly to the ESXi hosts, so we can ignore this username and password, it's of no use to help with the Configuration of VMware HA or vCenter Server.

This suggests the root password may have changed?

Have the passwords on the hosts been manually changed by logging into the hosts, but have not been changed on vCenter Server ?
0
 
gateguardAuthor Commented:
I have never changed any passwords.

I just read this:

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

The scary thing is I'm not sure I know the difference between "remove host from inventory" [don't do that!] and "disconnect the host from vCenter" [do do that].

Resolution
To resolve this issue, resync the password with the vCenter Server database. The host will reconnect without the error on the Summary tab.

Caution: Do not remove the host from the inventory. When an ESX/ESXi host is removed from vCenter Server inventory, virtual machines are removed from their respective folders, performance data for the host is lost, and any Distributed Virtual Switch configurations on the host needs to be reconfigured.
 
To resync the password with the vCenter Server database:

    Disconnect the host from vCenter Server.
    Reconnect the host and enter in the root password when prompted.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
The only way the password is not working now, because the password that was used to add the Host originally, is different now. Easily done, by logging into the host managed by vCenter Server and changing the ESXi host password, or changing the password from the physical console!

you could also upload the logs here, and we will have a look.....

Do you have Distributed virtual switches?

Do you machines in folders or resource pools ?

Performance data may be lost ?

and to re-sync the password, you will have to remove the host, and add it back "using the password for the root account which you know, because you have tested it with logging in directly to the ESXi Host!"
0
 
gateguardAuthor Commented:
ok, understood

can SSH substitute for logging in directly to the ESXi host?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, see here if unsure how to do it....

see my EE Article

Part 5: HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 5.1 (ESXi 5.1)
0
 
gateguardAuthor Commented:
SSH is already enabled.

So I can use SSH to change the pw?
0
All Courses

From novice to tech pro — start learning today.