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.

Prerequisites

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

Procedure

  1. In the vSphere Client or the vSphere Web Client, click Site Recovery > Open Site Recovery.
  2. On the Site Recovery home tab, select a site pair, and click View Details.
  3. On the Recovery Plans tab, select a recovery plan, and click Recovery Steps.
  4. Use the View drop-down menu to select the type of step that you want to add.
    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.
  5. 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.
  6. Select Command on SRM Server or Prompt.
  7. 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.
  8. 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.
  9. (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.
  10. Click Add 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.