Solved

upgrade SQLSERVER 2005 to 2012 with logshipping

Posted on 2013-12-26
6
423 Views
Last Modified: 2014-02-04
Hello ,
  I have a database  2005 R2 64 bit SQLserver (standard edition)  that is about 100G that has log shipping enable to a remote machine over the WAN  . The secondary DB is use for disaster recovery and it is in   "read-only state, Now , I would would like to upgrade to SQLServer 2012 . How would the upgrade affect my log shipping jobs?. Do I have to redo the logshipping?

It would be an issue if I have to redo the log shipping since it will take days to transfer a  backup to the remote location using our WAN

Thanks for your help
0
Comment
Question by:SiemensSEN
[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
  • 3
  • 3
6 Comments
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 39740394
Yes, you can upgrade log shipping configuration by upgrading the secondary server, then upgrading the primary server to SQL 2012.
http://technet.microsoft.com/en-us/library/cc645954.aspx#UpgradeSecondary
0
 

Author Comment

by:SiemensSEN
ID: 39783575
Thanks but my database is in stand-by mode. So, according to the document it cannot be done..

Is it possible to change the stand-by to no recovery??
0
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 39785298
You can change between the modes, it just does not take effect until the next log backup is restored per Microsoft's documentation.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

Author Comment

by:SiemensSEN
ID: 39785754
Thank you so if I set the database to "no Recovery" then I can upgrade SQLSERVER.

Would this be the proper steps

1: Change the DB to no recovery
2: Pause log shipping
3: upgrade the redundant server (db's in is no recovery mode)
4: Upgrade production
5:restart log shipping

Thanks for your help
0
 
LVL 60

Accepted Solution

by:
Kevin Cross earned 500 total points
ID: 39785797
Are you planning to fail over to the secondary server OR leave the database offline during the upgrade?

You simply can redo log shipping from scratch on the secondary server after the upgrade as an option by the way.

Anyway, I think you have the order, just remember to backup live transaction log and restore between each step if you do fail over to secondary.
0
 

Author Comment

by:SiemensSEN
ID: 39786230
I plan to leave the DB offline for the upgrade.


I don't want to redo the log shipping because my database id 150 GB .  To redo from scratch will require transfering the 150 GB over the WAN and that would take days. So, I would like to avoid this step if possible.

Thanks for your help
0

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
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.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

734 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