You can configure custom recovery steps to perform tasks for a virtual machine before and after Site Recovery Manager powers them on.

About this task

Site Recovery Manager associates command steps with a protected or recovered virtual machine in the same way as customization information. If different recovery plans contain the same virtual machine, the commands and prompts are the same.

Prerequisites

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

Procedure

  1. Click Recovery Plans in the Site Recovery Manager interface, and select a recovery plan.
  2. Click the Virtual Machines tab.
  3. Right-click a virtual machine and click Configure.
  4. Select Pre-Power On Steps or Post Power On Steps in the left pane, and click Add.
  5. Select Command on SRM Server or Command on Recovered VM.
  6. In the Name text box, type a name for the step.
  7. In the Content text box, type the commands for the step to run.
  8. (Optional) : Modify the Timeout setting.
  9. Click OK to add the step to the recovery plan.
  10. Click OK to reconfigure the virtual machine to run the command before or after it powers on.