Site Recovery Manager can work with an external database. To use Site Recovery Manager with an external database, you must install the database and Site Recovery Manager Server. You can install Site Recovery Manager Server by using the command-line interface or automate the Site Recovery Manager Server installation.
You can use the following procedure in the standard one-to-one Site Recovery Manager configuration and in a shared recovery site configuration. For information about a shared recovery site configuration, see Installing Site Recovery Manager to Use with a Shared Recovery Site.
If you install Site Recovery Manager in a shared recovery site, you must use custom extension keys and run the procedure on each site.
The following procedure is for an installation using the Windows LocalSystem account for the Site Recovery Manager service and DSN with SQL authentication.
Prerequisites
- Perform the tasks listed in Prerequisites and Best Practices for Site Recovery Manager Server Installation.
- Install and configure Microsoft SQL Server as an external database and the respective native client. See Requirements when Using Microsoft SQL Server with Site Recovery Manager.
- Configure the system database source name. See Create an ODBC System DSN for Site Recovery Manager.
Procedure
Example: Silent Installation of Site Recovery Manager Server
You can use the following commands to install Site Recovery Manager Server using the Windows LocalSystem account for the Site Recovery Manager service and automatically generated certificates.
VMware-srm-*****.exe /clone_wait /L1033 /s /V" /l*vx c:\install.log /qr INSTALLDIR=\"C:\Program Files\VMware\VMware vCenter Site Recovery Manager\" PLATFORM_SERVICES_CONTROLLER_HOST=<FQDN or IP address> PLATFORM_SERVICES_CONTROLLER_THUMBPRINT=<Thumbprint of the certificate> SSO_ADMIN_USER=<\"username\"> SSO_ADMIN_PASSWORD=<\"<password>\"> DR_TXT_VCHOSTNAME=<FQDN> VC_CERTIFICATE_THUMBPRINT=<Thumbprint of the certificate> DR_TXT_EXTKEY=\"com.vmware.vcDr"\ DR_TXT_PLUGIN_COMPANY=\"VMware, Inc.\" DR_TXT_PLUGIN_DESC=\"VMware vCenter Site Recovery Manager Extension\" DR_CB_HOSTNAME_IP=<FQDN or IP address> DR_TXT_LSN=<\"local site name\"> DR_TXT_ADMINEMAIL=<\"email address\"> DR_RB_CERTSEL=1 DR_TXT_CERTORG=<\"Organization\"> DR_TXT_CERTORGUNIT=<\"Organization unit\"> DR_USES_EMBEDDED_DB=0 DR_CB_DC=\"SQL Server\" DR_TXT_DSN=<\"System DSN\"> DR_TXT_DBUSR=<\"username\"> DR_TXT_DBPWD=<\"password\"> DR_RB_EXISTDBSEL=0"
You can use the following commands to install Site Recovery Manager Server using the Windows LocalSystem account for the Site Recovery Manager service and custom certificates.
VMware-srm-*****.exe /clone_wait /L1033 /s /V" /l*vx c:\install.log /qr INSTALLDIR=\"C:\Program Files\VMware\VMware vCenter Site Recovery Manager\" PLATFORM_SERVICES_CONTROLLER_HOST=<FQDN or IP address> PLATFORM_SERVICES_CONTROLLER_THUMBPRINT=<Thumbprint of the certificate> SSO_ADMIN_USER=<\"username\"> SSO_ADMIN_PASSWORD=<\"<password>\"> DR_TXT_VCHOSTNAME=<FQDN> VC_CERTIFICATE_THUMBPRINT=<Thumbprint of the certificate> DR_TXT_EXTKEY=\"com.vmware.vcDr"\ DR_TXT_PLUGIN_COMPANY=\"VMware, Inc.\" DR_TXT_PLUGIN_DESC=\"VMware vCenter Site Recovery Manager Extension\" DR_CB_HOSTNAME_IP=<FQDN or IP address> DR_TXT_LSN=<\"local site name\"> DR_TXT_ADMINEMAIL=<\"email address\"> DR_RB_CERTSEL=0 DR_TXT_CERTFILE=\"path to certificate file\" DR_TXT_CERTPWD=\"password\" DR_USES_EMBEDDED_DB=0 DR_CB_DC=\"SQL Server\" DR_TXT_DSN=<\"System DSN\"> DR_TXT_DBUSR=<\"username\"> DR_TXT_DBPWD=<\"password\"> DR_RB_EXISTDBSEL=0"
What to do next
Repeat the procedure on the remote site.