Moving Distribution Database to different server.

  • 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.


  • 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.

  • Hi All,

    I did this in my Production Environment and it seems to be working fine....

  • 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...



  • This was definitely a "new" distribution database setup.

    * Noel

  • Thanks for you response Noel. Yeah I figured it out after some trials.



  • 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?

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply