Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Loghipping to multiple servers SQL 2008

Posted on 2012-03-20
8
Medium Priority
?
198 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
[X]
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
  • 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
Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
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 1500 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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

609 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