Solved

Migrating from SQL 2005 to 2008R2

Posted on 2011-02-17
3
423 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 500 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In this article I will describe the Backup & Restore 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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

737 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