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:
- VM folders
Inventory mapping are not mandatory but highly recommend. Let Start and configure the resource mapping, folder mapping, network mapping and a placeholder datastore.
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
This is example of vAPP if you want vAPP as Resource Mappings
(Select vAPP as Resource)
(Select Cluster as Resource)
4). The selected resource should now appear as mapped in the Recovery Site Resource column on the Resource Mappings tab.
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:-
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.
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:
1). With the Protected Site still selected, go to the Placeholder Datastores tab and click on Configure Placeholder Datastore.
The inventory mappings are now configured and ready to use. Continue to SRM-Part 6 where we will configure vSphere Replication for our VMs.
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 🙂