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


Switch a subscriber to a publisher


Switch a subscriber to a publisher

Author
Message
knishimoto
knishimoto
SSC Rookie
SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)

Group: General Forum Members
Points: 35 Visits: 2
Hi

I am running MS SQL 2000 and set up a production server and a backup server for our application in our office. On the production server I created replication between my production server and backup server using transactional replication. Our production server is the publisher and distributor and our backup server is the subscriber for the replication process.

I am also writing a disaster and recovery plan for the office and is wondering if our production server crashes for any reason how can I make the our backup server the publisher and distributor and when we fix the production server make it the subscriber of the replication. Or do we have to recreate the replication between the two servers.


Kevin
Roy Ernest
Roy Ernest
SSC-Insane
SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)

Group: General Forum Members
Points: 20190 Visits: 6910
Replication is not the best way to go for DR plan. Especially if you have Identity Columns and TimeStamp columns. If your DB does not have those kind of things, it is Ok to do that. You can make the Subscriber into your Main DB. You will just need to set up Distributor and the new Subscriber from the scratch again though.

-Roy
Vinay Thakur-585143
Vinay Thakur-585143
Hall of Fame
Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)

Group: General Forum Members
Points: 3114 Visits: 801
http://support.microsoft.com/?kbid=886839

HTH.
Vinay

Thanx.
Vinay


http://rdbmsexperts.com/Blogs/
http://vinay-thakur.spaces.live.com/
http://twitter.com/ThakurVinay
GilaMonster
GilaMonster
SSC Guru
SSC Guru (550K reputation)SSC Guru (550K reputation)SSC Guru (550K reputation)SSC Guru (550K reputation)SSC Guru (550K reputation)SSC Guru (550K reputation)SSC Guru (550K reputation)SSC Guru (550K reputation)

Group: General Forum Members
Points: 550797 Visits: 47744
There's no automated way. To make the subscriber the publisher you need to drop the subscription, set that server up for replication (creating a distributor) and then create the publication from scratch.

Why did you go for replication for DR?
Is the backup server used for anything (reporting?)

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


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