If the SP wants to execute custom scripts before and/or after the tenant's cloud failover plan, the SP must create those scripts in advance and select them in the cloud failover plan settings before the tenant runs the cloud failover plan. For example, the SP may want to send an email to backup administrators before the failover plan is started and/or after the failover operation completes. Veeam Backup & Replication supports script files in BAT and CMD formats and executable files in the EXE format.
The process of specifying script settings is the same for regular cloud failover plans and cloud failover plans for VMs that have replicas in vCloud Director.
In the cloud failover plan settings, the SP can only specify pre-failover and post-failover scripts. The SP cannot change other failover plan settings specified by the tenant.
To edit cloud failover plan settings:
- Launch the Edit Cloud Failover Plan wizard:
- Open the Cloud Connect view and click Replicas > Failover Plans in the inventory pane.
- In the working area, click the necessary cloud failover plan and click Edit on the ribbon or right-click the necessary cloud failover plan and select Edit.
- At the Failover Plan step of the wizard, select the Pre-failover script and Post-failover script check boxes and click Browse to choose executable file(s).
- At the Virtual Machines step of the wizard, enumerate virtual machines that the tenant added to the cloud failover plan.
- At the Summary step of the wizard, review the information about the edited hardware plan and click Finish to exit the wizard.