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:
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.
- In the vSphere Web Client, click , and select a site.
- On the Manage tab, click Advanced Settings.
- Click Recovery.
- Click Edit to modify the recovery site settings.
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 default timeout value to wait for guest shutdown to complete before powering off VMs. The default value is 300 seconds.
Enter a new value in the recovery.powerOffTimeout text box. This value defines the guest operating system timeout before power-off is attempted as a last resort to shutting down the virtual machines.Note:
The virtual machines power 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 guest OS power-off timeout individually for that virtual machine as described in 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 to skip waiting for VMware Tools when powering on those VMs and avoid a timeout error in SRM.
Enable or disable skipping the shutdown of the guest OS. The default value is false.
Select or deselect the recovery.skipGuestShutdown check box.
If skipGuestShutdown=true, Site Recovery Manager does not attempt guest OS shutdown on protection site VMs, but directly powers them off instead. In this case, the value set for recovery.powerOffTimeout has no effect together with this setting. If VMware Tools are not installed in the virtual machine, enable this setting to avoid a guest OS shutdown error in Site Recovery Manager.
You can also enable the option to directly power off virtual machines without a shutdown timeout, bypassing the guest OS. See Configure Virtual Machine Startup and Shutdown Options.
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.
- Click OK to save your changes.
What to do next
To apply the changes to virtual machines that you have previously protected, you must reconfigure those virtual machines. 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. You can apply changes from either Recovery Plans or from Protection Groups.