© UC Regents 2010 More Nuts and Bolts in Virtualization.

Slides:



Advertisements
Similar presentations
Ivan Pleština Amazon Simple Storage Service (S3) Amazon Elastic Block Storage (EBS) Amazon Elastic Compute Cloud (EC2)
Advertisements

1 Applications Virtualization in VPC Nadya Williams UCSD.
University of Notre Dame
Virtualization and Cloud Computing. Definition Virtualization is the ability to run multiple operating systems on a single physical system and share the.
NWCLUG 01/05/2010 Jared Moore Xen Open Source Virtualization.
Cloud Computing Imranul Hoque. Today’s Cloud Computing.
Xen , Linux Vserver , Planet Lab
Ken Birman. Massive data centers We’ve discussed the emergence of massive data centers associated with web applications and cloud computing Generally.
© UC Regents 2010 Extending Rocks Clusters into Amazon EC2 Using Condor Philip Papadopoulos, Ph.D University of California, San Diego San Diego Supercomputer.
Virtualization and the Cloud
Cloud Computing (101).
Authors: Thomas Ristenpart, et at.
Virtualization for Cloud Computing
Virtual Machine Monitors CSE451 Andrew Whitaker. Hardware Virtualization Running multiple operating systems on a single physical machine Examples:  VMWare,
Jennifer Rexford Princeton University MW 11:00am-12:20pm SDN Software Stack COS 597E: Software Defined Networking.
VIRTUALISATION OF HADOOP CLUSTERS Dr G Sudha Sadasivam Assistant Professor Department of CSE PSGCT.
What is Cloud Computing?. Why call it “Cloud” Computing?
Amazon EC2 Quick Start adapted from EC2_GetStarted.html.
Virtualization A way To Begin with Virtual Reality… - Rahul Khanwani.
Paper on Best implemented scientific concept for E-Governance Virtual Machine By Nitin V. Choudhari, DIO,NIC,Akola By Nitin V. Choudhari, DIO,NIC,Akola.
Real Security for Server Virtualization Rajiv Motwani 2 nd October 2010.
1 The Virtual Reality Virtualization both inside and outside of the cloud Mike Furgal Director – Managed Database Services BravePoint.
Yury Kissin Infrastructure Consultant Storage improvements Dynamic Memory Hyper-V Replica VM Mobility New and Improved Networking Capabilities.
Paper on Best implemented scientific concept for E-Governance projects Virtual Machine By Nitin V. Choudhari, DIO,NIC,Akola.
An Introduction to Xen Prof. Chih-Hung Wu
Module 13: Configuring Availability of Network Resources and Content.
INTRODUCTION TO CLOUD COMPUTING CS 595 LECTURE 7 2/23/2015.
A Cloud is a type of parallel and distributed system consisting of a collection of inter- connected and virtualized computers that are dynamically provisioned.
Cloud Computing. What is Cloud Computing? Cloud computing is a model for enabling convenient, on-demand network access to a shared pool of configurable.
Virtualization. Virtualization  In computing, virtualization is a broad term that refers to the abstraction of computer resources  It is "a technique.
Ceph Storage in OpenStack Part 2 openstack-ch,
IPlant Collaborative Tools and Services Workshop iPlant Collaborative Tools and Services Workshop Overview of Atmosphere.
การติดตั้งและทดสอบการทำคลัสเต อร์เสมือนบน Xen, ROCKS, และไท ยกริด Roll Implementation of Virtualization Clusters based on Xen, ROCKS, and ThaiGrid Roll.
Computing and the Web Operating Systems. Overview n What is an Operating System n Booting the Computer n User Interfaces n Files and File Management n.
1 NETE4631 Amazon Cloud Offerings Lecture Notes #6.
Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer.
Presented by: Sanketh Beerabbi University of Central Florida COP Cloud Computing.
Grids, Clouds and the Community. Cloud Technology and the NGS Steve Thorn Edinburgh University Matteo Turilli, Oxford University Presented by David Fergusson.
608D CloudStack 3.0 Omer Palo Readiness Specialist, WW Tech Support Readiness May 8, 2012.
INTRODUCTION TO VIRTUALIZATION KRISTEN WILLIAMS MOSES IKE.
Eucalyptus: An Open-source Infrastructure for Cloud Computing Rich Wolski Eucalyptus Systems Inc.
High Performance Computing on Virtualized Environments Ganesh Thiagarajan Fall 2014 Instructor: Yuzhe(Richard) Tang Syracuse University.
1 Week #10Business Continuity Backing Up Data Configuring Shadow Copies Providing Server and Service Availability.
Windows Server 2012 Hyper-V Networking
Virtualization for the LHCb Online system CHEP Taipei Dedicato a Zio Renato Enrico Bonaccorsi, (CERN)
EVGM081 Multi-Site Virtual Cluster: A User-Oriented, Distributed Deployment and Management Mechanism for Grid Computing Environments Takahiro Hirofuchi,
Cloud Computing is a Nebulous Subject Or how I learned to love VDF on Amazon.
Protection of Processes Security and privacy of data is challenging currently. Protecting information – Not limited to hardware. – Depends on innovation.
Cloud Computing – UNIT - II. VIRTUALIZATION Virtualization Hiding the reality The mantra of smart computing is to intelligently hide the reality Binary->
Launch Amazon Instance. Amazon EC2 Amazon Elastic Compute Cloud (Amazon EC2) provides resizable computing capacity in the Amazon Web Services (AWS) cloud.
Grid testing using virtual machines Stephen Childs*, Brian Coghlan, David O'Callaghan, Geoff Quigley, John Walsh Department of Computer Science Trinity.
Cloud computing: IaaS. IaaS is the simplest cloud offerings. IaaS is the simplest cloud offerings. It is an evolution of virtual private server offerings.
Cloud Computing Andrew Stromme and Colin Schimmelfing.
KAASHIV INFOTECH – A SOFTWARE CUM RESEARCH COMPANY IN ELECTRONICS, ELECTRICAL, CIVIL AND MECHANICAL AREAS
Unit 2 VIRTUALISATION. Unit 2 - Syllabus Basics of Virtualization Types of Virtualization Implementation Levels of Virtualization Virtualization Structures.
© 2015 MetricStream, Inc. All Rights Reserved. AWS server provisioning © 2015 MetricStream, Inc. All Rights Reserved. By, Srikanth K & Rohit.
© 2007 UC Regents1 Rocks – Present and Future The State of Things Open Source Grids and Clusters Conference Philip Papadopoulos, Greg Bruno Mason Katz,
Amazon Web Services. Amazon Web Services (AWS) - robust, scalable and affordable infrastructure for cloud computing. This session is about:
Virtual Machine Monitors
Cloud Technology and the NGS Steve Thorn Edinburgh University (Matteo Turilli, Oxford University)‏ Presented by David Fergusson.
Quattor in Amazon Cloud
StratusLab Final Periodic Review
StratusLab Final Periodic Review
Tools and Services Workshop Overview of Atmosphere
Oracle Solaris Zones Study Purpose Only
AWS COURSE DEMO BY PROFESSIONAL-GURU. Amazon History Ladder & Offering.
1. 2 VIRTUAL MACHINES By: Satya Prasanna Mallick Reg.No
Haiyan Meng and Douglas Thain
Different types of Linux installation
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Presentation transcript:

© UC Regents 2010 More Nuts and Bolts in Virtualization

© UC Regents 2010 Amazon EC2 EC2 = Elastic Computing Cloud – Introduced (Beta) in Sept 2006 – Uses Xen para-virtualization as underlying VM engine Users rent Virtual Machines by the core/hour – 32-bit = $.085/core/hour (0.12 for Windows) – 64-bit, 4-cores minimum ($0.34/hour) – Have variations of larger memory, more cores, etc. – Cores are roughly 1.2 GHz equivalent – Standard instances have 1.7GB mem/core. Local Disk You are charged for network in/out of Amazon

© UC Regents 2010 EC2 was THE Catalytic event for Cloud Computing Q: Why?

© UC Regents 2010 A: Users could have (new) servers without owning any hardware No Upfront Capital Cost “0” time spent on Hardware Purchase

© UC Regents 2010 Basic EC2 Amazon Machine Images (AMIs) S3 – Simple Storage Service EBS – Elastic Block Store Amazon Cloud Storage Elastic Compute Cloud (EC2) Copy AMI & Boot AMIs are copied from S3 and booted in EC2 to create a “running instance” When instance is shutdown, all changes are lost – Can save as a new AMI

© UC Regents 2010 Basic EC2 AMI (Amazon Machine Image) is copied from S3 to EC2 for booting – Can boot multiple copies of an AMI as a “group” – Not a cluster, all running instances are independent If you make changes to your AMI while running and want them saved – Must repack to make a new AMI Or use Elastic Block Store (EBS) on a per-instance basis

© UC Regents 2010 Some Challenges in EC2 1.Defining the contents of your Virtual Machine (Software Stack) 2.Understanding limitations and execution model 3.Debugging when something goes wrong 4.Remembering to turn off your VM – Smallest 64-bit VM is ~$250/month running 7x24

© UC Regents 2010 What’s in the AMI? Tar file of a / file system – Cryptographically signed so that Amazon can open it, but other users cannot – Split into 10MB chunks, stored in S3 Amazon boasts more than 2000 public machine images – What’s in a particular image? – How much work is it to get your software part of an existing image? There are tools for booting and monitoring instances. Defining the software contents is “an exercise left to the reader”

© UC Regents 2010 In the Rocks and NBCR Lab EC2 Roll Development – We define our clusters using Rocks – Can build Virtual Machine Images that are Bootable in EC2 –  Practical publishing of complex software stacks With complete reproducibility (and local testing/development) Handcraft to Automation Initial Development 4 months from vision to EC2 VM 2 nd iteration --- Two Weeks from start to EC2 VM Today – about 1 hour

© UC Regents 2010 Proof of Concept Using Condor APBS Roll (NBCR)  Amazon VM (Rocks) < 24 Hours from SW Release (4 Feb ‘10) to VM (5 Feb ‘10) Cluster extension into Amazon using Condor Running in Amazon Cloud APBS + EC2 + Condor EC2 Cloud Local Cluster NBCR VM

© UC Regents 2010 The EC2 Roll Take a Rocks appliance and make it compatible with EC2: – 10GB disk partition (single) – DHCP for network – ssh key management – Other small adjustments Create an AMI bundle on local cluster – rocks create ec2 bundle Upload a bundled image into EC2 – rocks upload ec2 bundle Mini-tutorial on getting started with EC2 and Rocks

© UC Regents 2010 Overview of Image Creation

© UC Regents 2010 Why EC2 Roll? Reliably creating AMIs from scratch is important for reproducibility – Rocks is a rich system definition structure want to leverage Debugging is difficult in EC2. Can do many things more quickly when on local hardware Pre-beta: – documentation/ec2/5.2/ documentation/ec2/5.2/ - Not a durable website!

© UC Regents 2010 Some Quirks of EC2 Network performance is undefined – ¼ GbE for a 32-bit instance – About 1 GbE for each physical host When you turn off an instance you lose all changes made locally – Good: Booting from an AMI is a “frozen/known” image – Bad: Not the way your local “real” machine works IP addressing is a bit weird – You contact your instance via a real public IP – “ifconfig eth0” is a non-routable 10.x.y.z address Packaging of AMIs is pretty cryptic – API (command line tools) are very inconsistent. Not always “quick” : Booting a complex AMI (1.5GB compressed image) took 22 minutes this morning

© UC Regents 2010 Rocks, Xen, and Virtual Clusters

© UC Regents 2010 Taken for Granted in Real HW Network Disk Power Physical world “automatically” defines a cluster by how the components are assembled

© UC Regents 2010 Virtual Cluster 2 Virtual Cluster 1 Virtual Clusters Physical Hosting Cluster “Cloud Provider” Require: 1.Virtual Frontend 2.Nodes w/disk 3.Private Network 4.Power Virtual Clusters: May overlap one another on physical HW Need network isolation May be larger or smaller than physical hosting cluster

© UC Regents 2010 How Rocks Treats Virtual Hardware It’s just another piece of HW. – If CentOS supports it, so does Rocks Allows mixture of real and virtual hardware in the same cluster – Because Rocks supports heterogeneous HW clusters Re-use of all of the software configuration mechanics – E.g., a compute appliance is compute appliance Virtual HW must meet minimum HW Specs – 1GB memory – 36GB Disk space – Private-network Ethernet – + Public Network on Frontend

© UC Regents 2010 Network Isolation - VLANs Need to isolate the private networks of (overlapping) virtual clusters – Broadcast traffic (e.g. DHCP) needs to be confined IEEE 802.1Q VLAN Tagging – Mark (Tag) ethernet packets with a particular numeric ID ( 1 – 4095). – Packets with same tag are in the same LAN Rocks defines nodes are in the same cluster if VLAN tag on the private interface is identical

© UC Regents 2010 List Clusters: VLAN Tag on Private Net ~]# rocks list cluster FRONTEND CLIENT NODES TYPE afg.rocksclusters.org: VM : hosted-vm VM : hosted-vm VM : hosted-vm VM : hosted-vm VM rocks-178.sdsc.edu: VM : hosted-vm VM rocks-76.sdsc.edu: physical : vm-container-0-0 physical : vm-container-0-1 physical : vm-container-0-2 physical ~]# rocks list host interface HOST IFACE NAME VLAN frontend : eth0 frontend frontend : eth1 afg.rocksclusters.org 0 hosted-vm-0-2-0: eth0 hosted-vm hosted-vm-0-2-1: eth0 hosted-vm Virtual Cluster 2 VLAN ID = 144 Virtual Cluster 1 VLAN ID = 4 Need to configure Ethernet Switch for VLANs – Vendor-specific commands : SMC ≠ Cisco ≠ Extreme …

© UC Regents 2010 Inside VM Hosting (Physical) Cluster must Provide Network Plumbing Linux (and Solaris) supports explicit tagging eth0 = Physical Network eth0.144 – Tag outgoing packets with VLAN ID 144 – Receive only packets tagged with ID 144 Bridges (Software Ethernet Switches) utilized by Xen physical interface eth0 (untagged) eth0.144 (VLAN 144) xenbr.eth0.144 (bridge) VM1VM-N VM2 Physical Host xenbr.eth0 (bridge) Xen Dom0 Switch must be configured to support native (untagged) VLAN and tagged VLAN (e.g. 144) Tag / Un-tag 144 Here

© UC Regents 2010 Assembly into Virtual Clusters: Overlay on Physical Rocks simplifies creation of all network interfaces – Real, virtual & bridges VM’s are blind to the actual packet tag being used Virtual Cluster

© UC Regents 2010 Other Virtual Items Disks – Xen has many choices for what types of “backing” store is used for virtual disk Rocks supports files for backing store If you really know Xen, you can specify other methods CPU/Memory Power – Commands to turn on/off VMs – rocks start host vm – rocks stop host vm

© UC Regents 2010 VM Host (Dom0) vs VM Guest (DomU) VM Host (Dom0) AKA “Cloud Provider” Creates tagged Interfaces & associated xen bridges Allocates Local Disk Space for each VM Allocates Memory/CPU to each VM Wires VM interface(s) to appropriate bridges VM Guest DomU Sees disk, CPU, Memory, and Network Interfaces, as if real HW Generally, cannot tag with eth0.

© UC Regents 2010 Some Realities of Virtual Clusters When you start building Hosting Clusters, you build many clusters Viewpoints: – Physical Cluster that Hosts Virtual Machines – Cloud Provider: Allocation of resources (disk, network, CPU, memory) to define a virtual cluster – Cluster Owner: Configuration of Software to define your environment  Your first virtual cluster requires you to define three clusters and build two Rocks > 5.0 provides infrastructure for all of this – Share as much as possible

© UC Regents 2010 A Taste of the Command Line Build Physical Hosting Cluster with Xen Roll and build vm-container appliances Allocate resources for a virtual cluster rocks create cluster vlan= [ ] Start and build virtual cluster frontend rocks start host

© UC Regents 2010 Building Hybrid/Mixed Clusters Hybrid/Mixed – Base View: Same VLAN == Same Cluster Some Examples: Storage Cluster Compute Cluster Less Hardware: Virtual Frontend Physical Storage Testing Virtual Compute Real Frontend Reduce HW costs for lightly loaded elements Test new software configuration before rolling to production Extending a cluster with cloud-based HW

© UC Regents 2010 Campus Cloud: Cluster Extension VMs: Software/OS defined by the frontend: ◦ Users, file system mount, queuing system, software versions, etc Working on doing this with Commercial Clouds  VLAN abstraction does not work here!