vCenter vws issue & solution

26 01 2010

Thanks again to VMware support for their great response time! This relatively easy fix is not yet posted as a public KB, but I’m hoping that posting it here will help others out if they see the same issues.

SR I submitted:

“The vws webapp on my vCenter server does not appear to functioning normally. In the past, when the global search and vCenter Service Status features have not worked, I have been able to correct this by restarting the “VMware VirtualCenter Management Webservices” service. Currently, when I attempt to search in the client I see the following error:

Unable to connect to web services to execute query. Verify that the “VMware VirtualCenter Management Webservices” service is running on https://servername:8443/vws

There are many posted solutions online and in the VMTN communities, such as this one: http://bit.ly/647HkA
but none have worked for me. From what I can tell the following services are unavailable at this time:

Search
vCenter Service Status
Hardware Status tab”

Also, the Hardware Status tabs for the ESXi hosts show this error:

“Do not have permission for this command.”

Response from VMware Global Support Services:

As I understand from the Support Request notes, the issue you are experiencing is with the search and vCenter Status not working correctly. Please run the following query on the vCenter database:

SELECT ID, DESCRIPTION, ANNOTATION, CONFIG
FROM VPX_VM
WHERE (CONFIG IS NOT NULL) AND (CONFIG LIKE ‘%VirtualLsiLogicController%’) AND (ID NOT IN
(SELECT VM_ID
FROM VPX_VIRTUAL_SCSICONTROLLER))

Basically, we’re looking for any VMs that might not be configured correctly that are preventing the tomcat service from functioning properly.

1) Run the select query
2) If any VMs are listed, schedule downtime to power them off and remove them from inventory
3) Run the select query to make sure the VMs have been removed and no longer appear in the results.
4) Add the VMs back to inventory
5) Run the select query to ensure 0 results
6) Restart the vCenter service and the webaccess service
7) Power on the VMs
8) Verify the search and other tasks no longer generate errors.

Advertisements

Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: