Virtually: Anything is Possible December, 2006 Peter Fitzsimon Principal Technology Specialist Global Solutions Technical Team, APAC Windows Server Division Microsoft Corporation Imagine ... AD Exch SQL Web Build Your Datacenter What do the analysts say? What single IT element will have the greatest effect on IT Infrastructure and Operations during the next few years? “Virtualization,” according to Gartner VP and Distinguished Analyst Jay Pultz. Symposium/ITxpo, 2006 IDC estimates that nearly 500,000 server boxes equipped with virtualization software will ship this year, up from just above zero three years ago. By 2009, the number of units shipped is expected to reach 1.2 billion, the research firm said. – Sept 2006 What will we cover today? What is Virtualization? What can we do different? What is Microsoft doing? What’s happening on the desktop? Licencing changes to cater for Virtualization Windows Server® Virtualization Road Map Windows virtualization futures How to manage it all Businesses Need Efficiency Need to make hardware environments more efficient IT Depts need greater flexibility Standardize and consolidate hardware and software to simplify support Save money by increasing utilization and IT responsiveness Disaster Recovery/Business Continuity is more critical than ever Virtualization: Could it be the answer? Allows multiple operating systems to run simultaneously on the same machine Gain better hardware utilization Economic hardware purchasing Reductions in power, air conditioning and floor space Faster time to provision server environments Each independent virtual machine functions as a self-contained computer Flexibility, portability and isolation Flexible recovery options Meet Business continuity needs Conventional Physical Infrastructure Approach Application Application Application Application Application Application Application Application Application Application Application Application Operating System Operating System Operating System Hardware Hardware Hardware 10 Virtualized Infrastructure Application Application Application Application Application Application Application Application Operating System Operating System Hardware Application Application Application Application Operating System Machine Virtualization 11 Machine Virtualization Virtualization enables the creation of multiple computers in software MS Current Virtualization Offerings Virtual PC 2004 SP1 For Desktop OS’s on PCs Does not run as service Free Download VPC 2007 out next year R2 For Server OS’s on Servers Multi-threaded Runs as service Can migrate Physical environments to Virtual environments Free Download What can we do different? Development and Testing Cloning of Production Systems for Test Legacy Application Re-hosting Server & Branch Office Consolidation Disaster Recovery/Business Continuity Teaching & Training Environments Test and Development Consolidate and automate software test and development environments Virtual Server enables side-by-side testing and production on the same system Greater flexibility Better test coverage Developer productivity User experience Test distributed server applications on a single physical server Cloning Physical Environments (P2V) AD SQL Prod DR AD SQL Exch WinXP Exchange Client Web Test/UAT Physical Production AD Web SQL Exch Web Re-Host Legacy Applications Applications often outlive their original OS or hardware Virtual Server enables better choice Smooth application re-hosting with solid application compatibility Upgrade infrastructure without having to upgrade or rewrite applications Run legacy applications in native environments in virtual machines Consolidate Workloads Consolidate multiple server workloads Higher hardware utilization Increased manageability Use Virtual Server for Departmental or branch office services Large Convenience Store chain in Japan – 1000 stores Large Retail chain in US – 1300 stores Consolidation of infrastructure services Disaster recovery environments Disaster Recovery Consolidation reduces number of physical assets that can be damaged Virtual machines can be hosted anywhere for recovery Speeds up recovery time Maximizes flexibility Teaching & Training: Virtual Labs http://www.microsoft.com/events/vlabs TechNet Labs MSDN Labs Windows Vista Office System 2007 Microsoft Exchange SQL Server 2005 Windows Server 2003 Systems Mgmt Server Operations Manager Visual Studio 2005 Visual Studio Team ASP.NET 2.0 Windows Workflow Foundation Windows Communication Foundation Biztalk Server Visual C# Visual C++ So you want a new server? Business Case for Physical machine Business Case for Virtual machine Physical Virtual Virtual Server 2005 R2 Hosted on Microsoft Windows Server 2003 Increased hardware efficiency Enhanced IT productivity Run multiple workloads on fewer servers Accelerate deployment, reduce hardware support Best-supported virtualization solution Extensively tested and supported What does a VM consist of? Virtual Server encapsulates virtual machines in portable Virtual Hard Disks (.VHDs) XML (.vmc) configuration file stores metadata Enables flexible configuration, change, deployment Memory size, disk, CD and network configs Enables external configuration management Automated provisioning and deployment Each virtual machine can connect up to 32 VHDs Up to four VHDs connected via virtual IDE controller Up to seven VHDs connected per virtual SCSI controller, up to four SCSI controllers Maximum storage per virtual machine is 56TB Virtual Server 2005 R2: Core Features 64-bit host support Broad device compatibility Clustering services Multi-threaded machine monitor Broad x86 guest compatibility Windows guest operating system performance optimization CPU resource allocation Memory resource allocation Enhanced PXE booting iSCSI support Up to 32 processor support (Enterprise Edition) Comprehensive COM API Virtual Hard Disks Virtual Server administration website Microsoft Operations Manager 2005 Management Pack for Virtual Server (System Center Virtual Machine Manager available in 2007) Physical Server Equivalency Windows guest usability Linux guest support Virtual Server: SP1 New Features Intel-VTand AMD-V virtualization technology support Volume Shadow Copy Service support For easier provisioning and updating Support greater than 64 virtual machines on x64-based hosts For better backup and recovery Virtual Hard Disk mounting on host For better performance For better scalability Support for Vista & Longhorn (beta) Out-of-the-Box High Availability Virtual Server 2005 R2 host cluster: Host updating WSUS server Shared Storage WSUS Shared Storage Node 1 Node 2 VM VM Node 3 VM Administrator wants to update node 1 with Windows Server Update Services Microsoft Cluster Administration Console saves the state of virtual machines and restores them on another node Node 1 is ready for update installation Out-of-the-Box High Availability Virtual Server 2005 R2 host cluster: Unplanned downtime Shared Storage Shared Storage Node 1 Node 2 Node 3 X VM VM VM Node 1 suffers a power outage or a network failure A simple script attached to the Microsoft Cluster Administration Console notices the lack of heartbeat and starts the virtual machines associated with node 1 on other nodes Virtual Server 2005 R2: Supported Operating Environments Supported Windows guest operating systems: OS that run but are not “supported” in production Windows Server 2003 Windows XP Professional SP2 Windows Vista (coming soon) DOS 6.2, Windows 95, 98 & ME Windows NT4 Windows Server 2000 Supported Linux distributions: Enterprise distributions: Red Hat Enterprise Linux 2.1 (update 6) Red Hat Enterprise Linux 3 (update 6) Red Hat Enterprise Linux 4 SuSE Linux Enterprise Server 9 Standard distributions: Red Hat Linux 7.3 Red Hat Linux 9.0 SuSE Linux 9.2/9.3 SuSE Linux 10 Supporting Heterogeneity VM Additions downloadable for many Linux Distributions Recent Novell Agreement (2nd Nov 2006) Technical Collaboration Agreement Patent Agreement Virtualization, Web Services & Office Doc format compatibility Cross indemnification for Intellectual Property Business Collaboration Agreement Joint Marketing activities Joint support for SuSE Linux running as a guest on Virtual Server Patents pledges to SuSE developers and noncompensated developers For more details see http://www.microsoft.com/interop/msnovellcollab/default.mspx Changing the way we try and buy software VHD Test Drive Program – Nov 2006 VHD Format Virtual Machine File Format Standard format used by Virtual PC 2004, Virtual PC 2007, and Virtual Server 2005 And for Windows Server Virtualization Now listed under Microsoft’s Open Specification Promise http://www.microsoft.com/interop/osp/. Royalty free specification Enables collaboration between software vendors and the open source community Anyone can use or implement these specification(s) with their technology, code, solution, etc. Must agree to the terms 31 VHD Test Drive Program Provides downloadable, fully-functional virtual machines with evaluation software preinstalled and preconfigured Reduces cost and complexity of software evaluation Enables evaluation in isolated environments Program Process Overview VHD Distribution Process Flow VHD Program Product Group Apply all Patches Apply Branding Add Unique ID Active TimeBombs SYSPREP / ReArm Compact VHD Create Installer (EULA) Approval + VHD Approval Release Sites ft so l o r a c Mi ntern I Master Images oft s o al cr M i x te r n E MSDN Images TechNet Evaluation Images TechNet Subscriber Images Microsoft Product MSConnnect Windows Server 2003 R2 Enterprise Edition FPP Partners rt Pa + Gold Images Partner Master Evaluation Images m/ . co oft tion s a cro liz mi rtua vi r ne Gold Images Partner Evaluation Images Partner Product Web catalog of available images End Users VHD Test Drive Program Benefits Software Vendors: provide pre-configured installations of software to customers Convenient and simple process for creation of application images Widespread distribution of applications Testing and evaluation of applications accelerated Customers: a quick and easy way to evaluate Microsoft and partner software Simple and convenient evaluation of products Safe contained environment Reduced costs by delivering quick, easy evaluations Licensing Changes to Support Virtualization Virtual Server Licencing April 2006: Virtual Server 2005 R2 now free Available as free download from web Jan 2006: New use rights with Windows Server 2003 R2 Enterprise Edition Virtual Server Licencing April 2006: Virtual Server 2005 R2 now free Available as free download from web Jan 2006: New use rights with Windows Server 2003 R2 Enterprise Edition Virtual Server Licencing April 2006: Virtual Server 2005 R2 now free Available as free download from web Jan 2006: New use rights with Windows Server 2003 R2 Enterprise Edition DataCenter Edition Virtual Server Licencing April 2006: Virtual Server 2005 R2 now free Jan 2006: New use rights with Windows Server 2003 R2 Enterprise Edition Available as free download from web WS2003 R2 EE allows you to run 1 host plus 4 Virtual guests for a single licence of EE WS2003 R2 DataCenter allows you to run unlimited VMs on a single host Jan 2006: Virtualization Licencing Changes Only need to licence for running servers Per Proc licencing per “virtual processor” instead of per physical proc What’s happening on the Desktop? Application Virtualization using Softricity SoftGrid: Application Virtualization Applications are virtualized per instance: Files (including System Files) Registry Fonts .ini COM objects Services Applications do not get installed or alter the operating system Yet tasks process locally on the host computer. SoftGrid: On-Demand Streaming of Virtual Apps Permission Based Centrally Served App executes on desktop, laptop and/or Terminal Server, not on SoftGrid Server Cached for Performance The first time the Server streams “just enough” code (20-40%) to client or TS machine. As more code is needed, it is dynamically delivered. Locally Executed User clicks on desktop shortcuts – authentication, authorization and licensing checked every time users launch a SoftGrid application App code is cached for repeat use – even without a network Disconnected Use Support Entire set of applications are cached for limited time before expiring The Future of Microsoft’s Virtualization Windows Server Virtualization Next generation virtualization after Virtual Server 2005 To be released in Longhorn server timeframe What it will provide: The ability to virtualize workloads with few or no limitations as to what workloads can/may be virtualized Requires 64-bit (x64-based) hardware 32-bit (x86-based) & 64-bit (x64-based) child partitions Large memory support (>4GB) within virtual machines (VMs) SMP 2/4/8 way VMs Pass-through disk access for VMs New hardware sharing architecture (VSP/VSC) Memory over-commit Disk, networking, USB, input, video Robust networking: Support for offload technologies Hypervisor for Windows Server Virtualization A thin layer of software below all OSes to create partitions and delegate hardware resources No built-in driver model Leverage the large base of Windows drivers Drivers run within the guest OSes Well-defined, published interface Highly reliable Minimal Trusted Computing Base (TCB) Allow others to create support for their OSes as guests Hardware virtualization assists are required Intel Virtualization Technology (VT) AMD “Pacifica” AVT Microsoft Virtualization Today Windows Virtualization VM VM VM VM VM VM Within 180 days of Longhorn RTM Microsoft Virtual Server Microsoft Windows Server OS Server Hardware Management Parent VM Hypervisor Child VM Child VM (embedded within OS) Server Hardware 50 Monolithic vs. Microkernelized Monolithic hypervisor Simpler than a modern kernel, but still complex Contains its own drivers model Microkernelized hypervisor VM 1 (“Admin”) VM 2 Hypervisor Drivers Drivers Drivers VM 3 Simple partitioning functionality Increase reliability and minimize TCB No third-party code Drivers run within guests VM 1 (“Parent”) Virtualization Stack Drivers Drivers Drivers VM 2 (“Child”) VM 3 (“Child”) Drivers Drivers Drivers Drivers Drivers Drivers Hardware Hypervisor Hardware Microkernelized Hypervisor has an inherently secure architecture with minimal attack surface 51 How do we manage all this? System Center Virtual Machine Manager New Admin/Management/UI tool - MMC based Centralised management of all Virtual Machines With Virtual to Physical mapping Facilitate dynamic resource configuration Hot add hardware, Hot add cpu, hot add memory, hot add storage Physical to virtual (P2V) migration wizard With resource optimization.and intelligent placement Library of Templates and Virtual Machines Virtual machine snapshots. The ability to dynamically create multiple checkpoints in time of virtual machines and revert to any previous checkpoint Offline VHD manipulation. The ability to securely access files within a virtual hard disk without having to instantiate a virtual machine. Self Service provisioning Physical to Virtual Machines Mapping One Click switching between physical and virtual views VM State Transition, migration and checkpoints Customizable grouping of physical and virtual machines into resource pools Complete details of both physical and virtual layers Intelligent Placement Subset physical hosts to appropriate resource pool(s) Rank ordered recommendations of physical hosts for placement of virtual machine. Capacity Planning models, historical performance data, hard requirements, … incorporated into algorithm. Management Pack for MOM 2005 Displays all hosts including knowledge of physical vs virtual Generate scripts leveraging COM API to automate tasks MOM 2005 – Single pane for managing physical servers to virtual machines Mapping guests to host with visibility into server health One-to-Many management of hosts and guests Health monitoring and configuration changes Closed loop automation via scripting and COM API Fine grained control over virtual machines (guests) Server Virtualization Roadmap Windows Server virtualization 2007 w/in 180 days of Longhorn RTM Windows Server “Longhorn” System Center Virtual Machine Manager 2006 2005 Virtual Server 2005 R2 SP1 Currently available Microsoft Virtual Server 2005 R2 SP1 Beta Virtual Server MOM Management Pack R2 By EOY System Center Virtual Machine Manager Beta Windows Server virtualization beta Microsoft Virtual Server 2005 R2 Virtual Server MOM Management Pack 60 So Virtually ....we can: Lower our IT costs Get better hardware utilization Get greater flexibility of where we run our applications Easy fit into existing MS environments Leverage System Center Products for Mgmt Develop Business Continuity plans Look forward to Windows Server Virtualization Make almost anything is possible …