|
| 1 | +--- |
| 2 | +title: Always On availability groups inventory and status |
| 3 | +description: Describes how to view Always On availability groups and their status in Azure portal |
| 4 | +author: dnethi |
| 5 | +ms.author: dinethi |
| 6 | +ms.reviewer: mikeray, randolphwest |
| 7 | +ms.date: 10/20/2023 |
| 8 | +ms.topic: conceptual |
| 9 | +--- |
| 10 | + |
| 11 | +# Always On availability groups inventory and status |
| 12 | + |
| 13 | +An Always On availability group is an enterprise level high availability and disaster recovery solution for SQL Server. This article describes how to view a list of availability groups and their real time health status for a given Azure Arc-enabled SQL Server, in Azure portal. |
| 14 | + |
| 15 | +## View list of availability groups and Status |
| 16 | + |
| 17 | +Follow the steps to view the availability groups that are configured for the Azure Arc-enabled SQL Server: |
| 18 | + |
| 19 | +1. Browse to the overview page of the Arc-enabled SQL Server in your Azure portal |
| 20 | +1. Select **Availability Groups** |
| 21 | + |
| 22 | + Azure portal will display the availability groups configured for the SQL Server instance on the right |
| 23 | + |
| 24 | +1. Select the availability group that you want to review |
| 25 | + |
| 26 | +Azure portal displays the health and status of the availability group similar to the availability group dashboard shown in SQL Server Management Studio, is displayed. This includes: |
| 27 | + |
| 28 | +- The current primary replica |
| 29 | +- Availability group state |
| 30 | +- Availability group replicas |
| 31 | +- Failover mode |
| 32 | +- Synchronization state |
| 33 | + |
| 34 | +When the availability group (AG) dashboard loads, fetching the dashboard details is done via a roundtrip down to the Azure Arc-enabled SQL Server instance. The Arc SQL extension agent connects to the SQL Server, queries the AG related DMV (Dynamic Management Views) metadata, and sends the information back to the Azure portal where it is displayed. |
| 35 | + |
| 36 | +## Failover |
| 37 | + |
| 38 | +Always On availability groups support different failover modes depending on the data synchronization mode. |
| 39 | + |
| 40 | +- Synchronous-commit mode supports two forms of failover |
| 41 | + - Planned manual failover |
| 42 | + - Automatic failover |
| 43 | +- Asynchronous-commit mode supports forced manual failover (with possible data loss), typically called, forced failover |
| 44 | + |
| 45 | +Azure Arc-Arc enabled SQL Server supports planned manual failover. |
| 46 | + |
| 47 | +Follow the steps below to initiate a planned manual failover: |
| 48 | + |
| 49 | +1. Browse to the overview page of the Arc enabled SQL Server in your Azure portal |
| 50 | +1. Select **Availability Groups** |
| 51 | + |
| 52 | + Azure portal will display the availability groups configured for the SQL Server instance on the right |
| 53 | + |
| 54 | +1. Select the availability group that you want to fail over |
| 55 | +1. Select **Failover** |
| 56 | + |
| 57 | +This will initiate a planned, manual failover on the AG replica. |
| 58 | + |
| 59 | +### Considerations |
| 60 | + |
| 61 | +- Currently, manual planned failover is the only mode of failover supported |
| 62 | + |
| 63 | +## Related content |
| 64 | + |
| 65 | +- [What is an Always On availability group?](../../database-engine/availability-groups/windows/overview-of-always-on-availability-groups-sql-server.md) |
| 66 | +- [View SQL Server databases - Azure Arc](view-databases.md) |
| 67 | +- [Recovery Models (SQL Server)](../../relational-databases/backup-restore/recovery-models-sql-server.md) |
0 commit comments