Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

CDC and AlwaysOn Availability Groups - anyone using this?

$
0
0
I saw another post touching on this, and it sort of sounded like people just stayed away from the "mess" entirely :)The MSDN doc makes it sound like after a failover of the primary, the CDC data won't "keep working" on the secondary unless you "To allow the logreader to proceed further and still have disaster recovery capacity, remove the original primary replica from the availability group using ALTER AVAILABITY GROUP <group_name> REMOVE REPLICA. Then add a new secondary replica to the availability group."SQL AlwaysOn Availability Group:https://msdn.microsoft.com/en-us/library/hh403414.aspx#ChangesThat sounds like a giant pain?Has anyone else dealt with this?We have a few CDC tracked tables that we use and the general idea of AlwaysOn I thought was to minimize all the overhead and let things "just work" so your apps just connect and the listener re-routes everything where it needs to go.It looks like to get this working properly an automated job /trigger would have to wait for a failover event and then kick off tasks to remove and re-add the replica and perhaps start up the CDC job on the secondary?

Viewing all articles
Browse latest Browse all 6525

Trending Articles