Adding a Pre Script

Updated

On this page

Add a pre script to a machine in a failover group to execute an action on the source VM before a failover operation.

Procedure

  1. When adding a failover group, on the Add failover group page, under Machines, in the Actions column, click the action button, and then select Add pre script.

    For an existing failover group, under Machines, in the Actions column, click the action button, and then select Edit prescript.

    The Pre script options dialog box appears.

  2. Enter the following information:

    • UNC network path: Enter the full UNC network path for the pre script, including the name of the script.

    • Username: Enter the user name for a user account that has permissions to access the network path for the script.

    • Password: Enter the password for the user account.

    • Confirm password: Re-enter the password.

    • VM guest options: Provide guest VM credentials:

      • Username: Enter the user name for a user account that has permissions to run scripts on the guest VM.

      • Password: Enter the password for the user account.

      • Confirm password: Re-enter the password.

  3. Click Save.