Setting Up A Windows Server 2003 Cluster in VS 2005 - Part I
PDF Version of this Article Available Here
Before virtualization technology on the Intel platform, (It has been around for YEARS in the IBM mainframe / midrange world!) the prospect of setting up your own server cluster just to “mess around” with things was an expensive endeavor. This is pretty straightforward to do with VMWare but has, until now, been impossible with any of the virtualization technologies from Microsoft. That’s because Virtual PC was missing one of the big prerequisites - SCSI device support. With the release a couple of weeks ago of the Release Candidate of Virtual Server 2005, mere mortals now have all the tools necessary to configure a server cluster based on MSCS - without all of the expense of multiple physical machines and shared disk storage.
First off, what is MSCS?
MSCS stands for Microsoft Clustering Services - a technology supported since Windows NT Server 4.0 that allows for high availability by “failing over” the services from one physical machine to another in the event of a catastrophic problem. It is different from NLB (Network Load Balancing) - this is used mainly to distribute load across multiple servers. NLB is most commonly used for large web farms. MSCS, on the other hand, is meant for applications where you need to maintain “state” - in other words, you have data on the back-end: SQL and Exchange are good examples.
To implement MSCS, you need the following:
Note: It’s also recommended that you have two NICs in each server. One will communicate with the LAN and the other will be used for a private network between the cluster members for the “heartbeat” traffic. It’s not required, but it will improve reliability and performance.
How To Implement a 2-node MSCS Cluster in Virtual Server 2005 - Part I
Actually, as long as you do a few things special with Virtual Server 2005 to trick Windows Server 2003 into thinking it’s running on two machines connected to shared storage, this is a fairly easy install. You must be running the Release Candidate of Virtual Server 2005. Earlier builds did not include the SCSI controller support.
For the rest of this article, I will describe the process as best as I can. If you are having issues related to MSCS, you might try visiting the Clustering Community Site on Microsoft’s Web Site or the Clustering Technology Center on the Windows Server 2003 Site.
I’m assuming that most readers will be familiar with the install of Windows Server 2003 and that they will know enough about Virtual Server 2005 to create and configure virtual machines. It also assumes that Virtual Server 2005 has been installed and is functioning properly. As the requirements for MSCS state, there must already be an Active Directory Domain Controller configured and functioning on the network. If this is not an option, it is possible to configure the cluster nodes as domain controllers - see the Microsoft KB Article here - http://support.microsoft.com/default.aspx?kbid=281662.
Setting Up The Shared Disk
First, we must create the virtual hard disk (VHD) that will become the quorum disk. The quorum disk is used in a Windows Server cluster to store state information and configuration information between the nodes. This disk doesn’t have to be large - usually ~1GB will do the trick.
(Click Thumbnail for Larger View)
Setting Up The “Hardware”
Next, we need to configure the servers that will run Windows Server 2003 and the clustering service. To do this, go to the Virtual Server 2005 Administration Website. Then do the following:
Fill in all the necessary information to configure this virtual machine:
(Click Thumbnail for Larger View)
Adding the SCSI controller to the virtual machine configuration…
(Click Thumbnail for Larger View)
(Click Thumbnail for Larger View)
Add the second virtual NIC…
(Click Thumbnail for Larger View)
Example VS2005 Configurations for a 2-node MSCS Cluster
“NODE1″ - http://www.roudybob.net/images/node1.png
“NODE2″ - http://www.roudybob.net/images/node2.png
You’re now done with the Virtual Server 2005 specific portion of creating the cluster. If you are familiar with Windows Server 2003 and MSCS, you should easily be able to install Windows Server 2003 Enterprise Edition on each node and configure MSCS.
Continue to Part II - http://www.roudybob.net/?p=119.











[…] grasp of all who wish to “geek out”. Before you get started, you should read Part I if you haven’t - http://www.roudybob.net/?p=11 […]