SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


How to configure replication subscription from secondary server, after failover from primary server?...


How to configure replication subscription from secondary server, after failover from primary server?

Author
Message
shamshad.ali
shamshad.ali
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2807 Visits: 579
Question: Transactional replication on Mirroring database, configure subscription after failover

I have two SQL servers (Server-A) and (Server-B), primary and secondary. I have configured Transactional replication on Server (Server-C) from
\Server (Server-A), Everything is working fine. When I failover the mirroring and Server-B become Primary Server and Server-A become secondary Server. I can see the publication list is present on Server-B (which is moved from Server-A) but incase I have to create and configure another subscription from existing publication, I can't do this and the publication wizard does not allow me to choose the publication, here I am on Server-B (which is now become primary after running failover from original primary server A)
The wizard says:
"You must select a Publisher and publication to continue the wizard"

Again when I failover to Primary Server (Server-A) only in that case I can make more subscription using the publication that I configured from same (initial/oroginal primary) server.

Incase of failover, if SQL Server can switch publications from primary to secondary server, it should also be capable to do further subscriptions, etc and could act similarly as Primary server. Is this a know problem and default behavior or there is something we can do which I have missed in my configuration design?


Shamshad Ali Khatri.
anthony.green
anthony.green
SSC Guru
SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)

Group: General Forum Members
Points: 96816 Visits: 8690

Have you set the publisher failover partner and all the other settings to make replication work with mirroring?

The Replication&DBM doc is a great read for this sort of setup

https://docs.microsoft.com/en-us/sql/database-engine/database-mirroring/database-mirroring-and-replication-sql-server

http://download.microsoft.com/download/d/9/4/d948f981-926e-40fa-a026-5bfcf076d9b9/ReplicationAndDBM.docx





How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger


Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search