StratusLab Tutorial (Orsay, France)

Slides:



Advertisements
Similar presentations
Ed Duguid with subject: MACE Cloud
Advertisements

Virtual Machine Lifecycle StratusLab Tutorial (Orsay, France) 28 November 2012.
Using Storage with VMs StratusLab Tutorial (Orsay, France) 28 November 2012.
Marketplace and Appliance Management Charles (Cal) Loomis & Mohammed Airaj LAL, Univ. Paris-Sud, CNRS/IN2P October 2013.
1 © 2001, Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID 8.6(2) OVAs UCBU Platform Team.
Eucalyptus on FutureGrid: A case for Eucalyptus 3 Sharif Islam, Javier Diaz, Geoffrey Fox Gregor von Laszewski Indiana University.
StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI VM Lifecycle ACGRID-III (Hanoi)
Installation Overview Charles (Cal) Loomis & Mohammed Airaj LAL, Univ. Paris-Sud, CNRS/IN2P October 2013.
Customized cloud platform for computing on your terms !
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.
StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI Marketplace & Image Metadata.
Special Project Group 03 Chintan Shah Nisharg Patel Cynthia York.
© 2014 VMware Inc. All rights reserved My Slides from VMware vSphere: Optimize and Scale.
June 11, 2012 Troy Bleeker. Agenda Participants will learn A cloud computing recap. What is our cloud like and why do we have it? Lab: VPN, IDs, shared.
Client – Server Application Can you create a client server application: The server will be running as a service: does not have a GUI The server will run.
StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI Storage Services ACGRID-III.
StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI Virtual Machine Isolation.
Advanced Topics StratusLab Tutorial (Orsay, France) 28 November 2012.
Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Usage of virtualization in gLite certification Andreas Unterkircher.
Demos Components Resources Generic Command Execution SQL Profiles Application Hosts Service Settings Lifecycle Create Template Customize Deploy Service.
VApp Product Support Engineering Rev E VMware Confidential.
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Docker and Container Technology
Computing Services Charles (Cal) Loomis & Mohammed Airaj LAL, Univ. Paris-Sud, CNRS/IN2P October 2013.
StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI StratusLab: Storage Services.
Launch Amazon Instance. Amazon EC2 Amazon Elastic Compute Cloud (Amazon EC2) provides resizable computing capacity in the Amazon Web Services (AWS) cloud.
Microsoft Virtual Academy Module 12 Managing Services with VMM and App Controller.
Appliance Management StratusLab Tutorial (Orsay, France) 28 November 2012.
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
VMware Certified Professional 6-Data Center Virtualization Beta 2V0-621Exam.
Claudio Grandi INFN Bologna Virtual Pools for Interactive Analysis and Software Development through an Integrated Cloud Environment Claudio Grandi (INFN.
APACHE INSTALL Linux: CentOS 6.5 WHAT IS APACHE Apache is an open source application which is governed by the GNU licensing for use and alteration of.
Let's build a VMM service template from A to Z in one hour Damien Caro Technical Evangelist Microsoft Central & Eastern Europe
StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI VM Lifecycle StratusLab Tutorial.
StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI Client Installation StratusLab.
© 2015 MetricStream, Inc. All Rights Reserved. AWS server provisioning © 2015 MetricStream, Inc. All Rights Reserved. By, Srikanth K & Rohit.
SCI-BUS is supported by the FP7 Capacities Programme under contract nr RI CloudBroker usage Zoltán Farkas MTA SZTAKI LPDS
KUSANAGI for Microsoft Azure Hands on Preparations of Advance 0Copyright © 2016 PRIME STRATEGY CO.,LTD. All rights reserved.
Solaris containers (Zones) Server virtualization What zones are and how they are used in ECE/CIS at the University of Delaware Ben Miller.
StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI StratusLab: VM Lifecycle EGI.
APACHE INSTALL AWS Linux (Amazon Web Services EC2)
bitcurator-access-webtools Quick Start Guide
StratusLab Tutorial (Bordeaux, France)
StratusLab Tutorial (Bordeaux, France)
Enterprise Hybrid Cloud
VMWare Workstation Installation
StratusLab Tutorial (Bordeaux, France)
Securing the Network Perimeter with ISA 2004
StratusLab Tutorial (Bordeaux, France)
StratusLab Tutorial (Bordeaux, France)
Chapter 2: System Structures
StratusLab Tutorial (Orsay, France)
Lab 1 introduction, debrief
Creating a Windows Server 2012 R2 Datacenter Virtual machine
Creating a Windows Server 2016 Datacenter Virtual machine
Creating a Windows 7 Professional SP1 Virtual machine
Oracle Solaris Zones Study Purpose Only
OPNFV Arno Installation & Validation Walk-Through
Managing Clouds with VMM
Haiyan Meng and Douglas Thain
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
OpenStack-alapú privát felhő üzemeltetés
Cloud computing mechanisms
Managing Services with VMM and App Controller
Stephen Baron Sr. Program Manager Lead Microsoft Corporation
MDC-B203 Deploying Applications in Microsoft System Center Virtual Machine Manager Using Services John Messec Program Manager Microsoft.
bitcurator-access-webtools Quick Start Guide
Day 2, Session 2 Connecting System Center to the Public Cloud
Presentation transcript:

StratusLab Tutorial (Orsay, France) VM Lifecycle StratusLab Tutorial (Orsay, France) 17-18 November 2011

VM Lifecycle Overview Normal VM lifecycle consists of following commands: Deploy new instance: stratus-run-instance <VM Marketplace_ID> Describe running instances: stratus-describe-instance [VM ID] Access instance: ssh root@www.xxx.yyy.zzz Remove instance: stratus-kill-instance <VM ID>

Deploy a VM from the Marketplace Use a ttylinux image Identifier from the Marketplace to understand the VM lifecycle: Browse the StratusLab Marketplace: http://marketplace.stratuslab.eu export TTYLINUX_ID=LwcRbwCalYSysY1wftQdAj6Bwoi Deploy your virtual machine: stratus-run-instance ${TTYLINUX_ID} Response should give the VM ID and Public IP: ::::::::::::::::::::::: :: Starting machines :: :: Starting 1 machine :: Machine 1 (vm ID: 12) Public ip: 134.158.75.34 :: Done!

Status of Virtual Machines Follow the status of the machine with the VM ID: stratus-describe-instance <VMID> All active machines can be seen with same command without VMID. $ stratus-describe-instance 12 id state vcpu memory cpu% ip name 12 Running 1 0 0 134.158.75.34 one-12 $ stratus-describe-instance id state vcpu memory cpu% ip name 11 Running 1 131072 4 134.158.75.33 one-11 12 Running 1 0 0 134.158.75.34 one-12

Connecting to the Virtual Machine Wait until the machine is "Running" then ping the VM: ping <IP> If all's OK, log into the machine as root: ssh root@134.158.75.33 $ ping 134.158.75.33 PING 134.158.75.33 (134.158.75.33): 56 data bytes 64 bytes from 134.158.75.33: icmp_seq=0 ttl=63 time=0.780 ms 64 bytes from 134.158.75.33: icmp_seq=1 ttl=63 time=0.704 ms ... $ ssh root@134.158.75.33 # # echo $USER root

More machine instances… Deploy second machine instance: stratus-run-instance … Log into machine as root Stay logged in… Common machine states: Prolog: cloud initialization of an image Boot: starting virtual machine from image Running: machine is active Failed: problem with starting/running the machine

Stopping the Virtual Machine Graceful shutdown from within the machine: shutdown –h Wait for the unknown state, then kill (remove) the instance: This safely stops all services and halts the machine. Rip the power cord from the wall: stratus-kill-instance <VMID> # shutdown -h # Connection to 134.158.75.33 closed by remote host. Connection to 134.158.75.33 closed. $ stratus-describe-instance 11 id state vcpu memory cpu% ip name 11 Unknown 1 131072 3 134.158.75.33 one-11 $ stratus-kill-instance 12 $ stratus-describe-instance 12 id state vcpu memory cpu% ip name 12 Done 1 131072 4 134.158.75.34 one-12

Changing VM Resources At deployment, you can choose the number of CPUs, amount of RAM and swap space. StratusLab has a number of predefined types: stratus-run-instance --list-type (default is m1.small) Deploy an m1.xlarge instance $ stratus-run-instance --list-type Type CPU RAM SWAP m1.large 2 CPU 512 MB 1024 MB c1.xlarge 4 CPU 2048 MB 2048 MB m1.small 1 CPU 128 MB 1024 MB c1.medium 1 CPU 256 MB 1024 MB m1.xlarge 2 CPU 1024 MB 1024 MB t1.micro 1 CPU 128 MB 512 M $ stratus-run-instance --quiet --type=m1.xlarge $TTYLINUX_ID 14, 134.158.75.36 $ stratus-describe-instance 14 id state vcpu memory cpu% ip name 14 Pending 2 0 0 134.158.75.36 one-14

Non-standard Machine Types What happens when you need resource allocations different from the predefined types? Edit the machine template for complete control: edit $HOME/stratuslab/share/vm/schema.one Replace: vm_vcpu  number of CPUs desired Replace: vm_ram  RAM in MB Replace: vm_swap  swap space in MB Use standard commands to launch and control instance. NOTE: Machine images must be capable of using multiple CPUs, additional RAM, etc. for this to be useful.

Questions and Discussion

Exercises: Deploy Machines Marketplace Search Marketplace to see what types of machines are available What metadata is available for existing virtual machines? What metadata would you like to have? Deploy Virtual Machines Try different operating systems (ttylinux, Ubuntu, CentOS) Change the machine types, resources Try both shutdown and kill. What differences do you see? Create a Web Site Deploy virtual machine with a web server Customize landing page or other content Verify that you can access the site with the customized content