Лектор: Борислава Палева. agenda what’s new in iis7? iis7 for it pros demos...
Post on 17-Dec-2015
225 Views
Preview:
TRANSCRIPT
лектор: Борислава Палева
for administrators
Galin IlievMCT MCPD MCSD.NET
http://www.galcho.com
Agenda
• What’s new in IIS7?• IIS7 for IT Pros• Demos
– Explore new tools– Tracing enhancements– View live requests
• Proven Scale– Microsoft.com - 10k Req/sec & 300K Connections– Match.com 30 million page view daily– MSN.com
• Proven Security– No critical IIS 6 hotfixes since RTM
• as of 5/20/07
• Proven Trust– 54% of Fortune 1000 use IIS (port80software.com)
A solid foundation to build on.
IIS 6 Today : A Proven Platform
What’s missing in IIS 6
• Metabase corruption and replication issues
• Too few options for site administration• Failures are too difficult to troubleshoot• Not (enough) flexibility for customizations
IIS7 Requirements
• Windows Server 2008• Windows Vista
– Pro (Ultimate, Enterprise & Business)– Home Premium– Starter
Work Smarter – Save TimePowerful Diagnostics Capabilities
Shared Web Server Configuration
Work Smarter – Save TimePowerful Diagnostics Capabilities
Shared Web Server Configuration
Security by DefaultOpt-In Modular Architecture
Enhanced Process Model
Building on IIS 6.0 Rock Solid Security Legacy
Security by DefaultOpt-In Modular Architecture
Enhanced Process Model
Building on IIS 6.0 Rock Solid Security Legacy
Manage with EaseRich Suite of Administration Tools
Delegated and Remote Administration
Manage with EaseRich Suite of Administration Tools
Delegated and Remote Administration
Lower Infrastructure Support CostsArsenal of Productive Administration Tools
Fully customizable
Lower Infrastructure Support CostsArsenal of Productive Administration Tools
Fully customizable
IIS7 for IT Pro
Install Only What Your Infrastructure Requires
+40 setup components to choose from
Patch only the modules you install
Install Only What Your Infrastructure Requires
+40 setup components to choose from
Patch only the modules you install
Conserve Runtime Resources
Reduce worker processes in memory
Reduce number of intra-process events
Conserve Runtime Resources
Reduce worker processes in memory
Reduce number of intra-process events
Add or replace modules to provide custom featuresAdd or replace modules to provide custom features
Reduced default installation
Smaller attack surface by default
Reduced default installation
Smaller attack surface by default
Security by default
The Many Benefits of IIS7’s Modular Design
IIS 6 IIS 7 Benefits
Architecture Monolithic Modular Customize, Extend,Streamline
Setup Most Features installed (many disabled)
Minimal installation for designated role
Increased Security
Extend Features
ISAPI filters and ISAPI extensions
Add modules and handlers in native or managed code
Easier to develop application and administration features
Customize UI Possible, but not common.
Extensible, modular, based on .NET
Much easier for developers to provide new admin features
Write Scripts to Automate Complex Tasks
NET API: Microsoft.Web.Administration
Use Vbscript/Jscript against a new WMI Provider
Write Scripts to Automate Complex Tasks
NET API: Microsoft.Web.Administration
Use Vbscript/Jscript against a new WMI Provider
Intuitive Redesign of IIS Manager
Rewritten to be more task-orientedContext-Sensitive ’Actions’ Pane
Tabs are replaced with icons
Allows IIS and ASP.NET configuration
Completely extensible; written in WinForms
Intuitive Redesign of IIS Manager
Rewritten to be more task-orientedContext-Sensitive ’Actions’ Pane
Tabs are replaced with icons
Allows IIS and ASP.NET configuration
Completely extensible; written in WinForms
Easily Administer from the Command Line
One, consolidated tool: AppCmd.exe
Easily Administer from the Command Line
One, consolidated tool: AppCmd.exe
PowerShell
Manage with ease
DEMO 1
• Imporved IIS Manager• AppCmd
• Moved from Metabase.xml (and .bin) to ApplicationHost.config
• File based configuration improves manageability– XML – integrate with XML readers and APIs– Config can be copied to other servers– Easier to read – Facilitates backup, restore and editing
• You now have choices about how to manage IIS configuration– Delegated Administration – Shared Configuration
IIS 7 Configuration System
• Delegation of configuration to non-Administrators• XCopy Deployment of configuration along with
content• Single configuration store for the entire Web
Platform• Rich extensibility• Clean, schematized XML configuration files
IIS 7 Configuration System
NET global settingsASP.net global settings
Global settings and location tags
.NET Framework Global web.configMachine.config
IIS 7Applicationhost.config
Site RootWeb.config
<system.web>.NET settings
..
..
..
<system.webServer>IIS7 Delegated settings
..
Configuration System.NET + IIS7
Delegated Administration
• Delegate control to site owners• Site owners control designated settings without
elevated server privileges• Delegated settings written to Web.config files
– Site and/or application level– Shared with ASP.net configuration– XCopy deploy configuration and content
• Granular control over delegated settings allows precise locking– Example: Require Windows Authentication - let site owner
control turn on/off Basic.
Shared Configuration
• All web servers can share a single applicationhost.config
• Eliminates configuration replication in a web farm
• Easily stage and rollback config changes• All administration tools are redirected to a
common UNC path• Does not replicate content
• IIS Manager has built in remote administration capabilities
• Terminal Services or Admin web site not required• Clients are IIS Manager from XP, 2003, Vista
and Longhorn • Uses the WMSVC service (Windows Service)
Requires Management Service be installed in Server Manager
Remote Administration
Tracing and Diagnostics
• View Detailed Errors in the Browser– New errors provide prescriptive guidance
• Access Runtime State Info in Real-Time– New APIs expose all runtime diagnostic information
• Ex. See all currently executing requests
• Rapidly Troubleshoot Faulty Applications• Rules define ‘failures’ that triggers report of pipeline events
– Define by http result code and/or time taken
• Configurable per application or URL• Quickly identify bottlenecks • Developers can add custom events
Application support
• .NET 3.5 • .NET 2.0 – direct support• .NET 1.1 – actions required• .NET 1.0 – not supported• ASP 3.0 – direct support
Demo 2
• Trace Failures
• Explore configuration• Setup new web application• Explain shared configuration• Display request under WCAT load
Q&A
top related