Windows Tips & Tricks UPDATE, October 11, 2004, —brought to you by the Windows IT Pro Network and the Windows 2000 FAQ site
http://www.windows2000faq.com

Make sure your copy of Windows Tips & Tricks UPDATE isn't mistakenly blocked by antispam software! Be sure to add Windows_TipsandTricks_UPDATE@list.windowsitpro.com to your list of allowed senders and contacts.

This email newsletter comes to you free and is supported by the following advertisers, which offer products and services in which you might be interested. Please take a moment to visit these advertisers' Web sites and show your support for Windows Tips & Tricks UPDATE.

Free White Paper: Measuring the ROI of Systems Management Software
http://www.argent.com/w/whitepapers_ema.html?Source=WNT

Security Administrator
http://www.secadministrator.com/rd.cfm?code=fsep254xup


Sponsor: Free White Paper: Measuring the ROI of Systems Management Software

Argent delivers what a growing number of enterprises need today: flawless management of Windows, UNIX, and application servers; low total cost of ownership; flexible configuration; scalable architecture; modular products; positive ROI; and outstanding customer support. Every enterprise IT department wants value without sacrificing performance, and that describes Argent's value proposition. To read the entire paper, click here:
http://www.argent.com/w/whitepapers_ema.html?Source=WNT

====================

Dear READER,

In late September, we converted our email newsletters to HTML. This change was based on audience feedback that led us to believe the scale had tipped in the favor of HTML email newsletters.

Wow, did you ever chime in with feedback on this one! You resoundingly told us, "Don't take away my text newsletters!" More than 1000 (and counting) of you have taken time out of your busy day to tell how you want your email newsletters delivered.

Effective Monday, October 11, we will move email newsletters back to text format. We will include a link for any reader who wants to sign up for the HTML format, which we will offer again when demand for this format has built up.

It's wonderful to see how responsive our audience is and how much you care about the content. We want to continue providing high-value content in these free email newsletters. Our sponsors and your clicks are what allow us to produce this high-quality content for free in the email newsletters.

We have been overwhelmed by your response and appreciate this incredible testament to the deep community relationship we have with you. In a meeting the other day, we were discussing how cool it is that thousands of you felt strongly enough about it to take the time to write us an email and tell us your thoughts!

We work really hard to listen you, our loyal (and opinionated!) audience, and we feel privileged to be the hub of this incredibly active Windows IT community over the past 10 years. Keep the feedback coming because you know we're listening!

Best regards,
Karen Forster


FAQs

  • Q. What's Windows System Resource Manager (WSRM)?
  • Q. How do I specify a new process for Windows System Resource Manager (WSRM) to manage?
  • Q. How do I create a resource-allocation policy?
  • Q. How can I activate a resource-allocation policy?
  • Q. Why can't clients view a Web site that I'm hosting on a system that has Windows XP Service Pack 2 (SP2) installed?

Commentary
by John Savill, FAQ Editor, jsavill@windowsitpro.com

This week, I explain what Windows System Resource Manager (WSRM) is, how you specify a new process for WSRM to manage, and how you create a resource-allocation policy. I also tell you how to make a resource-allocation policy active and explain why clients can't view a Web site that's hosted on a system running Windows XP Service Pack 2 (SP2).


Sponsor: Security Administrator

Try a Sample Issue of Security Administrator! Security Administrator is the monthly newsletter from Windows IT Pro that shows you how to protect your network from external intruders and control access for internal users. Sign up now to get a 1-month trial issue--you'll feel more secure just knowing you did. Click here!
http://www.secadministrator.com/rd.cfm?code=fsep254xup


FAQs

Q. What's Windows System Resource Manager (WSRM)?

A. Available only for Windows Server 2003, Datacenter Edition, and Windows Server 2003, Enterprise Edition, WSRM is a component that's used to throttle CPU and memory usage on the servers on which it's installed. WSRM can be useful when you want to run multiple applications on a server while ensuring that no application consumes more than its fair share of resources, which could impede other applications' performance. WSRM lets you place caps on a process or user level to make sure that all processes have the required resources.

WSRM uses "soft" caps, which means that although each process is limited to a specific percentage of CPU utilization and amount of memory, a process can exceed the limit if no other process is competing for the resource. Let's say I've defined caps for three applications:

  1. Application 1: 30 percent of CPU
  2. Application 2: 50 percent of CPU
  3. Application 3: 20 percent of CPU

If applications 2 and 3 each used 10 percent of the CPU and application 1 required more than its 30 percent allocation, WSRM would give application 1 the additional amount that it required, up to 80 percent of the total CPU. However, if one of the other applications later required more CPU, WSRM would grant the other application the amount of CPU it requested, up to its limit.

WSRM is supplied on the Windows 2003 Datacenter and Windows 2003 Enterprise CD-ROMs. You can also download WSRM at http://www.microsoft.com/windowsserver2003/downloads/wsrm.mspx.

Q. How do I specify a new process for Windows System Resource Manager (WSRM) to manage?

A. Before you can tell WSRM to impose CPU and memory restrictions on a process, you must define the process in WSRM by specifying matching criteria. Here's how to do this:

  1. Start the Microsoft Management Console (MMC) Windows Server Resource Manager snap-in (Start, Programs, Administrative Tools, Windows Server Resource Manager).
  2. Right-click Process Matching Criteria and select New Process Matching Criteria.
  3. Give the matching criteria a name (e.g., the application's name), then click Add.
  4. If the application is currently running, select Running Process from the drop-down list, then click Select and select the process, as the figure at http://www.windowsitpro.com/content/content/44204/wsrmaddprocess.gif shows.
  5. The path of the selected process will be added. Click OK to close the dialog boxes.

You've now defined your application as a process to which WSRM can assign resources.

Q. How do I create a resource-allocation policy?

A. You use a resource-allocation policy in Windows System Resource Manager (WSRM) to assign soft CPU and memory caps to processes you've identified through process-matching criteria, as I explain in the FAQs "What's Windows System Resource Manager (WSRM?)" and "How do I specify a new process for Windows System Resource Manager (WSRM) to manage?". To allocate resources to processes you've defined, you must create a resource-allocation policy by performing these steps:

  1. Start the Microsoft Management Console (MMC) Windows Server Resource Manager snap-in (Start, Programs, Administrative Tools, Windows Server Resource Manager).
  2. Right-click Resource Allocation Policies and select New Resource Allocation Policy.
  3. Enter a name for the policy--for example, Daytime.
  4. Click Add to add processes for which WSRM should allocate resources. You'll see the dialog box that the figure at http://www.windowsitpro.com/content/content/44204/wsrmaddproc2.gif shows. In the Process Matching Criteria column, select the process for which you want to set limits, then enter the maximum amount of CPU you want to allocate to that process. You can also set memory limitations by selecting the Dependencies tab. Repeat this addition for each process whose resources you want to limit.
  5. Click OK to close the dialog boxes.

You now have a resource-allocation policy that sets the soft caps for processes that are defined on the system.

Q. How can I activate a resource-allocation policy?

A. To activate a resource-allocation policy that you've defined in Windows System Resource Manager (WSRM), in the Microsoft Management Console (MMC) Windows Server Resource Manager snap-in, right-click the resource-allocation policy and select Set as Managing Policy from the context menu. The resource-allocation policy entry in the treeview pane will now have "\[Manage\]" next to it.

To make the resource-allocation policy active, you need to ensure that WSRM is managing the system. To do so, in the Windows Server Resource Manager snap-in's treeview pane, right-click Windows System Resource Manager and select Properties. The WSRM Managing State should be set to Running; if the state shows another setting, right-click the Windows System Resource Manager entry and select Start Managing from the context menu.

Q. Why can't clients view a Web site that I'm hosting on a system that has Windows XP Service Pack 2 (SP2) installed?

A. XP SP2 includes the new Windows Firewall, which blocks inbound requests to port 80 (HTTP) and is enabled by default. To let clients access an XP SP2 Web host, perform these steps on the XP SP2 host:

  1. Run firewall.cpl (Start, Run, firewall.cpl) to configure the firewall.
  2. Select the Exceptions tab.
  3. Click Add Port.
  4. Enter HTTP for the name and 80 for the port.
  5. Click OK.

If the XP SP2 Web host also serves HTTP Secure (HTTPS) Web pages, repeat these steps and enter HTTPS for the name and 443 for the port.

Announcements
(from Windows IT Pro and its partners)

  • Get the Charter Issue of Windows IT Pro!

  • Windows & .NET Magazine is now Windows IT Pro! Act now to get our special charter issue rate of just $39.95--that's 52% off the cover price! The September issue shows you how to plug DNS holes and select the best scripting editor, plus learn more about the business side of IT. And discover the top 10 PC trends we think you need to keep an eye on. This is a limited-time offer, so order today!
    http://www.winnetmag.com/rd.cfm?code=thep204jul

  • Join Itzik Ben-Gan, William Vaugh, & Gert Drapers in Brussels!

  • Learn from SQL Server Magazine experts at Europe's premiere SQL Server event - Brussels SQL Server Day on October 26. Join Microsoft and SQL Server Magazine for a FREE, full-day event that gives SQL Server users the tools they need to unleash the power of SQL Server 2000, deploy SQL Server Express, and get ready for SQL Server 2005. Register now!
    http://www.windowsitpro.com/roadshows/sqlserverbrussels/index.cfm?code=1011semailannc

    Events Central
    (A complete Web and live events directory brought to you by Windows IT Pro: http://www.windowsitpro.com/events )

  • Are You "Getting By" Using Fax Machines or Relying on a Less Savvy Solution that Doesn't Offer Truly Integrated Faxing from within User Applications?

  • Attend this free web seminar and learn what questions to ask when selecting an integrated fax solution, discover how an integrated fax solution is more efficient than traditional faxing methods, and how to select the fax technology that's right for your organization. Register now!
    http://www.windowsitpro.com/seminars/faxsolutions/index.cfm?code=1011emailannc

    Contact Us
    Here's how to reach us with your comments and questions:

    This weekly email newsletter is brought to you by Windows IT Pro, the leading publication for Windows professionals who want to learn more and perform better. Subscribe today.
    http://www.windowsitpro.com/sub.cfm?code=wswi201x1z

    Receive the latest information about the Windows IT Pro topics of your choice. Subscribe to our other FREE email newsletters.
    http://www.windowsitpro.net/email