A Web site does not appear in the IIS Server list when you create an IIS Server Instance on a Windows 2000 server cluster (888186)



The information in this article applies to:

  • Microsoft Windows 2000 Advanced Server

SYMPTOMS

If you try to create a Microsoft Internet Information Services (IIS) Server Instance resource on a Microsoft Windows 2000-based server cluster, the Web site that you created does not appear in the IIS Server list of the Parameters dialog box. However, if you try to stop or try to start the Web site by using the Internet Information Services Microsoft Management Console (MMC) snap-in, you receive the following error message:
You must use Cluster Administrator to start or stop this item.
Therefore, you cannot manage the Web site.

CAUSE

This issue occurs if the metabase determines that this Web site is managed by the Cluster service. A managed Web site does not appear in the IIS Server list when you configure a new IIS Server Instance resource.

RESOLUTION

To resolve this issue, configure the Web site so that it is no longer managed by the Cluster Service. To do this, follow these steps:

Step 1: Determine the instance number of the affected Web site

To determine the instance number of the affected Web site, follow these steps:
  1. Click Start, click Run, type cmd, and then click OK.
  2. Change to the Inetpub\Adminscripts folder. To do this, type cd \inetpub\adminscripts, and then press ENTER.
  3. Type cscript adsutil.vbs enum w3svc/1, and then press ENTER.
  4. View the information that is returned to determine the name of the Web site. For example, information that is similar to the following is returned:

    Microsoft (R) Windows Script Host Version 5.1 for Windows
    Copyright (C) Microsoft Corporation 1996-1999. All rights reserved.
    
    KeyType				: (STRING) "IIsWebServer"
    ServerState			: (INTEGER) 2
    ServerComment			: (STRING) "Default Web Site"

    Note that this example shows the default Web site.
  5. Follow steps 3 and 4 to determine the instance number of the Web site that you experience this problem with. To do this, increment the instance number that appears after w3svc/ in the Adsutil command by one every time that you run the command. For example, the second time that you run this command, type cscript adsutil.vbs enum w3svc/2, and then press ENTER.

Step 2: Set the ClusterEnabled property of the affected Web site to False

After you determine the correct instance number of the Web site that you experience this problem with, set the Web site properties so that this Web site is not managed by the cluster. To do this, set the ClusterEnabled property to False. To do this, follow these steps:
  1. Click Start, click Run, type cmd, and then click OK.
  2. Change to the Inetpub\adminscripts directory. To do this, type cd\inetpub\adminscripts, and then press ENTER.
  3. Type cscript adsutil.vbs set w3svc/affected Web site instance number/ClusterEnabled false, and then press ENTER. For example, if you experience this issue with the Web site instance 2, type cscript adsutil.vbs set w3svc/2/ClusterEnabled false, and then press ENTER.

Step 3: Restart Internet Information Services

Restart Internet Information Services to cause these settings to take effect. To do this, follow these steps:
  1. Click Start, click Run, type cmd, and then click OK.
  2. Type iisreset, and then press ENTER.

MORE INFORMATION

Even if the Web site does not appear in the IIS Server list when you try to create a new IIS Server Instance resource, you can still create the IIS Server Instance by using command-line commands. To do this, follow these steps:
  1. Click Start, click Run, type cmd, and then click OK.
  2. View the existing cluster resources. To do this, type cluster res, and then press ENTER.
  3. Create a new IIS Server Instance resource. To do this, type cluster res name that you want to use for the resource /create /group:"name of the group where you want to create the resource" /type:"IIS Server Instance", and then press ENTER. For example, to create a resource that is named WWWcluster in the group that is named Disk Group 1, type cluster res WWWcluster /create /group:"Disk Group 1" /type:"IIS Server Instance", and then press ENTER.

    Note The new cluster resource is created in an offline state.
  4. Configure a resource dependency to the IP address resource for your Web site. To do this, type cluster res name that you want to use for the resource /adddep:"name of the IP Address resource that you configured for your clustered Web site", and then press ENTER. For example, to configure a resource dependency to an IP Address resource that is named WWWip, type cluster res name that you want to use for the resource /adddep:"wwwip", and then press ENTER.

    Note This IP Address resource must be in the same group that you created your IIS Server Instance resource in.
  5. Configure the correct instance ID for the IIS Server Instance resource. To do this, type cluster res name that you want to use for the resource /priv instanceId=instance number of the Web site that you want the cluster to manage, and then press ENTER. For additional information about how to determine the Web site instance number, see the "Resolution" section.
  6. Configure the service name for the IIS Server Instance resource. To do this, type cluster res name that you want to use for the resource /priv ServiceName=nullvalue, and then press ENTER.
The new resource is configured. You can manage this new resource by using the Cluster Administrator program.

Note The IIS Server Instance resource stores the information about the Web site that it manages in the following registry subkey:

HKEY_LOCAL_MACHINE\Cluster\Resources\<GUID>\Parameters\InstanceID


Modification Type:MajorLast Reviewed:12/9/2004
Keywords:kbClustering kbtshoot kbprb KB888186 kbAudITPRO