Code, Code, Revolution!
A while ago a customer invested in a SQL-cluster and naturally wanted to move all databases there. There are a number of articles on the net on how to migrate to a new server, some more complicated than others. In my case I had a working SQL 2005 instance which was dedicated to the MOSS installation and wanted to move to a new SQL 2005 cluster. Instead of rebuilding the entire farm like some people suggest i found it easiest to use the “rename server” command in stsadm. Here’s a step by step guide:
This is by far the easiest way to replace your SQL-server or move a certain installation to a new SQL-server. Depending on the size of your databases of course it doesn’t take longer than 30 minutes to complete. One important thing to remember is that this only works when the databases are hosted on a separate SQL-server. If you’ve been cheap and installed both SQL-server and MOSS/WSS3.0 on the same machine this won’t work obviously.
With this blog I try to provide useful tips and solutions for programming .NET, Objective-C and more. My name is Björn Sållarp, and I love writing code.
Andy
September 25th, 2008 at 11:37 am
Wow Bjorn, I’m surprised to find you working with Sharepoint, but anxious to see what you have to say about it. I have been looked at it for our organization and have found it daunting due to it’s number of uses and functionality. I would be interested to see how your users and companies are using it in-house as well as maybe serving their customers.
Cheers from Colorado,
Andy
Björn Sållarp
September 27th, 2008 at 2:47 am
Sharepoint is a truly powerful platform which provide a lot of useful features out of the box. The collaboration part is really state of the art but still simple to use. I suggest you download the free version (WSS 3.0) and try it out. There are plenty of installation guides on Google. If you need any help or want to have a look without installing it I can give you access to a team site on one of our machines.
Cheers!
Des Owen
January 7th, 2010 at 10:51 am
Hi Bjorn
Did you move the config databases as well as the content ones?
Des Owen
UK
Björn Sållarp
January 7th, 2010 at 10:53 am
Yes, both configuration and content. After the move the old SQL server can be closed down entirely.
// Björn