5.0

Table Of Contents
During the reprotect for a recovery plan, all custom recovery steps are preserved in the recovery plan. However,
if a recovery or test is done for the recovery plan after a reprotect, these custom recovery steps are executed
on the new recovery site (the original protected site). Typically, you can use prompt custom recovery steps
directly without any modifications. However, you might need to modify command custom recovery steps
after the reprotect, if these commands contain site-specific information, such as network configuration.
Recovery Step Outcomes
SRM attempts to complete all custom recovery steps, but some might fail to complete. The response to failures
to complete a recovery step varies based on the recovery step type.
n
Command custom recovery steps. By default, SRM waits for these commands to complete for five
minutes,. You can customize each command timeout. After a command is completed, the next recovery
step in the recovery plan is executed. However, failures of custom commands have two different behaviors
on the flow of the recovery plan.
n
Top-Level commands. If a recovery step fails, the failure is logged, a warning is shown in the recovery
plan, and subsequent custom recovery steps continue to be executed.
n
Per-VM commands. Per-VM custom recovery steps are executed in sets either before or after a virtual
machine is powered on. If a command fails, the remaining Per-VM custom recovery steps in the set
are not executed. For example, if there are five pre-power commands on and five post-power on
commands, and the third command in the pre-power on set fails, the remaining two pre-power on
commands are skipped and SRM does not power on the virtual machine nor run any post-power on
commands.
n
Prompt custom recovery steps. Prompt custom recovery steps cannot fail. However, the execution of the
recovery plan is paused until the user dismisses the prompt.
Configure Top-Level Commands and Prompts
You can add top-level commands and prompts anywhere in the recovery plan.
Procedure
1 Click Recovery Plans in the left pane, and select a recovery plan.
2 Click the Recovery Steps tab.
3 Select one of the steps and click the Add Step icon, the Edit Step icon, or the Remove Step icon.
Some icons might be grayed-out, depending on where you clicked in the recovery steps.
4 If you clicked Add or Edit, configure the step.
a Select the type of Step to be completed. Choose from a step on the SRM server or a prompt.
b In the Name field, type a name for the step.
c In the Content field, enter the commands to be completed.
d For steps that are not prompts, you can modify the Timeout information.
5 For new steps, choose whether the step is placed before or after the selected step.
Configure Per-Virtual Machine Commands and Prompts
You can configure custom recovery steps for pre-power on and post-power on for a virtual machine. These
steps are associated with the protected virtual machine in the same way that customization information is. If
the same virtual machine is shared between plans, the commands and prompts are the same.
Procedure
1 Click Recovery Plans in the left pane, and select a recovery plan.
2 Click the Virtual Machines tab.
Chapter 8 Customizing Site Recovery Manager
VMware, Inc. 79