About 2,320,000 results
Open links in new tab
  1. Perform a planned manual failover of an availability group - SQL Server ...

    Sep 4, 2024 · This topic describes how to perform a manual failover without data loss (a planned manual failover) on an Always On availability group by using SQL Server Management Studio, …

  2. sql server - Availability Group how to determine last Failover time ...

    Mar 13, 2016 · You can use following PowerShell script to get last failover time. Get-winEvent -ComputerName ListnerName -filterHashTable @{logname ='Microsoft-Windows …

  3. Manual SQL Server Availability Group Failover

    Feb 18, 2015 · There may come a time when you need to do a manual failover of your SQL Server AlwaysOn Availability Groups. Sometimes the replicas are not synchronized and you …

  4. Powershell Commands for SQL Server Always On Availability Groups

    Mar 31, 2021 · As a part of a series of tutorials, called PowerShell tools for the DBA, I’m presenting a PowerShell tool that can help any SQL Server DBA to perform very important …

  5. Automate Failover of SQL Server Always On Availability Groups …

    The script utilizes a couple of different parameters to: Fail all AGs over to the primary nodes (designated as A). Fail all AGs over to the secondary nodes (designated as B).

  6. Monitor and failover a Distributed SQL Server Always On ... - SQL

    Aug 26, 2020 · In this article, we will explore the T-SQL scripts to monitor the distributed availability group and failover process.

  7. Automate Failback for SQL AlwaysOn Availability Group

    Oct 16, 2021 · In this article, I will share with you how to automate and failback to the preferred (desired) node if both replicas are synchronized and in a healthy state. This scenario is useful …

  8. Always On Availability Group Inventory and Monitoring Scripts – Part 1

    Nov 15, 2018 · I will be presenting 2 T-SQL scripts that can help you keep track of SQL Server AlwaysOn Availability Groups and they can even be automated to save you time. One script …

  9. Manually force a failover of an availability group - SQL Server Always ...

    This topic describes how to perform a forced failover of an Always On availability group (with possible data loss) by using either Transact-SQL (T-SQL), PowerShell, or SQL Server …

  10. sql server - Find out when the last failover occurred in AlwaysOn ...

    In SSMS -->Management-->Extended Events-->Sessions-->AlwaysOn_health--> click event file. I checked recently role changed time for 'availablity_replica_state_change'. timestamp in (1) …

Refresh