?
Solved

vSphere Web Client lost connectivity to hosts and cluster

Posted on 2014-10-24
23
Medium Priority
?
750 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 12
  • 11
23 Comments
 
LVL 122
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
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 
LVL 122
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 122
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 122
ID: 40403119
the original vSphere Client is written in C# programing language!

let me have  a look.
0
 
LVL 122
ID: 40403122
screenshot of the Datacenter, and the hosts?
0
 

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 122
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 122
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 122
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 122
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 122
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 122

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
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 tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
Suggested Courses

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