Site icon Default Reasoning

Back to Basics – SRM – Part 4: Inventory Mappings

In the previous part, we had a look at the virtual machine replication options that are available in the vSphere Replication from the vSphere Web Client. This part of the SRM mini-series will go deeper on the inventory mappings that can be configured in SRM. So basically, 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:

Let’s start off with the network mappings configuration.

Network Mappings

As the name suggests, the network mappings map the networks on the protected site to networks on the recovery site.

  1. On the Protected Site, open the vSphere Web Client and log in with the administrator account.
  2. On the left pane, under Home and go to Site Recovery.
  3. Next, select Sites to open the sites configures in the previous part.
  4. Select the Protected Site and provide the administrator login credentials for the Recovery Site.
  5. Select the Manage tab and click on the New Network Mapping.
  6. In the Create Network Mapping window, select the source network (Protected Site) on the left pane, and the destination network (Recovery Site) on the right pane. Click Add mappings and select the Create Reverse Mapping check box to create a network mapping from the Recovery Site back to the Protected Site. This step is not mandatory but it will allow you to quickly reprotect the virtual machines when you want to revert to the protected site. Click OK.

At this point the created network mapping should be visible in the table. You can now add an IP customization rule if necessary. At this time this is beyond the scope of this post. I will create a dedicated blog about this topic in the near future.

Folder Mappings

The folder mappings map datacenters or virtual machine folders on the protected site to datacenters or virtual machine folders on the recovery site.

  1. With the vSphere Web Client still open. Select the Folder Mappings.
  2. Click the New Folder Mapping button to add a new one.
  3. Just like in the network mappings window, map the appropriate folder on the Protected Site to the appropriate folder on the Recovery Site. Create a reverse mapping and click OK.

The new folder mapping should now be added to the table.

Resource Mappings

The resource mappings map resource pools, hosts, vApps, or clusters on the protected site to resource pools, hosts, vApps, or clusters on the recovery site.

  1. With the vSphere Web Client still open. Select the Resource Mappings.
  2. Click the New Resource Mapping button to add a new one.
  3. Again, map the resources at the Protected Site to the resources at the Recovery Site. Add the mapping and create a reverse mapping. Click OK to add the new resource mappings.

The new resource mapping should now be added to the table.

Placeholder Datastore

The last and final step in the inventory mappings part, is mapping a placeholder datastore. This is a special datastore that needs some additional explanation.

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.

To enable planned migration and reprotect, you must select placeholder datastores at both sites.

Placeholder datastores must also meet certain criteria.

Source: Site Recovery Manager 5.8 Installation and Configuration guide.

  1. With the vSphere Web Client still open. Select the Placeholder Datastore.
  2. Click the Configure Placeholder Datastore button to add a new one.
  3. Select the dedicated placeholder datastore and click OK.

Repeat the steps above at the Recovery Site.

If configured correctly, you should also see the mappings created at the Recovery Site.

This concludes the configuration of inventory mappings part of the SRM implementation. In the next part, we will take a closer look at the Protection Groups that can be configured using the vSphere Web Client.

Cheers!

– Marek.Z

Exit mobile version