vCenter 无法搜索IP

問題症狀:
vCenter Server 搜索功能失败并显示类似于以下内容的错误:

无法连接到 Web 服务执行查询。
请验证“VMware VirtualCenter Management WebServices”服务是否正在 https://<vcenter-host-name>:10443 上运行 (Unable to connect to web services to perform query.
Verify that the "VMware VirtualCenter Management WebServices" service running on https://<vcenter-host-name>:10443)

問題原因:
将 vCenter Server 安装在与原始安装不同的计算机上、但却与原始安装引用相同的 vCenter Server 数据库时,会出现此问题。
例如,您在一台计算机上安装或升级到 vCenter Server 5.0,并使用远程 vCenter Server 数据库。之后,您卸载 vCenter Server,将 vCenter Server 重新安装在一台新计算机上,并使用同一数据库实例。
出现此问题的原因是适用于 Inventory Service 的 vCenter Server 中的端点信息错误。

解決問題的方法:
要在不需要升级的情况下解决此问题,请用 2008664_vws.zip(百度网盘) 附件中的文件替换 vws.jar、jointool.jar 和 ds.jar 文件。替换这些文件会使系统从 vCenter LDAP 目录中移除失效的 Inventory Service 端点信息。
要替换文件,请执行以下操作:

1、对 vws.jar、jointool.jar 和 ds.jar 文件进行备份。
2、下载本文附件 2008664_vws.zip(百度网盘),提取 vws.jar、jointool.jar 和 ds.jar 文件。
3、停止 VMware VirtualCenter Server 服务、VirtualCenter Management Webservices 服务和 vCenter Inventory Service。有关详细信息,请参见 Stopping, starting, or restarting VMware vCenter Server services (1003895)

注意:停止服务后等待五分钟,然后再继续执行第 4 步。

4、将 vws.jar 和 jointool.jar 文件复制到安装文件夹,例如 vCenter Server 上的 C:\Program Files\VMware\Infrastructure\tomcat\webapps\vws\WEB-INF\lib。此操作会覆盖现有的 vws.jar 和 jointool.jar 文件。
5、将 ds.jar 文件复制到安装文件夹,例如 vCenter Server 上的 C:\Program Files\VMware\Infrastructure\Inventory Service\lib。此操作会覆盖现有的 ds.jar 文件。
6、启动 VMware VirtualCenter Server 服务、VirtualCenter Management Webservices 服务和 vCenter Inventory Service

猜你喜欢

转载自blog.51cto.com/12218973/2335901
今日推荐