StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



moving entire SQL server to new hardware?Expand / Collapse
Author
Message
Posted 07/27/2007 7:25:08 PM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: Today @ 5:57:23 AM
Posts: 646, Visits: 22,071
I spent the past 1.5 days on the phone with MS trying to get our SQL Server stable, no luck. I am not a DBA so I have never moved an entire server from one box to another and I cant seem to find any good articles on how to do this. Anyone that can give me a push in the right direction will be my hero. I have only about 20 databases for various projects.

Do I have to move the system databases or can i just migrate the user databases to the new server?

Anything special when moving the Strataframe db?
Post #10606
Posted 07/27/2007 9:35:06 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Yesterday @ 5:05:13 PM
Posts: 1,274, Visits: 3,242
Check out this article:

http://vyaskn.tripod.com/moving_sql_server.htm

Also, I have somewhere a script that can be used to move users from one server to another. This is handy if you need to move just a subset of the databases, not the whole enchilada. Let me know if you need that.


* Logins are stored in master, and they are assigned a user id by sql that is referenced internally. Thus, when you move a database, the users assigned to that database will be referencing the guid from the old database and it will not work. This is even if the user name is the same. You have to then manually remove the users from the just moved database, then add the logins to the new server, then add them back to the database. The script I have somewhere actually will move users from one server to another, thus the database will not need to be messes with at all.
Post #10610
Posted 07/30/2007 8:53:39 AM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: Today @ 5:57:23 AM
Posts: 646, Visits: 22,071
Thanks Greg, that worked well. I am up and running on the new SQL box this morning.

Since it is just an internal server, I didn't sweat the login issues, we just manually replaced them.

Post #10622
Posted 07/30/2007 8:56:31 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 09/26/2008 8:30:36 AM
Posts: 2,685, Visits: 1,886
Glad you got them running   I didn't realize that the users were all stored in master... when we move a DB from one server to another, we generally either back it up and restore it or just detatch it and re-attach it to the new server and recreate the logins. 

Good article Greg


www.bungie.net
Post #10624
Posted 07/30/2007 10:31:45 AM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Yesterday @ 5:05:13 PM
Posts: 1,274, Visits: 3,242
Yep, I usually just manually replace the users also, but once we moved a database with like a 100+ users. A different method was called form

Glad you got it moved!
Post #10638
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 6:37am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.