Image Management and Rain on FutureGrid: A practical Example Presented by Javier Diaz, Fugang Wang, Gregor von Laszewski.

Slides:



Advertisements
Similar presentations
FutureGrid related presentations at TG and OGF Sun. 17th: Introduction to FutireGrid (OGF) Mon. 18th: Introducing to FutureGrid (TG) Tue. 19th –Educational.
Advertisements

Lecture 12: Cloud Computing-C Amazon Web Service Tutorial.
Operating-System Structures
An Approach to Secure Cloud Computing Architectures By Y. Serge Joseph FAU security Group February 24th, 2011.
(insert Presenters Name) (insert Title)
Implementing a menu based application in FutureGrid
FutureGrid Image Repository: A Generic Catalog and Storage System for Heterogeneous Virtual Machine Images Javier Diaz, Gregor von Laszewski, Fugang Wang,
Report Distribution Report Distribution in PeopleTools 8.4 Doug Ostler & Eric Knapp 7264.
PacNOG 6: Nadi, Fiji Installing Ubuntu Server 9.04 Hervey Allen Network Startup Resource Center.
Reproducible Environment for Scientific Applications (Lab session) Tak-Lon (Stephen) Wu.
Amazon EC2 Quick Start adapted from EC2_GetStarted.html.
Design Discussion Rain: Dynamically Provisioning Clouds within FutureGrid Geoffrey Fox, Andrew J. Younge, Gregor von Laszewski, Archit Kulshrestha, Fugang.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
Introduction to UNIX/Linux Exercises Dan Stanzione.
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
Eucalyptus on FutureGrid: A case for Eucalyptus 3 Sharif Islam, Javier Diaz, Geoffrey Fox Gregor von Laszewski Indiana University.
Cyberaide Virtual Appliance: On-demand Deploying Middleware for Cyberinfrastructure Tobias Kurze, Lizhe Wang, Gregor von Laszewski, Jie Tao, Marcel Kunze,
Customized cloud platform for computing on your terms !
Building service testbeds on FIRE D5.2.5 Virtual Cluster on Federated Cloud Demonstration Kit August 2012 Version 1.0 Copyright © 2012 CESGA. All rights.
Evolution to CIMI Charles (Cal) Loomis & Mohammed Airaj LAL, Univ. Paris-Sud, CNRS/IN2P3 29 August 2013.
Nimbus & OpenNebula Young Suk Moon. Nimbus - Intro Open source toolkit Provides virtual workspace service (Infrastructure as a Service) A client uses.
Client Installation StratusLab Tutorial (Orsay, France) 28 November 2012.
A Web 2.0 Portal for Teragrid Fugang Wang Gregor von Laszewski May 2009.
Home Media Network Hard Drive Training for Update to 2.0 By Erik Collett Revised for Firmware Update.
Managing User Accounts. Module 2 – Creating and Managing Users ♦ Overview ► One should log into a Linux system with a valid user name and password granted.
Creating an EC2 Provisioning Module for VCL Cameron Mann & Everett Toews.
ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 2: Operating-System Structures Operating.
Customized cloud platform for computing on your terms ! Nirav Merchant
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
FutureGrid Dynamic Provisioning Experiments including Hadoop Fugang Wang, Archit Kulshrestha, Gregory G. Pike, Gregor von Laszewski, Geoffrey C. Fox.
Image Generation and Management on FutureGrid CTS Conference 2011 Philadelphia May Geoffrey Fox
Image Management and Rain on FutureGrid Javier Diaz - Fugang Wang – Gregor von.
Intro to DatabasesClass 4 SQL REVIEW To talk to the database, you have to use SQL SQL is used by many databases, not just MySQL. SQL stands for Structured.
RAIN: A system to Dynamically Generate & Provision Images on Bare Metal by Application Users Presented by Gregor von Laszewski Authors: Javier Diaz, Gregor.
Using Cyberaide JavaScript to develop Ajax based Grid Apps – A Tutorial for Grid App Developers Gregor von Laszewski Fugang Wang Jun 22, 2009.
A university for the world real R © 2009, Chapter 9 The Runtime Environment Michael Adams.
Linux Exercise. Download and Install the latest CentOS version and latest Ubuntu/Fedora OS. Configure a unique Host Name and a permanent IP Address for.
DoC Private IaaS Cloud Thomas Joseph Cloud Manager
How to Deploy and Configure the Smart Net Total Care CSPC Collector
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
Lecture 26 Virtual Machine Monitors. Virtual Machines Goal: run an guest OS over an host OS Who has done this? Why might it be useful? Examples: Vmware,
Lecture 4 Mechanisms & Kernel for NOSs. Mechanisms for Network Operating Systems  Network operating systems provide three basic mechanisms that support.
Computing Services Charles (Cal) Loomis & Mohammed Airaj LAL, Univ. Paris-Sud, CNRS/IN2P October 2013.
ECHO A System Monitoring and Management Tool Yitao Duan and Dawey Huang.
Module 14: Advanced Topics and Troubleshooting. Microsoft ® Windows ® Small Business Server (SBS) 2008 Management Console (Advanced Mode) Managing Windows.
OpenStack Chances and Practice at IHEP Haibo, Li Computing Center, the Institute of High Energy Physics, CAS, China 2012/10/15.
Grappling Cloud Infrastructure Services with a Generic Image Repository Javier Diaz Andrew J. Younge, Gregor von Laszewski, Fugang.
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
EGI-InSPIRE RI EGI Webinar EGI-InSPIRE RI Porting your application to the EGI Federated Cloud 17 Feb
CS 283Computer Networks Spring 2013 Instructor: Yuan Xue.
Tutorial on Science Gateways, Roma, Catania Science Gateway Framework Motivations, architecture, features Riccardo Rotondo.
@Yuan Xue CS 283Computer Networks Spring 2011 Instructor: Yuan Xue.
Deterlab Tutorial CS 285 Network Security. What is Deterlab? Deterlab is a security-enhanced experimental infrastructure (based on Emulab) that supports.
RI EGI-TF 2010, Tutorial Managing an EGEE/EGI Virtual Organisation (VO) with EDGES bridged Desktop Resources Tutorial Robert Lovas, MTA SZTAKI.
Geant4 GRID production Sangwan Kim, Vu Trong Hieu, AD At KISTI.
Claudio Grandi INFN Bologna Virtual Pools for Interactive Analysis and Software Development through an Integrated Cloud Environment Claudio Grandi (INFN.
Introductory Tutorial: OpenStack, Chef, Hadoop, Hbase, Pig I590 Data Science Curriculum Big Data Open Source Software and Projects September Geoffrey.
SCI-BUS is supported by the FP7 Capacities Programme under contract nr RI CloudBroker usage Zoltán Farkas MTA SZTAKI LPDS
Windows Server 2003 { First Steps and Administration} Benedikt Riedel MCSE + Messaging
Canadian Bioinformatics Workshops
Customized cloud platform for computing on your terms !
StratusLab Tutorial (Bordeaux, France)
Chapter 2: System Structures
Javier Diaz, Gregor von Laszewski, Fugang Wang and Geoffrey Fox
Lab 1 introduction, debrief
Getting Started.
1Indiana University, 2now Rutgers University
Getting Started.
Different types of Linux installation
Presentation transcript:

Image Management and Rain on FutureGrid: A practical Example Presented by Javier Diaz, Fugang Wang, Gregor von Laszewski

Motivation Provide users with the ability to create their own environments to run their projects (OS, packages, software) Users can deploy their environments in both baremetal and virtualized infrastructures The security is important

Architecture

Image Repository Service to query, store, and update images through a unique and common interface

Image Repository Examples Query the image repository –CLI: fg-repo –u jdiaz –q “* where os=centos_5” –Shell: list * where os=centos Upload an Image –CLI: fg-repo –u jdiaz –p imagefile.tgz “os=centos&vmtype=kvm&description=my image” –Shell: put imagefile.tgz os=centos&vmtype=kvm&description=my image Checking quota and Generating an ImgId Authentication OK Uploading image. You may be asked for ssh/passphrase password Imagefile.tgz 100% KB/s 00:00 Registering the image The image has been uploaded and registered with id Authentication OK 2 items found imgId= , os=centos_5, arch=x86_64, owner=jdiaz, description=None, tag=jdiaz , vmType=none, imgType=machine, permission=private, status=available imgId= , os=centos_5, arch=x86_64, owner=jdiaz, description=None, tag=jdiaz , vmType=none, imgType=machine, permission=private, status=available

Image Repository Examples Add User –CLI: fg-repo –u jdiaz --useradd userId –Shell: user –a userIds Image Usage –CLI: fg-repo –u jdiaz --histimg –Shell: histimage Authentication OK imgId= , createdDate(UTC)= :43:30, lastAccess(UTC)= :37:45, accessCount=16, imgId= , createdDate(UTC)= :36:40, lastAccess(UTC)= :48:04, accessCount=4, imgId= , createdDate(UTC)= :36:33, lastAccess(UTC)= :36:33, accessCount=0, Authentication OK User created successfully. Remember that you still need to activate this user (see setuserstatus command)

Image Generation Creates and customizes images according to user requirements : o OS type o OS version o Architecture o Software Packages Image is stored in the Image Repository or returned to the users Images are not aimed to any specific infrastructure

Generate an Image fg-generate –u jdiaz –o centos –v 5 –a x86_64 –s python Generate imgDeploy VM And Gen. Img 3 3 Store in the Repo or Return it to user Client output: Image generator client... Please insert the password for the user jdiaz Password: Selected Architecture: x86_64 Connecting server: i120:56791 Your image request is in the queue to be processed wait here if too many request are being processed Your image request is being processed Generating the image wait here until finished Your image has be uploaded in the repository with ID= The image and the manifest generated are packaged in a tgz file. Please be aware that this FutureGrid image does not have kernel and fstab. Thus, it is not built for any deployment type. To deploy the new image, use the IMDeploy command.

Image Deployment Customizes (network IP, DNS, file system table, kernel modules, etc) and deploys images for specific infrastructures Two main infrastructures types –HPC deployment: it means that we are going to create network bootable images that can run in bare metal machines –Cloud deployment: it means that we are going to convert the images in VMs

Deploy/Stage an Image for HPC fg-deploy –u jdiaz –r –x india 1 1 Deploy img from Repo 2 2 Get img from Repo 3 3 Customize img 4 4 Register img in xCAT (cp files/modify tables) 5 5 Return info about the img Register img in Moab and recycle sched 6 6 Client output: Starting image deployer... Please insert the password for the user jdiaz Password: Connecting to xCAT server wait here if an image is being deployed----- Authentication OK Customizing and deploying image on xCAT wait here until finished----- Connecting to Moab server Your image has been deployed in xCAT as centosjavi Please allow a few minutes for xCAT to register the image before attempting to use it. To boot an machine using your image: qsub -l os= To check the status of the job you can use checkjob and showq commands

Deploy/Stage an Image stored in the Repository to OpenStack fg-deploy –u jdiaz –r s –v ~/novarc 1 1 Deploy img from Repo 2 2 Get img from Repo 3 3 Customize img 4 4 Return img to client 5 5 Upload the img to the Cloud Client output: Starting image deployer... Please insert the password for the user jdiaz Password: Authentication OK wait here until finished----- Retrieving image. You may be asked for ssh/passphrase password centos5jdiaz img 100% 1496MB 65.0MB/s 00:23 euca-bundle-image …. euca-upload-image … euca-register … IMAGE emi-437C1239 Your image has been registered on OpenStack with the id emi-437C1239 To launch a VM you can use euca-run-instances -k keyfile -n id Remember to load you Eucalyptus environment before you run the instance (source eucarc) More information is provided in More information is provided in and in

List Images Deployed on xCAT/Moab fg-deploy –u jdiaz -l –x india List deployed Images Return Images both know about Tell me what images you know Client output: Starting image deployer... Please insert the password for the user jdiaz Password: Connecting to xCAT server Authentication OK Connecting to Moab server The list of available images on xCAT/Moab is: centosjdiaz centosfuwang You can get more details by querying the image repository using IRClient.py -q command and the query string: "* where tag=imagename". NOTE: To query the repository you need to remove the OS from the image name (centos,ubuntu,debian,rhel...). The real name starts with the username.

RAIN Rain (Runtime Adaptable INsertion Configurator) We want to provide custom HPC environment, Cloud environment, or virtual networks on- demand with little effort

Rain an Image and execute a task (baremetal) fg-rain –u jdiaz –r –x india –j testjob.sh –m Run job in my image stored in the repo 3 3 Deploy img from Repo 4 4 Get img from Repo 5 5 Customize img 6 6 Register img in xCAT (cp files/modify tables) 7 7 Register img in Moab and recycle sched 8 8 Return info about the img 7 7 qsub, monitor status, completion status and indiacate output files 2 2 Deploy img Client output: Starting rain... Please insert the password for the user jdiaz Password: Deploy the image. Same logs as before --- Job id is: Wait until the job finishes State: Idle State: Running State: Completed Completion Code: 0 Time: Fri Oct 28 15:05:02 The Standard output is in the file: salida.txt The Error output is in the file: jobscript.e200941

Rain: Execute a task in a deployed image (OpenStack) fg-rain –u jdiaz –i i –s –v ~/novarc –j testjob.sh –m Run job in my image that is deployed 2 2 Boot VMs Cloud Framework VM 3 3 Wait for access to VMs 4 4 Configure VMs for user and mount his home directory in /tmp using sshfs 5 5 Run job via ssh and wait until finished Client output: Starting rain... Please insert the password for the user jdiaz Password: Launching image Waiting for running state in all the VMs --- Prints status each X seconds--- Number of instances booted 2 Instance i e9 associated with address Instance i ea associated with address Waiting to have access to Instance i e9 associated with address Waiting to have access to Instance i ea associated with address All VMs are accessible: True Creating temporal sshkey files Copying temporal private and public ssh-key files to VMs Configuring ssh in VM and mounting home directory (assumes that sshfs and ldap is installed) Copying temporal private and public ssh-key files to VMs Configuring ssh in VM and mounting home directory (assumes that sshfs and ldap is installed) Running Job --- Waits until job is done--- Job Done

Some Numbers… (I)

Some Numbers… (II)

Manual and Tutorials Tutorial : gement_and_rain Manuals –fg-shell: –fg-repo: –fg-generate: generate –fg-deploy: