Windows Server 2008 Web Workload Overview


Published on

Presentation at Microsoft Architect Council in November 2007 - by Mark McReynolds, Microsoft

Published in: Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Windows Server 2008 Web Workload Overview

  1. 1. Mark McReynolds, MCSE, CISSP | Principal Technology Specialist
  2. 2. Agenda • Windows Server 2008 Overview • Internet Information Services 7.0 Overview • Questions and Answers 4/29/2009 2
  3. 3. Server Technology Overview
  4. 4. Server Technology Trends VM 1 VM 2 VM 2 Virtual “Parent”“Child” “Child” Hard Disks (VHD)
  5. 5. New Command-line shell & Scripting Language Improves productivity & control Accelerates automation of system admin Easy-to-use Works with existing scripts Partners Futures Ship in Windows Admin GUIs layered over PowerShell One-to-many remote mgmt using WS-MGMT Coverage
  6. 6. Server Manager Initial Configuration Product Installation
  7. 7. Only a subset of the executable files and DLLs installed No GUI interface installed Five available Server Roles Can be managed with remote tools
  8. 8. Complete Redesign of TCP/IP More Control Winsock User Mode Kernel Mode TDI Clients WSK Clients AFD TDI WSK TDX Next Generation TCP/IP Stack (tcpip.sys) Next Generation TCP/IP Stack (tcpip.sys) TCP UDP RAW RAW TCP UDP Inspection API IPv4 IPv6 IPv6 IPv4 Loop- IPv4 IPv6 Loop- IPv4 WLAN 802.3 IPv6 802.3 WLAN back Tunnel Tunnel back Tunnel Tunnel NDIS Dual-IP layer architecture for native IPv4 and IPv6 support Improved Network Performance Troubleshooting Improved performance via hardware acceleration and autotuning Greater extensibility and reliability through rich APIs Completely manageable through Group Policy
  9. 9. Windows Server 2008 Scenarios Security and Policy Enforcement Web and Branch Office Applications Platform Anywhere Server Management Application Access High Availability Server Virtualization
  10. 10. IIS 7.0 Overview
  11. 11. IIS7 Enables Developers To… XCopy deploy IIS configuration  Manage Web applications as non-  Administrators Take advantage of more powerful ASP.NET  integration Build custom Web server functionality  More rapidly troubleshoot Web applications 
  12. 12. Some IIS History IIS6 •http.sys is introduced as protocol listener for http • Replaced Winsock in IIS5 (user mode) •Provides kernel mode caching and request queuing •Run through the WWW Service •Managed : •http admin and configuration •Process Management •Performance Management
  13. 13. IIS Now… IIS7 •WWW service split in two: WWW Service and Windows Process Activation Service (WAS) •WWW managed http.sys •http.sys is listener for http and https •WAS manages App Pools and worker processes •Allows other protocol listeners (WCF – NetTCPActivator) •
  14. 14. IIS7 Architecture Basic 40+ No longer a monolithic HTTP HTTP Request Response server Authentication Componentized server NTLM Basic Anon Url Authorization Authz ... Pluggable modular ResolveCache Output Cache ... functionality CGI Determine Static Small generic request Handler ExecuteHandler File pipeline Forward ISAPI er ... Enables: ... UpdateCache SendResponse Lightweight servers SendResponse Compre Log ssion Custom / specialized servers
  15. 15. IIS7 ASP.NET Integration • Two modes – Classic (runs as ISAPI) – Integrated Basic • Integrated mode Anon Authentication – .NET modules / handlers plug directly into pipeline Authorization – Process all requests – Full runtime fidelity ResolveCache aspnet_isapi.dll … Static Authentication file ExecuteHandler Forms Windows … … ISAPI ASPX Map UpdateCache Trace handler SendResponse … Compress … Log Microsoft Confidential
  16. 16. More Control Better Tools Secure HTTPS Shared Config Internet AppHost.config Administrator • Intuitive, Task Oriented GUI Manage RemotelyDelegation • .NET Management API • Unified WMI Provider for IIS/ASP.NET XCopy Deploy Shared App Hosting • Powerful Command Line Support • Rich Runtime State Information • Automatic Failure Tracing & Logging Web Farm App Web.config Site Owner • Arsenal of Admin Tools • Secure Remote Management • Delegated Management • Shared Config for Web Farms
  17. 17. IIS7 Configuration No More Metabase.xml New system of distributed XML config files Integrates into familiar .NET config New System.webServer section IIS + .NET ASP.NET + ASP.NET Framework .NET Framework Machine.config Root Web.config Web.config IIS7 ApplicationHost.config
  18. 18. AppCmd.exe APPCMD.EXE is the single command line tool for managing IIS 7.0. It exposes all key server management functionality through a set of intuitive management objects that can be manipulated from the command line or from scripts Some of the things you can do with AppCmd: Create and configure sites, apps, application pools, and virtual directories  Start and stop sites, and recycle application pools  List running worker processes, and examine currently executing requests  Search, manipulate, export, and import IIS and ASP.NET configuration  AppCmd also allows server administrators to build advanced management  tasks simply by combining multiple simpler AppCmd.exe commands, or reusing the output of the tool inside another program.
  19. 19. Protection by Default Reduced default installation • Smaller attack surface by default • Install Only What Your Infrastructure Requires • +40 setup components to choose from • Patch only the modules you install • URL Filtering prevents suspicious requests • from being serviced Sandbox Applications on Shared Server • Built-in Anonymous User Account • IUSR account is no longer a local account • 4/29/2009 20
  20. 20. Manage with Ease – Rich Suite of Administration Tools Intuitive Redesign of IIS Manager • Rewritten to be more task-oriented • New Ways To Automate Tasks • Microsoft.Web.Administration (use with PowerShell) • • Use Vbscript/Jscript with a new WMI Provider Easy Command Line Administration • One, consolidated tool: AppCmd.exe • Delegate Management to Site Owners • Allows delegate to change specific settings without • elevated privileges Manage Remotely without Machine Privileges • Secure, firewall-friendly connection over HTTP/SSL • 4/29/2009 21
  21. 21. Lower Infrastructure Costs Keep Existing Investments Fully Customizable For Developers and  Flexible, modular core server  Applications: Built on public extensibility  First class support for Classic  APIs ASP applications C/C++ and .NET Web server  Excellent compatibility for  extensibility existing ISAPIs “Classic” mode for ASP.NET Add / Remove / Replace   applications Logging, authentication, or any IIS module For Administrators:  Metabase support for existing  ADSI/WMI scripts 4/29/2009 22
  22. 22. Lower Infrastructure Costs - ASP.NET and PHP Hosting Provide Windows Hosting of PHP Applications • Built-in FastCGI module - Optimized for high • performance 25x faster than standard CGI • Fully tested against latest PHP.NET builds (PHP 5.2.1) • Host Multiple Versions of PHP Side by Side • Supports Internet Standards • FastCGI standard allows for Python, Ruby, PERL, etc. • 4/29/2009 23
  23. 23. Work Smarter, Save Time Powerful Diagnostics Shared Web Config All web servers can use a View Detailed Errors in the single configuration file Browser New Errors provide Metabase .xml is replaced with prescriptive guidance Applicationhost.config Rapidly Troubleshoot Faulty Easily copy configuration from Applications server to server Define „failures‟ triggers by error code or time taken Resulting Failed Request Log is chronicle of events for the „failed‟ request 4/29/2009 24
  24. 24. What Next? Windows Server 2008 Beta: Home Page: Webcasts: Forums: IIS 7.0 TechCenter: Administration Reference: SDK: Virtual Labs: Windows Powershell Script Home Page: MSDN: Webcasts: 4/29/2009 26