Site icon Default Reasoning

How to: VMware Site Recovery Manager 5 – Part 4: vSphere Replication

Now that the connection between the Protected and Recovery Site is established, we can start deploying the vSphere Replication (VR) but before that, the VR infrastructure must be configured and operational. The VR infrastructure consists of the following components:

vCenter Server Managed IP Address

First, configure the vCenter Server Managed IP address. The managed IP address will be used by VRM server to communicate with the extension service on the vCenter Server.

  1. In the vSphere Client, go to the Administration menu and select vCenter Server Settings.
  2. Go to Runtime Settings and fill in the vCenter Server Managed IP address.
  3. Click OK to save and close the window.

Repeat this step for the Recovery Site.

VRM Database

Before deploying the VRM Server, a database must be created. On the Protected Site, open the SQL Server Management Studio and follow these steps.

  1. Login and right click Databases and select New Database.
  2. Provide a suggestive name (i.e. VRMS_DB) and change the owner to i.e. srmadmin. Click OK to create the database.
  3. Close the SQL Server Management Studio and proceed to the next step.

Deploy VRM Server

Next step is the deployment of the VRM Server which is deployed as a virtual appliance from the SRM Server.

  1. Open the Site Recovery Manager from the Solutions and Applications in the vSphere Client on the Protected Site. Provide user credentials if necessary.
  2. Click vSphere Replication in the left pane and make sure the Protected Site is selected. On the left pane under Commands, click Deploy VRM Server.
  3. The Deploy VRM Server wizard will be started, click on OK to begin.
  4. Press Next in the Source window of the deployment wizard.
  5. In the next step, review the OVF Template Details and press Next to continue.
  6. Provide a FQDN name and a location for the VRM Server. Click Next.
  7. Select the appropriate cluster and select a datastore to store the VRM Server appliance. Click Next.
  8. Select the disk format, in this case I used the Thin Provision disk type. Click Next to proceed.
  9. Provide the password for the root account, default gateway, DNS server, IP address and subnet mask for the appliance. Click Next when ready.
  10. Click Next on the Configure Service Bindings window.
  11. Review the settings and click Finish to start the deployment process.
  12. When the deployment finishes the VRM Server VM will be powered on.

Remember to deploy a VRM Server instance on the Recovery Site. Wait until the VRM Server is fully started before proceeding to the next step. 

Configure VRM Server

When the VRM Server for the Protected Site is fully started, you will see the VMware Appliance Management Interface (VAMI) displayed and an URL to manage the VRM Server.

  1. Next, click on Configure VRM Server under Commands pane in the Site Recovery Manger.
  2. Ignore the certificate security warning and log in with the root account and the password entered during the deployment wizard.
  3. In the Getting Started window, go to option 1: Startup Configuration. Click on Configuration Page.
  4. Leave the Configuration Mode to default (Manual Configuration).
  5. Select SQL Server as DB Type.
  6. Provide the FQDN for the DB Host, in my case the vCenter Server.
  7. Leave DB Port to default (1433).
  8. Enter the DB Username (i.e. srmadmin) and DB Password.
  9. Provide the DB Name (i.e. VRMS_DB) created earlier.
  10. Leave the VRM Host value to default.
  11. Provide a name for the DB Name.
  12. Enter a FQDN for the vCenter Server address and leave the vCenter Server port to default (80).
  13. Enter the vCenter Server Username, Password and e-mail address.
  14. Scroll down and click Generate and Install under the Generate a self-signed certificate. You should receive a message stating that the certificate was successfully generated and installed.
  15. On the right side under the Actions menu, click the Save and Restart Service button.
  16. Wait until the process completes, if successful you will see the following message.
  17. Note that the status of the VRM Service is now running under the VRM Service Status section.
  18. Also, you will be presented with a security warning, select Install this certificate and click Ignore button.
  19. Go back to the Site Recovery Manager and verify that the VRM Server is now configured.

Next, deploy the VRM Server at the Recovery Site by following the steps above.

Continue to part 5 where we will pair the VRM Servers between the Protected Site and the Recovery Site and we will deploy the VR Servers.

Cheers!

– Marek.Z

Exit mobile version