Windows Server Containers- How we hot here and architecture deep dive
Deep Dive on Windows Server 2008
description
Transcript of Deep Dive on Windows Server 2008
![Page 1: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/1.jpg)
Deep Dive on WindowsServer 2008
![Page 2: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/2.jpg)
Agenda
• IIS 7.0 Overview• Windows 2008 Features• Virtualization (Hyper-V)• Powershell• Q&A
![Page 3: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/3.jpg)
Global Launch: February 27, 2008
![Page 4: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/4.jpg)
Opportunity for Hosters
• Manage with Ease: – More efficient administration tools including delegated
administration and shared configuration• Powerful Hosting of Applications and Services:
– Expanded application hosting for .NET, ASP, PHP Web applications and XML services
• Lower Infrastructure Costs: – Improved scalability, reliability and enhanced security
features
![Page 5: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/5.jpg)
Quotes from IIS 7 Preview Hosters
Shared Configuration
allows me to do what I’ve wanted
to for a long while!
IIS 7 will make my life much
easier!
Why in the world is Front
Page still supported?!
IIS 7 is definitely a step in the
right direction. Glad you’re
listening!
![Page 6: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/6.jpg)
IIS 7 Built for HostingMicrosoft is dedicated to creating the best hosting platform on the planet.
• Windows Server Web Edition 2008 • New IIS Manager: manage thousands of sites• Opt-in modular architecture • World-class hosting for ASP.NET and PHP• New, flexible configuration system• Security based on IIS 6’s solid legacy, simplified and
enhanced• Rich suite of automation tools• Modern, secure FTP server
![Page 7: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/7.jpg)
Windows Server 2008 Web Edition
• Reduced costs, increased capacity• 4 processors• 4GB Ram (x32), 32GB (x64)• Microsoft® SQL Server™ allowed for local Web applications• Includes Windows SharePoint• Server Core optional install
![Page 8: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/8.jpg)
The New IIS 7 Manager
![Page 9: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/9.jpg)
DEMOManaging 4000
Sites
![Page 10: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/10.jpg)
IIS6 Architecture - Request Processing
Send ResponseLog Compress
NTLM Basic
Determine Handler
CGI
Static File
AuthenticationAnon
Monolithic implementation -install all or nothing…
Extend server functionality only through ISAPI…
ASP.NET
PHPISAPI
…
…
![Page 11: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/11.jpg)
IIS 7 Architecture - Request Processing
Send ResponseLog Compress
NTLM Basic
Determine Handler
CGI
Static File
ISAPI
AuthenticationAnon
SendResponse
Authentication
Authorization
ResolveCache
ExecuteHandler
UpdateCache
…
…
Server functionality is split into ~ 40 modules...
Modules plug into a generic request pipeline…
Modules extend server functionality through a public module API
…
…
![Page 12: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/12.jpg)
IIS 6 ASP.NET Integration
• ISAPI-based implementation• Only sees ASP.NET requests• Feature duplication
Send ResponseLog Compress
NTLM Basic
Determine Handler
CGI
Static File
ISAPI
AuthenticationAnon
…
…
AuthenticationForms Windows
Map Handler
ASPX
Trace
……
…
aspnet_isapi.dll
![Page 13: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/13.jpg)
IIS 7 ASP.NET Integration
• Two App Pool modes– Classic (IIS 6)– Integrated Mode
• .NET modules/handlers plug directly into pipeline
• Process all requests• Full runtime fidelity
Log
Compress
Basic
Static File
ISAPI
Anon
SendResponse
Authentication
Authorization
ResolveCache
ExecuteHandler
UpdateCache
…
…Authentication
Forms Windows
Map Handler
ASPX
Trace
……
…
aspnet_isapi.dll
![Page 14: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/14.jpg)
PHP/FastCGI
• Reach new markets with reliable and performant PHP hosting• Develop and deploy on the same platform• PHP apps benefit from IIS 7 capabilities
– Pipeline service available to PHP• Leverage .NET Forms Authentication• Use URLFiltering, URLAuth, Caching
– Tracing and diagnostics– Delegated administration– Apps benefit from integration with Microsoft suite of servers and
management services
![Page 15: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/15.jpg)
DEMOServicing PHP Applications
with IIS7 Modules
![Page 16: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/16.jpg)
Flexible Configuration
XML-based configurationXcopy server or site configurationEasy to manage with new APIs and toolsFully extensible schema for custom applications
Delegate administrationPermit site owners to control specific settings
Shared configurationMultiple servers share single config file
![Page 17: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/17.jpg)
Security EnhacmentsBuilt on IIS 6’s proven security designImproved application pool sandboxAnonymous user “built in”, not a local accountCustomer configurable rules
URLFiltering: Filtering of suspicious URLsReplaces URLScan
URLAuthorization: control access to content Does not rely on ACLs
Rules are stored locally and relocate with content
![Page 18: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/18.jpg)
Excellent Application Compatability
• Static, ASP and ISAPI: fully compatible• ASP.NET
– Very high compatibility in integrated mode– Classic mode insures IIS 6 equivalent functionality
• PHP, works without modification• IIS 6 ADSI: Install IIS 6 Metabase compatibly role service
![Page 19: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/19.jpg)
Tracing and Diagnostics• View detailed errors in the browser
– New errors provide prescriptive guidance• Runtime state info in real time
– New APIs expose runtime diagnostic information• E.g. See all currently executing requests
• Rapidly troubleshoot faulty applications• Define ‘failures’ triggers by error code or time
taken• Configurable per application or URL
– Failed request log chronicles events for trigger• Quickly identify bottlenecks • Extensible eventing system
![Page 20: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/20.jpg)
Automating IIS 7 Management
• APPCMD– General purpose command line tool
• Managed code API– Microsoft.Web.Administration
• WMI– Improved namespace for IIS 7
• ADSI compatibility• Powershell
– Use with Managed API and WMI
![Page 21: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/21.jpg)
Enabling Partners
• Ecosystem of partners supporting deployment of IIS 7
![Page 22: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/22.jpg)
FTP 7
• Integrated publishing• Secure file transfer with FTPS• Improved user isolation• Authenticate to non-Windows accounts• Integrated with the IIS manager
![Page 23: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/23.jpg)
IIS 7 Go Live
• What is it?– Offer your customers IIS 7 sites today
• What’s in it for you?– Early deployment availability of IIS 7– Opportunity to provide feedback to the product team– Co-promotion and PR opportunities
• IIS.net spotlights and offer directory• Why is Microsoft offering this program?
– Increase feedback, build partnership, promote early adoption
![Page 24: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/24.jpg)
IIS.net: Home for IIS Community!
In-depth technical articles and samplesConnect with other IIS experts on blogs & forumsFree advice and assistance in forums
Download center with IIS solutions
![Page 25: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/25.jpg)
![Page 26: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/26.jpg)
Improve Uptime
• Before, hardware upgrades and maintenance have required a shutdown, resulting in downtime
• Windows Server 2008 reduces the need for downtime by supporting these hardware configuration changes without a reboot:– Hot add and replacement of processors (Datacenter Edition)– Hot plug PCI Express
• Some vendor proprietary Windows Server 2003 configurations supported hot plug PCI
– Hot add memory (Enterprise and Datacenter Editions)
![Page 27: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/27.jpg)
Self-Healing NTFS
• Before, NTFS corruptions required running Chkdsk, which often could only be done on the next reboot
• In Windows Server 2008, an NTFS worker thread performs background Chkdsk-type corrections when NTFS detects a corrupt file or directory– Minor disk errors are transparent to the user– No need to reboot to repair corruptions
![Page 28: Deep Dive on Windows Server 2008](https://reader035.fdocuments.in/reader035/viewer/2022062501/56816427550346895dd5e69b/html5/thumbnails/28.jpg)
Clean Service Shutdown
• Before, services had no way to extend the time allowed for shutdown– After a fixed timeout (default 20 seconds), SCM was killed and
system halted (while services were running) – This was a problem for services that needed to flush data
• In Windows Server 2008, services can request preshutdown notification and take as long as they want to shut down– If the service stops responding the system gives up on it after 3
minutes