I had the need to swop out a SQL server and after
trawling the net finally came up with a plan and discarded it at first contact
with the job and did this.
Get the new server ready by duplicating
the drive set up ie if there is an cd drive on E then the new server should
have the cd on E.
·
Do Not put it on the network.
call it the same name as the old one, give it the same ip(S).
call it the same name as the old one, give it the same ip(S).
·
Clean the data tables of any unwanted data
shrink and defrag the tables.
·
Complete a SQL back up of the database.
·
Make sure that there are no users attached clear
all locks.
·
Detach the database(s) including the MSDN
database.
·
Copy the data and log files onto a portable
drive.
·
Remove the server from the network.
·
Attach the new server to the network.
·
Copy the data and log files to the new
server.
·
Attach the databases you will have to
detach the MSDN database and rename the file before copying the new one into
its correct folder.
·
Check that the user has come across
properly and that all tables are correct.
·
check some clients so that you can see they are
working correctly.
·
Before letting the users and processes loose
check that SQL mail is configured and working, this should be done while no one
is logged on as it requires a lock on the database.
I have used this to swop out a server it works there are
some tweaks here and there that need to be done but nothing major.
Good luck
No comments:
Post a Comment