Tag Archives: VMware vSphere Replication

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

First we are going to discuss Replication With VR and then will cover Array-based Replication.

To protect a single virtual machine or a group of virtual machines, the virtual machine files need to be replicated from the Protected Site to the Recovery Site. Since we have already set up a VR infrastructure we will proceed using this mechanism. Here we will skip the replication configuration of a single VM and concentrate on configuring replication of multiple VMs since it’s the most common setup in a virtual infrastructure.

Configure Replication for multiple VMs

1). Open the vSphere Client and from the Home page go to VMs and Templates.

2). Select a folder in the left pane and select the Virtual Machines tab. Select All the VMs you want to configure Replication. Right-Click the selected VMs and choose vSphere Replication from Drop Down..

VRR13). In the Configure Replication wizard, select desired Recovery Point Objective (RPO – Minimum 15 min and Max 24 hr), and lease the “Initial copies of .vmdk files have been placed on the target datastoresun-checked since we didn’t copy the files to the Recovery Site. Click Next.

VRR24). Select the appropriate VR Server (If you have multiple VR Servers) at the Recovery Site or leave the setting to Auto-assign VR Server. Click Next to proceed.

VRR35). Review the settings and click Finish.

VRR46). Click Close when the Configuring Replication process is completed.

VRR5============================================================

Configure Datastore Mapping

Now that the replication of VMs has been set up, we need to create the datastore mapping for the replicated VMs on the Recovery Site.

1). On the Protected Site, open the Site Recovery Manager and select vSphere Replication in the left pane. Select the Protected Site  and go to the Datastore Mappings tab.

VRR62). Select datastores under the Source Datastore and map it to the appropriate datastore at the Recovery Site by clicking on the Configure Mapping button.

VRR73). In the Datastore Mapping window, select the appropriate datastore and click OK.

VRR84). Verify the mapping under the Target Datastore column on the Datastore Mappings tab.

5). To check if the replication is running, select the Recovery Site in the vSphere Replication and select the Virtual Machines tab. You should see something similar to the screenshot below.

VRR9OK, so the files of the virtual machines are now synchronized between the Protected Site and Recovery Site. Let’s proceed now with configuration of the Protection Group.

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

Now Let’s discuss and configure VMs with Array-Based Replication

Datastore Groups

A datastore group is a container that aggregates one or more replication-enabled datastores. The datastore groups are created by SRM and cannot be manually altered. A replication-enabled datastore is a datastore who’s LUN has a replication schedule enabled at the array.

DP1A datastore group will contain only a single datastore if the datastore doesn’t store files of virtual machines from other datastores. See the preceding single-datastore datastore group conceptual diagram.

A datastore group can also contain more than one datastore. SRM aggregates multiple datastores into a single group if they have virtual machines whose files are distributed onto these datastores. For example, if VM-A has two VMDKs placed on datastores Datastore-M and Datastore-N each, and then both these datastores become part of the same datastore group.

Protection Groups

“A protection group is a group of virtual machines that fail over together to the recovery site during a test or a recovery procedure.”

Unlike vSphere Replication, SRM cannot enable protection on individual virtual machines. All the virtual machines that are hosted on the datastores in a datastore group are protected. Meaning, with SRM, protection is enabled at the datastore group level. This is because, with an array-based replication, the LUNs backing the datastores are replicated. The array doesn’t know which VMs are hosted on the datastore. It just replicates the LUN, block by block. So, at the SRM layer, the protection is enabled at the datastore level. In a way, a Protection Group is nothing but a software construct to which datastore groups are added, which in turn includes all the VMs stored on them in the Protection Group.

When creating a Protection Group, you will have to choose the datastore groups that will be included. Keep in mind that you cannot individually select the datastores in a datastore group. If it were ever allowed to do so, then you will have virtual machines with not all of its files protected. Let’s assume that you have a virtual machine, VM-A, with two disks (VMDK-1 and VMDK-2) placed on two different datastores. Let’s also say VMDK-1 is on Datastore-X and VMDK-2 is on Datastore-Y. When creating a Protection Group, if you were allowed to select the individual datastores and if you choose only one of them, then you will leave the remaining disks of the VM unprotected. Hence, SRM doesn’t allow selecting individual datastores from a datastore group as a measure to prevent such a scenario. The following diagram shows the modified conceptual structure of the datastore group:

DP2Note:- That a datastore group cannot be a part of two Protection Groups at the same time.

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

Creating Protection Group Based on VR (vSphere Replication)

The protection group can be used in one or multiple recovery plans which we will create later. Protection groups can be Array-based or VR-based. In this case we will create a protection group based on vSphere Replication since it was configured in the previous part.

Create Protection Group

1). On the Protected Site, open the Site Recovery Manager and select Protection Groups in the left pane. Click on Create Protection Group to start the wizard.

CPG12). In the Create Protection Group wizard, select the Protected Site and vSphere Replication as the protection group type. Click Next.

PG23). In the Select Virtual Machines window, select the VMs you want to add to this Protection Group and click Next.

PG34). Provide a suggestive Protection Group Name and alternatively a Description for this Protection Group and click Next.

PG45). Review the settings and click on Finish when ready.

PG56). Wait until the Protection Group is configured. You can monitor the progress in the task pane.

Now that the VMs are protected we can start building a recovery plan. where we will configure a recovery plan for our VMs.

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

Creating Protection Group Based on Array-based Replication

A Protection Group is created in the SRM UI at the protected site.

The following procedure will guide you through the steps required to create a Protection Group:

1. On the Protected Site, open the Site Recovery Manager and select Protection Groups in the left pane. Click on Create Protection Group to start the wizard.

CPG12).  In the Create Protection Group wizard, select the Protected Site and Array based Replication (SAN) as the protection group type and  Correct Array pair Click Next.

CPG5

CPG63). On the next screen, choose a datastore group that you would like to protect. When you select a datastore group, the bottom pane will list all the VMs hosted on the datastores in the group. You cannot individually select the VMs though. Although I have selected only a single datastore group, we can select multiple datastore groups to become part of the Protection Group. Click on Next to continue

CPG34). In the next screen, provide the Protection Group Name and an optional description, and click on Next to continue.

The Protection Group Name can be any name that you would prefer to identify the Protection Group with. The common naming convention is to indicate the type or purpose of the VMs. For instance, if you were protecting the SQL Server VMs, then you might name the Protection Group as SQL Server Protection Group; or, if it  were to be a set of hyphenate VMs, you may name it as High Priority  VMs Protection Group. 

5). On the Ready to Complete screen, Review the wizard options selected and click on Finish to create a  Protection Group:

CPG4

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

So, what exactly happens when you create a Protection Group?

When you create a Protection Group, it enables protection on all the VMs in the chosen datastore group and creates shadow VMs at the recovery site. In detail, this means that at the protected site vCenter Server, you should see a Create Protection Group task complete; subsequently a Protect VM task completes successfully for each of the VMs in the Protection Group. See the following screenshot for reference:

CPG7At the recovery site of the vCenter Server, you should see the Create Protection Group, Protect VM (one for each VM), Create virtual machine (one for each VM), and Recompute Datastore Groups tasks completed successfully.

CPG8As shown in the following screenshot, the shadow VMs appear in the vCenter Server’s inventory at the recovery site:

CPG9As they are solely placeholders, you cannot perform any power operations on it. There are other operations that are possible but are not recommended. Hence, a warning will be displayed, requesting a confirmation, as shown in the following screenshot:

CPG10The placeholder datastores will only have the configuration file (.vmx), teaming configuration file (.vmxf), and a snapshot metadata file (.vmsd) for each VM.

CPG11These files will be automatically deleted when you delete the Protection Group.

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

In the next part we will discuss Recovery Plan, Testing and Performing a Failover and Failback. Click here to continue to part 7.

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 5

Now SRA (Array Manager) or VR infrastructure is up and running we can start to configure the inventory mappings. The Inventory Mappings provide a convenient way to specify how the resources at the Protected Site are mapped to the resources at the Recovery Site. You can create a mapping of the following objects in the vCenter Server:

  • Resources
  • VM folders
  • Networks
  • Datastores

Inventory mapping are not mandatory but highly recommend. Let Start and configure the resource mapping, folder mapping, network mapping and a placeholder datastore.

Resource Mapping

We need to provide a correlation between the compute resource containers on both the sites. The compute resource containers are cluster, resource pool, and ESXi host. This is achieved with the help of resource mappings. Resource mappings respect the presence of these containers, which means that if there is a cluster or resource pool at the site, the ESXi hosts are not made available as a selectable compute container.

This is how you configure resource mappings:

1. Navigate to vCenter Server’s inventory home page and click on Site Recovery.

2. Click on Sites in the left pane, select a site, and navigate to the Resource Mappings tab. Select the resource container (a cluster, resource pool, vAPP, or host) you want to map, and click on Configure Mapping to bring up the Mapping window.

This is example of Cluster if you want Cluster as Resource Mappings

RM1

This is example of vAPP if you want vAPP as Resource Mappings

RM73). In the Mapping window, browse the resource inventory of the recovery site, select the destination resource container (a cluster, resource pool, vAPP, or host), and click on OK to confirm.

(Select vAPP as Resource) 

RM5

 

(Select Cluster as Resource)

RM34). The selected resource should now appear as mapped in the Recovery Site Resource column on the Resource Mappings tab.

RM6=======================================================

Folder mappings

Folders are inventory containers that can only be created using vCenter Server.  They are used to group inventory objects of the same type for easier management. There are different types of folders. The folder type is determined by the  inventory-hierarchy level they are created at. The folder names are as follows:

• Datacenter folder

• Hosts and clusters folder

• Virtual machine and template folder

• Network folder

• Storage folder The vSphere Web Client

This is how you configure Folder mappings: 

1). Click on Protected Sites in the left pane and navigate to the Folder Mappings tab. Select the virtual machine folder that you want to map,  and click on Configure Mapping to bring up the Mapping window:-

RM82). In the mapping window, create or select a recovery folder and click OK.

RM93). The selected folder should now appear as mapped in the Recovery Site Resource on the Folder Mapping tab.

RM10

 

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

Network mappings

Network configuration at the protected and recovery sites need not be identical. Network mappings provide a method to form a correlation between the port groups (standard or distributed) of the protected and recovery steps. Let’s say we have a port group with the name VM Network at the protected site, and it is mapped to a port group with the name Recovery Network at the recovery site.  In this case, a virtual machine that is connected to VM Network will be reconfigured to use the Recovery Network when failed over.

This is how you configure network mappings: 

1). With the Protected Site still selected, go to the Network Mappings tab, Select the Network to map and click on Configure Mapping.

RM112). In the mapping window, select the appropriate network or dvSwitch port group at the Recovery Site and click OK.

RM123). The selected network should now appear as mapped in the Recovery Site Resource on the Network Mappings tab.

RM13

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

Configuring Placeholder Datastores

For every virtual machine that becomes part of a Protection Group, SRM creates a shadow virtual machine. A placeholder datastore is used to store the files for the shadow virtual machines. The datastore used for this purpose should be accessible to all the hosts in the datacenter/cluster serving the role of a recovery-host. Configuring placeholder datastores is an essential step in forming an SRM environment. Assuming that each of these paired sites is geographically separated, each site will have its own placeholder datastore. The following figure shows the site and placeholder datastore relationship:

RM14This is how you configure placeholder datastores:

1). With the Protected Site still selected, go to the Placeholder Datastores tab and click on Configure Placeholder Datastore.

RM152).In the mapping window, select the appropriate datastore and click on OK.

RM163). The selected datastore should now appear under the Datastore column in the Placeholder Datastores tab.

RM17Remember to configure the Resource mapping, folder mapping, network mapping and the placeholder mapping at the Recovery Site.

The inventory mappings are now configured and ready to use. Continue to SRM-Part 6 where we will configure vSphere Replication for our VMs.

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

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 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 🙂

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

Introduction

With today’s IT infrastructures, be it virtual or physical, disaster recovery has importance. Any business should be able to continue operating with reduced downtime for its sustainability amongst the competition. Two of the major factors used to service are High Availability and Recoverability.

srm1
Recoverability is the guarantee that the service offered and its data are protected against failures, and High Availability is the guarantee that the service offered would remain operational and the failures are handled in a way that the user of the service would not even know that there was a failure. There are many ways in which businesses plan and implement disaster recovery.

When we talk about High Availability and Recoverability these two factors are important to discuss – Recovery Point Objective (RPO) and Recovery Time Objective (RTO).

What are RPO and RTO?

RPO defines the amount of data an organization can afford to lose when measured against time. RTO defines the amount of downtime the organization can afford for its services before it becomes operational again.

Both RPO and RTO are defined by time. For example, an organization can have an RPO set to 4 hours and RTO set to 1 hour. This means, it can afford to lose up to 4 hours of data, but it can only afford a service downtime up to 1 hour.

RTO only defines the amount of time a service can remain unavailable but doesn’t account for the data loss. But RPO defines how much data loss can be afforded.

srm2For example RPO is 4 hours, RTO is 2 hours and WRT is 30 minutes and disaster occurs at 10 am so we need to restore data by point of 6 am and recover the site by 12 pm. And then WRT starts for checking the servers integrity site must be fully functional by 12:30 pm. MTD in this case in 2:30 hours.

WRT (Work Recovery Time) – Determines the maximum tolerable amount of time that is needed to verify the system and/or data integrity. This could be, for example, checking the databases and logs, making sure applications or services are running and are available.

MTD (Maximum Tolerable Downtime) = RTO + WRT.

There are still so many companies following manual /Traditional way for BC/DR. To orchestrate this VMware has product called Site Recovery Manager.

Site Recovery Manager (SRM)

Site Recovery Manager (SRM) is an orchestration software that is used to automate disaster recovery testing and Failover. It can be configured to leverage either vSphere Replication or a supported array-based replication. SRM is a not a product that performs an automatic Failover, which means that there is no intelligence built into SRM that would detect a disaster/outage and Failover the VMs. The disaster recovery process should be manually initiated. Hence, it is not a high availability solution; it is purely a tool that orchestrates a Recovery Plan.

SRM requires both the protected and recovery sites to be managed by separate instances of the vCenter Server. It also requires an SRM instance at both the sites. SRM’s functionalities are currently only available via the vSphere Client and not the vSphere Web Client. Hence, an SRM plugin needs to be installed on the same machine where the vSphere Client is installed.

Refer to the following figure:

srm3Installing SRM on the protected and recovery sites:

vCenter SRM has to be installed at both the protected and recovery sites for the disaster recovery setup to work. The installation process is identical regardless of the site it is being installed on; the only difference is that at each site, you will be registering the SRM installation to the vCenter Server managing that site. SRM can either be installed on the same machine that has vCenter Server installed or on a different machine. The decision to choose either one of the installation models depends on how you want to size or separate the service-providing machines in your infrastructure. The most common deployment model is to have both vCenter and SRM on the same machine. The rationale behind this is that SRM will not work in a standalone mode; this means that if your vCenter Server goes down, there is no way you could access SRM. Like vCenter Server, SRM can be installed on a physical or virtual machine. Another factor that you must take into account is the installation of SRA. SRAs have to be installed on the same machine where you already have SRM installed. Some SRAs need a reboot after installation. So, it is important to read through the storage vendor’s documentation prior to proceeding to make a deployment choice for SRM. If the vCenter downtime is not feasible, then you will have to consider installing SRM on a separate machine.

Note:- SRA only required when you are using Array-based Replication to replicate from Protected Site to Recovery Site.

srm4

SRM Installation

1. Download SRM installer from VMware site and double click .EXE file to start installation process

si12. Click Run to start installation

si23. It will start SRM Installation process and Extract installation files.

si34. Click the Next button in the Welcome page.

si45. Click Next in the VMware Patents page.

si56. Select I agree in the License agreement and click Next..

si67. Change the Destination folder if required or click Next to install at default location ..

si78. If you want to use VR for VMs replication choose Install vSphere Replication, If want to use Array-based Replication choose Do Not install vSphere Replication and Click Next.

si89. Enter details of the vCenter Server to which this SRM will be registered to and Click Next.

si910. Make a selection of your choice and click on Next to continue. Here, I have chosen to let the installer generate a new certificate.  Use the second option if you already have a certificate file from your certificate authority. VMware recommends using CA-signed certificates for all its products.

si1011. Enter Organization name and Organization Unit and Click Next…

si1112. Enter Name of the Local Site and details and Click Next..

si1213. Choose Database and enter ODBC DSN details and click Next..

si1314. Click Install at Ready to install wizard to start the installation…

si1415. It will take few minutes to complete the installation

si1516. Click Finish to complete the Installation process.

si16

When all these components are put together, a  paired site protected by SRM will look as below:-

si17

Continue to Part – 2 for Installation repair , Site Pairing, and Installation of SRA.

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

Note :- I have used few pictures in this post from SRM book written by Abhilash GB and would like to Thank him for this 🙂

Installing Storage Replication Adapters (SRA)