gateguard
asked on
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\\Administrat or
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\\Administrat or (don't know why 2 \\) password, since I am logged in to the Web Client.
Any ideas how to get my cluster back?
Thanks
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\\Administrat
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\\Administrat
Any ideas how to get my cluster back?
Thanks
ASKER
I can connect to both of the hosts individually with the older VI client, from the vCenter vm.
ASKER
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.
Also, can I just delete the cluster in the current configuration of Web Client and rebuild the cluster?
Thanks.
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?
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?
ASKER
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.
I'll post some screenshots.
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...
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...
ASKER
I do have the vsphere Client
ASKER
ASKER
I"m not sure what you mean by C# client but I do have this.
configuration.png
configuration.png
the original vSphere Client is written in C# programing language!
let me have a look.
let me have a look.
screenshot of the Datacenter, and the hosts?
ASKER
Please CONNECT to vCenter Server using the Client, and not directly to the host!
ASKER
Here is the connection to vCenter from the old client.
vcenter-connection.png
vcenter-connection.png
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
If you Right Click a Host, and Select Re-configure HA
ASKER
"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\administrato r 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
But I only know two logins:
1. root (on both hosts) and that is working, I can login without problem
2. vsphere.local\administrato
But anything I try to do with regard to HA returns this login error.
reconfigure-failure.png
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 ?
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 ?
ASKER
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.
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.
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!"
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!"
ASKER
ok, understood
can SSH substitute for logging in directly to the ESXi host?
can SSH substitute for logging in directly to the ESXi host?
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)
see my EE Article
Part 5: HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 5.1 (ESXi 5.1)
ASKER
SSH is already enabled.
So I can use SSH to change the pw?
So I can use SSH to change the pw?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If HA is disabled, it's likely that Networking is having issues with the Cluster.