Virtualization with Windows at CERN Juraj Sucik, Emmanuel Ormancey Internet Services Group CERN IT Department CERN IT Department CH-1211 Genève 23 Switzerland www.cern.ch/it Agenda • Current status of IT-IS group virtualization service • Server Self Service • New virtualization features in Windows Server 2008 (Hyper-V) • What next? CERN IT Department CH-1211 Genève 23 Switzerland www.cern.ch/it Virtualization with Windows at CERN Virtualization in IT-IS • 17 physical servers running Virtual Server 2005 • 45 virtual servers with different OS – Windows XP – Windows Server 2003 – Linux (SLC3, SLC4) • Used for production, development and test environments – – – – – CERN IT Department CH-1211 Genève 23 Switzerland www.cern.ch/it Terminal servers Media archive jobs Media streaming Compilation platform Test platform for pilot services Virtualization with Windows at CERN Server Self Service • Service for managing virtual servers based on Virtual Server 2005 • Choose from a set of “predefined” images – – – – Windows server 2003 Windows Server 2003 + IIS + Soap + Streaming Windows Server 2003 + Terminal Server Services Scientific Linux SLC 4 • Install from PXE or from a Boot CD ISO image • Available within 10 minutes • SOAP API available (start, stop, create a new one, edit VHD, etc) • Performance – satisfying CERN IT Department CH-1211 Genève 23 Switzerland www.cern.ch/it Virtualization with Windows at CERN Server Self Service Center • Examples CERN IT Department CH-1211 Genève 23 Switzerland www.cern.ch/it Select an OS, type in the duration and click Request. 10 minutes later, the user will receive an email notifying that his server is available. Virtualization with Windows at CERN Virtual Server 2005 Features 32-bit Virtual Machines Yes 64-bit Virtual Machines No Multi Processor Virtual Machines No Virtual Machine Memory Support 3.6GB per VM Managed by System Center Virtual Machine Manager Yes Support for Microsoft Clustering Services Yes Host side backup support Yes Scriptable / Extensible CERN IT Department CH-1211 Genève 23 Switzerland www.cern.ch/it Yes, COM User Interface Web Interface Cost Free download Virtualization with Windows at CERN Hyper-V • New hypervisor-based virtualisation platform in Windows Server 2008 • Component of Windows Server 2008 – Standard, Enterprise and Datacenter Editions • Hardware requirements: – 64-bit processor – Hardware assisted virtualisation (AMD-V or Intel VT) – Hardware enabled Data Execution Prevention CERN IT Department CH-1211 Genève 23 Switzerland www.cern.ch/it Virtualization with Windows at CERN Virtual Machine Manager Hosted virtualisation Guest 1 Host OS Hypervisor virtualisation Guest 2 VMM Guest 1 Guest 2 VMM Hardware • VMware Workstation, VMware (GSX) Server, Fusion. • Parallels Desktop • (Linux) KVM • Microsoft Virtual PC, Virtual Server Hardware • VMware ESX (Server), ESXi (3i) • Xen • Hyper-V Virtualization with Windows at CERN Hyper-V Architecture Provided by: Parent Partition VM Worker Processes ISV/IHV/OEM Child Partitions Hyper-V Operating System Microsoft/Citrix (XenSource) Applications Applications Applications Windows Server 2003/2008 Non-hypervisor Aware OS Xen-enabled Linux Kernel User Mode WMI Provider VM Service Windows Server 2008 Windows Kernel VSP Windows Kernel Linux VSC VSC IHV Drivers VMBus Kernel Mode VMBus VMBus Emulation Hyper-V Hardware Hypercall Adapter Ring -1 Hyper-V Features • 32-bit and 64-bit virtual machines • Large memory support (>32 GB) within VMs • Multi-processor VMs • Integrated cluster support for quick migration and HA • Volume shadow service integration for data protection • Pass-through disk access for VMs • Virtual machine snapshots • New hardware sharing architecture (VSP/VSC/VMBus) • Robust networking: VLANs and network load balancing • Windows Management Interface (WMI) management interface • Support for full or server core installations CERN IT Department CH-1211 Genève 23 Switzerland www.cern.ch/it Virtualization with Windows at CERN Virtual Server 2005 vs. Hyper-V Virtual Server Hyper-V 32-bit Virtual Machines Yes Yes 64-bit Virtual Machines No Yes Multi Processor Virtual Machines No Yes, up to 4 core Virtual Machine Memory Support 3.6 GB per VM >32 GB per VM Managed by System Center Virtual Machine Manager Yes Yes, in next version (2008) Support for Microsoft Clustering Services Yes Yes Host side backup support Yes Yes Yes, COM Yes, WMI + HyperCall API User Interface Web Interface MMC 3.0 Cost Free download Windows Server 2008 Scriptable / Extensible CERN IT Department CH-1211 Genève 23 Switzerland www.cern.ch/it Hyper-V High Availability • Providing solutions for both planned and unplanned downtime • Planned downtime – Quickly move virtualized workloads to service underlying hardware – “Quick Migration” – More common than unplanned • Unplanned downtime – Automatic failover to other nodes (hardware or power failure) – Not as common and more difficult CERN IT Department CH-1211 Genève 23 Switzerland www.cern.ch/it Virtualization with Windows at CERN Quick Migration 1. Save state • Save entire VM state 2. Move virtual machine • Move storage connectivity from origin to destination host VHDs SAN Storage 3. Restore state and run • • CERN IT Department CH-1211 Genève 23 Switzerland www.cern.ch/it Restore VM and run Done Network Connectivity Virtualization with Windows at CERN Summary • Hyper-V – Microsoft’s new enterprise virtualisation platform – Hypervisor in the operating system – More powerful VMs allow to virtualise more physical servers – New features with scriptable API – Quick Migration • Server Self Service will be reviewed and upgraded to Hyper-V in order to provide a robust virtualization service with API allowing a full scriptable solutions for batch processing needs (grid nodes, media archive nodes, etc) CERN IT Department CH-1211 Genève 23 Switzerland www.cern.ch/it Virtualization with Windows at CERN Questions? CERN IT Department CH-1211 Genève 23 Switzerland www.cern.ch/it Virtualization with Windows at CERN