Each recovery plan that contains virtual machines managed by vRealize Automation requires a step at the beginning and end of the plan that invoke CloudClient scripts.

Prerequisites

Procedure

  1. Navigate to the Recovery Plan in Site Recovery Manager.
  2. Select the first step in the plan and click Add Step Before.
    1. Select Command on SRM Server from the Type drop-down menu.
    2. In the Name text box, enter CloudClient_Prefail-over_Callout.
    3. In the Content text box, enter c:\Windows\System32\cmd.exe /c c:\srm\Scripts\pre_failover.bat.
    4. In Timeout, enter 20 minutes.



  3. Select Prompt to verify that vRealize Automation is fully operational before you execute post-failover step.



  4. Select the last step in the Recovery Plan and click Add Step After.
    1. Select Command on SRM Server for Type.
    2. In the Name text box, enter CloudClient_Postfail-over_Callout.
    3. In the Content text box, enter c:\Windows\System32\cmd.exe /c c:\srm\Scripts\post_failover.bat.
    4. In Timeout, select 60 minutes.



  5. Repeat steps 1 through 4 for all recovery plans that have protected virtual machines that are managed by vRealize Automation.