昨天用VMware client连接vc点击hardware提示“无新数据可用,数据将在5分钟后更新”。
在官网查询
Warning: This procedure can lead to data loss. Perform this procedure only under the guidance of VMware Technical Support.
To reset the Inventory Service database:
-
- Stop the vCenter Inventory service.
- Click Start > Run, type services.msc, and click OK. The Services window opens.
- Right-click vCenter Inventory Service and click Stop.
- Open Windows Explorer and navigate to C:\Program files\VMware\Infrastructure\Inventory Service\.
- Rename the data directory as data.old.
- Open a Windows command prompt as administrator and change directory to C:\Program files\VMware\Infrastructure\Inventory Service\scripts\.
- Execute the createDB.bat command with no arguments to reset the vCenter Inventory Service database.
- Execute the register.bat command to update the stored configuration information of the Inventory Service.register.bat FQDN _of _vCenter_Server Https_PortWhere: FQDN _of _vCenter_Server is the vCenter Server FQDN and Https_Port is the port number required.For example: register.bat vcenter.domain.com 443Note: For reregistering vCenter Inventory Service on vCenter Server 5.1, see .
- Restart the vCenter Inventory Service.
- Verify that the search functionality and Hardware Status tab are working.