Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Transactional Replication for Always On Availability Groups

$
0
0

Hi,

I have the following environment:

  • SERVER2014AGPrimary - SQL Server 2014, part of Availability group and being the primary replica;
  • SERVER2014AGSecondary - SQL Server 2014, part of Availability group and being the secondary replica;
  • SERVER2014Distributor - SQL Server 2014 and hosting the remote distributor;

Both publisher and subscriber databases are in the same SQL instance.

I follow the guide "Configure Replication for Always On Availability Groups (SQL Server)" and it works as expected when there is a manual failover.

However, one of the requirements is working in an event of disaster (e.g. SERVER2014AGPrimary never being recovered again after a failover).

For replicate that situation, I have done the following:

  • Failover from SERVER2014AGPrimary to SERVER2014AGSecondary;
  • Stop SQL Server service in SERVER2014AGPrimary;

In such scenario, replication is not working. But, when started SQL Server service in SERVER2014AGPrimary replication works again.

Am I missing something? Or is this a limitation of Replication?

Thanks,

Filipe


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>