vCenter Service提示:Unable to retrieve health status的解决方法

间隙填充
正睿科技  发布时间:2015-12-25 10:03:54  浏览数:3218

    故障状态:vCenter Server Status页面提示如下错误信息:

  Unable to retrieve health status for vCenter inventory service

  Unable to retrieve health status for VMware vSphere Profile-Driven storage service

  执行vCenter Server的搜索动作时,提示如下错误提示:

  Unable to connect to webservices to perform query.

  Verify that the &quot;VMware VirtualCenter Management WebServices&quot; service running onhttps://<vcenter-host-name>:10443

    故障分析:这个问题一般都由于当vCenter Server服务发生了变更或全新安装了一台vCenter Server,但是数据库依然是原来的数据库导致;

    解决方案:

    1、替换掉vws.jar、jointool.jar和ds.jar文件即可,步骤如下:

    2、下载本文附件中的vws.zip文件然后解压缩vws.jar、jointool.jar和ds.jar文件;

    3、停止掉VirtualCenter Server服务以及VirtualCenter Management Webservices服务;拷贝vws.jar和jointool.jar到C:\ProgramFiles\VMware\Infrastructure\tomcat\webapps\WEB-INF\lib覆盖掉原来的文件;拷贝ds.jar文件到C:\Program Files\VMware\Infrastructure\Inventory Service\lib覆盖掉原来的文件;重新启动相关服务或vCenterServer服务器即可。