问题描述
vSphere Replication组件因为不知为何服务异常,在Vcenter上的显示异常,vSphere Replication管理界面的密码也失效了,无法正常的卸载该服务;直接在Vcenter中将vSphere Replication虚拟机删除后重新部署ovf模板无法正常部署。
处理过程
因为是在Vcenter中直接将vSphere Replication虚拟机删除了,不是正常的卸载流程,导致Vcenter中还有之前的vSphere Replication注册信息,此时必须要删除该注册信息。
进入vcenter的mob界面查找:
https://<Vcenter_IP>/lookupservice/mob/?moid=ServiceRegistration&method=List&vmodl=1
标红部分替换成实际的Vcenter地址,要求输入的账户密码就是正常登录Vcenter web client的账户信息。
搜索注册信息:
直接在VALUE的输入框中粘贴以下内容,然后点击右下角的Invoke Method搜索
<filterCriteria>
<siteId></siteId>
<nodeId></nodeId>
<serviceType>
<product></product>
<type>com.vmware.vr.vrms</type>
</serviceType> <endpointType>
<protocol></protocol>
<type></type>
</endpointType>
</filterCriteria>
删除注册信息:
出现搜索内容后查找下serviceid,找到对应的值并复制。
浏览器切换到删除界面
https://<Vcenter_IP>/lookupservice/mob?moid=ServiceRegistration&method=Delete
在VALUE框中输入查询到的serviceid值后,点击右下角的Invoke Method删除。
为了保险起见执行上述的操作后,在https://<Vcenter_IP>/mob/?moid=ExtensionManager
中查看下是否有com.vmware.vcHms扩展存在,如果有则点击UnregisterExtension,输入com.vmware.vcHms后点击Invoke Method删除。
最后可以重新部署vSphere Replication组件了。
最后说一句,vcenter 6.5部署vSphere Replication模板是需要在Flash界面部署才能正常绑定到vcenter。
vSphere Replication中文手册在本文首部自行下载。