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 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

*