这是一个影响 vSphere 6.0 的已知问题。有关详细信息,请参见 VMware vSphere 6.0 Release Notes。
要解决此问题,请找到并移除重复的已注册 vCenter Server 实例。
- 登录到已安装 Platform Services Controller 的服务器。
- 以管理员身份打开 Windows 命令提示符。
- 要使用在 Platform Services Controller 中已注册的服务列表创建文本文件,请运行以下命令:
"%VMWARE_PYTHON_BIN%" "%VMWARE_CIS_HOME%\VMware Identity Services\lstool\scripts\lstool.py" list --url http://localhost:7080/lookupservice/sdk --type vcenterserver > c:\psc_services.txt
- 打开生成的具有已注册到 Platform Services Controller 的服务列表的文本文件。标识重复的服务 ID
- 要取消注册重复的服务终端,请运行以下命令:
"%VMWARE_PYTHON_BIN%" "%VMWARE_CIS_HOME%\VMware Identity Services\lstool\scripts\lstool.py" unregister --url http://localhost:7080/lookupservice/sdk --id Service_ID --user "[email protected]" --password "Enter_administrator_password" --no-check-cert
其中 Service_ID 是步骤 4 中记下的服务 ID。