Predrag Buncic (CERN/PH-SFT) CernVM - a virtual software appliance for LHC applications C. Aguado-Sanchez 1), P. Buncic 1), L. Franco 1), S. Klemer 1),

Slides:



Advertisements
Similar presentations
Copyright 2009 FUJITSU TECHNOLOGY SOLUTIONS PRIMERGY Servers and Windows Server® 2008 R2 Benefit from an efficient, high performance and flexible platform.
Advertisements

Virtualization and the Cloud
Presented by Sujit Tilak. Evolution of Client/Server Architecture Clients & Server on different computer systems Local Area Network for Server and Client.
Virtualization for Cloud Computing
1 Bridging Clouds with CernVM: ATLAS/PanDA example Wenjing Wu
Microsoft ® Application Virtualization 4.5 Infrastructure Planning and Design Series.
Microsoft ® Application Virtualization 4.6 Infrastructure Planning and Design Published: September 2008 Updated: February 2010.
Tanenbaum 8.3 See references
Cloud Computing for the Enterprise November 18th, This work is licensed under a Creative Commons.
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.
INTRODUCTION TO CLOUD COMPUTING CS 595 LECTURE 7 2/23/2015.
Testing Virtual Machine Performance Running ATLAS Software Yushu Yao Paolo Calafiura LBNL April 15,
1 port BOSS on Wenjing Wu (IHEP-CC)
Cloud Computing 1. Outline  Introduction  Evolution  Cloud architecture  Map reduce operation  Platform 2.
Introduction to Cloud Computing
Wenjing Wu Andrej Filipčič David Cameron Eric Lancon Claire Adam Bourdarios & others.
Predrag Buncic (CERN/PH-SFT) CernVM - a virtual software appliance for LHC applications C. Aguado-Sanchez 1), P. Buncic 1), L. Franco 1), A. Harutyunyan.
High Performance Computing on Virtualized Environments Ganesh Thiagarajan Fall 2014 Instructor: Yuzhe(Richard) Tang Syracuse University.
Predrag Buncic (CERN/PH-SFT) WP9 - Workshop Summary
ALICE Offline Week | CERN | November 7, 2013 | Predrag Buncic AliEn, Clouds and Supercomputers Predrag Buncic With minor adjustments by Maarten Litmaath.
LegendCorp What is System Center Virtual Machine Manager (SCVMM)? SCVMM at a glance Features and Benefits Components / Topology /
1 BOINC-VM and Volunteer Cloud Computing Ben Segal / CERN and: Predrag Buncic, Jakob Blomer, Pere Mato / CERN Carlos Aguado Sanchez, Artem Harutyunyan.
Predrag Buncic (CERN/PH-SFT) Introduction to WP9 Portable Analysis Environment Using Virtualization Technology IBM-VM 360, CERNVM,
Microsoft Management Seminar Series SMS 2003 Change Management.
DPHEP Workshop CERN, December Predrag Buncic (CERN/PH-SFT) CernVM R&D Project Portable Analysis Environments using Virtualization.
NA61/NA49 virtualisation: status and plans Dag Toppe Larsen CERN
WLCG Overview Board, September 3 rd 2010 P. Mato, P.Buncic Use of multi-core and virtualization technologies.
Full and Para Virtualization
2012 Objectives for CernVM. PH/SFT Technical Group Meeting CernVM/Subprojects The R&D phase of the project has finished and we continue to work as part.
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Development of e-Science Application Portal on GAP WeiLong Ueng Academia Sinica Grid Computing
Predrag Buncic (CERN/PH-SFT) Virtualizing LHC Applications.
1 BOINC Case Study: Ben Segal / CERN with: Predrag Buncic / CERN Daniel Lombrana Gonzalez / Univ. Extremadura David Weir / Imperial.
Cloud Computing Lecture 5-6 Muhammad Ahmad Jan.
Web Technologies Lecture 13 Introduction to cloud computing.
NA61/NA49 virtualisation: status and plans Dag Toppe Larsen Budapest
MND review. Main directions of work  Development and support of the Experiment Dashboard Applications - Data management monitoring - Job processing monitoring.
The CernVM Infrastructure Insights of a paradigmatic project Carlos Aguado Sanchez Jakob Blomer Predrag Buncic.
Cloud Computing – UNIT - II. VIRTUALIZATION Virtualization Hiding the reality The mantra of smart computing is to intelligently hide the reality Binary->
Predrag Buncic (CERN/PH-SFT) Software Packaging: Can Virtualization help?
ALL INFORMATION PRESENTED AS WELL AS ALL SESSIONS ARE MICROSOFT CONFIDENTIAL AND UNDER YOUR NON-DISCLOSURE AGREEMENT (NDA) AND\OR TECHNOLOGY PREVIEW.
Predrag Buncic (CERN/PH-SFT) Virtualization – the road ahead.
The CernVM Project A new approach to software distribution Carlos Aguado Jakob Predrag
36 th LHCb Software Week Pere Mato/CERN.  Provide a complete, portable and easy to configure user environment for developing and running LHC data analysis.
Predrag Buncic (CERN/PH-SFT) CernVM Status. CERN, 24/10/ Virtualization R&D (WP9)  The aim of WP9 is to provide a complete, portable and easy.
EGI-InSPIRE RI EGI Webinar EGI-InSPIRE RI Porting your application to the EGI Federated Cloud 17 Feb
Cloud Computing Application in High Energy Physics Yaodong Cheng IHEP, CAS
Building on virtualization capabilities for ExTENCI Carol Song and Preston Smith Rosen Center for Advanced Computing Purdue University ExTENCI Kickoff.
Predrag Buncic (CERN/PH-SFT) Virtualization R&D (WP9) Status Report.
Predrag Buncic, CERN/PH-SFT The Future of CernVM.
CHEP 2010 Taipei, 19 October Predrag Buncic Jakob Blomer, Carlos Aguado Sanchez, Pere Mato, Artem Harutyunyan CERN/PH-SFT.
Unit 3 Virtualization.
Virtualization for Cloud Computing
Guide to Operating Systems, 5th Edition
Chapter 6: Securing the Cloud
Virtualisation for NA49/NA61
NA61/NA49 virtualisation:
Dag Toppe Larsen UiB/CERN CERN,
Progress on NA61/NA49 software virtualisation Dag Toppe Larsen Wrocław
Dag Toppe Larsen UiB/CERN CERN,
Prepared by: Assistant prof. Aslamzai
From Application to Appliance
Virtualisation for NA49/NA61
CernVM Status Report Predrag Buncic (CERN/PH-SFT).
Introduction to Cloud Computing
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Outline Virtualization Cloud Computing Microsoft Azure Platform
Guide to Operating Systems, 5th Edition
Presentation transcript:

Predrag Buncic (CERN/PH-SFT) CernVM - a virtual software appliance for LHC applications C. Aguado-Sanchez 1), P. Buncic 1), L. Franco 1), S. Klemer 1), P. Mato 1) 1) CERN, Geneva, Switzerland

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ Talk Outline  Introduction  CernVM Project Building blocks Scalability and performance User Interface and API Release status  Future plans & directions  Conclusions

Introduction

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ Enjoying “Frequency scaling Era” Mainframes Workstation & PC Clusters Cluster of Clusters (GRID) Single, multi and many cores IBM-VM 360, CERNVM,1988

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/  Unfortunatelly, HEP/LHC applications were developed during period when it looked like any performance issue can be easily solved by simply waiting 2 more years Support for hardware assisted virtualization  VMM can now efficiently virtualize the entire x86 instruction set Intel VT and AMD-V implementations VMware, Xen 3.x (including derivatives like Virtual Iron), Linux KVM and Microsoft Hyper-V  Running Virtual Machine will benefit from adoption of multiple core architectures since each virtual machine runs independently of others and can be executed in parallel In some cases (KVM,VMware) running concurrent VM can save memory Trends (h/w) Recent Trends (h/w) Multi & many cores  Software benefits from multicore architectures where code can be executed in parallel Under most common operating systems this requires code to execute in separate threads or processes. Bus Interface and L2 Caches CPU Core and L1 Caches CPU Core and L1 Caches

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ Recent Trends (s/w) Building on this new CPU capabilities, the software industry giants quickly came up with Cloud computing paradigm that relies on  virtualization as enabling technology  densly packed and energy efficient multi core systems as a basis fo next generation data centers Utility Computing on demand  Amazon Elastic Computing Cloud  Blue Cloud (IBM) 13 dedicated data centres Software as a Service (SaaS)  Google App Engine Delivering an application through the browser to thousands of customers Investing ~$2 billion per year in new generation data centres  Microsoft Azzuro Hosted office applications & data Plans to match Google in terms of number of data centres, $600 million per site

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ SaaS example: eyeOS

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ Grid vs Cloud Localised data (Storage Element)  Complicated scheduling Grid middleware in charge of abstacting complexity and differences of heterogenious resources  Requires complex middleware Distributed storage  Simplified scheduling Virtualization used as a tool to create a homogenious overlay for end user(s) and reduce scale of the problem  Simplifies middleware

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ "Cloud Computing is a paradigm in which information is permanently stored in servers on the Internet and cached temporarily on clients that include desktops, entertainment centers, table computers, notebooks, wall computers, handhelds, sensors, monitors, etc.”

CernVM Project

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ CernVM Project Portable Analysis Environment using Virtualization Technology (WP9) Project goal:  Provide a complete, portable and easy to configure user environment for developing and running LHC data analysis locally and on the Grid independent of physical software and hardware platform (Linux, Windows, MacOS) Decouple application lifecycle from evolution of system infrastructure Reduce effort to install, maintain and keep up to date the experiment software Lower the cost of software development by reducing the number of compiler- platform combinations Approved in 2007 (2+2 years) as R&D activity, started January 2008

How do we want to do that? CernVM “Thin” Virtual Software Appliance

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ Key Building Blocks rPath Linux 1 (  Slim Linux OS binary compatible with RH/SLC4 rAA - rPath Linux Appliance Agent  Web user interface  XMLRPC API rBulder  A tool to build VM images for various virtualization platforms CVMFS - CernVM file system  Read only file system optimized for software distribution Aggressive caching  Operational in offline mode For as long as you stay within the cache Build types  Installable CD/DVD  Stub Image  Raw Filesystem Image  Netboot Image  Compressed Tar File  Demo CD/DVD (Live CD/DVD)  Raw Hard Disk Image  Vmware ® Virtual Appliance  Vmware ® ESX Server Virtual Appliance  Microsoft ® VHD Virtual Apliance  Xen Enterprise Virtual Appliance  Virtual Iron Virtual Appliance  Parallels Virtual Appliance  Amazon Machine Image  Update CD/DVD  Appliance Installable ISO

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ class Root(CPackageRecipe): name='root' version=' ' buildRequires = ['libpng:devel', 'libpng:devellib','krb5:devel', 'libstdc++:devel’,'libxml2:devel', 'openssl:devel','python:devel', 'xorg-x11:devel', 'zlib:devel', 'perl:devel', 'perl:runtime'] def setup(r): r.addArchive('ftp://root.cern.ch/root/%(name)s_v%(version)s.source.tar.gz') r.Environment('ROOTSYS',%(builddir)s') r.ManualConfigure('--prefix=/opt/root ') r.Make() r.MakeInstall() Easy packaging with Conary

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ CernVM Components group-cernvm (core packages) group-cernvm (core packages) group-cernvm-devel (development tools) group-cernvm-devel (development tools) group-slc4 (SLC4 compatibility libs) group-slc4 (SLC4 compatibility libs) group- (groups and extra packages required by experiment) group- (groups and extra packages required by experiment) 100 MB compat-db4 compat-openssl compat-linstdc++slc3 compat-libxml2 compat-readline compat-tcl compat-tk group- -desktop (lightweight X environment) group- -desktop (lightweight X environment) group-cernvm-desktop X11 group-cernvm-desktop X11

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ CVMFS CernVM File System (CVMFS) is derived from Parrot ( and its GROW-FS code base and adapted to run as a FUSE kernel module adding extra features like:  possibility to use multiple file catalogues on the server side  transparent file compression under given size threshold  dynamical expansion of environment variables embedded in symbolic links

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ Scalability: Cache Hierarchy HTTPDHTTPD Software Repository LAN/WAN (HTTP)

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ Scalable Infrastructure

Publishing Releases

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ CernVM v.s. LXPLUS CernVM for ATLAS (benchmarks by Yushu Yao)  For the first time running, CernVM is 2-3 times slower, depending on the network speed, since it needs to cache files  Once the files are cached, the speed on CernVM is roughly the same as on LXPLUS.  CernVM is faster when reading large files (since they are local) Note: LXPLUS has a higher CPU rate than test computer (3GHz vs. 2.66GHz) Ratio to the execution time in LXPLUS

User Interface

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ rAA Web UI

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ rAA: XML-RPC API import xmlrpclib import os url = ' + user + ':' + password + + host + ':8004/rAA/xmlrpc' server = xmlrpclib.ServerProxy(url) r = server.cernvm.Config.configUpdate(' 'ALICE', # (can be None,ATLAS, ALICE, LHCB, CMS) 'off', # (on/off - if on it will make cvmfs locally writeable) 'off', # (on/off - enable/disable grid UI) 'off') # (on/off - enable VO profile) print r["message"] #### # Here we create initial user 'test' with the same password as Web admin #### r = server.cernvm.User.userUpdate('test', password,password) print r["message"] #### # Select grid UI version #### r = server.cernvm.Config.configGridUIVersion(” ") print r["message"]

Developing CernVM

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ Developing CernVM JANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC -Preparation Release Release 0.6 On time! Release 1.0 Available for download now! Kickoff Workshop - Release Release Release 0.91 (RC1) -Release 0.92 (RC2) Carlos, Leandro, Steffen, Artem

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ Release Available now for download from  Can be run on  Linux (KVM, Xen,VMware Player, VirtualBox)  Windows(WMware Player, VirtualBox)  Mac (Fusion, Parallels, VirtualBox) Release Notes HowTo Appliance can be configured and used with ALICE, LHCb, ATLAS (and CMS) software frameworks

Future plans & directions

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ Primary (master) software repository Secondary software repository Secondary software repository Reverse Proxy Load Balancing Reverse Proxy Load Balancing Reverse Proxy CernVM (thin client) Site Reverse Proxy Load Balancing Reverse Proxy Regional Reverse Proxy Removing Single Point of Failure Content Delivery Network

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ Bridging Grids & Clouds BOINC  Open-source software for volunteer computing and grid computing   Summer student project in OpenLab based on experience and CernVM image, aims to run ATLAS simulation using BOINC infrastructure  Successfully run ATLAS PanDA job in CernVM BOINC E PanDA Pilot

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ Adapter CernVM CoPilot 0. Send host JDL (free disk space, free memory, available packages) 1. Append framework specific information (e.g. CE name) and request a job 3. Send input files and commands for execution (packages are already there) 5. Register output files 4. When the job is done send back the output files (and the result of validation) 2. Send user job JDL from Task Quee AliEn/DIRAC/PanDA

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ Simplifying Grid deployment Nimbus (former Globus Workspace Service)  Nimbus is a set of open source tools that together provide an "Infrastructure-as-a-Service" (IaaS) cloud computing solution  Google Summer School (hosted at ANL) project to deploy a one-click, auto-configuring virtual Grid overlay for Alice/AliEn Successfully created virtual AliEn site for ALICE with one command

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ Mailing lists  (Open list for announcements and discussion) (End-user support for the CernVM project) Savannah Portal  Please submit bugs and feature requests to Savannah at CernVM Home Page:  rBuilder & Download Page:  CernVM Links…

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ Summary If you believe that it is time to jump on bandwagon and expolore directioin in which major software industry players are going and if you have one of these problems:  You work for LHC experiment and its software is not compatible with your favorite hardware or s/w platform running on your laptop/desktop  You do not want to spend time to manually keep software up to date  Your want to profit from the latest developments in CPU technology and use your multi/many core CPU to its maximal potential without modifying your application  You want to share spare CPU cores/cycles with others  You want to run your software on voluntary resources beyond the current Grid …then CernVM might be what you are looking for. Version 1.0 available at

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ The End

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ Multi core performance

ACAT 2008 CernVM – A Virtial Machine for LHC Experiments Erice, 6/11/ Application benchmarks