If the vSphere Replication appliance was deleted before you unregistered it form the environment , you cannot use the virtual appliance management interface (VAMI) to unregister vSphere Replication from vCenter Server.

About this task

Only a vSphere administrator can clean up the environment.

The procedures on removing the permissions for a solution user and on removing a solution user from the vCenter Single Sign-On domain are documented in the VMware vSphere 6.0 documentation center. See Remove Permissions and Delete vCenter Single Sign-On Solution Users.

Prerequisites

Verify that you know 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. Type 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 solution user from all vCenter Server instances in the Single Sign-On domain.
  10. Remove the HMS solution user from the 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.