Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的一个环境中,自动故障转移不起作用。我需要检查什么,请帮我解决这个问题?
https://support.microsoft.com/en-us/help/2833707/troubleshooting-automatic-failover-problems-in-sql-server-2012-alwayson-environments
自动故障转移不成功时的症状 如果自动故障转移事件不成功,则辅助副本不会成功转换为主角色。因此,可用性副本将报告此副本处于 Resolving 状态。此外,可用性数据库报告它们处于未同步状态,应用程序无法访问这些数据库。 例如,在下图中,SQL Server Management Studio 报告辅助副本处于 Resolving 状态,因为自动故障转移过程无法将辅助副本转换为主要角色:
自动故障转移不成功时的症状
如果自动故障转移事件不成功,则辅助副本不会成功转换为主角色。因此,可用性副本将报告此副本处于 Resolving 状态。此外,可用性数据库报告它们处于未同步状态,应用程序无法访问这些数据库。
例如,在下图中,SQL Server Management Studio 报告辅助副本处于 Resolving 状态,因为自动故障转移过程无法将辅助副本转换为主要角色: