Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Loghipping to multiple servers SQL 2008

Posted on 2012-03-20
8
194 Views
Last Modified: 2012-04-17
I have existing log shipping setup up and running with one secondary server.What if I need to add one more secondary to the setup without any downtime on the existing logshipping setup.?
My company is to perform this without downtime on the existing logshipping. How can this be achieved?
0
Comment
Question by:venk_r
  • 4
  • 3
8 Comments
 
LVL 7

Expert Comment

by:markmiddlemist
ID: 37745489
The key to this is that you already have the primary fully configured.  Prep your additional secondary in the same way as the first one, go in to the log shipping settings on the primary, and add the secondary from there
0
 
LVL 8

Author Comment

by:venk_r
ID: 37745521
Thanks for the reply.
My question is how will Log sequence be in synch between these 2 secondaries.How will the logs catch up with the new secondary that has been added?
0
 
LVL 7

Expert Comment

by:Ilya Rubinshteyn
ID: 37747545
@venk_r, during the initial synchronization, a snapshot will be pushed down from the publisher to the additional subscriber. Once that completes, the rest of the changes will be replicated to subscriber. Afterwards, it will depend on the schedule that you set up.
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 8

Author Comment

by:venk_r
ID: 37747562
Are you talking about replication?The question I asked was about Log shipping.
0
 
LVL 7

Expert Comment

by:markmiddlemist
ID: 37747732
The snapshot @irnmamont talks about is actually a full database backup then sets an initial point from which the server will restore the transaction logs for the Log shipping

If you have a look at http://www.mssqltips.com/sqlservertip/2301/step-by-step-sql-server-log-shipping/ - the section "Initialize Secondary Database tab" will give you the steps you need
0
 
LVL 8

Author Comment

by:venk_r
ID: 37747759
If there is already a primary - secondary configured up and running logshipping for say about 1 year and then we add  a additional secondary today then how will the new secondary sync up on fly from primary?
At any point we need both the secondaries in synch with production.
0
 
LVL 7

Accepted Solution

by:
markmiddlemist earned 500 total points
ID: 37747927
In order to be up to date the new secondary doesn't actually need to apply all the shipped logs for the entire year, just from the last full backup that is applied to it.

When you go through the steps to add a secondary it'll handle this for you.

Once it is up and running the lag between the new or old secondary with the primary is entirely down to the schedules you have set up.
0
 
LVL 8

Author Closing Comment

by:venk_r
ID: 37855831
thanks
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Visual Studios 1 76
Acces SQL Insert Problem 6 28
Dynamic SQL select query 4 36
SQL Availablity Groups Shared Path 2 13
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
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 ?
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

792 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