You can automate the upgrade of your Site Recovery Manager with an embedded database or upgrade it by using the command-line interface.
You can use the following procedure in the standard one-to-one Site Recovery Manager configuration and in a shared recovery site configuration.
The following procedure is for in-place upgrade using the Windows LocalSystem account for the Site Recovery Manager service.
Prerequisites
- Perform the procedures for upgrading as described in Order of Upgrading vSphere and Site Recovery Manager Components.
- In a shared recovery site configuration, perform the procedure for upgrading as described in Upgrade Site Recovery Manager in a Shared Recovery Site Configuration.
- Back up the Site Recovery Manager embedded vPostgreSQL database. For information about how to back up your embedded database, see Back Up and Restore the Embedded vPostgres Database.
- Log in to the Site Recovery Manager host VM.
Procedure
Example: Silent Upgrade of Site Recovery Manager
You can use the following commands to upgrade Site Recovery Manager using the Windows LocalSystem account for the Site Recovery Manager service.
VMware-srm-*****.exe /clone_wait /L1033 /s /V" /l*vx c:\upgrade.log /qr PLATFORM_SERVICES_CONTROLLER_HOST=<FQDN or IP address> PLATFORM_SERVICES_CONTROLLER_THUMBPRINT=<Thumbprint of the certificate> SSO_ADMIN_USER=<\"username\"> SSO_ADMIN_PASSWORD=<\"<password>\"> VC_CERTIFICATE_THUMBPRINT=<Thumbprint of the certificate> DR_RB_CERTSEL=2 DR_EMBEDDED_DB_USER=<\"username\"> DR_EMBEDDED_DB_PWD=<\"password\">"
What to do next
Repeat the procedure on the remote site.