?
Solved

Migrating from SQL 2005 to 2008R2

Posted on 2011-02-17
3
Medium Priority
?
431 Views
Last Modified: 2012-06-21
I'm in the process of migrating to a new server for our SQL server environment.  I will be renaming the new server to the name of the existing server to minimize the reconfiguration of applications.  I'm wondering do I need to wait to install SQL after I've done the name exchange?  I'm hopign to wait to the last moment to change the name, because once I do that their isn't a lot of going back.  Anyone have some suggestions of best practices.

0
Comment
Question by:GSLElectric
[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
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
mcv22 earned 2000 total points
ID: 34922601
You can have OldServer and NewServer coexist at the same time. After you are done installing SQL on NewServer, you can rename NewServer to OldServer. After you reboot, you will need to change the SQL instance name in management studio.

EXEC  sp_dropserver 'NewServer'
EXEC  sp_addserver 'OldServer', 'local'
0
 
LVL 12

Expert Comment

by:mcv22
ID: 34922603
You will need to restart the SQL service for the changes by commands above to take place.
0
 
LVL 4

Expert Comment

by:ajaykerala
ID: 34948674
you are right name change should be the last thing to do. migrate the data first then shutdown or rename the old server then name the new server with ur production server name which is name of the old server. one thing you need to take care is the user permisions and db users while migrating from 2005 one problem i encountered was user rights to access certain permisions were not set in the 2008 so we had to recreate the db user and add the permisions again same as in the old server.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have put this article together as i needed to get all the information that might be available already into one general document that could be referenced once without searching the Internet for the different pieces. I have had a few issues where…
In this article I will describe the Copy Database Wizard 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 video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

762 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