PowerProtect Data Manager — vCenter 发现失败,而虚拟机备份仍正常工作
摘要: PowerProtect Data Manager — vCenter 发现失败,而虚拟机备份仍正常工作
症状
此 vCenter 的虚拟机备份仍正常工作,但发现不起作用,这导致客户无法添加新虚拟机。
从 GUI:messageID=ADS0001,message=Virtual machine asset discovery on the vCenter xxx. was unsuccessful.,detailedDescription=Virtual machine asset discovery cannot be completed because of unrecoverable error conditions.,responseAction=Check the connection between PowerProtect Data Manager and vCenter. Verify that the provided credentials are valid. Start a manual discovery to discover all virtual machine assets, or wait for PowerProtect Data Manager to perform the next scheduled discovery. If the issue persists, contact Dell Customer
但我们已经确认不存在连接和凭据问题
我们可以运行以下命令进行验证。
./ppcp vcenter show permission./ppcp vcenter test
在 vmdm-discovery 日志中,我们可以看到以下键错误 401 Unauthorized:vmdm-discovery.log: 2023-02-09T06:07:53.254Z ERROR [discovery-worker-15] [][][][TRACE_ID:bc7fe916aeba3abf;JOB_ID:b48fc581bd504cd6][] [c.e.b.v.d.v.v.w.FullDiscoveryWorker.doTagDiscovery(278)] - vCenter: xxx.: Exception message: 401 Unauthorized: "{"type":"com.vmware.vapi.std.errors.unauthenticated","value":{"error_type":"UNAUTHENTICATED","messages":[{"args":[],"default_message":"Authentication required.","id":"com.vmware.vapi.endpoint.method.authentication.required"}],"challenge":"Basic realm=\"VAPI endpoint\",SIGN
原因
对话虚拟机备份与 VMware SOAP 端
点对话,因此在这种情况下,问题出在 VMware vAPI 端点上
解决方案
我们发现 VMware vAPI 端点服务未运行,请联系 VMware 管理员以启用 vAPI 端点服务。service-control --start vmware-vapi-endpoint
在 PPDM 上运行以下两个命令以重新启动服务,从而重新建立与 VMware 的连接。
vmware-service restart
vmdm restart