Server Hosting Guidance

39
Server Hosting Guidance

description

Server Hosting Guidance. AGENDA. Update Hosting Guidance Overview From WbH to Hosting Guidance Hosting Guidance What is it? Timeline Best Practices Planning the Architecture Deploying Configuring Management Community Guidance Wiki Components Platform Technologies Resources Q&A. - PowerPoint PPT Presentation

Transcript of Server Hosting Guidance

Page 1: Server Hosting Guidance

Server Hosting Guidance

Page 2: Server Hosting Guidance

AGENDA• Update Hosting Guidance Overview

– From WbH to Hosting Guidance– Hosting Guidance What is it?– Timeline

• Best Practices– Planning the Architecture– Deploying– Configuring– Management

• Community– Guidance Wiki

• Components– Platform Technologies

• Resources• Q&A

Page 3: Server Hosting Guidance

Prerequisite Readings: • Windows Server 2008 Product Info:

– http://www.microsoft.com/windowsserver2008/default.mspx • WS2008 Server Manager

– http://www.microsoft.com/windowsserver2008/servermanagement.mspx

• IIS 7.0 Shared Hosting Guide:– http://weblogs.asp.net/hosterposter/archive/2007/05/28/iis7-share

d-hosting-guidance.aspx

• Windows Deployment Services Role: – http://technet2.microsoft.com/windowsserver2008/en/library/3b45

68bc-9d3c-4477-807d-2ea149ff06491033.mspx?mfr=true

• Microsoft Deployment Getting Started Guide:– http://technet.microsoft.com/en-us/library/bb891786.aspx

• Windows Communication Foundation (WCF):– http://msdn2.microsoft.com/en-us/library/ms731082.aspx

• SQL 2008 Overview:– http://www.microsoft.com/sql/techinfo/whitepapers/sql2008Overvie

w.mspx

Page 4: Server Hosting Guidance

Hosting Guidance Overview

Page 5: Server Hosting Guidance

Past - WS 2003: What is WbH?The Microsoft Solution for Windows-based Hosting (WbH) consists of a set of independent components divided into two categories:

– Infrastructure components• Designed to streamline management, administration, and monitoring of the hosting

environment and to lower operational costs

– Hosted services components• Managed applications that are deployed on top of the infrastructure component of the

Microsoft Solution for Windows-based Hosting version 4.5

Page 6: Server Hosting Guidance

What is changing?• Upgrade to new components for Deployment, Configuring, and

Provisioning• Avoid maintaining an online guidance and automation through

outsource vendors – IIS.NET community site with updated wiki referred to as “Hosting Roadmap”– Maintained by the Microsoft employees and in the future key members of the

hosting community.• Automation samples based on the latest technology such as PowerShell,

C#, .NET Framework, WCF.• Greater interop power and customization for mixed OS Hosting

Environments through the WCF-based Provisioning, Management, and Querying Sample Services.

• Provides an upgrade path to more sophisticated Deployment, Management, and Monitoring technologies such as the System Center family of products.

• No need for deployment of HMC/MPS environments for Web Hosting.

Page 7: Server Hosting Guidance

Future - WS 2008: Hosting Guidance• Best Practices, Sample Scripts, and Guidance

– Deployment– Configuration– Provisioning– Management

• Community Wiki– Hosted in IIS.NET– Regular contributions by the product teams– Leverages articles from Technet, IIS.NET, etc.– Quarterly updates to refresh hosting content and to add hosting scenarios– In the future it will take hosting community content.

Page 8: Server Hosting Guidance

Hosting Guidance Main Areas

Guidance Approach

Technology Results

Page 9: Server Hosting Guidance

Hosting Guidance – New Components

• Hosted Services Components:– IIS 7.0: Internet Information Services, part of the WS2008

SKU’s– SQL Server 2008. Latest version of MS database Server

product.– Windows SharePoint Services (WSS)

• Infrastructure Components:– Windows Deployment Services (WDS)– Active Directory. Centralize Management– Sample Hosting Services.– Windows Server Update Services (WSUS)– Windows Server OS.– System Central Operations Management (SCOM)

Page 10: Server Hosting Guidance

Component changes from WbH • Deployment: ADS changes to WDS/MDT/SCCM

• WDS (Windows Deployment Services). Provides the basics for imaging and deployment across multiple servers.

• MD (MS Deployment) and SCCM. Provide end-to-end deployment and configuration solution.

• Monitoring and Management: MOM changes to SCOM• New UI to more effective present critical problem information.

• Configuration• New IIS Manager UI improves browsing, discovering, learning, and

managing IIS 7.0. • IIS 7.0 is highly modular, over 40 feature modules to choose from.

• Provisioning and Management: MPS Replaced by Sample (Open Source) Hosting Services • Provides Hosters with clear examples to integrate in their custom systems.

• Central Management: Enhanced with new WS08 functionality• Updated AD Domain Services Installation Wizard• Includes fine-grained password policies and restartable AD Domain Services• New Data mining tool, view Active Directory data that is stored in snapshots

online

Page 11: Server Hosting Guidance

Hosting Guidance Timeline

Page 12: Server Hosting Guidance

Best Practices

Page 13: Server Hosting Guidance

Hosting Guidance Best Practices• Planning the Architecture -Scenarios

• Shared Hosting• Dedicated Hosting

• Managed• Unmanaged

• Virtual Hosting PowerShell & C# Samples• Deploying

• Planning the Deployment• Preparing• Testing• Deploying

• Configuring• Optimizations

• Provisioning & Management

Page 14: Server Hosting Guidance

Hosting Guidance Best Practices - Planning the Architecture• Each Hosting Scenario will have a corresponding Sample

Architecture– Shared, Virtual, Dedicated, etc.– Provides guidelines of what works well.

• Key Features Considerations:– Shared Configuration across Servers– Isolated configuration for application pools.– Remote Administrations for non-administrators– Improve performance for CFG and PHP applications.

• Shared Hosting Sample Architecture, initially, more to come– Configured and tested with up to 5,000 Web sites (not running

concurrently)– A traffic pattern of 90/10 was assumed (90% of traffic to 10% of

sites)– An Active Directory domain is used to provide accounts– The application pool account is used as the anonymous identity– Content is stored on a remote file server

Page 15: Server Hosting Guidance

Hosting Guidance Best Practices – WDS & MS Deployment

• Provides project guidance and recommendations– Microsoft Solutions

Framework and Microsoft Operations Framework, based on ITIL

• Includes job aids and project templates to assist with planning

• Step-by-step project and technical guidance

Image Engineering

Application Management

Security

OperationsReadiness

Deployment

Infrastructure Remediation

Release Readiness

Program Planning and Management

Page 16: Server Hosting Guidance

Hosting Guidance Best Practices – Configuring Components• File Server For Shared Storage

– Share and NTFS Permissions– Directory Quotas– SMB Command Registry Keys

• Web Server for Shared Hosting– Registry Keys, Backup– IIS 7.0, ASP.NET, Fast CGI, Classic ASP.

• FTP– Security, User Isolation– Host Names– Firewall Setting– FSRM Folder Quotas– IIS Manager Authentication– Configuration Files

Page 17: Server Hosting Guidance

Hosting Guidance Best Practices – Configuring Components (cont.)• Supporting Web Farm

– Shared Configuration• Centralized Management of Web Farm Servers

– Offline Files for Shared Configuration• Caching Configuration Data

– Network Load Balancing• Enabling LINQ in .NET 3.5

– Medium Trust Support– Change to Custom Trust Files

• Enabling WCF– Server Feature

• WSS• SQL

Page 18: Server Hosting Guidance

Hosting Guidance Best Practices - Code Samples, Scripts, and Troubleshooting• Configuration, Provisioning, and Management

Code Samples and Scripts using:– Microsoft.Web.Adminstration namespace– Windows Communication Framework– IIS 7.0 WMI Provider– AppCmd.exe

• Provisioning and Shared Configuration Troubleshooting– Describing the Double-hop Authentication Issue– Available Workarounds

• Modify the DCOM Configuration • Using Services Sample for Hosters• Using WMI

Page 19: Server Hosting Guidance

Hosting Guidance Best Practices – Provisioning and Managing• MPS is being Replaced by Hosting Provisioning

and Management Services (sample code) – A managed code Sample for provisioning,

management, and querying of sites, users, and db’s.• Written in C#• Based on WCF• Uses Microsoft.Web.Adminstration, and other proven

API’s• Hosted in IIS or Windows Services.

• Provides Details on per-site configuration settings.

• Provides samples scripts using PowerShell, Microsoft.Web.Administration, WMI, and AppCmd.

Page 20: Server Hosting Guidance

Hosting Guidance Best Practices – Provisioning IIS7 Sites, Shared Hosting Guidelines• Web Sites

– Shared Hosting Site Specific Items• Isolating Sites with Application Pools• Creating Sites• ASP.NET Temporary Compilation Directories

– Logging and Diagnostics– Delegated Administration User

• FTP Sites– Creating a New Site– Adding FTP to Existing Web Site

Page 21: Server Hosting Guidance

Hosting Guidance Best Practices – Sample Services for Hosters• Getting Started

– IIS 7 AppPools, Sites, Applications– AD User accounts– SQL databases– File Storage

• Services Overview– Hosting Environment– Management Services for Hosters– Services Architecture

• Services Implementation• Consuming the Services

– Sample Web Client

Page 22: Server Hosting Guidance

Hosting Guidance Best Practices – Provisioning and Management Services Sample

Page 23: Server Hosting Guidance

Hosting Guidance Best Practices – Sample Services for Hosters - Web Client

Page 24: Server Hosting Guidance

Best Practices - Migrating

• Provides information on potential issues when migrating applications from IIS6 to IIS7.– Configuration– Authentication, Authorization, and Impersonation– URL Validation– Headers– Modules Handlers and Events– General Issues

• Will include migration tools as they become available.

Page 25: Server Hosting Guidance

Hosting Guidance - Community

Page 26: Server Hosting Guidance

Hosting Guidance Community• Guidance Wiki: WBH Technet Library Replaced by Hosting Roadmap Wiki in IIS.NET

– Part of the IIS.NET Community Site.– Integrated with new IIS.NET wiki infrastructure

• Work with existing IIS.NET accounts.• Sub-tree of IIS.NET Table of Contents• Rich Table of Content Filtering based on key tags like “Hosters” or “Shared

Hosting”– Simplified Publishing process.

• Support for various media types.• Supports HTML and MediaWiki markup languages• Supports RTF (copy and paste from Word).• Tracks changes• Allows for more frequent updates.

– Community• In the future it will be opened to Hoster Partners in the Community.• Infrastructure allows for users to add comments to individual articles.• Extensible Role-based access.

• FAQ’s– Classified in accordance with the Hosting Roadmap Content sections– Based on Hosters actual Questions

• Quarterly Update

Page 27: Server Hosting Guidance

Hosting Guidance Community - Wiki in IIS.NET

Page 28: Server Hosting Guidance

Hosting Guidance - Components

Page 29: Server Hosting Guidance

Hosting Guidance Components

IIS, FTP, PHP/FastCGI WSUS

WDSSQLWindows FileServer Active Directory

Page 30: Server Hosting Guidance

Hosting Guidance Components - IIS 7.0 Major Features

ExtensibleDesign

ASP.NETIntegration

Built-in Tracing & Trouble-shooting

ImprovedSecurity

ModuleCore

New UI & Management

APIsPHP Interop

Page 31: Server Hosting Guidance

IIS 7 Manager provides management functions for:

• Manage IIS and ASP.NET in one tool.

• View health and diagnostic information that includes the ability to view currently running requests in real time.

• Configure user and role authorization for sites and applications.

• Delegate site and application configuration to non-administrators.

• Connect to a Web server, site, or application remotely by using HTTP.

Hosting Guidance Components - IIS 7.0 Manager

Page 32: Server Hosting Guidance

Hosting Guidance Components - SQL08 For Hosters

• SQL Server 2008 reduces hardware and maintenance:– Flexible consolidation approach to meet Hosting Requirements.– Centralize data services management. Easy to manage multiple DB’s and

Data Services.– Improve Auditing, and Monitoring capabilities.– Industry-leading performance and scalability

• Flexibility:– Consolidate databases using multiple instances and virtualization

– Better Isolation, Licensing, Development and Testing– Always-on operations: DB Mirroring, Failover Clustering, Peer-to-peer replication

Enhancements.• Manageability:

– Centralize management with SQL Server Management Studio– Hardware Security Modules (HSMs)

• Predictable Scalability and Performance:– Control resource utilization– Scale up consolidated servers

Page 33: Server Hosting Guidance

Hosting Guidance Components - Active Directory• Auditing. Set new audit policy subcategory (DS

Changes) to log old and new values when changes are made to AD objects and their attributes.

• AD deployment improvement: read-only Domain Controller (RODC)

• Updated AD Domain Services Installation Wizard• Updated MMC snap-in to manage users and resources

more efficiently• Includes fine-grained password policies and restartable

AD Domain Services• New Data mining tool, view Active Directory data that is

stored in snapshots online

Page 34: Server Hosting Guidance

Hosting Guidance Components - Server Manager: adding WCF

Server Manager :• Provides end-to-end process of

installing, configuring, and managing server roles and features.

• Server Manager replaces and consolidates WS 2003 features: Manage Your Server, Configure Your Server, and Add or Remove Windows Components.

WCF:• Set of .NET technologies for

building and running Advanced Web services

• Unifies and Simplifies transports, security systems, messaging patterns, encodings, network topologies, and hosting models.

• Ideal for interoperability in mixed OS environments.

• Used by the Hosting Services Sample for Provisioning and Management

Page 35: Server Hosting Guidance

Hosting Guidance Components - SCOMSCOM new UI with laid-out dashboards and reports to more effective present critical problem information.

Page 36: Server Hosting Guidance

Resources

Page 37: Server Hosting Guidance

Resource Links:• Windows Server 2008 Documentation:

http://technet.microsoft.com/en-us/windowsserver/2008/default.aspx

• WDS: http://technet2.microsoft.com/windowsserver2008/en/library/7d837d88-6d8e-420c-b68f-a5b4baeb52481033.mspx?mfr=true

• MD Toolkit download: http://www.microsoft.com/downloads/details.aspx?familyid=3bd8561f-77ac-4400-a0c1-fe871c461a89&displaylang=en&tm

• Active Directory in WS 2008: http://technet2.microsoft.com/windowsserver2008/en/library/eccfec5b-86c6-4b19-8b70-1aad0403d1df1033.mspx?mfr=true

• IIS7 Hosting Available: http://blogs.iis.net/bills/archive/2007/4/28/1686437.aspx

• SQL 2008 Whitepapers: http://www.microsoft.com/sql/2008/learning/whitepapers.mspx

Page 38: Server Hosting Guidance

WS08 Proof Points

IIS 7 Modular design give hosters control of memory footprint

“With the better memory management and modular design, I believe we’ll see performance, reliability, and security on the Windows hosting platform continue to improve”

Do more with fewer servers, reducing TCO

From what we’ve seen so far, we think it will be possible to significantly reduce the amount of ‘tin’ in the data center. IIS7 appears to offer a great TCO benefit,”

Improved Diagnostics Internal operations will definitely take advantage of IIS7’s ability to look into what’s going on inside the worker processes.”

Easier to provision Using the new APIs, we’ve streamlined our provisioning system, reducing the code base by about 50 percent.

Page 39: Server Hosting Guidance

Questions