Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


June 2004

Start Clustering!

Even small organizations can benefit from high-availability clusters
RSS
Subscribe to Windows IT Pro | See More Clustering and Load Balancing Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
SideBar    iSCSI Essentials

The ability to cluster Windows servers has been available from Microsoft or third-party vendors since Windows NT Server 3.51. Clustering has always sounded like a great idea to server administrators, but in the past, only a few could justify the expense. But price drops and changes in technology have made clustering much more affordable today. I encourage you to consider clustering, even if your organization is small.

If you think that a cluster is a group of servers in which, if one server has a problem, one of the other servers takes over and performs the same task without interruption, you're only partially correct. This definition more accurately describes one form of clustering, called high availability clustering. Another form of clustering—load balancing, or Network Load Balancing (NLB), as Microsoft calls it—is more broadly defined as multiple computers functioning together as one to provide a common set of applications or a service.

Microsoft offers high-availability clustering in Windows Server 2003 Datacenter Edition, Windows Server 2003 Enterprise Edition, Windows 2000 Advanced Server, and Windows 2000 Datacenter Server. In this article, I focus on the features and functionality in Windows 2003. Windows 2003's high-availability clustering supports eight nodes per cluster. NLB clustering, which is available in all versions of Windows 2003, supports up to 32 nodes per cluster.

You can't use Microsoft's high-availability and NLB clustering technologies together to create a nonstop, load-balanced computing environment for your organization. Microsoft supports the use of only one of its clustering technologies at a time. If you need a highly available load-balanced environment, you'll need to investigate solutions from third-party vendors.

High-traffic environments and large organizations use NLB to create Web server farms and terminal services Web farms. But many types of businesses can afford and benefit from high-availability clustering—for example, stock exchanges, airline reservation systems, hospitals, banks, and casinos. Imagine asking a casino manager to stop gambling operations for a few minutes while you apply a service patch and reboot the server. Your environment might not be as extreme, but you should consider using high-availability clustering for your file and print servers, Microsoft Exchange Server and Microsoft SQL Server systems, and specialty application servers. You can easily set up a test environment and follow the steps I lay out to create a cluster.

How Microsoft Cluster Service Works
Clustering sounds like a simple proposition: Attach several computers to a common network and a common hard disk. However, a cluster needs one unique IP address, and you can't just give multiple machines the same IP address. In addition, Windows caches disk information, including file contents, in RAM to improve disk performance. Windows can't "see" another computer's RAM, so having more than one computer writing information to a disk results in a corrupted disk and lost data. Microsoft designed Microsoft Cluster service to address this problem and others.

Microsoft Cluster service creates a phantom IP address that represents the cluster and that can be assigned to any of the cluster nodes. (Each computer in the cluster still has a unique IP address.) Microsoft Cluster service provides a private disk area (aka a quorum disk) that lets the nodes exchange registry settings and cluster status information. Microsoft Cluster service also uses the network to communicate node status among servers in the group.

Microsoft Cluster service is a high-availability clustering solution rather than a fault-tolerant clustering solution. The difference is that users in high-availability environments experience "a momentary pause" (Microsoft's words) during a failover. Fault-tolerant environments don't have any pauses during failovers. In a typical business application, momentary pauses shouldn't pose a problem, but you'll be able to see for yourself how long a momentary pause is in your test cluster.

Creating a Test Environment
If you're a typical server administrator, you probably like to toss the manual aside and begin playing. I provide the information you need to create your own test cluster, along with some tips and pointers that aren't well documented. Remember that these instructions are for you to try on a home or test network. Don't try them on your production Exchange or SQL Server systems.

You'll need at least four computers; three running Windows 2003 Enterprise Edition and the fourth running Windows XP or another client OS. You could use VMware, but you just can't do some things with virtual machines (VMs). My advice is to get a few friends together over a weekend and have a clustering party. This approach will help with the hardware requirements, and you'll learn by interacting with each other.

In addition to the four computers (each with a NIC), you need two additional NICs, two SCSI cards (I used Adaptec AHA-2940s), any size external SCSI disk, a SCSI Y cable, and two 10Mbps or 100Mbps hubs. You also need some Ethernet cables and an MP3 file. If you're missing some of the hardware, visit your favorite online auction. You should be able to purchase the SCSI disk, SCSI cards, and SCSI cable all for less than $100.

The diagram in Figure 1 shows what you're building: a domain controller (DC), two high-availability servers, and a workstation all connected to a network called Public. The two high-availability servers will each have a second NIC and will be connected to a second network called Private. I'll leave it to you to install all the server software, patches, and drivers. A default installation of Windows 2003 Enterprise Edition installs Microsoft Cluster service. On the two high-availability servers, install the second NIC and a SCSI card before installing the server software. Confirm in Device Manager that the SCSI cards and second NICs are functioning properly. Leave the SCSI disk disconnected for now.

Assign all the NICs static IP addresses—you aren't using a DHCP server, and hard-coding server IP addresses is a good practice. Right-click My Network Places, select Properties, then label the NICs in the high-availability servers as Public and Private for easy identification in the future. You don't need a default gateway for the Private address because traffic will never be routed. Enter the DC's IP address as the preferred DNS server in the high-availability servers and workstation. If your high-availability servers have FireWire (IEEE 1394) ports, disable them now or you'll receive an alert when you create your cluster.

   Previous  [1]  2  3  Next 


Reader Comments
I found the article very interesting and wanted to create a test lab following your instructions, but getting a scsi "Y" cable has been imposible, which means that if I ever do find one will be unafordable. Any suggestions? or tell me where you got yours for you test.

dzoquier July 23, 2004 (Article Rating: )


I've tried to follow the article's steps, but I get stuck during the Create Physical Disk - wizard. The "Disk Parameters" windows (the last window in the wizard), has no options to choose, so the Finish button is grayed out. Any ideas?

tkm August 03, 2004 (Article Rating: )


I agree with dzoquier, almost impossible to find a scsi Y cable. Has anyone been able to setup clustering in this way? If yes, what hardware? Thanks,

patrickgraham August 09, 2004 (Article Rating: )


Doug implies we can use any Windows compliant box for the MSCS (high availability) nodes. However, MS states “Microsoft Product Support Services (PSS) supports only server clusters on hardware that is listed on the… Cluster WSC for Windows 2003 Server.” (http://support.microsoft.com/default.aspx?scid=kb;en-us;309395&Product=winsvr2003). The Cluster WSC is found at http://www.microsoft.com/windows/catalog/server/default.aspx?subID=22&xslt=categoryProduct&pgn=8b712458-b91c-4a7d-8695-23e9cd3ae95b & lists only hardware bought as a cluster from major vendors, which gets into some major $$. Am I missing something?

dingram October 07, 2004 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Accessing Database Data with ADO

...

The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...

Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...


Windows OSs Whitepapers Replay for Exchange: Enterprise Protection and an Affordable Price

Are You Satisfied?

A Preliminary Look at Deployment Plans for Microsoft Windows Vista

Related Events Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.

Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Maximize your SharePoint Investment – 8 Cities
Discover best practices and tips for both architecting and administering SharePoint. Early Bird Price of $99 through Sept 15th.

Find a new job now on the all new IT Job Hound!
Search jobs, post your resume, and set up job e-mail alerts!

Master SharePoint with 3 eLearning Seminars
Learn how to build a better SharePoint infrastructure and enable powerful collaboration with MVPs Dan Holme and Michael Noel. Register today!

Top Tools for Virtualization Disaster Recovery & Replication
View this web seminar on August 14th to learn about two tools that will result in faster backup and restore with P2V disaster recovery.

SharePointConnections Conference Fall 2008
Don’t miss the premier event for Microsoft IT Professionals in Las Vegas, November 10-13. Register and book your room by August 25 and receive a FREE room night (based on a three night minimum stay).

VMworld 2008 - Sign Up Today!
Join your peers on September 15-18 at The Venetian Hotel in Las Vegas as VMware hosts VMworld 2008, the leading Virtualization event.



Entrust Unified Communications Certs
Secure Exchange 2007 and save 20%. Now through Sept. 2008.

Increase Application Performance
Free White Paper by Editor's Best winner, Texas Memory Systems.

Need to convert between XML, DBs, EDI, and Excel? Try MapForce free!
Drag & drop to transform between popular data formats – get results instantly or generate code.

Microsoft® Tech•Ed EMEA 2008 IT Professionals
Advance your thinking with new ideas and practical real-world solutions at Microsoft’s FIVE day technical infrastructure conference 3-7 Nov., 2008. Register before 26 September 2008 to save €300.

Order Your SQL Fundamentals CD Today!
Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD.

Are You Really Compliant with Software Regulations?
View this web seminar that will help you with compliance best practices and check out a management solution to assure that you won’t be in jeopardy of an audit.

Virtualization Congress Oct. 14-16 in London
Don't miss Virtualization Congress, the premiere EMEA conference dedicated to hardware, OS and application virtualization. Oct. 14-16.
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technical Resources Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing