Site Tools


vmware:troubleshooting

This is an old revision of the document!


VMware Troubleshooting

Cant apply or remediate a host profile

A host profile is attached by the cluster and there is no way to apply or remediate.

Reason:
It seems like you are using the HTML webclient which doesnt have this option (yet).

Fix:
Either use the flash version (if you have vCenter 6.0 the software client will also work)
or
apply it via PowerCLI

#remove everything after <vcenter> to use your windows authentication
Connect-VIServer <vcenter> -User <user> -Password <password>
Apply-VMHostProfile -Entity <esxhostname.your.domain>
 
#if you are not sure what name to use, just list all your esx hosts
(Get-VMHost).name

Recheck the compliance of the host profile. If some issues still exist, execute “Apply-VMHostProfile …” again.

Cant configure vSphere HA for host

Trying to activate vSphere HA fails with the following messages:

vSphere HA agent cannot be correctly installed or configured

Reconfigure vSphere HA host
Status: Operation timed out.

Reason:
There could be different reasons…

Fix:
At first, if you dont want to get VMs migrated right away, activate maintenance before executing something from below.

Check if your service “vSphere High Availability Agent” is running on your host. (its stopped by default if you are in maintenance mode)
If it isnt running, start it and execute “Reconfigure for vSphere HA”.

Still not working? alright then…

Go to your cluster configuration and select “Services → vSphere Availability”
On the right side of “vSphere HA is Turned ON” click edit and turn it off.
Apply and then turn it back on.

Your vSphere should now work again.

If it still doesnt, www.giyf.com

Search in vSphere Client doesnt work

Trying to search a system fails with the following message:

Login to the query service failed.


The server could not interpret the communication from the client. (The remote server returned an error: (500) Internal Server Error.)

Reason:
VMware says that this is “an expected behavior

Searching for Inventory objects when logged in to the vSphere Client using the Use Windows session credentials option is not supported.

For sure this is expected… why would you let lazy people search in your vCenter? m(

Fix:
At the login screen deselect “Use Windows session credentials” and log in with your username and password.

https://kb.vmware.com/s/article/2143566

vmware/troubleshooting.1525444400.txt.gz · Last modified: 2018/05/04 16:33 by lunetikk