лектор: Борислава Палева
description
Transcript of лектор: Борислава Палева
![Page 1: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/1.jpg)
лектор: Борислава Палева
![Page 2: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/2.jpg)
for administrators
Galin IlievMCT MCPD MCSD.NET
http://www.galcho.com
![Page 3: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/3.jpg)
Agenda
• What’s new in IIS7?• IIS7 for IT Pros• Demos
– Explore new tools– Tracing enhancements– View live requests
![Page 4: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/4.jpg)
• 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
![Page 5: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/5.jpg)
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
![Page 6: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/6.jpg)
IIS7 Requirements
• Windows Server 2008• Windows Vista
– Pro (Ultimate, Enterprise & Business)– Home Premium– Starter
![Page 7: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/7.jpg)
Work Smarter – Save TimePowerful Diagnostics CapabilitiesShared Web Server Configuration
Security by DefaultOpt-In Modular ArchitectureEnhanced Process ModelBuilding on IIS 6.0 Rock Solid Security Legacy
Manage with EaseRich Suite of Administration ToolsDelegated and Remote Administration
Lower Infrastructure Support CostsArsenal of Productive Administration ToolsFully customizable
IIS7 for IT Pro
![Page 8: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/8.jpg)
Install Only What Your Infrastructure Requires+40 setup components to choose fromPatch only the modules you install
Conserve Runtime ResourcesReduce worker processes in memoryReduce number of intra-process events
Add or replace modules to provide custom features
Reduced default installationSmaller attack surface by default
Security by default
![Page 9: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/9.jpg)
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
![Page 10: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/10.jpg)
Write Scripts to Automate Complex TasksNET API: Microsoft.Web.AdministrationUse Vbscript/Jscript against a new WMI Provider
Intuitive Redesign of IIS ManagerRewritten to be more task-oriented
Context-Sensitive ’Actions’ PaneTabs are replaced with icons
Allows IIS and ASP.NET configurationCompletely extensible; written in WinForms
Easily Administer from the Command LineOne, consolidated tool: AppCmd.exe
PowerShell
Manage with ease
![Page 11: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/11.jpg)
DEMO 1
• Imporved IIS Manager• AppCmd
![Page 12: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/12.jpg)
• 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
![Page 13: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/13.jpg)
• 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
![Page 14: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/14.jpg)
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
![Page 15: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/15.jpg)
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.
![Page 16: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/16.jpg)
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
![Page 17: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/17.jpg)
• 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
![Page 18: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/18.jpg)
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
![Page 19: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/19.jpg)
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
![Page 20: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/20.jpg)
Demo 2
• Trace Failures
• Explore configuration• Setup new web application• Explain shared configuration• Display request under WCAT load
![Page 21: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/21.jpg)
Q&A
![Page 22: лектор: Борислава Палева](https://reader038.fdocuments.in/reader038/viewer/2022110104/568167e3550346895ddd4ba9/html5/thumbnails/22.jpg)