When recovering a virtual machine, Site Recovery Manager runs predefined steps in a specific order.

You can use the Set VM Recovery Settings workflow to configure and customize how the virtual machine is recovered. You can add custom steps by using the Command or Prompt inputs available in the workflow.

You can also customize the IP settings of individual virtual machines. Customizing the IP properties of a virtual machine overrides the default IP settings when the recovered virtual machine starts at the recovery site.

Procedure

  1. Log in to the vRealize Orchestrator Client as an administrator.
  2. Navigate to Library > Workflows.
  3. In the search box, enter Set VM Recovery Settings and press Enter.
  4. Click the workflow and click Run.
  5. Enter the input parameters that the workflow requires, and click Run.
    Table 1. Set VM Recovery Settings Workflow Inputs
    Input Description
    Choose objects Recovery Plan Local site recovery plan.
    VM Virtual machine to be configured.
    VM final power state Power The power state in which the virtual machine is recovered, for example powered-on, suspended, or powered-off.
    VM recovery priority group Priority Group Specifies the shut-down and power-on order of virtual machines from the highest priority, which is 1, to the lowest priority, which is 5.
    Pre Power On Command Command Name Specifies the command name.
    Command Text Specifies the command or script to run.
    Command Timeout Sets timeout after execution.
    Pre Power On Prompt Prompt Name Specifies the prompt name.
    Prompt Text Prompts user to perform a task or provides information that the user must acknowledge.
    Post Power On Command Command Name Specifies the command name.
    Command Text Specifies the command or script to run.
    Command Timeout Sets timeout after execution.
    Command Run in Recovered VM Specifies the command name, which was run in the recovered virtual machine.
    Post Power On Prompt Prompt Name Specifies the prompt name.
    Prompt Text Prompts user to perform a task or provides information that the user must acknowledge.
    Mode Select an IP customization mode Auto Allows Site Recovery Manager to control the IP customization through the advanced recovery setting recovery.useIpMapperAutomatically. If its value is set to True and if you defined IP mapping rules earlier, Site Recovery Manager applies the rules during recovery. If the value is set to False, Site Recovery Manager does not apply any IP mapping rules to the virtual machine during recovery, even if such rules exist.
    Use IP customization rules if applicable Uses IP customization rules that you defined earlier.
    No IP customization Does not apply the IP customization to the virtual machine.
    Manual IP customization Customize manually the IP settings that Site Recovery Manager pushes to the VM during recovery.
    1. Select the NIC whose IP settings you want to modify.
    2. Configure IPv4, IPv6, DNS settings, and primary and secondary WINS addresses.