Solved

Migrating Distribution DB and the subscriber db to a different SAN.

Posted on 2011-03-20
12
336 Views
Last Modified: 2012-06-27
As part of SAN Migration we have planned to move the distribution db(different server)
and the subsciber db(different server)
to a different SAN. The  publisher is uneffected in this case.
Whats the best approach to perform this task without any downtime.
Just a FYI. Its an  transactional replication setup  with subscriber db  intitalized from backup.
0
Comment
Question by:venk_r
  • 6
  • 6
12 Comments
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 35178209
Since its a SAN migration, I hope you need to have some downtime to implement this change..
Since you are trying to do it without downtime in Publisher, you can try this approach.

1. Create a new publication in Source Server
2. Configure your distribution db and Subscriber for this new publication
3. Once everything is synchronized, remove the old publication..
0
 
LVL 8

Author Comment

by:venk_r
ID: 35179487
Thanks for the reply.The way we have initially configured subscription is Initialize from the backup and not thru snapshot.Due to this setting I guess we have to stop other services and application pointing to the publisher and then follow the steps that you have mentioned.But I dont want to have downtime on publisher.I thought we had log retention aound 72 hrs on the replication.Can we make use of it?
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 35181074
>> The way we have initially configured subscription is Initialize from the backup and not thru snapshot
>> I thought we had log retention aound 72 hrs on the replication.Can we make use of it?

Kindly let me know your database sizes..
If it is less, then you can re-initialize from snapshot to get it done else go for Backup
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 8

Author Comment

by:venk_r
ID: 35181207
The database is 600G in size and there is  particlular table which has 2 billion records in it..
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 35182660
Are you sure it is 600GB or 600MB.
If it is 600GB, then its recommended to go with Backup
0
 
LVL 8

Author Comment

by:venk_r
ID: 35184277
its 600GB.
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 35186167
Then initialize with Backup instead of snapshot..
0
 
LVL 8

Author Comment

by:venk_r
ID: 35189464
Since its on the same servers .It just moving the database to a different drive I thought we can handle it without creating new set of publications.Wouldnt the TLogs catch up once we bring the distributor and subscriber online?
0
 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 500 total points
ID: 35195949
>> Since its on the same servers

This is what I have understood till now.

1. You have 600GB database replicated to another server
2. You are trying to move Distribution and Subscriber Server databases to a new SAN storage.

If I am correct, then you need to have some downtime to move your Subscriber Server databases (files) completely to the new SAN storage. Once done, you can bring Subscriber up which would automatically catch up.
This method doesn't require any downtime at the Publishing server.

Kindly confirm whether my understanding about your environment is correct or not.
0
 
LVL 8

Author Comment

by:venk_r
ID: 35198372
You got it right on.But how much time can the subscriber/distributor be left offline .Is there any limit?
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 35201438
>> But how much time can the subscriber/distributor be left offline .Is there any limit?

Practically speaking there is no limit on that..
No. of transactions hit in the server when we have distributor & subscriber offline is directly proportional to the time taken to get subscriber synchronized...
0
 
LVL 8

Author Closing Comment

by:venk_r
ID: 35386058
thanks
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Stored Proc - Performance Enhancement 15 54
backup and restore 21 29
RAISERROR WITH NOWAIT 2 16
sql 2016 data tools breakdown.. 1 13
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question