Solved

Migrating from SQL 2005 to 2008R2

Posted on 2011-02-17
3
402 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
  • 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

In this article I will describe the Detach & Attach 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.
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now