Predrag Buncic (CERN/PH-SFT) Introduction to WP9 Portable Analysis Environment Using Virtualization Technology IBM-VM 360, CERNVM,

Slides:



Advertisements
Similar presentations
Virtual Machine Technology Dr. Gregor von Laszewski Dr. Lizhe Wang.
Advertisements

Deploying GMP Applications Scott Fry, Director of Professional Services.
1. Topics Is Cloud Computing the way to go? ARC ABM Review Configuration Basics Setting up the ARC Cloud-Based ABM Hardware Configuration Software Configuration.
INTRODUCTION TO CLOUD COMPUTING CS 595 LECTURE 6 2/13/2015.
1 Software & Grid Middleware for Tier 2 Centers Rob Gardner Indiana University DOE/NSF Review of U.S. ATLAS and CMS Computing Projects Brookhaven National.
© 2009 IBM Corporation ® IBM Software Group Introduction to Cloud Computing Vivek C Agarwal IBM India Software Labs.
Presented by Sujit Tilak. Evolution of Client/Server Architecture Clients & Server on different computer systems Local Area Network for Server and Client.
Cloud computing Tahani aljehani.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 3 Desktop Virtualization McGraw-Hill.
Google AppEngine. Google App Engine enables you to build and host web apps on the same systems that power Google applications. App Engine offers fast.
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
Tanenbaum 8.3 See references
 Cloud computing is one of the more recent technologies that many businesses, individuals and other industry organizations believe to by one of the keys.
Adam Leidigh Brandon Pyle Bernardo Ruiz Daniel Nakamura Arianna Campos.
Cloud Computing Saneel Bidaye uni-slb2181. What is Cloud Computing? Cloud Computing refers to both the applications delivered as services over the Internet.
 Cloud computing  Workflow  Workflow lifecycle  Workflow design  Workflow tools : xcp, eucalyptus, open nebula.
1 port BOSS on Wenjing Wu (IHEP-CC)
Cloud Computing 1. Outline  Introduction  Evolution  Cloud architecture  Map reduce operation  Platform 2.
October, Scientific Linux INFN/Trieste B.Gobbo – Compass R.Gomezel - T.Macorini - L.Strizzolo INFN - Trieste.
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
Introduction to Cloud Computing
M.A.Doman Short video intro Model for enabling the delivery of computing as a SERVICE.
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.
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),
Using Virtual Servers for the CERN Windows infrastructure Emmanuel Ormancey, Alberto Pace CERN, Information Technology Department.
Predrag Buncic (CERN/PH-SFT) WP9 - Workshop Summary
GAAIN Virtual Appliances: Virtual Machine Technology for Scientific Data Analysis Arihant Patawari USC Stevens Neuroimaging and Informatics Institute July.
1 BOINC-VM and Volunteer Cloud Computing Ben Segal / CERN and: Predrag Buncic, Jakob Blomer, Pere Mato / CERN Carlos Aguado Sanchez, Artem Harutyunyan.
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
Enterprise Cloud Computing
WLCG Overview Board, September 3 rd 2010 P. Mato, P.Buncic Use of multi-core and virtualization technologies.
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.
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.
Information Systems in Organizations 5.2 Cloud Computing.
The CernVM Infrastructure Insights of a paradigmatic project Carlos Aguado Sanchez Jakob Blomer Predrag Buncic.
Predrag Buncic (CERN/PH-SFT) Software Packaging: Can Virtualization help?
2nd ASPERA Workshop May 2011, Barcelona, Spain P. Mato /CERN.
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.
Windows Terminal Services for Remote PVSS Access Peter Chochula ALICE DCS Workshop 21 June 2004 Colmar.
NA61 Collaboration Meeting CERN, December Predrag Buncic, Mihajlo Mudrinic CERN/PH-SFT Enabling long term data preservation.
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.
Meeting with University of Malta| CERN, May 18, 2015 | Predrag Buncic ALICE Computing in Run 2+ P. Buncic 1.
Course 03 Basic Concepts assist. eng. Jánó Rajmond, PhD
Cloud Computing Application in High Energy Physics Yaodong Cheng IHEP, CAS
© 2012 Eucalyptus Systems, Inc. Cloud Computing Introduction Eucalyptus Education Services 2.
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.
Using Virtualization in the Classroom
Unit 3 Virtualization.
Guide to Operating Systems, 5th Edition
Univa Grid Engine Makes Work Management Automatic and Efficient, Accelerates Deployment of Cloud Services with Power of Microsoft Azure MICROSOFT AZURE.
Fundamentals Sunny Sharma Microsoft
From Application To Appliance
Use of HLT farm and Clouds in ALICE
Virtualisation for NA49/NA61
Dag Toppe Larsen UiB/CERN CERN,
Dag Toppe Larsen UiB/CERN CERN,
From Application to Appliance
Virtualisation for NA49/NA61
Windows Azure Migrating SQL Server Workloads
Virtualization overview
CernVM Status Report Predrag Buncic (CERN/PH-SFT).
Outline Virtualization Cloud Computing Microsoft Azure Platform
Guide to Operating Systems, 5th Edition
Azure Container Service
Presentation transcript:

Predrag Buncic (CERN/PH-SFT) Introduction to WP9 Portable Analysis Environment Using Virtualization Technology IBM-VM 360, CERNVM, 1988

CERN, 15/ Motivation LHC Experiment(s)  Millions of lines of code  Complicated software installation/update/configuration procedure, different from experiment to experiment  Only tiny portion of it is really used at runtime in most of the cases  Often incompatible or lagging behind OS version on desktop/laptop Multi core CPUs with hardware support for virtualization  Making laptop/desktop ever more powerful and underutilised Using virtualization and extra cores to get extra comfort  Zero effort to install, maintain and keep up to date the experiment software  Reduce the cost of software development by reducing the number of compiler-platform combinations  Decouple application lifecycle from evolution of system infrastructure

CERN, 15/ How do we want to do that? Build a “thin” Virtual Software Appliance for use by LHC experiments This appliance should  provide a complete, portable and easy to configure user environment for developing and running LHC data analysis locally and on the Grid  be independent of physical software and hardware platform (Linux, Windows, MacOS) This should minimize the number of platforms (compiler-OS combinations) on which experiment software needs to be supported and tested thus reducing the overall cost of LHC software maintenance. All this to be done  in collaboration with LHC experiments, OpenLab  reusing existing solutions where possible Resources  7.5 FTE (staff) FTE (fellow) over 4 years

CERN, 15/ Initial Project Goals 1. Evaluation of the available virtualization technologies Understand and validate technologies by checking their performance in HEP environment 2. Evaluation of the tools to build and manage Virtual Appliances 3. Collect User Requirements from experiments Confront them with available technologies Suggest an optimal choice for a given use case 4. Development and deployment of a read-only distributed Network File System for software distribution Essential to keep the basic appliance small in size (<100MB) Validate performance, scalability and usability of such approach 5. Provide prototypes for at least two LHC experiments Assist experiments in adapting their software practices to this platform 6. Setup a service and support infrastructure

CERN, 15/ About virtualization, appliances and some recent trends in industry

CERN, 15/ Trends… The industry is gradually redefining meaning of the grid computing  Shift from glorious ideas of a large public infrastructure and common middleware towards an end-to-end custom solutions and private corporate grids Grid & Grow (IBM) Emerging new platforms:  Amazon Elastic Computing Cloud Everything is for rent (CPU, Storage, Network, Accounting)  Blue Cloud (IBM) is coming  Software as a Service (SaaS) Google App Engine Key enabling technology: Virtualization  CPU, OS, network, file virtualization and storage virtualization  Rich tools built on top of virtualization environments

CERN, 15/ Google trends virtualization vsgrid computing

CERN, 15/ Virtual Appliances Virtual Software Appliance is a lightweight Virtual Machine image that provides easy configuration and maintenance and combines  minimal, “just enough” operating environment (JeOS)  specialized application functionality These appliances are designed to run under one or more of the various virtualization technologies, such as  VMware, Xen, Parallels, Microsoft Virtual PC, QEMU, User mode Linux, CoLinux, Virtual Iron…  For evaluation of some of these technologies in HEP environment, see talk of J. Blomer

CERN, 15/ Evaluation of the tools to build and manage Virtual Appliances

CERN, 15/ AliEn Appliance (2006)

CERN, 15/ 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: rBuilder Recipe

CERN, 15/ Ready for Amazon EC2…

CERN, 15/ Groups & Builds Build types  Installabel 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

CERN, 15/ rbuilder.cern.ch Decision to use rPath’s rBuilder was easy one  There is no other comparable product offering so much flexibility It is possible to use rBuilder Online to setup test project and exercise the tools  Fully functional  Free  Occasionally overloaded We bought a license for one instance of rBuilder   Now hosts development of CernVM Appliance  If you are interested to learn more about rBuilder, please come to tutorial on Wednesday

CERN, 15/ Tools to Manage VMs There are many prototypes and a few really working ones We tried in house solution (Vgrid) and Open QRM Finally settled for Enomalism 2.0  Simple easy to use web based user interface  VM Agnostic, migrate to and from various virtual environments including KVM/Qemu, Amazon EC2 and Xen. (OpenVZ, VirtualBox and VMware coming soon)  Fine grained user permissions and access privileges  One click deployment  Can start/stop/pause/save VM instances  Free Open source License  More about Enomalism later today in talk of Carlos Aguado Sanchez

CERN, 15/ User Requirements

CERN, 15/ User Requirements This should normally happen before any work starts The initial screening of opinions happened in direct discussion with people from experiments who got interested in Virtualization project (end of 2007, beginning of 2008)  This feedback was taken into account when initial plan was created Expecting more feedback during discussion session on Wednesday  No enthusiastic response to calls for help in writing URD  ts ts We have to decide if User Requirements document is needed and if yes, we will need at least one person from participating experiment who will feel responsible for specific requirements

CERN, 15/ Development and deployment of a read-only distributed Network File System for software distribution

CERN, 15/ “Thin” Software Appliance JeOS (based on rPath Linux) rAArAA KERNEL fuse module FILESYSTEMFILESYSTEM rAA plugin Extra Liibs & Apps Cache HTTPDHTTPD Software Repository 10 GB1 GB0.1 GB LAN/WAN (HTTP)

CERN, 15/ Agent Network File System Techniques App Kernel NFSLFSFUSE App Kernel NFSLFS… agent Kernel File System (NFS) Kernel Callout (Fuse) AgentApp Kernel NFSLFS… Debugger Trap (Parrot)

CERN, 15/ Experience with AliEn Based CODA, distributed file system with its origin in AFS2 disconnected operation for mobile computing client side persistent caching and server replication security model for authentication, encryption and access control continued operation during partial network failures in server network network bandwidth adaptation Problems Latency on WAN is killing the response time We do not really need its write and synchronization capability

CERN, 15/ Scalability: Cache Hierarchy HTTPDHTTPD Software Repository LAN/WAN (HTTP)

CERN, 15/ Scalability: P2P FILESERVERFILESERVER Software Repository LAN/WAN P2P protocol

CERN, 15/ Current CernVM setup App On same host: /opt/lcg -> /chirp/localhost/opt/lcg open(“/opt/lcg”) Parrot Chirp server On File Server /opt/lcg -> /grow/host/opt/lcg open(“/opt/lcg”) Cache Kernel NFSLFSFUSE Chirp Fuse !Cache Parrot is part of Cooperative Computing Tools

CERN, 15/ Foreseen development App On same host: /opt/lcg -> /chirp/localhost/opt/lcg open(“/opt/lcg”) On File Server /opt/lcg -> /grow/host/opt/lcg Cache Kernel NFSLFSFUSE CernVM Fuse !Cache

CERN, 15/ Provide prototypes for at least two LHC experiments

CERN, 15/ Alpha release 0.3 Available for download from  nvm-devel/releases nvm-devel/releases Can be run on  Linux (Xen,VMware Player)  Windows(WMware Player)  Mac (Fusion, Parallels) Minimal HowTO at m/?page=HowTo m/?page=HowTo Limited testing to verify that appliance can be configured and used with Alice and LHCb software frameworks ATLAS is next in line Waiting for input from CMS

CERN, 15/ Demo time…

CERN, 15/ Conclusions The work on the project has started according to initial planning and is progressing well  Initial discussions with experiment trying to identify interest for collaboration  Contacts have been established with goal to carry out further research and look into alternative solutions  We have evaluated performance of several virtualization technologies in HEP context  We purchased and installed rBilder instance at CERN  Work on setting up scalable service infrastructure is in progress  Prototype of file system for s/w distribution is implemented  Alpha release is available and is ready for 2 experiments Work on Atlas will start next Waiting for expression of interest from CMS  We are expecting input from experiments User Requirements document Plan of work