Adding a Pre Script

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

Pre scripts run only before planned failovers. Pre scripts do not run before unplanned failovers. Pre scripts do not run on UNIX access nodes.

Procedure

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

    For an existing failover group, under Machines, in the Actions column, click the action action_button 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.

The following hypervisors support pre script execution:

  • VMware

  • Azure

Loading...