Learn SRM – Part 12 – Configure Recovery Plans in VMware SRM 6.5

In this article, we are going to cover Recovery Plan. We will see how you can create a Recovery plan. A recovery plan specifies how Site Recovery Manager recovers the virtual machines in the protection groups that it contains. You can include one or more protection groups in a recovery plan.

Step by Step Guide: –

  • Login to Site Recovery Manager Console. To do so, go to Web Client and Open vCenter Server. Go to Home Page and Click on Site Recovery.
  • Under Site Recovery Console, Click on Recovery Plans. You will get Objects tab there. Click on Create Recovery Plans.

2018-08-28 00_21_01-vSphere Web Client

  • Enter a name for Recovery Plan and Select a location for this recovery plan. Click on Next.

2018-08-28 00_21_24-vSphere Web Client

  • Select the site to which the VMs in this plan will recover. Here I have choosed my Recovery Site. Click on Next.

2018-08-28 00_21_28-vSphere Web Client

  • Select Protection Group you want to add to this Recovery Plan. You can add more than one Protection Groups in a Recovery Plan. Click on Next.

2018-08-28 00_21_32-vSphere Web Client

  • Select the test networks and Click on Next.

2018-08-28 00_21_34-vSphere Web Client

  • Recovery Plan is Ready to Complete. Click on Finish.

2018-08-28 00_21_36-vSphere Web Client

  • Review the Recovery Plan under Recovery Plan tab.

2018-08-28 00_21_43-vSphere Web Client

That’s all from Site Recovery Manager Configuration part. SRM is ready to execute DR. Now in next article, we will see how to execute test and Disaster Recovery. Stay Tuned.

Take a look in below topics, explore and learn Site Recovery Manager: –

Learn SRM – Part 11 – Configure Protected Groups in VMware SRM 6.5

In Previous post, we explored how to created Placeholder Datastore. Now we are going to Configure Protected Groups in VMware SRM.

Protection group is a collection of virtual machines that Site Recovery Manager protects together. Let’s take an example you have any specific set of Virtual machines i;e App VMs, DB VMs. You can group them together in Protected Group. In Array based replication, when you create Protection group, you group the virtual machines on the basis of replicated datastores. When you create protection group, you group specific datastores to that protection group. And migration all Virtual machine to those datastores which is part of Protection groups. Make sure that datastores are replicated to recovery site.

You can include one or more protection groups in a recovery plan. A recovery plan specifies how Site Recovery Manager recovers the virtual machines in the protection groups that it contains.We will see this in next article.

Let’s jump to the Step by Step guide to Create Protection Group. Here I am create only one Protection group. You can create many depending on your requirement.

  • Login to Site Recovery Manager console. vCenter Server > Home > Site Recovery
  • Click on Protected Groups.

2018-08-27 23_19_29-vSphere Web Client

  • Go to Objects tab and Click on Create Protection Group.

2018-08-28 00_17_53-vSphere Web Client

  • Give a name to Protection Group.

2018-08-28 00_18_07-vSphere Web Client

  • Select the protected site and protection group type.
  • Select Array Pair and Click on Next.

2018-08-28 00_18_11-vSphere Web Client

  • Select Datastores you want to add to this Protection Group. You can choose multiple datastores in one Protection group. Click on Next.

2018-08-28 00_18_19-vSphere Web Client

  • Review your settings and Click on Finish.

2018-08-28 00_18_22-vSphere Web Client

  • Protection Group has been created. Review it under Objects tab.

2018-08-28 00_18_29-vSphere Web Client

That’s all from this article. We are moving to next article which is to create Recovery Plan in VMware SRM. Stay Connected.

Take a look in below topics, explore and learn Site Recovery Manager: –

Learn SRM – Part 10 – Create Placeholder Datastore in VMware SRM 6.5

Welcome back to the new article on VMware SRM. This topic will cover how to Create Placeholder Datastore in VMware SRM. I am using VMware SRM 6.5.

For every virtual machine in a protection group, Site Recovery Manager creates a placeholder virtual machine at the recovery site. You must identify a datastore on the recovery site in which Site Recovery Manager can store the placeholder virtual machines.

After you select the datastore to contain the placeholder virtual machines, Site Recovery Manager reserves a place for protected virtual machines in the inventory on the recovery site. Site Recovery Manager creates a set of virtual machine files on the specified datastore at the recovery site and uses that subset to register the placeholder virtual machine with vCenter Server on the recovery site.

Step by Step: –

  • To create Placeholder Datastore at both site, you need to login to VMware SRM console.
  • Select Protected Site and go to Placeholder datastores tab.
  • Click on Box icon under placeholder datastores tab.

2018-08-27 23_16_20-vSphere Web Client

  • Go to Sites > Manage and Click on Placeholder Datastore. Click on OK. Make sure that you have already created this datastore in Protected Site’s Virtual Center.

2018-08-27 23_16_27-vSphere Web Client

  • Perform the same step for Recovery Site. Select Recovery Site under Sites.
  • Go to Placeholder datastores. Click on Box icon.

2018-08-27 23_18_29-vSphere Web Client

  • Select Placeholder datastore for Recovery Site. Make sure that you have already created this datastore in recovery Site’s Virtual Center.

2018-08-27 23_18_39-vSphere Web Client2018-08-27 23_18_39-vSphere Web Client

Placeholder datastores have been created in both site.

2018-08-27 23_18_43-vSphere Web Client

That’s all from this article. We are moving to next article which is to Configure Protected Group in VMware SRM. Stay Connected.

Take a look in below topics, explore and learn Site Recovery Manager: –

Learn SRM – Part 9 – Configure Inventory Mapping in VMware SRM 6.5

Welcome back to new topic of VMware Site Recovery Manager. In last article, we saw how to Configure Array Manager. Here we are going to configure Resource Mapping which is one of important point to know for every VMware admin who is using SRM. If you configure site-wide inventory mappings before you create protection groups, you do not have to configure protection individually on each virtual machine when you create a protection group. Site Recovery Manager applies the site-wide mappings to all virtual machines in an array-based replication protection group at the moment that you create the protection group.

During a Disaster Recovery or Test Drill, when virtual machines start on the recovery site, the virtual machines use the resources on the recovery site that you specify in the mappings.

There are numerous kind of inventory mapping such as Network Mappings, Folder Mappings, Resource Mappings, Storage Policy Mappings. Here in this article we are going to perform mapping of Network, Folder, and Resource Mapping. We are not using Storage Policy Protection in this lab so we are not going to configure that. When you use storage policy protection, Site Recovery Manager applies inventory mappings at the moment that a recovery plan runs. You cannot configure protection individually on the virtual machines in a storage policy protection group. As a consequence, you must configure site-wide inventory mappings if you use storage policy protection.

Let’s jump to the Step by Step Guide to Configure Inventory Mapping in VMware SRM 6.5: –

  • Login to SRM Console using vCenter Server.
  • Go to Sites and Click on Manage Tab.

Configure Network Mapping

  • Click on Network Mappings.

2018-08-27 23_14_21-vSphere Web Client

  • Select option “Automatically prepare mappings for networks with matching names” and Click on Next.

2018-08-27 23_14_27-vSphere Web Client

  • Map networks on the protected site to networks on the recovery site. Select Networks in Site to Site pairing and Click on Add mappings.

2018-08-27 23_14_46-vSphere Web Client

  • Select test networks to be used instead of the recovery networks while running tests. Click on Next. When you initiate a test DR, all VMs will be mapped to this test network in recovery site and create a isolated network form Production environment. Which you generally know as bubble network.

2018-08-27 23_15_00-vSphere Web Client

  • Prepare reverse mapping  from Recovery Site to Protected Site.

2018-08-27 23_15_05-vSphere Web Client

  • Network mapping has been done. You can review the same from Network Mapping option under Manage tab.

2018-08-27 23_15_10-vSphere Web Client

Folder Mapping

  • Go to SRM Console > Sites > Manage
  • Click on Folder Mappings.

2018-08-27 23_15_13-vSphere Web Client

  • Select “Automatically prepare mappings for folders with matching names.” Click on Next.

2018-08-27 23_15_19-vSphere Web Client

  • Map datacenters or virtual machine folders on the protected site to datacenters or virtual machine folders on the recovery site. Select Folders from Protected Site and recovery Site and Click on Add Mappings. You need to select both side. I missed
  • Click on Next.

2018-08-27 23_15_27-vSphere Web Client

  • Select Configured mappings and Click on Next.

2018-08-27 23_15_37-vSphere Web Client

  • Review the configuration of Folder Mappings under Sites > Manage tab.

2018-08-27 23_15_46-vSphere Web Client

Resource Mapping

  • Login to SRM Console. Go to Sites > Manage.
  • Click on Resource Mappings.

2018-08-27 23_15_59-vSphere Web Client

  • Map resource pools, standalone hosts, vApps, or clusters on the protected site to resource pools, standalone hosts, vApps, or clusters on the recovery site. You can map any type of resource on one site to any type of resource on the other site. Here I have selected Cluster Resource of Protected to recovery Site.
  • Click on Next.

2018-08-27 23_16_11-vSphere Web Client

  • Select configured mappings for which to automatically create reverse mappings from Recovery Site to Protected Site. Click on Finish.

2018-08-27 23_16_15-vSphere Web Client

That’s all from this topic. Now moving to next topic which is Create Placeholder Datastore in VMware SRM sites. Stay tuned.

Take a look in below topics, explore and learn Site Recovery Manager: –

Learn SRM – Part 8 – Configure SRM Array Manager Pairing – SRM 6.5

Hey Friends, Coming to the next point of Site Recovery Manager which is to Configure SRM Array Manager Pairing.

Please note that I am gong to use Site Recovery Manager 6.5 now as there is compatibility issue with HP VSA with SRM 8.1. HP has not released a compatible version of SRA for SRM 8.1 as on date. Hence next articles including this one will be based on SRM 6.5. I had removed SRM 8.1 and installed 6.5 in SRM server. Then installed a compatible version of SRA for HP VSA on same server. After doing this, my SRM 6.5 lab is ready. One more thing that you may face below error when doing rescan of SRA in VMware SRM console. You need to install .NET 3.5 even if you have higher version of .NET already installed.

Failed to load SRA from "C:/Program Files (x86)/VMware/VMware vCenter Site Recovery Manager/storage/sra/HP VSA SRA’. SRA command ‘queryInfo’ didn’t return a response."

Now let’s move to Step by Step guide to Configure SRM Array Manager: –

After Installing SRA(Storage Replication Adapter), verify the SRA status in VMware Site Recovery Console.

  • Launch vSphere Web Client and go to Home Page. Open Site Recovery Plugin.
  • Click on Sites and Select Primary Site’s Virtual Center.
  • Go to Monitor tab and Click on SRA’s
  • Refresh and Rescan SRA. You will able to see see below status on your SRA page. If SRA is configured and installed properly, it will show status as OK.

Please note that we are switched to SRM 6.5 now as SRA was not compatible with SRM 8.1. You can choose different vendors of storage or i;e EMC UnityVSA which has compatible SRA for SRM 8.1

2018-08-27-22_21_49-vSphere-Web-Client.jpg

  • Verify the same in Recovery Site’s vCenter Server.

2018-08-27 22_21_52-vSphere Web Client

  • Once you have validated SRA Status, now you need to Configure SRM Array Manager.
  • Launce SRM Console from vSphere Web Client.

2018-08-27 23_40_41-vSphere Web Client

  • As you have already paired both sites in last article, now you can choose first option here to Add a Pair of Array Managers. Click on Next.

2018-08-27 23_40_48-vSphere Web Client

  • Verify the information for Primary and Recovery Sites. Click on Next.

2018-08-27 23_40_50-vSphere Web Client

  • Select SRA Type and Click on Next.

2018-08-27 23_40_53-vSphere Web Client

  • Configure Array Manager for Protected Site.
    • IP Address will be of HP VSA Protected System which you configured in earlier topics.
    • Credentials will be same which you configured during the HP VSA System configuration.

2018-08-27 23_44_59-vSphere Web Client

  • Configure Array Manager for Recovery Site.
    • IP Address will be of HP VSA Recovery System which you configured in earlier topics.
    • Credentials will be same which you configured during the HP VSA System configuration.

2018-08-27 23_45_27-vSphere Web Client

  • Select array pair and enable it. If you are not able to see array pair here, make sure that you have properly configured array replication scheduling in HP VSA using CMC console. We have performed this in earlier topics. You can refer to article.

2018-08-27 23_45_49-vSphere Web Client

  • Array manager configuration is ready to complete. Review your settings and Click on Finish.

2018-08-27 23_45_52-vSphere Web Client

  • On SRM console, inside Array Based Replication under Objects tab, you will able to see both Array Manager for Protected and Recovery Sites.

2018-08-27 23_45_57-vSphere Web Client

That’s all from this topic. Moving to next article which is to Configure Resource Mapping. Stay Tuned.

Take a look in below topics, explore and learn Site Recovery Manager: –