Solved

Adding a Second Log Shipping Secondary Instance

Posted on 2014-02-28
7
554 Views
Last Modified: 2014-02-28
Hi All,

I already log ship my main databases to another local server and now I need to also log ship to another physical DR location via a slower WAN connection.

My plan was to bring over the full backup of these databases ( which are quite large) and restore with standby in preparation to start log shipping to the DR site.

My question is this: how do I handle the incremental transaction log changes?  Normally when doing this for the first secondary instance I restore a full backup and then a current trans log backup before starting log shipping, I imagine doing that for a second instance will create an LSN problem for the existing log shipping instance?  Do I do a differential instead?

Thanks for the help.
0
Comment
Question by:Primedius
[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
7 Comments
 
LVL 40

Expert Comment

by:lcohan
ID: 39895003
I would think to use the Secondary log shipped database as source and set that one to Log ship to " another physical DR location via a slower WAN connection."
Not sure what the purpose is for the secondary database in your existing Log Shipping but I think by creating a chain rather than log ship from one single source would alleviate the problems may be caused on the primary source database.
0
 

Author Comment

by:Primedius
ID: 39895067
Hmm, never thought of that. Is that something which is commonly done?  You can log ship from a database which is in standby as these will be?
0
 
LVL 40

Expert Comment

by:lcohan
ID: 39895234
I'll test right now the copy only backup on 2008 R2 Standby database.
Please see more details about different ways to "log ship" as highlighted in the picture/notes at the end of the article - I know is slightly different chain with Transactional Replication first but that one is just another Log Shipping method.

http://sqlmag.com/database-high-availability/3-log-shipping-techniques

Other options would be to use Transactional Replication with Pull Subscribers so the slow one will not affect the Publisher and the fast Subscriber which is not the StandBy Log Shipoped database(s).

Also check out the last solution just before last posting in this article and see if that helps.


http://www.sql-server-performance.com/forum/threads/backing-up-a-log-shipping-destination-database.17746/
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 40

Accepted Solution

by:
lcohan earned 500 total points
ID: 39895329
Actually I just set it all up in my 2008 R2 chained exactly as mentioned SQLDEV1 my OLTP database as Primary to Secondary in SQLDEV2 as standby and that one I used as Primary to log ship to SQLDEV3 Secondary in stand by mode as well.

I just wasn't 100% if what I did a while ago is still valid but yes, it is all good so far and working well to setup your stand by database as Primary to another T-log Shipping Secondary. I know I did this a while ago to offload the prod OLTP that was log shipped to a warm standby before clustering and from that to the reporting server which was in different data center from different location and with slower network connection.
0
 

Author Comment

by:Primedius
ID: 39895347
Wow, thanks for the validation.  Will try this afternoon.
0
 

Author Comment

by:Primedius
ID: 39896339
A little confused. On the secondary do I do a full backup and then a trans backup to restore on the third server to get the database in place to start log shipping.
0
 

Author Comment

by:Primedius
ID: 39896407
No provision for backing up.  Hmm take offline and move files?
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sql 2014,  lock limit 5 46
Negative isnull? 3 25
GeoClustering  and AOG 25 43
T-SQL: I need to add an index on a field 5 22
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

756 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