Hi, I have set up Always on Availability Groups on top of Windows Server Failover Cluster(WSFC) with two sql server stand alone installations
Server1--Primary Replica
Server2--Secondary Replica
--Both above configured in Always on Availability Groups( listener name=AGListner)
Server 3-Remote Distributor Server where all sql agent jobs (Log,snapshot,dist jobs)...
Server 4--Subscriber server
Steps i have followed
I have setup Replication on Server 1 which was primary at the time of configuring replication to server 4(subscriber)
worked fine, replicated data, when failover happened Server 2 took over as primary and still replication worked fine...
my Issues are below and i am looking for some assistance
1.When i shout down Server 1(for testing), Server 2 took over the role as Primary and served the applications, but when i insert data at server 2( which is now primary), server 4 Subscriber did not get the data...once i turn on Server1 , the replication is replicated and subscriber is getting data ...does 2 servers(AG Servers) should be ruining in order to replication work?
2.and when i see the Replication monitor I see the All subscriptions are running, Agents are completed and running (ALL GREEN), also jobs on distributor are still running but server 4 Subscriber did not get the data..