FermiGrid Virtualization and Xen Steven Timm Feb 28, 2008 Fermilab Computing Techniques Seminar.

Slides:



Advertisements
Similar presentations
Virtualization Dr. Michael L. Collard
Advertisements

Virtual Machines What Why How Powerpoint?. What is a Virtual Machine? A Piece of software that emulates hardware.  Might emulate the I/O devices  Might.
Introduction to Virtualization
Novell Server Linux vs. windows server 2008 By: Gabe Miller.
Network Implementation for Xen and KVM Class project for E : Network System Design and Implantation 12 Apr 2010 Kangkook Jee (kj2181)
Cloud Computing and Virtualization Sorav Bansal CloudCamp 2010 IIT Delhi.
European Organization for Nuclear Research Virtualization Review and Discussion Omer Khalid 17 th June 2010.
Virtualization B. Ramamurthy. References Practical Virtualization Solutions: Virtualization from the Trenches by K. Hess and A. Newman, Prentice-Hall.
Virtualization for Cloud Computing
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 3 Desktop Virtualization McGraw-Hill.
Virtualization A way To Begin with Virtual Reality… - Rahul Khanwani.
Methodologies, strategies and experiences Virtualization.
Tanenbaum 8.3 See references
Operating System Virtualization
Paper on Best implemented scientific concept for E-Governance projects Virtual Machine By Nitin V. Choudhari, DIO,NIC,Akola.
Zen and the Art of Virtualization Paul Barham, et al. University of Cambridge, Microsoft Research Cambridge Published by ACM SOSP’03 Presented by Tina.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
An Introduction to Xen Prof. Chih-Hung Wu
CS 149: Operating Systems April 21 Class Meeting
DIY: Your First VMware Server. Introduction to ESXi, VMWare's free virtualization Operating System.
SAIGONTECH COPPERATIVE EDUCATION NETWORKING Spring 2010 Seminar #1 VIRTUALIZATION EVERYWHERE.
SAIGONTECH COPPERATIVE EDUCATION NETWORKING Spring 2009 Seminar #1 VIRTUALIZATION EVERYWHERE.
Virtualization Concepts Presented by: Mariano Diaz.
การติดตั้งและทดสอบการทำคลัสเต อร์เสมือนบน Xen, ROCKS, และไท ยกริด Roll Implementation of Virtualization Clusters based on Xen, ROCKS, and ThaiGrid Roll.
Virtualization Paul Krzyzanowski Distributed Systems Except as otherwise noted, the content of this presentation is licensed.
Improving Network I/O Virtualization for Cloud Computing.
Xen Virtualization Last Update Copyright 2011 Kenneth M. Chipps Ph.D.
Virtualization within FermiGrid Keith Chadwick Work supported by the U.S. Department of Energy under contract No. DE-AC02-07CH11359.
High Performance Computing on Virtualized Environments Ganesh Thiagarajan Fall 2014 Instructor: Yuzhe(Richard) Tang Syracuse University.
Cloud Operating System Unit 09 Cloud OS Core Technology M. C. Chiang Department of Computer Science and Engineering National Sun Yat-sen University Kaohsiung,
Introduction to virtualization
An Investigation of Xen and PTLsim for Exploring Latency Constraints of Co-Processing Units Grant Jenks UCLA.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Virtual techdays INDIA │ august 2010 virtual techdays INDIA │ august 2010 Consolidate and Virtualize your Linux Environment M.S.Anand │ Technology.
Full and Para Virtualization
© Copyright 2011 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted Module 7.
Hands-On Virtual Computing
CSE 451: Operating Systems Winter 2015 Module 25 Virtual Machine Monitors Mark Zbikowski Allen Center 476 © 2013 Gribble, Lazowska,
Virtual Machines. A virtual machine takes the layered approach to its logical conclusion. It treats hardware and the operating system kernel as though.
Cloud Computing – UNIT - II. VIRTUALIZATION Virtualization Hiding the reality The mantra of smart computing is to intelligently hide the reality Binary->
FermiGrid Keith Chadwick. Overall Deployment Summary 5 Racks in FCC:  3 Dell Racks on FCC1 –Can be relocated to FCC2 in FY2009. –Would prefer a location.
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
Introduction to KVM Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
The Future With Windows XP Microsoft announced that after April 16, 2014 it will not longer support Windows XP. No statement on continued inclusion of.
Performance analysis comparison Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
Unit 2 VIRTUALISATION. Unit 2 - Syllabus Basics of Virtualization Types of Virtualization Implementation Levels of Virtualization Virtualization Structures.
VIRTUAL MACHINE – VMWARE. VIRTUAL MACHINE (VM) What is a VM? – A virtual machine (VM) is a software implementation of a computing environment in which.
Virtualization within FermiGrid Keith Chadwick Work supported by the U.S. Department of Energy under contract No. DE-AC02-07CH11359.
CLUG TALK Virtualbox Tuesday, 29 September 2009 One of the Jonathans.
1 Virtualization "Virtualization software makes it possible to run multiple operating systems and multiple applications on the same server at the same.
Welcome to the Virtual Machine Mark Cyzyk The Sheridan Libraries Johns Hopkins University.
XEN – The Art of Virtualisation. So what is Virtualisation? ● Makes use of spare capacity ● Run multiple instances of OSes simultaneously ● Multitasking.
Virtualization for Cloud Computing
Virtualization.
L2- Virtualization Technology
Virtualization Review and Discussion
Virtualization Dr. Michael L. Collard
Desktop Virtualization
Installing OS.
Virtualization overview
Virtual Servers.
1. 2 VIRTUAL MACHINES By: Satya Prasanna Mallick Reg.No
Virtual Machines.
Xen Summit Spring 2007 Platform Virtualization with XenEnterprise
Running other code under LINUX
OS Virtualization.
Virtualization Techniques
Windows Virtual PC / Hyper-V
bitcurator-access-webtools Quick Start Guide
Virtualization Dr. S. R. Ahmed.
Presentation transcript:

FermiGrid Virtualization and Xen Steven Timm Feb 28, 2008 Fermilab Computing Techniques Seminar

Outline Virtual machines, brief history Virtualization in x86 hardware space Paravirtualized machines Hardware virtualized machines Implementations Local applications

What is a Virtual Machine Capable of virtualizing a whole set of resources, including processor(s), memory, storage, and peripherals Three properties of interest (Popek and Goldberg, 1974): – Equivalence—program run on the VM should exhibit behavior identical to running on the equivalent machine directly – Control—Virtual Machine Manager must be in control of the virtualized resources – Efficiency—Majority of instructions must be executed without intervention of the Virtual Machine Manager.

Virtual Machines--A Brief History IBM first released VM/370 for System 370 mainframe in 1972 after earlier prototypes on S-360. VM continues to present day, can support TSE, OS, AIX, Linux, and other instances of VM. Most commonly used client OS was CMS, lightweight single-user operating system. Term “hypervisor” first coined by IBM to describe the function of software that managed many virtual machines First example of full virtualization—complete simulation of the underlying hardware.

Virtualization in x86 hardware space X86 virtualization originally thought to be difficult—have to account for 17 unprivileged instructions that are sensitive to machine state. Two ways to do it: Paravirtualization—Modified device drivers in the kernel (Early VMware and Xen) Full virtualization—Intel VT-x technology, AMD-V “Pacifica” HVM mode (Later VMware and Xen)

Xen Hardware and OS support Paravirtualized: – Works on most Intel or AMD based hardware from 2003 and later. Requires Physical Address Extensions which some laptops don’t have. – Supports most newer Linux (SUSE>=10, RHEL>=4, Fedora>=6, Ubuntu, Debian Etch) HVM – Requires Intel VT-x or AMD Pacifica extensions, most machines 2005 and later, and BIOS support on the motherboard. Hardware compatibility list available. – In addition to above, can run Windows XP, OpenBSD, Solaris x86, and legacy linuxes.

Xen Capabilities Base OS of the machine is called “dom0”, runs the hypervisor Xen guests are referred to as “domU”, however many of them there are. Live migration of guest domains from one dom0 to the other. I/O and CPU throttling—machines can be allocated a percentage of total I/O and percentages of CPU usage. XenSource claims that this makes them denial-of-service proof. We expect this feature will be used by “VO Box / Edge Services” of LCG/OSG respectively. FermiGrid hasn’t tried to use either of these two features yet. Reboots faster! Xen instance can reboot in 5-10 seconds as opposed to 2-4 minutes for Dell PowerEdge 2950.

Where to get Xen from Xen included in Fedora >=6, Red Hat (Centos, Scientific Linux) >=5.1, SuSE (SLES and OpenSuSE 10.x), Ubuntu. Source tarball and instructions of how to build it into the kernel are on also i386-flavor rpms.

Xen Provisioning Virt-manager (part of Redhat/SL)

Installing Xen machine via RH kickstart

Provisioning the hard way Install a normal SL4 or SL5 machine Get the Xen binary tarball from xen.org – Make install – This gives a Xen-modified kernel (needed both for host and PVE guests) Adjust grub and reboot your machine with Xen kernel Take a known good OS install (could be one from a different machine that you want to migrate) Rsync it into the partition of what is going to be your root install for the Xen machine. Modify the network files appropriately.

Xen networking Two major ways to get network access from Xen instances to the outside world: Bridging (shown at left) NAT All FermiGrid setups use bridging.

Xen and Citrix/Xensource.com Xensource.com was founded to market the hypervisor Taken over by Citrix in 2007 Their goal mainly to market turnkey Xen appliances, special-purpose hypervisors We are currently in dialogue with them and will probably download evaluation version of their product. First impression—the value they propose to provide isn’t worth the price they want ($25000).

Uses of Xen at Fermilab Development and Integration instances (USCMS for OSG-ITB, FermiGrid for OSG- ITB and Gratia development machines.) FermiGrid High Availability (see next slide) Soon to come, on individual cluster gatekeepers too, (GP Grid Cluster, CDF Grid Cluster 3).

Current FermiGrid High Availability Activefg5x1 Activefg5x2 Activefg5x3 Activefg5x4 Activefermigrid5 Xen Domain 0 Activefg6x1 Activefg6x2 Activefg6x3 Activefg6x4 Activefermigrid6 Xen Domain 0 VOMS GUMS SAZ MySQL Xen VM 1 Xen VM 2 Xen VM 3 Xen VM 4 LVS (Active)LVS (Standby)

FermiGrid HA, Hardware and OS Currently 2 physical machines – Dell 2950 – Dual core, dual CPU, 3GHz – 16GB RAM – Dual Gigabit ethernet NICs – 150GB RAID 1 – Redundant Power Supplies – Base OS is SLF Xen hosts apiece – fermigrid5 hosts fg5x1, fg5x2, fg5x3, fg5x4 – fermigrid6 hosts fg6x1, fg6x2, fg6x3, fg6x4

Future uses for Xen in FermiGrid In next couple weeks we will move the LVS server inside of a Xen instance as well. High availability Xen instances for Squid, MyProxy, ReSS Information Gatherer High availability globus gatekeepers, Web Service containers, condor_schedd’s. (These require a shared file system and would have to be active-passive).

FermiGrid Xen experience Why virtualize at all— – Services (VOMS, GUMS, SAZ) are designed to run on their own machine in their own tomcat instance – Some don’t use much memory or CPU, a full server would be a waste. Why use paravirtualized Xen – Testing has showed performance is within a couple percent of native machine performance – It was free and it worked. – Early test hardware and versions of Xen didn’t support HVM at the time.

FermiGrid Xen experience cont’d. On FermiGrid-HA, host OS is x86_64 and guests are i386. Only supported on Xen and greater. TUV ships 5.1 with something called Xen which has most but not all of the Xen features back-ported. Unfortunately—not the 32 bit guest on 64 bit hosts. So we are using Xen straight from Xen.org Xen 3.1 supplied binary tarballs, for Xen 3.2 we will have to build from source (unless TUV gets their act together in time.)

Conclusions Xen instances, in combination with Linux Virtual Server and MySQL replication, allow us to run more services on less hardware, with improved reliability, less cost, and improved throughput!

Helpful Web Sites on Xen Open source Xen project Xen wiki – In particular the Networking section of the wiki. These slides, in DOCDB