You are implementing Azure Site Recovery for an SAP NetWeaver deployment on Azure virtual machines.
- The SAP Web Dispatcher, application server and Central Services virtual machines are replicated to a secondary region by Site Recovery.
- The SQL Server database tier uses an Always On availability group that has a secondary replica in the secondary region.
- You created a recovery plan in which all the replicated SAP virtual machines are in Group 1.
- The ASR-SQL-FailoverAG and ASR-AddSingleLoadBalancer sample scripts are already imported into your Azure Automation account.
Requirements for a failover:
- The availability group replica in the secondary region must become primary before the SAP virtual machines in Group 1 fail over.
- After failover, the Web Dispatcher virtual machines in the secondary region must be attached to a load balancer.
How should you configure the scripts in the recovery plan?
Choose one answer.
- Add ASR-AddSingleLoadBalancer as a pre-action and ASR-SQL-FailoverAG as a post-action of Group 1.
- Add ASR-SQL-FailoverAG as a post-action and ASR-AddSingleLoadBalancer as a post-action of Group 1.
- Add ASR-SQL-FailoverAG as a pre-action and ASR-AddSingleLoadBalancer as a pre-action of Group 1.
- Add ASR-SQL-FailoverAG as a pre-action and ASR-AddSingleLoadBalancer as a post-action of Group 1.