Quantcast
Channel: Ramblings of a SQL DBA mind… by Nitin Garg
Viewing all articles
Browse latest Browse all 34

Configuring Replication with Always ON Availability Group

$
0
0

 

 

For setting up replication on AlwaysOn availability group in SQL Server 2012 and above, following need to be taken care to ensure replication will work irrespective of the AAG placement.

 

The following sections build the environment described above:

 

  • Configure a remote distributor
  • Configure the Publisher at the original Publisher
  • Configure Remote distribution on possible publishers
  • Configure the Secondary Replica Hosts as Replication Publishers
  • Redirect the Original Publisher to the AG Listener Name
  • Run the Replication Validation Stored Procedure to verify the Configuration
  • Create a Subscription

 

Points to note:

 

  • In an AlwaysOn availability group a secondary database cannot be a publisher, Re-publishing is not supported when replication is combined with AlwaysOn Availability Groups.
  • SQL Server replication supports the automatic failover of the publisher, the automatic failover of transactional subscribers, and the manual failover of merge subscribers.
  • The failover of a distributor on an availability database is not supported

 

In short following are the high level steps, the screen shots are provided in the links below,

 

https://blogs.msdn.microsoft.com/alwaysonpro/2014/01/30/setting-up-replication-on-a-database-that-is-part-of-an-alwayson-availability-group/

http://ronak.extreme-advice.com/20140619-configure-replication-database-part-alwayson-group/

 

Hope this helps.

Download PDF

Viewing all articles
Browse latest Browse all 34

Trending Articles