About
You arrived at the weblog of Geert Baeke. I am a technology consultant for a company called Xylos (Belgium). I mostly work with Microsoft technologies such as Windows, Active Directory, Exchange, Sharepoint, MSCS, and more. I am also actively busy with VMware's products, focussing on VMware ESX.

Sections
Search






XBOX 360

RSS Newsfeeds
baeke.info Main RSS Feed Main Page RSS
View Article  Change the SQL server in a MOSS 2007 farm

When you deploy MOSS 2007, you need to have a SQL server in place for the configuration database, content databases and various other databases. But what if you need to change that SQL server later? In theory, there are several options:

  • Use connection aliases and change the alias to use another server.
  • Use the stsadm utility with the renameserver option.

A connection alias is setup using the SQL Server Configuration Manager utility. I usually install the SQL management tools on the MOSS server which makes the tool available. Normally, you use aliases for security reasons as documented here.

 

 

In the diagram above, there is a simple farm with a MOSS server and a SQL server. The SQL server is configured to listen on TCP port 40000 with SQL Server Configuration Manager. The MOSS server is configured to connect to the SQL server using TCP port 40000. To let the MOSS server connect using TCP port 40000, you need to create an alias on the MOSS server. When you create an alias with SQL Server Configuration Manager, it will store the alias definition in HKLM\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo. For the example above, you would find the following value:

  • Name: sql
  • Type: REG_SZ
  • Value: DBMSSOCN,sql.test.com,40000

From practical experience, I do not recommend using an alias to change the SQL server in a MOSS farm. Instead, use the stsadm command as follows:

stsadm -o renameserver -oldservername <oldname> -newservername <newname>

After running this command, restart all services or reboot the server.

Of course, you need to migrate all data from the old SQL server to the new one. You can restore backups to the new server and recreate logins to achieve that goal.

In summary, when you need to change the SQL server in a MOSS 2007 farm, use the stsadm command instead of SQL connection aliases. Use connection aliases to meet security requirements like connecting to SQL with a different port number.

View Article  Veeam FastSCP 2.0 for VMware ESX

While reading virtualization.info, I noticed Veeam released the next version of FastSCP. If you need an easy and free tool to tranfer data to and from your ESX servers, you should give it a go. Some of the features:

  • Add multiple ESX servers to the console for easy navigation.
  • Copy files between ESX servers: files are copied directly from server to server without involving your management workstation.
  • Edit files on your ESX servers: no need to use ssh and nano or vi to edit ESX configuration files.

Download it from here. If you run the tool on Vista, run it as an administrator. That is required because the tool uses a TEMP folder somewhere under c:\program files.

 

Login
User name:
Password:
Remember me 
This Month
February 2007
Sun Mon Tue Wed Thu Fri Sat
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28
Networking
View Geert Baeke's profile on LinkedIn

Services

Powered by BlogHarbor
Powered by BlogHarbor
StatCounter