You can automate the uninstalling and unregistering of your Site Recovery Manager Server.

About this task

The following procedure uninstalls Site Recovery Manager Server and keeps the embedded or external database.

If you use Site Recovery Manager with vSphere Replication, you can continue to use vSphere Replication after you uninstall Site Recovery Manager.

You can use the following procedure in the standard one-to-one Site Recovery Manager configuration and in a shared recovery site configuration. In a shared recovery site configuration, you must run the procedure on each site.

Prerequisites

  1. Remove the recovery plans, protection groups, mappings, and array managers on both sites. For information about how to remove them, see Uninstall Site Recovery Manager.

  2. Log in to the Site Recovery Manager host VM.

  3. Uninstall the SRAs on both sites.

Procedure

  1. Run the installer by entering the Site Recovery Manager product code and specifying the uninstallation log file.
    msiexec.exe /x {Site Recovery Manager Product Code} /q 
      /l*vx "path to the uninstallation log file" // the installer does not use the user interface

    For example,

    msiexec.exe /x {BF127EFC-D3D9-49BD-BFC6-03DFB131FDB7} /q 
      /l*vx "C:\srm-uninstall-log.txt"

    The installer does not use the user interface.

  2. Enter the administrator credentials to the local Platform Services Controller.
    SSO_ADMIN_USER=\"username\"
    SSO_ADMIN_PASSWORD=\"password\"
  3. Specify whether to remove the Site Recovery Manager records from the database and unregister Site Recovery Manager from the local vCenter Server and Platform Services Controller or keep them.
    DR_CB_REMOVE_DATA=1 // removes Site Recovery Manager Server and its files, folders, and registry entries.
    Remove the Site Recovery Manager records from the database and un-register Site Recovery Manager from the local vCenter Server and Platform Services Controller
    DR_CB_REMOVE_DATA=0 // removes Site Recovery Manager Server and keeps the database records and registrations of Site Recovery Manager in the local vCenter Server and Platform Services Controller

Results

Your embedded or external database exists, but Site Recovery Manager is uninstalled.

What to do next

Repeat the procedure on the remote site.