You can adjust default values for timeouts that occur when you test or run a recovery plan. You might adjust default values if tasks fail to finish because of timeouts.

About this task

Several types of timeouts can occur when recovery plan steps run. These timeouts cause the plan to pause for a specified interval to give the step time to finish.

Site Recovery Manager applies some advanced settings to a virtual machine at the moment that you configure protection on that virtual machine:

  • recovery.defaultPriority

  • recovery.powerOnTimeout

  • recovery.powerOnDelay

  • recovery.customizationShutdownTimeout

  • recovery.customizationTimeout

  • recovery.skipGuestShutdown

  • recovery.powerOffTimeout

Site Recovery Manager keeps a copy of virtual machine recovery settings on each Site Recovery Manager site. If recovery advanced settings are different on the protection and recovery sites,Site Recovery Manager initializes recovery settings for a virtual machine to different values at each site. Then when Site Recovery Manager recovers the virtual machine from site A to site B, it applies the local recovery settings for site B. When recovering from site B to site A Site Recovery Manager applies the local recovery settings for site A. This condition exists until you explicitly edit and save individual virtual machine recovery settings from the recovery plan Virtual Machines tab. Recovery settings for the affected virtual machine synchronize and become identical on both Site Recovery Manager sites.

Procedure

  1. In the vSphere Web Client, click Site Recovery > Sites, and select a site.
  2. On the Manage tab, click Advanced Settings.
  3. Click Recovery.
  4. Click Edit to modify the recovery site settings.

    Option

    Action

    Change the virtual machine power off timeout in IP customization. The default value is 300 seconds.

    Enter a new value in the recovery.customizationShutdownTimeout text box. This value is the minimal virtual machine power off timeout in seconds used in IP customization workflow only. If you specify power off timeout in virtual machine recovery settings, the greater value of the two takes precedence.

    Change the IP customization timeout. The default value is 600 seconds.

    Enter a new value in the recovery.customizationTimeout text box. This value is the timeout used in preparation of IP customization scripts on the Site Recovery Manager Server. You rarely need to change this value.

    Change the default priority for recovering a virtual machine. The default value is 3.

    Enter a new value in the recovery.defaultPriority text box.

    Enable or disable forced recovery. The default value is false.

    Select or deselect the recovery.forceRecovery check box. Activate forced recovery in cases where a lack of connectivity to the protected site severely affects RTO. This setting only removes the restriction to select forced recovery when running a recovery plan. To actually enable forced recovery, select it when you run a plan.

    Change the timeout for hosts in a cluster to power on. The default value is 1200 seconds.

    Enter a new value in the recovery.hostPowerOnTimeout text box.

    Change the timeout for the guest OS to power off. The default value is 300 seconds.

    Enter a new value in the recovery.powerOffTimeout text box. The new time-out value applies to power-off tasks for virtual machines at the protected site.

    Note:

    The virtual machine powers off when the timeout expires. If the OS of the virtual machine has not completed its shutdown tasks when the timeout expires, data loss might result. For a large virtual machine that requires a longer time to shut down gracefully, set the power-off timeout individually for that virtual machine. For information about how to set the power-off timeout for an individual virtual machine, see Configure Virtual Machine Startup and Shutdown Options.

    Change the delay after powering on a virtual machine before starting dependent tasks. The default value is 0.

    Enter a new value in the recovery.powerOnDelay text box. The new value applies to power-on tasks for virtual machines at the recovery site.

    Change the timeout to wait for VMware Tools when powering on virtual machines. The default value is 300 seconds.

    Enter a new value in the recovery.powerOnTimeout text box. The new power-on value applies to power-on tasks for virtual machines at the recovery site. If protected virtual machines do not have VMware Tools installed, set this value to 0.

    Enable or disable skipping the shutdown of the guest OS. The default value is false.

    Select or deselect the recovery.skipGuestShutdown check box. When you select the option, recovery.powerOffTimeout has no effect. If VMware Tools are not installed in the VM, enable the option to automatically disable recovery.powerOffTimeout and shut down the SRM bypass guest and directly power off VMs without a shutdown timeout.

    Enable or disable automatic VM IP customization during recovery. The default value is true.

    Select or deselect the recovery.useIpMapperAutomatically check box. If you select the option and IP mapping rules are configured for virtual networks, then Site Recovery Manager evaluates these rules during recovery to customize the VMs. If you deselect the option, the IP mapping rules are not evaluated during recovery. You can override the option for each VM in VM Recovery Settings IP Customization mode.

  5. Click OK to save your changes.

Results

If you change any of these advanced settings after you have configured the protection of a virtual machine, the new settings do not apply to that virtual machine. Modifications to these advanced settings apply only to virtual machines that you protect after you changed the settings. This is by design because if Site Recovery Manager were to apply changed advanced settings to virtual machines on which you have already configured protection, this could lead to unwanted changes in the protection of those virtual machines.

What to do next

To apply the changes that you make in these advanced settings to virtual machines that you have previously protected, you must reconfigure those virtual machines individually. For example, if you reconfigure the defaultPriority setting, you can manually reconfigure the priority of a previously protected virtual machine to match the new defaultPriority setting.

  1. In the vSphere Web Client, click Site Recovery > Protection Groups, and select the protection group to which the virtual machine belongs.

  2. On the Related Objects tab, click Virtual Machines.

  3. Select the virtual machine and click Remove Protection.

    The virtual machine status changes to Not Configured.

  4. Click Configure All to reconfigure all virtual machines in the protection group, or select a virtual machine and click Configure Protection to reconfigure only that virtual machine.

    Site Recovery Manager applies the newer advanced settings to the virtual machine.