stratuslab is co-funded by the european community’s seventh framework programme (capacities) grant...

12
StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI-261552 StratusLab: Storage Services EGI User Forum (Vilnius, Lithuania) 12 April 2011

Upload: katherine-lester

Post on 18-Jan-2018

214 views

Category:

Documents


0 download

DESCRIPTION

3 Using a Persistent Disk Workflow  Create a disk with a given size via the web or REST interface.  Launch a machine instance referencing that image.  Partition (fdisk) and format (mkfs) the disk via the running VM  Store data to the disk as usual  Dismount the disk or halt the machine instance  Disk with persistent data is available for use by another VM

TRANSCRIPT

Page 1: StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI-261552 StratusLab: Storage Services

StratusLab is co-funded by theEuropean Community’s Seventh

Framework Programme (Capacities)Grant Agreement INFSO-RI-261552

StratusLab: Storage Services

EGI User Forum (Vilnius, Lithuania)12 April 2011

Page 2: StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI-261552 StratusLab: Storage Services

2

StratusLab Storage Services

Disk-based abstraction "More natural" abstraction for an IaaS cloud Persistent, read-write disks for use within a cloud instance Read-only disks shared between cloud instances Both will be available in v0.4 and v1.0 releases

File-based abstractions "More natural" abstraction for scientific analyses Likely to provide implementation with CDMI interface Will appear after the v1.0 release in May 2011

Page 3: StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI-261552 StratusLab: Storage Services

3

Using a Persistent Disk

Workflow Create a disk with a given size via the web or REST interface. Launch a machine instance referencing that image. Partition (fdisk) and format (mkfs) the disk via the running VM Store data to the disk as usual Dismount the disk or halt the machine instance Disk with persistent data is available for use by another VM

Page 4: StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI-261552 StratusLab: Storage Services

4

Persistent Storage Architecture

Page 5: StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI-261552 StratusLab: Storage Services

5

Using Persistent Disks

Standard workflow for persistent disks: Create a disk with a given size via the web or REST interface. Launch a machine instance referencing that image. Partition (fdisk) and format (mkfs) the disk via the running VM Store data to the disk as usual Dismount the disk or halt the machine instance Disk with persistent data is available for use by another VM

Page 6: StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI-261552 StratusLab: Storage Services

6

Main Page

Page 7: StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI-261552 StratusLab: Storage Services

7

Create Disks

Page 8: StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI-261552 StratusLab: Storage Services

8

Defined Disks

Page 9: StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI-261552 StratusLab: Storage Services

9

Create Metadata Description

Try to validate the unsigned metadata file: There is no signature so the file should not be valid

Sign the contents of the file with a grid certificate: ttylinux-9.3-i686-base-1.0.xml ttylinux-9.3-i686-base-1.0.xml.orig ttylinux-9.3-i686-base-1.0.xml contains endorser and signature

elements

$ stratus-validate-metadata ttylinux-9.3-i686-base-1.0.xml Invalid: ttylinux-9.3-i686-base-1.0.xmlno signature

$ stratus-sign-metadata \ --p12-cert grid.p12 \ --p12-password xxxxxx \ ttylinux-9.3-i686-base-1.0.xml Manifest file successfully signed: ttylinux-9.3-i686-base-1.0.xml

$ stratus-validate-metadata ttylinux-9.3-i686-base-1.0.xmlValid: ttylinux-9.3-i686-base-1.0.xml

Page 10: StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI-261552 StratusLab: Storage Services

10

Create Metadata Description

Launch machine with new disk: --persistent-disk <UUID>

Partition and format disk, first time only: First time, partition and format

Afterward, just mount disk directly

$ stratus-run-instance \ --persistent-disk=aa7f17e3-aa78-4efc-a1ee-a684e194b4ea \ $TTYLINUX

::::::::::::::::::::::: :: Starting machines :: ::::::::::::::::::::::: :: Starting 1 machine :: Machine 1 (vm ID: 1) Public ip: 134.158.75.33 :: Done!

# fdisk /dev/hdd# mkfs /dev/hdd1# mount /dev/hdd1 /mnt

Page 11: StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI-261552 StratusLab: Storage Services

11

Using a Read-Only Disk (v0.4)

Workflow Launch a machine giving the Marketplace reference for the image Machine is launched with the given disk image on the given device

(typically /dev/hdd) Mount the disk on the machine and use the data for an analysis Dismount or halt the machine instance

These disks are read-only and thus cannot be modified.

They are managed, cached, etc. like machine images via the Marketplace.

Page 12: StratusLab is co-funded by the European Community’s Seventh Framework Programme (Capacities) Grant Agreement INFSO-RI-261552 StratusLab: Storage Services

Copyright © 2011, Members of the StratusLab collaboration: Centre National de la Recherche Scientifique, Universidad Complutense de Madrid, Greek Research and Technology Network S.A., SixSq Sàrl, Telefónica Investigación y Desarrollo SA, and The Provost Fellows and Scholars of the College of the Holy and Undivided Trinity of Queen Elizabeth Near Dublin.

This work is licensed under the Creative CommonsAttribution 3.0 Unported Licensehttp://creativecommons.org/licenses/by/3.0/