Hi All,
I found lots of information re AlwaysOn Availability group in errorlog, so complain from end user yet, although those are information only, but I don't see why the database is trying to change roles so often?
2015-11-15 03:10:59.70 spid182s The availability group database "DatabaseA_SD019" is changing roles from "SECONDARY" to "SECONDARY" because the mirroring session or availability group failed over due to role synchronization. This is an informational message only. No user action is required.
2015-11-15 03:10:59.70 spid171s State information for database 'DatabaseA_SD002' - Hardended Lsn: '(0:0:0)' Commit LSN: '(0:0:0)' Commit Time: 'Jan 1 1900 12:00AM'
2015-11-15 09:09:00.56 spid218s The availability group database "DatabaseA " is changing roles from "SECONDARY" to "RESOLVING" because the mirroring session or availability group failed over due to role synchronization. This is an informational message only. No user action is required.
2015-11-15 09:09:00.57 spid331s State information for database 'DatabaseA' - Hardended Lsn: '(24221:7322:1)' Commit LSN: '(24221:7320:2)' Commit Time: 'Nov 15 2015 2:08AM'
2015-11-15 09:10:07.07 spid130s The availability group database "DatabaseA " is changing roles from "RESOLVING" to "SECONDARY" because the mirroring session or availability group failed over due to role synchronization. This is an informational message only. No user action is required.
2015-11-15 09:10:07.07 spid93s State information for database 'DatabaseA' - Hardended Lsn: '(24221:7322:1)' Commit LSN: '(24221:7320:2)' Commit Time: 'Nov 15 2015 2:08AM'
2015-11-15 09:10:11.12 spid190s AlwaysOn Availability Groups connection with primary database established for secondary database 'DatabaseA' on the availability replica 'SERVER-SSQL-1A\INSTANCE1' with Replica ID: {ae6f87ff-6e47-40e3-a239-7c395a571b16}. This is an informational message only. No user action is required.
I am running on Windows 2012 R2 and SQL Server as:
Microsoft SQL Server 2014 (SP1-CU3) (KB3094221) - 12.0.4427.24 (X64)Oct 10 2015 17:18:26
Copyright (c) Microsoft Corporation
Enterprise Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: )