Sql-server – Database Mirroring and Replication in SQL Server 2008 R2

mirroringreplicationsql-server-2008-r2

I have configured the mirroring and replication between 4 servers (A,B,C,D).i.e, Mirroring between A to B and C to D, Replication between A and C. The configuration was a success and I am able test the replication(B to C) when I have failed over the mirroring dbs(A to B). The replication works fine after the mirroring fail over but I am not able to check its status in the Replication monitor. When I am having any insert in a table which is replicated in B, it is reflected back to C..it means the replication is working fine.

Any thought on how I can view the status of replication from mirrored server. I tried adding the publisher in the monitor, but no luck. If I check the snapshot agent status, it says could not retrieve the info, same with the log reader agent status.

Any suggestions on this please.

Best Answer

You will need to add both the principal server and the mirror server to Replication Monitor. This is covered in Database Mirroring and Replication (SQL Server):

Add the principal and mirror to Replication Monitor.

Please see Add and Remove Publishers from Replication Monitor to add the mirror server to Replication Monitor.