Solved

Migrating from SQL 2005 to 2008R2

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Server 2012 r2 - calculations/operation on many Temp Tables 6 26
date diff with Fiscal Calendar 4 54
Loops and updating in SQL Query 9 53
TSQL Challenge... 7 35
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
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.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

856 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