Solved

vSphere Web Client lost connectivity to hosts and cluster

Posted on 2014-10-24
23
604 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 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
Comment Utility
I can connect to both of the hosts individually with the older VI client, from the vCenter vm.
0
 

Author Comment

by:gateguard
Comment Utility
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 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
Comment Utility
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 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
Comment Utility
I do have the vsphere Client
0
 

Author Comment

by:gateguard
Comment Utility
0
 

Author Comment

by:gateguard
Comment Utility
I"m not sure what you mean by C# client but I do have this.
configuration.png
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
the original vSphere Client is written in C# programing language!

let me have  a look.
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
screenshot of the Datacenter, and the hosts?
0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 

Author Comment

by:gateguard
Comment Utility
The correct vcenter server is indicated.  I wonder if I should "Disassociate" link.
host1.png
host2.png
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
Please CONNECT to vCenter Server using the Client, and not directly to the host!
0
 

Author Comment

by:gateguard
Comment Utility
Here is the connection to vCenter from the old client.
vcenter-connection.png
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
Comment Utility
"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 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
Comment Utility
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 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
Comment Utility
ok, understood

can SSH substitute for logging in directly to the ESXi host?
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
Comment Utility
SSH is already enabled.

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

Accepted Solution

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

771 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

9 Experts available now in Live!

Get 1:1 Help Now