Satisfy Your Technical Curiosity 1 PRE-VIR303 Microsoft Virtualization: Deep Dive Ronald Beekelaar Consultant, Beekelaar Consultancy

Slides:



Advertisements
Similar presentations
June 24th, 2006 Toronto. The Future of Microsoft Virtualization Allen Stewart Lead Program Manager Windows Server Division Microsoft Corporation.
Advertisements

Device Virtualization Architecture
Ravi Sankar Technology Evangelist | Microsoft
John Howard Program Manager Windows Virtualization
© 2010 VMware Inc. All rights reserved Confidential Performance Tuning for Windows Guest OS IT Pro Camp Presented by: Matthew Mitchell.
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 11 Windows Server 2008 Virtualization.
PDI 2009 Lance Baatz and Jason Huitt ACNS.  Introduction  Hyper-V Architecture  Installing Hyper-V and creating Virtual Machines using Hyper-V Manager.
Microsoft Virtualization Strategy Christof Pfister Partner Technology Specialist, SMS&P Microsoft Schweiz GmbH Christof.
Benjamin Armstrong Program Manager Microsoft Corporation SVR318.
Using Microsoft Virtualization Technologies: Today and Planning for Tomorrow Ronald Beekelaar Beekelaar Consultancy Virtualization.
Lesson 7: Creating and Configuring Virtual Machine Settings
© 2008 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED,
European Organization for Nuclear Research Virtualization Review and Discussion Omer Khalid 17 th June 2010.
Hypervisor, Virtualization Stack, And Device Virtualization Architectures Mike Neil Product Unit Manager Windows Virtualization Microsoft Corporation.
Windows Server Virtualization Scenarios And Features Jeff Woolsey Lead Program Manager Windows Virtualization Microsoft Corporation.
Christopher Samson Senior Hosting Technology Specialist Microsoft.
Windows 7 Windows Server 2008 R2 VirtualizationVirtualization Heterogeneous Server Environment Inventory Linux, Unix & VMware Windows 7 & Server 2008.
Click to edit Master title style TechNet goes virtual Blain Barton Senior IT Pro Evangelist – East Region Developer and Platform Evangelism Microsoft Corporation.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 3 Desktop Virtualization McGraw-Hill.
John Kelbley Senior Technical Product Manager
Windows Virtualization: Strategy And Roadmap Mike Neil Product Unit Manager Windows Virtualization Microsoft Corporation.
1 Management Pain points now Existing tools: Do not map to virtual environments Provisioning Backup Health monitoring Performance monitoring / management.
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
Windows Server 2008 R2 CSIT 320 (Blum) 1. Server Consolidation – Today’s chips have enhanced capabilities compared to those of the past. In particular.
Hardware Platform (CPU, AMD-V or Intel – VT) Hypervisor Parent partition (Windows with Hyper-V Role enabled) VM Worker processes VMBUS Device Driver.
Tanenbaum 8.3 See references
Satisfy Your Technical Curiosity 1 PRE-VIR301 Microsoft Virtualization: Today and Tomorrow Ronald Beekelaar Consultant, Beekelaar Consultancy
Windows Server 2012 VSP Windows Kernel Applications Non-Hypervisor Aware OS Windows Server 2008, 2012 Windows Kernel VSC VMBus Emulation “Designed for.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
CERN IT Department CH-1211 Genève 23 Switzerland t Virtualization with Windows at CERN Juraj Sucik, Emmanuel Ormancey Internet Services Group.
WINDOWS XP PROFESSIONAL Bilal Munir Mughal Chapter-1 1.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
Microkernels, virtualization, exokernels Tutorial 1 – CSC469.
Hands-On Virtual Computing
SAIGONTECH COPPERATIVE EDUCATION NETWORKING Spring 2010 Seminar #1 VIRTUALIZATION EVERYWHERE.
Module 7: Hyper-V. Module Overview List the new features of Hyper-V Configure Hyper-V virtual machines.
Deploying Windows Server 2008 Hyper-V Best Practices
Appendix B Planning a Virtualization Strategy for Exchange Server 2010.
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
Virtualization Paul Krzyzanowski Distributed Systems Except as otherwise noted, the content of this presentation is licensed.
John Kelbley Senior Technical Product Manager
1 Architecture Virtual Machine Monitor ( VMM ) CPU needs to switch between host process and guest process VMM switches context between those processes.
Mike Neil General Manager Microsoft Corporation.
Microsoft Virtual PC & Virtual Server 2005 Product Overview Tyler Farmer – Sr. Technology Specialist II Education Solutions
 Virtual machine systems: simulators for multiple copies of a machine on itself.  Virtual machine (VM): the simulated machine.  Virtual machine monitor.
Microsoft Virtual Server: Overview and Roadmap Mike Neil Product Unit Manager Windows Virtualization microsoft.com Microsoft Corporation.
Ronald Beekelaar Beekelaar Consultancy
Case for Server Virtualization. Content Why virtualize? Business value of virtualization Virtualization technologies & Hyper-V overview Management and.
Virtual techdays INDIA │ august 2010 virtual techdays INDIA │ august 2010 Consolidate and Virtualize your Linux Environment M.S.Anand │ Technology.
Full and Para Virtualization
Alessandro Cardoso, Microsoft MVP Creating your own “Private Cloud” with Windows 10 Hyper- V WIN443.
Hands-On Virtual Computing
Using Microsoft Virtualization Technologies: Today and Planning for Tomorrow Ronald Beekelaar Beekelaar Consultancy Virtualization.
Cloud Computing – UNIT - II. VIRTUALIZATION Virtualization Hiding the reality The mantra of smart computing is to intelligently hide the reality Binary->
Virtualization Vitalis Konopelec Technology Solution Professional Microsoft Slovakia s.r.o.
Windows Server 2008 VSP Windows Kernel Applications Non- Hypervisor Aware OS Windows Server 2003, 2008 Windows Kernel VSC VMBus Emulation “Designed.
Peter Fitzsimon Windows Server Product Group June 2007.
A+ Guide to Managing and Maintaining Your PC, 7e Chapter 2 Introducing Operating Systems.
Microsoft Virtualisation From the Desktop to the Datacenter matt mcspirit partner technology specialist microsoft uk
Virtualization for Cloud Computing
Virtualization.
Lesson 7: Creating and Configuring Virtual Machine Settings
Ronald Beekelaar Beekelaar Consultancy
Virtualization overview
Virtualisation Assessment & Roadmap
OS Virtualization.
Microsoft Virtualization Deep Dive
Virtualization Techniques
Windows Virtual PC / Hyper-V
Microsoft Virtualisation
Presentation transcript:

Satisfy Your Technical Curiosity 1 PRE-VIR303 Microsoft Virtualization: Deep Dive Ronald Beekelaar Consultant, Beekelaar Consultancy

Satisfy Your Technical Curiosity 2 Agenda Virtual Machine Monitor Architecture Virtual Server 2005 R2 VM Additions Hardware-assisted virtualization Architecture Windows Server Virtualization

Satisfy Your Technical Curiosity 3 About the Presenter Consultant and trainer Virtualization Security, ISA Server and Forefront Virtualization background: Microsoft MVP for Virtual Machine Technology Whitepaper at microsoft.com: "Virtual PC for Developers" Manage all Virtual PC / Virtual Server-based labs at TechEd / IT Forum and other international TechEds Create and optimize many VMs Create virtualization tools (Virsoft) Tools to analyse and optimize VMs Tools to handle VHD-files Contact: Beekelaar Consultancy

Satisfy Your Technical Curiosity 4 Architecture Virtual Machine Monitor (VMM) CPU needs to switch between host process and guest process VMM switches context between those processes Computer runs either host context or VMM context Only one operating system can "run" on CPU Ring compression

Satisfy Your Technical Curiosity 5 Architecture Win2003 or WinXP Kernel VMM.sys Ring 0 Hardware Ring 1 Ring 3 Windows in VM VM Additions Guest Applications Ring 3 Virtual Server Service IIS Admin Web Site Provided by Windows Virtual Server Others Virtual hardware HostGuest ( VM ) Ring 1

Satisfy Your Technical Curiosity 6 CPU virtualization Still one problem left to solve We want CPU direct-mode execution Guest OS runs directly on CPU - fast! (99% speed) When a priviliged operation is required, a trap occurs, and VMM handles operation in kernel mode Problem: x86 is not fully virtualized in this way 20 kernel-mode read CPU instructions are allowed from outside ring 0 ! Four possible solutions: a)Recompile OS and applications without those 20 instructions = avoid those 20 instructions b)Use Binary Translation execution = patch code while running on host c)Install VM Additions in guest = patch code in memory in VM d)Use hardware-assisted virtualization = catch instructions in special ring "-1"

Satisfy Your Technical Curiosity 7 CPU virtualization Solutions Binary translation Translate guest instruction code to host instruction code Always possible, but is very slow VM Additions Patches dll-code in memory in VM (=similar to a rootkit) Not possible for 64-bit Vista/Longhorn Note that VM Additions also do: Time-sync, heartbeat, shutdown support optimized SCSI disk, and better mouse/video driver Hardware-assisted virtualization Use Intel VT or AMD Virtualization CPU CPU solves the problem by maintaining settings per VM Can be considered as ring "-1"

Satisfy Your Technical Curiosity 8 VM Additions Versions BuildReleaseNotes with Virtual PC 5.2 (was named Virtual PC Additions) with Virtual PC (download) Supports Win XP SP with VS with Virtual PC 2004 SP with VS2005 SP1 beta (download) Supports Win2003 SP with VS2005 R2 Supports Win2003 R2 and Vista (-build 5270) with VS2005 R2 SP1 beta (download - Connect) Supports Vista B2 (-build 5384) and Longhorn (download - Connect) Supports Vista RC with VS2005 R2 SP1 beta2 Supports Vista RTM with Virtual PC 2007 beta with Virtual PC 2007 Get at

Satisfy Your Technical Curiosity 9 VM Additions Linux Adds: time sync Heartbeat shutdown support SCSI disk mouse/display driver But not direct-mode execution support Distributions (9x) Red Hat 7.3/9.0, Enterprise 2.1/3/4 SuSE Linux 9.2/9.3/10.0, Enterprise Server 9 More available at release VS 2005 R2 SP1

Satisfy Your Technical Curiosity 10 Architecture Hardware-assisted virtualization Win2003 or WinXP Kernel VMM.sys Ring 0 Hardware HostGuest ( VM ) Ring 1 Ring 3 Windows in VM VM Additions Guest Applications Ring 3 Virtual Server Service IIS Admin Web Site Provided by Windows Virtual Server Others Virtual hardware CPU Ring "-1"

Satisfy Your Technical Curiosity 11 Hardware-assisted virtualization Intel VT or AMD Virtualization Supported in: Virtual PC 2007 Virtual Server 2005 R2 SP1 Windows Server Virtualization (is requirement) Enable in BIOS Plus enable in Virtual PC 2007 Options Windows guests do not run faster Up-to-date VM Additions already provide direct-mode execution Windows installation is 2x-3x faster Non-Windows guests (Linux, Netware) run faster

Satisfy Your Technical Curiosity 12 Virtual Server 2005 R2 Specifications Host CPU  VS2005 Standard Edition: max 4 CPUs (1 or 2 cores) VS2005 Enterprise Edition: max 32 CPUs (1 or 2 cores) Memory: max 64 GB Guest CPU: max 1 Memory: max 3.6 GB Network adapters: max 4 Unlimited bandwidth ! USB: no USB keyboard/mouse is supported Workaround for USB smartcard-readers exists !

Satisfy Your Technical Curiosity 13 Virtual Server 2005 R2 What's new Performance Increased performance Scalability x64 hosts: Win2003 and WinXP Availability Virtual Machine clustering Failover VM on same host Uses Shared SCSI (or iSCSI) in guest Virtual Server Host clustering Move VS2005 to other host Planned and unplanned downtime Requires script -

Satisfy Your Technical Curiosity 14 Virtual Server 2005 R2 What's new (cont'd) Additional guest support + Win2003 SE SP1 + WinXP SP2 PXE Booting F6 disk (SCSI disk) Speeds up Windows installation Virtual Disk Precompactor.iso Also... Supports hyperthreading on host Reserve space for save state file (.vsv) Open Windows Firewall ports at install

Satisfy Your Technical Curiosity 15 Virtual Server 2005 R2 SP1 What's new Features Intel VT and AMD Virtualization support Volume Shadow Copy (VSS) support Active Directory integration using Service Connection Points Vista as Guest support Includes VHD mount tool Also... Host clustering whitepaper included Default vhd capacity is 127 GB (was 16 GB) Virtual SCSI fix for Linux 2.6.x guests

Satisfy Your Technical Curiosity 16 Differences VS VPC2007 Virtual Server 2005: Use multiple host CPUs Multithreaded Multiple CD ROM drives NAT through host ICS Unlimited networks Using vnc-files on host Only in VS2005: SCSI disk (in VM) COM API Remote Management Run as service Auto start VMs Virtual PC 2007: Use single host CPU Single thread for all VMs Single CD ROM drive NAT support Unlimited networks Using host (loopback) adapters Only in VPC2007: Sound card (VM) Folder Sharing Drag-and-drop Copy / Paste

Satisfy Your Technical Curiosity 17 Windows Server Virtualization VMM arrangements Hardware Host OSVMM Guest 1Guest 2 Hardware VMM (Hypervisor) Guest 1Guest 2 Hardware VMM Guest 1Guest 2 Host OS Type-2 VMM Examples: - JVM -.NET CLR Examples: - Virtual PC - Virtual Server Example: - Windows Server Virtualization ("Viridian") Type-1 VMM Hypervisor Hybrid VMM

Satisfy Your Technical Curiosity 18 Windows Server Virtualization Virtualization for Windows Server Code name "Viridian" (= color: rgb ) Windows Hypervisor Thin layer of software, underneath "host OS" (~160 KB) Parent partition - manages child partitions Child partition - any number of OS, managed by parent Virtualization Stack Runs in root partition (= parent partition) Provides virtualization of devices WMI interface for management Virtualization Service Providers (VSPs) Hardware sharing architecture Need "viridian" drivers in guest

Satisfy Your Technical Curiosity 19 Windows Server Virtualization Virtualization for Windows Server Requires x64 hardware Longhorn Server Intel VT / AMD-V processor Provides 32-bit and 64-bit guest Max 8 CPU per VM Hot "add": processor, memory, network, disk 32+ GB RAM per VM Live virtual machine migration Multiple snapshots No new driver model Can use existing Windows drivers in guest Same set of emulated hardware S3 Trio video card, DEC network card, etc Support for Server Core as parent OS

Satisfy Your Technical Curiosity 20 Architecture Virtual PC / Virtual Server 2005 R2 Win2003 or WinXP Kernel VMM.sys Ring 0 Hardware HostGuest ( VM ) Ring 1 Ring 3 Windows in VM VM Additions Guest Applications Ring 3 Virtual Server Service IIS Admin Web Site Provided by Windows Virtual Server Others Virtual hardware

Satisfy Your Technical Curiosity 21 Windows Server Virtualization Windows (core) Kernel Windows Hypervisor Ring 0 Hardware Parent partitionChild partition Ring 3 Guest Applications Ring "-1" Windows VMBus Enlightments Kernel VSPsVSCs Virtualization Stack VM Service WMI VM Worker Provided by Windows Win Virtualizaton Others Drivers

Satisfy Your Technical Curiosity 22 Windows Server Virtualization VSC - VSP Communication Parent Partition Child Partitions Kernel Mode User Mode Windows hypervisor Applications Provided by: Windows ISV WindowsVirtualization VMBus Windows File System Volume Partition Disk Fast Path Filter (VSC) iSCSIprt Virtual Storage Miniport (VSC) Virtual Service Provider (VSP) StorPort HardwareStorPortMiniport VM Worker Process Disk

Satisfy Your Technical Curiosity 23 Virtual Server 2005 vs Windows Server Virtualization Virtual Server 2005 R2Windows Server Virtualization 32-bit VMs?Yes 64-bit VMs?NoYes Multi-processor VMs?NoYes, up to 8 processor VMs VM memory support?3.6 GB per VMMore than 32 GB per VM Hot add memory/processors?NoYes Hot add storage/networking?NoYes Can be managed by System Center Virtual Machine Manager? Yes Microsoft Cluster support?Yes Scriptable / Extensible?Yes, COMYes, WMI Number of running VMs?64 More than 64. As many as hardware will allow. User interfaceWeb InterfaceMMC 3.0 Interface

Satisfy Your Technical Curiosity 24 For more information Useful links Weblogs Virtual PC Guy (Ben Armstrong - MS) Virtual Vista (Mike Kolitz - MS) Windows Server Virtualization (John Howard - MS) Scripts TechNet

Satisfy Your Technical Curiosity 25 For more information Whitepapers Virtualization Licensing Brief Using iSCSI with Virtual Server 2005 R2 Virtual Server Host Clustering whitepaper and script Virtual Server Guest Clustering cvs2005.mspx Virtual PC for Development and Debugging

Satisfy Your Technical Curiosity 26 For more information Download software Virtual Server 2005 R2 EE default.mspx Virtual Server 2005 R2 SP1 Beta2 connect.microsoft.com - sign-up for beta Virtual PC including Additions Linux VM Additions evaluation/linuxguestsupport/default.mspx VSMT Virtual Machine Manager (beta) Sign up at connect.microsoft.com

Satisfy Your Technical Curiosity 27