Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Moving Distribution Database to different server. Expand / Collapse
Author
Message
Posted Thursday, January 07, 2010 10:38 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, April 17, 2012 11:29 PM
Points: 138, Visits: 236
Hi All,

I have transaction replication with updatable subscription setup and it is running fine for almost 6 months. Distribution database is located at the publisher and it acts as a Distributor.

My company is getting one more sql server and want to implement database mirroring for above two servers participating in replication.Now there is a need to move distribution database to third server.

My concerns is that I would not like to remove replication and reset it up again as for first synchronization it takes around 48hrs and I can't afford that. I would like to know if there is a way to move distribution database to different server without disturbing or minimally affecting replication ?

Any help will be highly appreciated.

Thanks in advance.

Sejal.
Post #844095
Posted Sunday, January 10, 2010 8:21 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, April 17, 2012 11:29 PM
Points: 138, Visits: 236
Guys,

here is what I have tried out and it worked for me in my senario.

1) Delete publication and subscriptions.
2) Disable publication and distribution.
3) Reset replication and this time move distribution db to another server.
4) Add publication
5) While adding subscription, uncheck initialize to synchronized publisher and subscriber at first shot.

Basically you are removing entire replication setup and resetting it again with distribution database being on another server, but this time you are not setting replication to synchronized database at both end.

Your replication will start working fine immediately since both dbs are all ready in sync. I have test above solution in my environment and now will do the same changes in production.
Post #845159
Posted Monday, April 12, 2010 5:44 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, April 17, 2012 11:29 PM
Points: 138, Visits: 236
Hi All,

I did this in my Production Environment and it seems to be working fine....
Post #901497
Posted Friday, April 30, 2010 8:18 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, November 04, 2013 10:07 AM
Points: 10, Visits: 211
Hi Sejal,

One quick question. Did you detach the distribution DB from the current location and attached it at the new location? or Did you use the new Distribution Database in the third server as you recreated the subscription and publication.

I would appreciate your reply...

Thanks,
RV
Post #914175
Posted Tuesday, May 04, 2010 1:20 PM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Tuesday, April 01, 2014 8:03 PM
Points: 6,266, Visits: 2,027
This was definitely a "new" distribution database setup.


* Noel
Post #915602
Posted Tuesday, May 04, 2010 2:18 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, November 04, 2013 10:07 AM
Points: 10, Visits: 211
Thanks for you response Noel. Yeah I figured it out after some trials.

Thanks,
RV
Post #915653
Posted Sunday, August 15, 2010 1:33 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, September 27, 2010 7:02 AM
Points: 7, Visits: 22
I have a replication from db1 in Server A to db2 in Server B. Now I am planning to move the db2 to different server Server C. Is it possible for me to change only the subscriber details in Server A and make the replication works for Server C?
Post #969455
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse