Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


January 31, 2005

Q. How can I create a Web service or an FTP service in a Windows Server 2003 cluster virtual server?

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!

A. Windows 2000 Server had resource types for the Microsoft IIS components that existed under the cluster resource types, but these no longer exist in Windows 2003. Instead, Windows 2003 provides scripts that are used in conjunction with the Generic Script resource type. Before these scripts will work, all nodes must have the relevant IIS components installed (e.g., Web or FTP components). If the relevant IIS components aren't installed, the required scripts will be missing from the server. To configure a Web or FTP service, perform these steps:

  1. Right-click the cluster group and select New, Resource.
  2. Enter a name and description for the resource, as the figure shows. For the resource type, select Generic Script. Click Next.
  3. The screen will display a list of possible owners. Ensure that the servers you want to be possible owners are in the "Possible owners" box and click Next.
  4. Next, configure the dependencies for the IIS resource. Microsoft recommends that you have a physical cluster disk and the network name as dependencies. Click Next.
  5. Next, you're prompted for the script name. For a Web IIS resource, use the C:\windows\system32\inetsrv\clusweb.vbs script, as the figure shows. For an FTP IIS resource, use the C:\windows\system32\inetsrv\clusftp.vbs script.
  6. Click Finish, then click OK in the confirmation dialog box that appears after you create the new resource.
You need to ensure that the IIS configuration is the same on all nodes in a cluster. To do so, use the IIScnfg.vbs script to copy the configuration from the configured node, by running the command
C:\WINDOWS\system32>cscript iiscnfg.vbs /copy /ts destsrv2 /tu
domain\user /tp Pa55word 
where destsrv2 is the server that you're copying the configuration to, domain\user is the user who has permission on the destination box, and Pa55word is the user's password. When you run the command, you'll see the following output on screen as a metadata copy is being performed:
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Backing up server 127.0.0.1
Backup complete.
Mapping local drive I: to admin share on server 127.0.0.1
Mapping local drive J: to admin share on server destsrv2
Copying backup files...
cmd /c copy /Y I:\system32\inetsrv\metaback\iisreplback.*
J:\system32\inetsrv\metaback
Unmapping local drive I:
Restoring on server destsrv2
Restore complete.
Unmapping local drive J:
Copy operation complete.
Please remember, however, that for most situations, a Network Load Balancing (NLB) cluster is a better solution than clustering for a Web service. In my example, I required the Web-based printing for a file and print cluster only. You can find more information about the clustering procedure at Microsoft's Web site.

End of Article



Reader Comments
is it possible to use this functionnality to copy IIS config to win server 2003, with a version of win server 2000

Anonymous User March 07, 2005 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Confirmed: Battery Life Issues Not Windows 7's Fault

Microsoft on Monday issued a lengthy statement about the recent Windows 7 battery controversy, echoing my assessment from earlier in the day, but backing it up with hard, cold evidence. ...

Battery Life Issues Almost Certainly Not Windows 7's Fault

While Microsoft is still investigating a notebook battery life issue that was supposedly caused by Windows 7, some interesting trends have emerged. ...

Microsoft Warns of Windows Version Expirations

Microsoft warned that this year will see three out-of-date Windows versions slip into retirement. ...


IIS and Web Administration Whitepapers Best Practices for SharePoint Backup & Recovery

Meeting Compliance Objectives in SharePoint

Improve SharePoint Performance for Remote Workers

Related Events Deep Dive into Windows Server 2008 R2 presented by John Savill

Check out our list of Free Email Newsletters!

IIS and Web Administration eBooks Web Filtering: An Assessment

Understanding and Leveraging Code Signing Technologies

Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Related IIS and Web Administration Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


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 DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2010 Penton Media, Inc. Terms of Use | Privacy Statement