390 likes | 578 Views
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.
E N D
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
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-shared-hosting-guidance.aspx • Windows Deployment Services Role: • http://technet2.microsoft.com/windowsserver2008/en/library/3b4568bc-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/sql2008Overview.mspx
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
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.
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.
Hosting Guidance Main Areas Guidance Approach Technology Results
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)
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
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
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
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
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
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
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
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.
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
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
Hosting Guidance Best Practices – Provisioning and Management Services Sample
Hosting Guidance Best Practices – Sample Services for Hosters - Web Client
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.
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
Hosting Guidance Components IIS, FTP, PHP/FastCGI WSUS Windows File Server WDS Active Directory SQL
Hosting Guidance Components - IIS 7.0 Major Features ModuleCore Built-in Tracing & Trouble-shooting ExtensibleDesign ImprovedSecurity PHP Interop ASP.NETIntegration New UI & ManagementAPIs
Hosting Guidance Components - IIS 7.0 Manager • 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 - 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
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
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
Hosting Guidance Components - SCOM • SCOM new UI with laid-out dashboards and reports to more effective present critical problem information.
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