Tag Archives: VRMS

vCenter Site Recovery Manager (SRM) 5.X – Part 4

Now we have deployed and configured VRM servers at the Protected Site and the Recovery Site, it’s time to pair both servers. Once the pairing is completed we will be able to deploy the VR Servers, one for each site. This will enable us to fail over from the Protected Site to the Recovery Site. In SRM 5, each VR Server can manage 50 replication schedules and protect a maximum of 500 VMs. Let’s start the VRM Server pairing process.

VRM Server Pairing

1). Open the Site Recovery Manager from the Solutions and Applications in the vSphere Client on the Protected Site.

2). Go to vSphere Replication, make sure that the Protected Site is selected and click on Configure VRMS Connection.

VR103). Click Yes if asked to configure VRMS Connection.

4). Click OK to accept the certificate error.

5). Provide the username and password for the Recovery Site and click OK.

6). Once again, click OK to accept the certificate error.

7). You will be presented with a configuration progress window. Click OK when the configuration of VRMS connection succeeds.

VR118). The status of the connection under the Summary tab should now display:Connected on both sites.

VR12=========================================================

Deploying VR Server

Now that the VRM Servers are connected, we can start the deployment of the VR Server.

1). From the Protected Site, select the Recovery site in the left pane and click on Deploy VR Server.

VR132). Click OK to launch the OVF wizard.

3). Click Next in the Source window and Next again in the OVF Template Details window.

4). In the Name field, provide a FQDN name for the VR Server appliance and select the location. Click on Next to proceed.

VR145). Next, select the Cluster, Host and appropriate datastore for the VR Server. Click on Next to proceed at each step.

6). Select desired disk format and click Next.

7). In the Properties window, provide a Default Gateway, DNS Server, IP address and Subnet Mask for the VR Server and click Next.

VR158). Review the settings in the Ready to Complete window and press Finish to start the deployment.

Repeat this process for the Recovery Site.

Note :-The reason to deploy it at both sites is because to replicate back to the Protected site. You can replicate only to the Recovery site but if you don’t have a VR at the Protected site, you will not be able to replicate back.

==========================================================

Register VR Server

After the VR Server is deployed, it has to be registered with the vCenter Server.

1). Go back to the Site Recovery Manager and click on Register VR Server in the left pane under Commands.

VR162). Expand the Datacenter object and select the VR Server VM. Click OK to proceed.

3). Click Yes when asked if you want to register the VR Server.

4). Ignore the remote server certificate error and click on OK.

5). Click on OK to close the window when the registration completes successfully.

6). Verify that the VR Server is now visible in the left pane and the Summary tab shows the status: Connected.

VR17Repeat these steps for the Recovery Site.

OK, all done now. The VR infrastructure is now up and running. Continue to Part 5 where we will take a look at the inventory mappings between the Protected Site and the Recovery Site.

=========================================================

Click here to go to vCenter Site Recovery Manager (SRM) 5.X – Part 1

 Click here to go to vCenter Site Recovery Manager (SRM) 5.X – Part 2

 Click here to go to vCenter Site Recovery Manager (SRM) 5.X – Part 3

  Click here to go to vCenter Site Recovery Manager (SRM) 5.X – Part 4

  Click here to go to vCenter Site Recovery Manager (SRM) 5.X – Part 5

  Click here to go to vCenter Site Recovery Manager (SRM) 5.X – Part 6

  Click here to go to vCenter Site Recovery Manager (SRM) 5.X – Part 7

Note :- I have used pictures in this post from SRM book written by Abhilash GB and from blog (http://defaultreasoning.com) by Marek.Z and would like to Thank both of them 🙂

vCenter Site Recovery Manager (SRM) 5.X – Part 3

Now that the connection between the Protected and Recovery Site is established, we have also discussed in Part – 2 How to Download SRA, Install SRA, Rescan SRA, Adding an Array Manager, and Enabling an Array Pair. Now time to discuss about deploying the vSphere Replication (VR). The VR infrastructure consists of the following components:

  • VRM Server: provides the management of the VR Servers across the ESXi hosts
  • VR Server: replicates the virtual machines between sites

vCenter Server Managed IP Address

First we need to 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.

VR13. Click OK to save and close the window.

Repeat this step for the Recovery Site as well.

===========================================================

VRM Database

Before deploying the VRM Server, a database must be created. Follow these steps to create database for VRM Server:

  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. Connect to the protected site of vCenter Server using  vSphere Client.

2. Navigate Home –> Solutions and Applications –> And Site Recovery.

3. 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.

VR24. The Deploy VRM Server wizard will be started, click on OK to begin.

5. Press Next in the Source window of the deployment wizard.

6. In the next step, review the OVF Template Details and press Next to continue.

7. Provide a FQDN name and a location for the VRM Server. Click Next.

VR38. Select the appropriate cluster and select a datastore to store the VRM Server appliance. Click Next.

VR49. Select the disk format, in this case I used the Thin Provision disk type. Click Next to proceed.

10. Provide the Password for the root account, Default Gateway, DNS server, IP Address and Subnet Mask for the appliance. Click Next when ready.

VR511. Click Next on the Configure Service Bindings window.

12. Review the settings and click Finish to start the deployment process.

13. When the deployment finishes the VRM Server VM will be powered on.

Remember to deploy a VRM Server instance on the Recovery Site as well. 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.

VR62. 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.

VR74. 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.

VR817.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.

VR9Next, Deploy and Configure the VRM Server at the Recovery Site by following the steps above.

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

Click here to go to vCenter Site Recovery Manager (SRM) 5.X – Part 1

 Click here to go to vCenter Site Recovery Manager (SRM) 5.X – Part 2

 Click here to go to vCenter Site Recovery Manager (SRM) 5.X – Part 3

  Click here to go to vCenter Site Recovery Manager (SRM) 5.X – Part 4

  Click here to go to vCenter Site Recovery Manager (SRM) 5.X – Part 5

  Click here to go to vCenter Site Recovery Manager (SRM) 5.X – Part 6

  Click here to go to vCenter Site Recovery Manager (SRM) 5.X – Part 7

=========================================================

Note :- I have used pictures in this post from SRM book written by Abhilash GB and from blog (http://defaultreasoning.com) by Marek.Z and would like to Thank both of them 🙂