Customizing Recovery Group Operations

You can automate actions to execute during and after recovery. For example, you can choose whether the recovery operation should continue to next entity if the previous entity cannot be processed successfully.

Go to the Configuration Tab of the Recovery Group

  1. From the navigation pane, go to Cleanroom > Recovery groups.

    The Recovery groups page appears.

  2. Click the recovery group.

    The recovery group page appears.

  3. Click the Configuration tab.

Add Post Recovery Action Settings

  1. On the Configuration tab, in the Recovery scripts section, click Add.

    The Configure post-recovery action dialog box appears.

    Note

    The following recovery scripts are accepted as input:

    • Windows: PowerShell

    • Linux: Linux shell

    For more information, see Post-Action Recovery Scripts

  2. To specify the script for Unix and Windows, choose one the following options:

    • Upload the recovery script:

      • For Select script type, select Upload file, click the Upload button upload_button_recovery_script, and then select the script.
    • Specify the recovery script using the UNC path:

      1. For Select script type, select UNC.

      2. In the Path box, enter the UNC path for Windows or Unix.

        Examples:

        Windows: Enter the UNC path as WindowsPathwin.ps1.

        UNIX: Enter the UNC path as \\Pathtofile\file.sh

      3. If you have not previously saved any credentials, in the Username box, enter the user name for a user account that has permissions to access the network path on the recovery target, and in the Password box, enter the password for the user account.

      4. If you have previously saved credentials for the UNC network, from the Credential list, select the credential.

        Note

        To create a new credential, beside Credential, click the Create new button +.

  3. In the Script display name box, enter a name for recovery script.

  4. Click Save.

  5. To change the execution order of scripts when there are multiple scripts, in the Recovery scripts section, click Reorder. The Reorder dialog box appears.

  6. Drag and drop the scripts to rearrange the order, and then click Save.

Set Delay Between Priorities

  1. In the Customization options section, beside Delay between priorities (in mins), click the Edit button action_button.

  2. In the box, enter a value in minutes to specify how long the recovery operation should wait between processing VMs that are assigned different priorities.

    This setting can be used to enable higher priority machines to start before processing the next set of machines.

  3. Click Submit.

Enable Recovery Operation to Continue Upon Failure

When a VM cannot be included in the recovery operation, you can continue to next priority upon failure.

  • In the Customization options section, move the Continue to next priority on failure toggle key to the right.

    If you do not enable this option, the recovery operation stops when a VM cannot be processed successfully.

Loading...