In my Home Lab SRM Part 1 post I set up the lab environment to appear as two separate “sites” with all the components necessary for SRM with Array replication. Now to configure SRM to protect VMs at both of my sites. I am using the VMware vCenter Site Recovery Manager Evaluation Guide as a reference to configure SRM.
Once the connection between the two sites has been set up you have to configure Resource Mappings, Folder Mappings, Network Mappings, and Placeholder Datastores for both sites. Theses mappings just tell SRM what resource pools to place VMs in and where to connect their NICs if they are failed to the remote site.
I am mapping my host resource from my “site 1” to a resource pool on “site 2” called SRM-SITE1 and the host resource from “site 2” to a resource pool on “site 1” called SRM-SITE2. These mappings need to be done for both sites.
A placeholder datastore also needs to be configured for each site. The datastore contains configuration information, a placeholder .vmx file, for the protected VMs at the recovery site. Since each site in my lab environment consist of just a single ESXi host I am using the local datastore of each host as the placeholder datastore.
Now we need to install the Storage Replication Adapter (SRA) on both SRM servers. This allows the SRM server to integrate with the storage arrays. The SRA can be downloaded from VMware or from the Array manufacturer. I downloaded the HP SRA for the LeftHand VSA from VMware. The version available on the VMware site was actually newer than the version I could find on HP’s site :/
Now the Array Manager for each array needs to be configured. An array manager needs to be setup for both the local and remote array. Make sure each SRM server has network connectivity to the management interface of the local and remote array.
After the Array Managers are configured the array pairs need to be enabled. Once an array pair is enabled it is enabled for both the local and remote array. I created folders for each site just for organization.
With the site connection and array integration configured a Protection Group needs to be created. This groups datastores and VMs at one site to be protected. Simply select the site and datastores where VMs that will be protected reside. All VMs that reside on the datastore selected will be part of the Protection Group.