Solved

SQL Server 2005 Domain Change

Posted on 2011-09-27
2
306 Views
Last Modified: 2012-05-12
I have an opportunity to move a MS SQL 2005 database instance running on a Windows 2003 server during an AD domain change.

The sql server is going away and will be replaced with a new one, then domain is going away as well. We could just move the domain on the sql server. Not sure that adds any value?

What is the recommended procedure to move the database? What are the issues?


I am looking for details.

0
Comment
Question by:bdorsey63
[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 Comments
 
LVL 4

Accepted Solution

by:
rbride earned 500 total points
ID: 36715045
Assuming you have installed the new instance on the new server, you can transfer the user databases simply enough with detach / attach.

The main problem is to transfer the logins. These are stored separately in the master database.
Here is an article with some scripts that show you how to do that:
http://support.microsoft.com/kb/918992/en-us

If you have anything such as linked servers, replication etc, then you will also need to set that up too. Just script them out using the management studio and apply the scripts to the other end.

It is possible to actually move the whole lot, but it is a fair bit more complicated and you need to know how to recover from various errors that can arise when something is not referenced properly.
(See also: http://msdn.microsoft.com/en-us/library/ms345408(v=SQL.90).aspx)
0
 

Author Closing Comment

by:bdorsey63
ID: 36719896
Thanks
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

732 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