You can add top-level recovery steps anywhere in the recovery plan. Top-level command steps are commands or scripts that you run on Site Recovery Manager Server during a recovery. You can also add steps that display message prompts that a user must acknowledge during a recovery.

You have a recovery plan to which to add custom steps.

For information about writing the commands to add to command steps, see Guidelines for Writing Command Steps and Environment Variables for Command Steps.

1

In the vSphere Web Client, select Site Recovery > Recovery Plans, and select a recovery plan.

2

On the Monitor tab, click Recovery Steps.

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

Select where to add the step.

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.

If you selected Command on SRM Server, enter the command or script to run.

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.

You can right click the newly created step and select options to edit, delete or add steps before and after it.