Solved

vSphere Web Client lost connectivity to hosts and cluster

Posted on 2014-10-24
23
637 Views
Last Modified: 2014-11-18
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
0
Comment
Question by:gateguard
  • 12
  • 11
23 Comments
 
LVL 118
ID: 40402341
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
 

Author Comment

by:gateguard
ID: 40402409
I can connect to both of the hosts individually with the older VI client, from the vCenter vm.
0
 

Author Comment

by:gateguard
ID: 40402421
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
 
LVL 118
ID: 40402616
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
 

Author Comment

by:gateguard
ID: 40402879
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
 
LVL 118
ID: 40403095
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
 

Author Comment

by:gateguard
ID: 40403099
I do have the vsphere Client
0
 

Author Comment

by:gateguard
ID: 40403103
0
 

Author Comment

by:gateguard
ID: 40403110
I"m not sure what you mean by C# client but I do have this.
configuration.png
0
 
LVL 118
ID: 40403119
the original vSphere Client is written in C# programing language!

let me have  a look.
0
 
LVL 118
ID: 40403122
screenshot of the Datacenter, and the hosts?
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:gateguard
ID: 40403147
The correct vcenter server is indicated.  I wonder if I should "Disassociate" link.
host1.png
host2.png
0
 
LVL 118
ID: 40403212
Please CONNECT to vCenter Server using the Client, and not directly to the host!
0
 

Author Comment

by:gateguard
ID: 40404069
Here is the connection to vCenter from the old client.
vcenter-connection.png
0
 
LVL 118
ID: 40404109
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
 

Author Comment

by:gateguard
ID: 40405155
"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
 
LVL 118
ID: 40405173
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
 

Author Comment

by:gateguard
ID: 40405220
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
 
LVL 118
ID: 40405249
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
 

Author Comment

by:gateguard
ID: 40405303
ok, understood

can SSH substitute for logging in directly to the ESXi host?
0
 
LVL 118
ID: 40405318
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
 

Author Comment

by:gateguard
ID: 40405425
SSH is already enabled.

So I can use SSH to change the pw?
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 40405440
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

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now