You can apply an IP customization rule to the recovery settings of a protected virtual machine.

When you apply an IP customization rule, you specify a single subnet IP mapping rule for each network mapping.

If you set the advanced setting option recovery.useIpMapperAutomatically to True and configure the IP mapping rule for virtual networks, then Site Recovery Manager evaluates the subnet IP mapping rules during the recovery to customize the virtual machines. If you set this option to False, Site Recovery Manager does not evaluate the IP mapping rules during a recovery. You can override the effect of this option for each virtual machine by using the IP Customization option.

The recovery.useIpMapperAutomatically default option is True. If you set it to Auto, Site Recovery Manager customizes the virtual machine by using the IP Customization rule.

Prerequisites

For the list of guest operating systems for which Site Recovery Manager supports an IP customization, see the Compatibility Matrices for Site Recovery Manager 8.4 at https://docs.vmware.com/en/Site-Recovery-Manager/8.4/rn/srm-compat-matrix-8-4.html.

Procedure

  1. In the vSphere Client or the vSphere Web Client, click Site Recovery > Open Site Recovery.
  2. On the Site Recovery home tab, select a site pair, and click View Details.
  3. Select the Recovery Plans tab, click a recovery plan, and select Virtual Machines.
  4. Right-click a virtual machine and click Configure Recovery.
  5. From the IP Customization mode list, select Use IP customization rules if applicable and click OK.
    Option Description
    Auto Depends on the advanced setting for recovery.useIpMapperAutomatically.

    If you have configured IP mapping rules for virtual networks and recovery.useIpMapperAutomatically is set to True, Site Recovery Manager evaluates the subnet IP mapping rules during a recovery to customize the virtual machines.

    If recovery.useIpMapperAutomatically is set to False, Site Recovery Manager does not evaluate the IP mapping rules during recovery.

    Use IP customization rules if applicable Overrides the effect of the Auto option. If you have configured IP mapping rules for virtual networks, during recovery Site Recovery Manager customizes the virtual machines .
    Manual IP customization Overrides the effect of the Auto option. You must set up manually the new recovery IP per virtual machine.
    No IP customization Overrides the effect of the Auto option. No changes in the recovery virtual machine IP.