Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

June 01, 1999 12:00 AM

Build a High-Availability Web Site with MSCS and IIS 4.0

Windows IT Pro
InstantDoc ID #5371
Rating: (0)
Cluster IIS to gain peace of mind and restful nights

Microsoft Cluster Server (MSCS) is a valuable, yet misunderstood, Windows NT Server 4.0, Enterprise Edition (NTS/E) service that increases production time through sustained availability. In this article, I explain MSCS's basic functionality and walk you through how to use MSCS with Internet Information Server (IIS) to set up a high-availability Web site that gives you peace of mind.

MSCS Basics
A common misconception about MSCS is that it provides load-balanced processing of one application or service across multiple servers. The truth is that MSCS provides fault tolerance to ensure that your applications or services are still available to users when your hardware, OS, services, or applications fail. A basic MSCS system contains two physical servers, which you connect via a crossover cable for internode communications, and a shared SCSI or fibre-channel storage subsystem for arbitrated storage.

MSCS uses this setup to provide active/active or active/standby availability. Active/active availability means that both servers actively provide your users separate instances of a service or application. In addition, either server can almost seamlessly take over its cluster partner's processing load if its partner's hardware, service, application, or OS fails. Active/standby availability means that only one server is the active server in the cluster. The standby server idly sits and waits to assume all processing responsibility if its busy cluster partner experiences a failure. The services and applications you run in active/active or active/standby configurations determine whether you can run multiple instances of a service or application on either or both cluster nodes.

If you use MSCS to cluster IIS, the nodes in your IIS 4.0 cluster won't provide load-balanced processing of one Web site. Instead, MSCS offers your IIS Web site to the network in the guise of a virtual server (i.e., multiple servers that appear as one server to the OS or for network administration) and hosts your site on a preferred node. The preferred node is the node in the cluster that you designate as the primary server for your virtual server. Your preferred node performs all the processing during normal operation. If a failure occurs on the preferred node and impedes the virtual server's availability, the virtual server's processing load moves to the other cluster node. For example, if cluster node A is your virtual server's preferred node and cluster node A has a hardware, software, or OS failure, your virtual server fails over to cluster node B. After the failover completes, your virtual server is still available to your users.

Some users are disenchanted with MSCS after they realize it doesn't provide load-balanced processing. Although MSCS doesn't lighten the processing load on one server, it ensures that critical applications are available to users in case of hardware or OS failure. In addition, one MSCS implementation can host multiple high-availability Web sites. You can sleep better at night knowing that if your Web server has a system failure, your customers can still place orders via the Web.

Installing MSCS
The NTS/E manuals provide comprehensive instructions for installing MSCS. Also, you can find installation instructions and more information about MSCS in Brad Cooper's, "Installing Microsoft Cluster Server," http://www.winntmag.com, instaNT document number 3923.

Configuring your hardware for clustering is often more difficult than installing MSCS and clustering your applications. Some vendors offer cluster-ready packages that include the hardware you need to set up MSCS. However, before you buy a hardware solution, research vendors' offerings and choose a solution that requires as little assembly as possible—most vendors provide little documentation about how to configure their cluster-ready servers to work with MSCS.

Related Content:

ARTICLE TOOLS

Comments
  • comptec
    8 years ago
    May 16, 2004

    I am trying to install Internet Information Services 5.0 on my computer but I never installed it with XP before. Can anyone help?

  • Sander van Beek
    12 years ago
    Jul 25, 2000

    Hi,

    You wrote that clustered Web sites can be managed from the IIS MMC by adding the IIS site's virtual server name to your IIS MMC and that this means that the IISSYNC utility isn't needed anymore.
    This is not entirely right. If you make changes in the MMC, regardless wich name you use, it only changes the metabase of the node that the IIS resource group is runing on. To publish the changes to the other node you must use the IISSYNC util. Therefor I recommend to place all IIS resources (of the cluster) on one node, make the changes, publish the changes with the IISSYNC utility to the other node and move the resource groups to the nodes they belong to.
    P.S. MetaEdit 2.1 (Metabase editing tool) can also sync (backupo and restore) the metabases of IIS server, regardless if they are on a cluster or not. I haven't done I doe, I only read it.

    With kind regards,

  • Kevin Briody
    13 years ago
    Oct 04, 1999

    In "Build a High-Availability Web Site with MSCS and IIS 4.0" (June), Jim Plas describes installation and configuration tips for deploying Microsoft Internet Information Server (IIS) 4.0 in a cluster using Microsoft Cluster Server (MSCS). The article contains several statements that could cause significant deployment problems.


    First, the author mentions that he's uncertain whether clustered IIS needs Microsoft Internet Explorer (IE) to run or just to install IIS's application installation engine. IE is absolutely necessary for clustered or nonclustered IIS 4.0 installations. IE provides the Protected Storage service (among other things, such as the Windows scripting environment), which provides IIS with certificate management and access to protected parts of the Registry.


    Second, the author states, "Although no negative effects occur if you install the Option Pack components on a shared drive, you should install the components in their default locations ..." However, installing the components to the shared drive will cause negative effects during Windows NT Option Pack setup and confusion for the person running the setup on the second node. The person who runs setup on the second node will be asked where to place the components. The shared drive will be unavailable on the second node because the first node of the cluster owns the shared drive and the first node has locked the shared drive for exclusive use. The person running the setup on the second node must place the components locally on the second node (the components are on the shared drive for the first node). This scenario results in a different IIS configuration on each node of the cluster. Microsoft doesn't recommend that you configure IIS this way. If the first node owns the shared drive, the default and administration Web sites would be available on only the first node. If for any reason the first node didn't own the shared drive, things such as the Administration Web site and the IIS online Help would not be available to the second drive.


    Third, the author states that when you create a new IIS instance, you need to select Web Site and identify the directory that you previously created. Instead, you need to select Web Site and identify the Web site that you previously created. You don't specify a physical directory in this wizard.


    Fourth, the author has users run Iissync next. But at this stage of his instructions (without configuring Micro-
    soft Transaction Server--­MTS--­for replication), doing so would be unsuccessful. First, you must configure MTS for replication via a special user interface (UI) that the MTS snap-in provides for the Microsoft Management Console (MMC). The "Configuring MTS and IIS for Replication" section of the Microsoft article "How to Install the Windows NT Option Pack on Microsoft Cluster Server" (http://
    support.microsoft.com/support/kb/articles/q191/1/38.asp) outlines this process. If you don't configure MTS, Iissync won't run successfully.


    Finally, the author mentions that to avoid using Iissync, you can add your virtual server name to the IIS MMC and manage your Web site. The author implies that all synchronization will be taken care of for you. The only way to ensure that the Web sites are synchronized is to run Iissync from the command line or to manually configure both nodes. Connecting to the virtual server name via the MMC works only if you've configured MTS for remote administration, and makes changes to only the metabase or Registry of whichever node (not both) that currently owns the virtual server resource.

    --­Kevin Briody

    Product Manager, Windows Clustering

    Microsoft

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.