book
Article ID: 301375
calendar_today
Updated On:
Issue/Introduction
要临时解决此问题,请移除无效的 vCenter Server 注册。
Symptoms:
免责声明:本文为
vCenter Server addresses are not listed as possible targets when installing Site Recovery Manager (2145520) 的翻译版本。尽管我们会不断努力为本文提供最佳翻译版本,但本地化的内容可能会过时。有关最新内容,请参见英文版本。
- Site Recovery Manager 在“vCenter Server 地址”下拉列表中未显示有效的 vCenter Server 地址。
- 在 %temp%\VMSrmInst.log 文件中,您会看到类似以下内容的条目:
VMware: Srm::Installation::XmlFileHandler::GetElementMap: INFORMATION: Inserted key 'vCenter_FQDN' and value 'default-first-site:UUID'
VMware: Srm::Installation::XmlFileHandler::GetElementMap: ERROR: Duplicate key 'vCenter_FQDN' exists
Environment
VMware vCenter Site Recovery Manager 6.0.x
VMware Site Recovery Manager 6.1.x
Cause
如果由于一个 vCenter Server 存在多个服务注册(版本不同)而在环境中存在重复的 vCenter Server 条目,则会发生此问题。
Resolution
这是影响 Site Recovery Manager 6.0 和 6.1 的已知问题。
目前,尚无解决方案。
要临时解决此问题,请删除无效的 vCenter Server 注册。
- 确保无 5.x vCenter Server 引用 PSC。将这些 vCenter Server 重新指向备用 SSO。有关详细信息,请参见 Re-pointing and re-registering VMware vCenter Server 5.1 / 5.5 and components (2033620)。
- 通过在 Platform Services Controller 6.0 实例上运行以下命令,来查找在 Platform Services Controller 6.0 上确定的 vCenter Server 的服务注册:
Windows PSC:
"%VMWARE_PYTHON_BIN%" "%VMWARE_CIS_HOME%\VMware Identity Services\lstool\scripts\lstool.py"list --url http://localhost:7080/lookupservice/sdk --type vcenterserver
设备 PSC:
/usr/lib/vmidentity/tools/scripts/lstool.py list --url http://localhost:7080/lookupservice/sdk--type vcenterserver
例如:
Name: AboutInfo.vpx.name
Description: AboutInfo.vpx.name
Service Product: com.vmware.cis
Service Type: vcenterserver
Service ID:569984f0-0a7d-4a5f-9b57-8a0e7e04406f
Site ID: default-prot-site
Node ID: caad08a0-1cfd-11e6-bdb2-0050560121b6
Owner ID: [email protected]
Version: 6.0
Endpoints:
Type: com.vmware.cis.workflow
Protocol: vapi.json.http
URL: http://vCenter_FQDN:8088/workflow/vapi
SSL trust: <Long string>
服务 ID 为:569984f0-0a7d-4a5f-9b57-8a0e7e04406f
- 针对在第 2 步中找到的每个服务 ID,通过以下命令删除所有服务注册:
Windows PSC:
"%VMWARE_PYTHON_BIN%" "%VMWARE_CIS_HOME%\VMware Identity Services\lstool\scripts\lstool.py"unregister --url http://localhost:7080/lookupservice/sdk --user [email protected] --passwordpassword--idService_ID--no-check-cert
Appliance PSC:
/usr/lib/vmidentity/tools/scripts/lstool.py unregister --url 'http://localhost:7080/lookupservice/sdk' --user "[email protected]" --password 'password' --id 'Service_ID' --no-check-cert