6.1

Table Of Contents
3 Use the View drop-down menu to select the type of recovery plan run to which to add a step.
Option Description
Test Steps
Add a step to run when you test a recovery plan.
Recovery Steps
Add a step to run when you perform planned migration or disaster
recovery
You cannot add steps in the cleanup or reprotect operations.
4 To add a step before a step, right click the step and select Add Step Before. To add a step after the last
step, right click the last step and select Add Step After.
5 Select Command on SRM Server or Prompt.
6 In the Name text box, enter a name for the step.
The step name appears in the list of steps in the Recovery Steps view.
7 In the Content text box, enter a command, script, or message prompt.
n
If you selected Command on SRM Server, enter the command or script to run.
n
If you selected Prompt, enter the text of the message to display during the recovery plan run.
8 (Optional) Modify the Timeout setting for the command to run on Site Recovery Manager Server.
This option is not available if you create a prompt step.
9 Click OK to add the step to the recovery plan.
What to do next
You can right click the newly created step and select options to edit, delete or add steps before and after it.
Create Message Prompts or Command Steps for Individual Virtual Machines
You can create custom recovery steps to prompt users to perform tasks or for Site Recovery Manager to
perform tasks on a virtual machine before or after Site Recovery Manager powers it on.
Site Recovery Manager associates command steps with a protected or recovered virtual machine in the same
way as customization information. If multiple recovery plans contain the same virtual machine,
Site Recovery Manager includes the commands and prompts in all of the recovery plans .
Prerequisites
n
You have a recovery plan to which to add custom steps.
n
For information about writing the commands to add to command steps, see “Guidelines for Writing
Command Steps,” on page 86 and “Environment Variables for Command Steps,” on page 86.
Procedure
1 In the vSphere Web Client, select Site Recovery > Recovery Plans, and select a recovery plan.
2 On the Related Objects tab, click Virtual Machines.
3 Right-click a virtual machine and click Configure Recovery.
4 On the Recovery Properties tab, click Pre-Power On Steps or Post-Power On Steps.
5 Click the plus icon to add a step.
Chapter 7 Configuring a Recovery Plan
VMware, Inc. 85