I have a situation that is similar to this picture:
2 servers sql1 and sql2 that are in an availability group and a third server that is basically a reporting server.
I need to create a transactional replication, the publisher is in the availability group, the subscriber in the client server.
what I was planning doing is:
- client is also a distributor
- the publication lives in a listener so the distributor does not know whether it is sql1 or sql2 that is active
- in case of a failover, or failback, the replication jobs are active only in the primary node.
Ideally I would like another server or availability group just to be the distributor but that is not possible.
can this potentially work, or there are any bridges I cannot cross in this topology?
