Solved

Migrating from SQL 2005 to 2008R2

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

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.

Question has a verified solution.

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

This is a fairly complicated script that will install the required prerequisites to install SCCM 2012 R2 on a server.  It was designed under the functional model in order to compartmentalize each step required, reducing the overall complexity.  The …
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

729 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