Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Presented by
Harold Chattaway
Software Engineer
www.softwarelifecycle.com
The slides are at
www.softwarelifecycle.com/downloads/iis6.ppt
Background
Author of “WebRad: Building database applications for the
web with Visual FoxPro.”
3 time speaker for MS at DevDays in Boston
Speaker at Client/Server World in Boston
2 time speaker at Great Lakes Database Conference
Frequent UG speaker (VB, VFP, .NET).
Developer/architect of www.Bugcentral.com A fully hosted
defect tracking service.
Developer/architect of www.softwarelifecycle.com. An
integrated suite of software development tools.
Outline
What’s new in IIS 6?
How to install?
• New Install
• Upgrade (walkthrough of actual upgrade)
Administration Methods
Creating/Configuration of web sites
Securing IIS
Various Flavors
Win 2003 Standard Edition: Includes IIS6, supports 4 way
SMP and 4 Gb of memory
Enterprise Edition: 8 way SMP and up to 32 Gigs of
memory
DataCenter Edition: Only from OEM for high end critical
systems with advanced clustering support.
Web Edition: Meant just for web servers. Intended for rack
mountable “blade” servers. Lacks Internet Connection
Sharing, Services for Mac. Is not a domain controller, no
clustering. Supports 2 way SMP and 2 gb of memory. Very
lightweight.
New Features
HTTP “listener” is now part of OS Kernel. Hands off requests to
separate worker processes. Greatly increase performance and
reliability.
“Application Pools” that can house a single or multiple web sites.
Individually configurable properties.
Large memory support for caching up to 64 Gigs of data.
Not installed with Windows 2003. Must be installed separately.
When installed, completely locked down. Every scriptmap needs to
be added.
New metabase in XML format. Can be edited while IIS is running.
HTTP.SYS
Kernel Mode process that listens for and routes HTTP requests to
the proper applications.
Is now part of TCP/IP stack in Windows.
Handles returning cached versions of pages. No need to go to
application level and switch from kernel mode to user mode.
Can still queue requests even if the application handling requests
has crashed.
Handles TCP connections, logging services, bandwidth throttling,
connection limits, and timeouts.
This works with Web Administration Service (WAS) to manage
requests…
Web Administration Service
At startup, retrieves websites from metabase and creates routing
table for HTTP.SYS. Creates one entry for each application pool.
Handles the health of the application pools by starting, stopping
and recycling processes.
It can “ping” the site and if not responding, it can terminate and
start a new process to take its place.
Application Pools
Is given its own request queue
from the HTTP.SYS listener.
Contains one or more worker
processes (w3wp.exe)
If an application needs to be
completely isolated from others,
give it it’s own pool.
“Demand Start” will only start an
application when the first request
is received. Saving memory and
resources.
“Idle Timeout” shuts down a
process when idle for X number of
minutes. Again saving resources.
“Recycling” can be used to
periodically restart a pool. Can
use elapsed time, time of day or
# of hits
Upgrading
Upgraded Windows 2k Server to
Win 2k3 Enterprise Server.
Took 43 minutes, very painless.
Ran Windows Update, 6 critical
updates.
Take IIS 6 out of IIS Isolation
Mode. (Website property sheet,
Service Tab)
Removed URLSCAN. Really not
needed with IIS 6.
Use Web Extension Service (WSE)
to allow only ASP.NET app
extensions. From IIS 5, it allows
all.
All extensions
have to be
explicitly
allowed.
Configuring
IIS Is NOT installed as part of the main OS install.
WUGTEST will
be routed to IP
Address
172.16.0.5
IP Address
Create website location Name
Metabase
Instead of binary file, its now a plain text XML file
Automatic versioning of files. History files are kept in
\windows\system32\inetserv\history
XML file is read into memory upon startup. Changes are first
made to memory version then flushed to disk.
Metabase can be backed up and moved to another machine
Iiscnfg /copy can be used to copy an entire metabase to another
machine. This removes machine specific info from the metabase.
Great for replicating servers in a server farm environment.
Resources
www.iisfaq.com
http://www.microsoft.com/downloads/details.aspx?FamilyID=80a1b6e6-829e-49b7-8c02-3
: Link to IIS Resource kit book. Each chapter is a DOC file. Great resource.
http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ad
: Resource kit.
www.iisanswers.com
www.port80software.com
Books