Use the Managed Object Browser (MOB) to clean up vSphere Replication from vCenter Extension Manager after deleting the vSphere Replication Appliance.

The procedures on removing the permissions for a service account and on removing a service account from the vCenter Single Sign-On domain are documented in the vSphere 6.5 Security document. See topics Remove Permissions and Delete vCenter Single Sign-On Solution Users.

Prerequisites

Verify that you have the credentials of a vSphere administrator.

Procedure

  1. Log in to https://<vCenter_Server_address>/mob/?moid=ExtensionManager with vCenter Server credentials.
  2. In the extensionList property, click the link for the com.vmware.vcHms extension key to check the key details.
  3. Verify that the displayed data is for a vSphere Replication appliance that is already lost.
  4. In ExtensionManager, click unregisterExtension.
  5. Enter com.vmware.vcHms for the extension key value, and click Invoke Method.
  6. Verify that the result displays void and not an error message.
    An error message might appear if the specified extension is not registered, or if an unexpected runtime error occurs.
  7. Close the window.
  8. Refresh the ExtensionManager page and verify that the extensionList entry does not include com.vmware.vcHms.
  9. Remove the permissions for the HMS service account from all vCenter Server instances in the Single Sign-On domain.
  10. Remove the HMS service account from the vCenter Single Sign-On domain.

What to do next

You can deploy a new vSphere Replication appliance.

Note: If a vSphere Replication appliance is deleted before all replications that it manages are stopped, target datastores remain tagged with the com.vmware.vr.HasVrDisks tag. If a target datastore that is tagged with com.vmware.vr.HasVrDisks is part of a datastore cluster where Storage DRS is enabled, some operations, like Enter maintenance mode, might not succeed when the vSphere Replication Management server is missing. To prevent errors, you must remove the tags from all target datastores that were used for replications by the deleted vSphere Replication appliance. See Search and Remove the vSphere Replication Tag from Target Datastores.