Systematic Experimentation: Automating Experiments and ExoGENI Image Snapshots Paul Ruth, RENCI / UNC Chapel Hill.

Slides:



Advertisements
Similar presentations
VMWare to Hyper-V FOR SERVER What we looked at before migration  Performance – Hyper-V performs at near native speeds.  OS Compatibility – Hyper-V.
Advertisements

WEXTOOL User Guide v1.0 E.P. PLANETE B.B.R.. Plan Introduction & Architecture of Wextool Installation Scenario description Experimentation phase Saving/Synchronizing.
Windows Deployment Services WDS for Large Scale Enterprises and Small IT Shops Presented By: Ryan Drown Systems Administrator for Krannert.
Sponsored by the National Science Foundation Systematic Experimentation Case Study: Virtual Router Failure Restoration Xuan Liu UMKC/GENI Project Office.
GEC21 Experimenter/Developer Roundtable (Experimenter) Paul Ruth RENCI / UNC Chapel Hill
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Sponsored by the National Science Foundation An Introduction to GENI Tools Sarah Edwards GENI Project Office.
Apache : Installation, Configuration, Basic Security Presented by, Sandeep K Thopucherela, ECE Department.
Using the jFed tool to experiment from zero to hero Brecht Vermeulen FGRE, July 7 th, 2015.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 8: Network Load Balancing (NLB)
Reproducible Environment for Scientific Applications (Lab session) Tak-Lon (Stephen) Wu.
Tomcat Celsina Bignoli History of Tomcat Tomcat is the result of the integration of two groups of developers. – JServ, an open source.
Amazon EC2 Quick Start adapted from EC2_GetStarted.html.
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
Linux Operations and Administration
System Center 2012 Setup The components of system center App Controller Data Protection Manager Operations Manager Orchestrator Service.
Installing and maintaining clusters of FreeBSD servers using PXE and Rsync Cor Bosman XS4ALL
Sponsored by the National Science Foundation A Virtual Computer Networking Lab Mike Zink, Max Ott, Jeannie Albrecht GEC 23, June 16 th 2015.
Customized cloud platform for computing on your terms !
Sponsored by the National Science Foundation GIMI/LabWiki Tutorial Mike Zink, Divyashri Bhat, Cong Wang, Thierry Rakotoarivelo GEC20 March 22 nd 2014,
Sarah Edwards, GENI Project Office
Sponsored by the National Science Foundation Scaling Up: Growing the Topology of an Existing Experiment in GENI Sarah Edwards GENI Project Office Xuan.
Sponsored by the National Science Foundation Configuration Management For Experimenters: Ansible Hands-On Sarah Edwards, GPO.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Using the jFed tool to experiment from zero to hero Brecht Vermeulen Thijs Walcarius GEC 22, March 24 th, 2015.
Ceph Storage in OpenStack Part 2 openstack-ch,
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
Cloud Standard API and Contextualization
Linux in a Virtual Environment Nagarajan Prabakar School of Computing and Information Sciences Florida International University.
Sustainability: Web Site Statistics Marieke Napier UKOLN University of Bath Bath, BA2 7AY UKOLN is supported by: URL
Sponsored by the National Science Foundation Scaling Up: Growing the Topology of an Existing Experiment in GENI Sarah Edwards GENI Project Office with.
Sponsored by the National Science Foundation Behind the Scenes of GENI Experimentation An Introduction to GENI Tools Sarah Edwards, GENI Project Office.
Sponsored by the National Science Foundation Systematic Experimentation, Automation, and Scaling Up Sarah Edwards, GENI Project Office.
Sponsored by the National Science Foundation Lab Zero: A First Experiment using GENI Sarah Edwards, GENI Project Office.
Sponsored by the National Science Foundation LabWiki Tutorial (OMF/OML) Divya Bhat, Mike Zink, Pieter Becue, Brecht Vermeulen GEC20 July 8 th 2014, Ghent,
Sponsored by the National Science Foundation ExoGENI
GIMI I&M and Monitoring Mike Zink University of Massachusetts Amherst GEC 15, Houston, October 23 rd 1.
SONIC-3: Creating Large Scale Installations & Deployments Andrew S. Neumann Principal Engineer, Progress Sonic.
Sponsored by the National Science Foundation Systematic Experimentation in GENI.
Sponsored by the National Science Foundation 1 ICDCS13: July 8, 2013 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do the.
GAAIN Virtual Appliances: Virtual Machine Technology for Scientific Data Analysis Arihant Patawari USC Stevens Neuroimaging and Informatics Institute July.
Apache JMeter By Lamiya Qasim. Apache JMeter Tool for load test functional behavior and measure performance. Questions: Does JMeter offers support for.
Sponsored by the National Science Foundation Lab Zero: A First Experiment using GENI.
Sponsored by the National Science Foundation Systematic Experimentation in GENI Sarah Edwards GENI Project Office.
NA61/NA49 virtualisation: status and plans Dag Toppe Larsen CERN
Behind the Scenes of GENI Experimentation Understanding GENI AM API and RSpec Sponsored by the National Science Foundation
Sponsored by the National Science Foundation Behind the Scenes of GENI Experimentation An Introduction to GENI Tools Sarah Edwards, GENI Project Office.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Virtualization Technology and Microsoft Virtual PC 2007 YOU ARE WELCOME By : Osama Tamimi.
GEC22 Experimenter/Developer Roundtable (Developer) Victor Orlikowski Duke University
Maite Barroso - 10/05/01 - n° 1 WP4 PM9 Deliverable Presentation: Interim Installation System Configuration Management Prototype
NEuca - Network Extensions to Eycalyptus Ilia Baldine Renaissance Computing Institute, UNC-CH.
Sponsored by the National Science Foundation Today’s Exercise.
Application Programming in Cloud via Swift Swift Tutorial, CCGrid 2013, Hour 2 Ketan Maheshwari.
® IBM Software Group © 2006 IBM Corporation Rational Asset Manager v7.2 Using Scripting Tutorial for using command line and scripting using Ant Tasks Carlos.
Mark Shtern.  Our life depends on computer systems  Traffic control  Banking  Medical equipment  Internet  Social networks  Growing number of.
Sponsored by the National Science Foundation Systematic Experimentation, Automation, and Scaling Up Sarah Edwards, GENI Project Office.
Sponsored by the National Science Foundation Behind the Scenes of GENI Experimentation An Introduction to GENI Tools Sarah Edwards GENI Project Office.
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
How To Build a Production-Ready SP 2013 Farm Martin Cox SharePoint / O365 Architect SharePoint 2013 BI Farm Setup Best Practices.
Sponsored by the National Science Foundation Systematic Experimentation Sarah Edwards GENI Project Office.
Course: Cluster, grid and cloud computing systems Course author: Prof
Using the jFed tool to experiment from zero to hero
Tomcat Celsina Bignoli
Deploy OpenStack with Ubuntu Autopilot
Chapter 2. Malware Analysis in VMs
Scaling Experiments.
Brandon Hixon Jonathan Moore
Cloud Web Filtering Platform
Different types of Linux installation
Presentation transcript:

Systematic Experimentation: Automating Experiments and ExoGENI Image Snapshots Paul Ruth, RENCI / UNC Chapel Hill

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA GENI Experiments GENI ≠Amazon EC2

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA GENI Experiments GENI ≠Amazon EC2 Amazon EC2 ≅ Buying a machine from Dell

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA GENI Experiments GENI ≅ Getting time on a shared instrument (e.g. telescope or large cluster computer) GENI ≠Amazon EC2 Amazon EC2 ≅ Buying a machine from Dell

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA GENI Experiments Automated Experiments: –Repeatable –Scalable –Use resources only when running the experiment Hand-run/Hand-built Experiments: –Not repeatable –Not scalable –Waste resources with slices that “can’t be shutdown” Tips (should be rules): –Long lived experiments are allowed (even encouraged). –However, long lived slices for short experiments should be avoided. Especially if the reason is that its difficult reproduce the slice –Only configure slices by hand when developing experiments –Always automate configuration for execution of experiments

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA GENI Experiments Automated Experiments: –Repeatable –Scalable –Use resources only when running the experiment Hand-run/Hand-built Experiments: –Not repeatable –Not scalable –Waste resources with slices that “can’t be shutdown” Tips (should be rules): –Long lived experiments are allowed (even encouraged). –However, long lived slices for short experiments should be avoided. Especially if the reason is that its difficult reproduce the slice –Only configure slices by hand when developing experiments –Always automate configuration for execution of experiments If you can not easily shutdown your experiment and re-run it, then you are doing it wrong!!!

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA Automating GENI Experiments Basic experiments should include: –Request (RSpec or NDL) –Base image(s) (custom or standard image) –Post boot scripts to configure each VM Install software not include in image Configure unique setup for each VM Start services, clients, etc. Scalable experiment should include –Request (RSpec or NDL) –Base image(s) (custom or standard image) –Templated Post Boot scripts to configure arbitrary sized slice. Potions of slice can be scaled using common boot scripts More details on the ExoBlog:

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA Systematic Post Boot Scripts 8

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA ExoGENI Postboot Scripts Basic Example

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA ExoGENI Postboot Scripts Basic Example #!/bin/bash echo Server >> /etc/hosts echo Client1 >> /etc/hosts echo Client2 >> /etc/hosts /path/to/my/software/client-start Server Experiment is repeatable Each client has its own post boot script Adding an additional client requires modifying all post boot scripts Changing the IP address of any VM requires modifying all post boot scripts

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA ExoGENI Postboot Scripts Basic Templated Example #!/bin/bash echo $Server.IP(“VLAN0”) $Server.Name() >> /etc/hosts echo $Client1.IP(“VLAN0”) $Client1.Name() >> /etc/hosts echo $Client2.IP(“VLAN0”) $Client2.Name() >> /etc/hosts /path/to/my/software/client-start $Server.Name() Experiment is repeatable Each client has its own post boot script Adding an additional client requires modifying all client post boot scripts Changing the IP address of any VM does NOT require modifying any post boot scripts

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA ExoGENI Postboot Scripts Basic Templated Example #!/bin/bash echo $Server.IP(“VLAN0”) $Server.Name() >> /etc/hosts echo $Client1.IP(“VLAN0”) $Client1.Name() >> /etc/hosts echo $Client2.IP(“VLAN0”) $Client2.Name() >> /etc/hosts /path/to/my/software/client-start $Server.Name() #!/bin/bash echo Server >> /etc/hosts echo Client1 >> /etc/hosts echo Client2 >> /etc/hosts /path/to/my/software/client-start Server

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA ExoGENI Postboot Scripts Scalable Example

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA ExoGENI Postboot Scripts Scalable Example #!/bin/bash Echo $Server.IP(”VLAN0") $Server.Name() >> /etc/hosts #set ( $max = $Client.size() - 1 ) #foreach ( $i in [0..$max] ) echo $Client.get($i).IP(”VLAN0") `echo $Client.get($i).Name()| \ sed 's/\//-/g'` >> /etc/hosts #end /path/to/my/software/client-start $Server.Name() Experiment is repeatable Experiment is scalable Clients share post boot script Adding an additional clients DOES NOT require modifying post boot scripts Changing the IP address of any VM DOES NOT require modifying post boot scripts

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA ExoGENI Postboot Scripts Scalable Example #!/bin/bash echo $Server.IP(”VLAN0") $Server.Name() >> /etc/hosts #set ( $max = $Client.size() - 1 ) #foreach ( $i in [0..$max] ) echo $Client.get($i).IP(”VLAN0") `echo $Client.get($i).Name()| \ sed 's/\//-/g'` >> /etc/hosts #end /path/to/my/software/client-start $Server.Name() #!/bin/bash echo Server >> /etc/hosts echo `echo Client/0 | sed 's/\//-/g'` >> /etc/hosts echo `echo Client/1 | sed 's/\//-/g'` >> /etc/hosts /path/to/my/software/client-start Server

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA ExoGENI Postboot Scripts Scalable Example #!/bin/bash echo $Server.IP(”VLAN0") $Server.Name() >> /etc/hosts #set ( $max = $Client.size() - 1 ) #foreach ( $i in [0..$max] ) echo $Client.get($i).IP(”VLAN0") `echo $Client.get($i).Name()| \ sed 's/\//-/g'` >> /etc/hosts #end /path/to/my/software/client-start $Server.Name() #!/bin/bash echo Server >> /etc/hosts echo `echo Client/0 | sed 's/\//-/g'` >> /etc/hosts echo `echo Client/1 | sed 's/\//-/g'` >> /etc/hosts echo `echo Client/2 | sed 's/\//-/g'` >> /etc/hosts echo `echo Client/3 | sed 's/\//-/g'` >> /etc/hosts /path/to/my/software/client-start Server

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA ExoGENI Postboot Scripts 17

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA Custom ExoGENI Images 18

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA Custom ExoGENI Images Motivation –Advanced experiments need custom images Difficult for most users –Need for simple tool to create custom images

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA Custom ExoGENI Images Motivation –Advanced experiments need custom images Difficult for most users –Need for simple tool to create custom images NEW script: Create an ExoGENI image from a running ExoGENI VM

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA ExoGENI Image Background Images defined by XML metadata file –Image (AMI) - mandatory –Kernel (AKI) - optional –Ramdisk (ARI) - optional Hosted on HTTP server –Permanent server at your institution –Soon will work with DropBox and Google Drive Slice requests require –URL to metadata file – goes into the ‘name’ in RSpec –Hash of metadata file – goes into the ‘version’ in RSpec

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA ExoGENI Image Background: Metadata ZFILESYSTEM 9efee8fa9c c87a42477bd4ebd04d39c81 KERNEL 5e76d034e27cb861275fc3d1bd9d97c3905ef5a el6.x86_64 RAMDISK c999527cc0d8739a3d3f38d48f03fa6c73151cca el6.x86_64.img

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA ExoGENI Image Snapshot (NEW) Snapshot of running ExoGENI VM –Creates: image, kernel, ramdisk, metadata High level steps –Create/modify a VM –Run the script –Copy the new image files to an http server –Insert metadata URL and hash into a request More details on the ExoBlog:

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA ExoGENI Image Snapshot: Running the Script Example: Creates image files and metadata in /tmp -n : The name of the new image. -d : The directory to put the image files. -s : Size of the image -u : The http url of the web server where you will host your image../imgcapture.sh -n new_image -s 2G –d /tmp \ -u -d /tmp./imgcapture.sh -n -d -s -u

The 20th GENI Engineering Conference June 21-24, 2014 University of California Davis, Davis, CA ExoGENI Image Snapshot: Future Work Snapshot non-ExoGENI VMs –e.g. IG, Virtual Box, physical machine –Requires installation of NEuca tools Currently available as rpm, deb, and source

Thank you GENI Project Office Award#: 1934, 1872, 1582