Presentation is loading. Please wait.

Presentation is loading. Please wait.

Supporting Cloud Computing with the Virtual Block Store System Xiaoming Gao, Mike Lowe,

Similar presentations


Presentation on theme: "Supporting Cloud Computing with the Virtual Block Store System Xiaoming Gao, Mike Lowe,"— Presentation transcript:

1 Supporting Cloud Computing with the Virtual Block Store System Xiaoming Gao, Mike Lowe, Yu Ma, Marlon Pierce,

2 Outline Motivation Typical use cases Web service architecture Workflows Consistency Support for other volume servers and VMMs Integration with Nimbus Preliminary performance tests Future work

3 Motivation Needs for data storage support Cloud computing environment Make scientific data collections available to clouds Cloud-related data storage services - distributed file systems: Amazon S3, Hadoop, etc. - block storage systems: instance storage in Amazon EC2, Amazon Elastic Block Store (EBS), Eucalyptus’ EBS implementation based on ATA over Ethernet (AoE) - EBS vs. instance storage: off-instance, persistent, extendable - problems with EBS: proprietary, deeply coupled with EC2

4 Motivation VBS – similar interface to EBS - create-volume - delete-volume - describe-volumes [,, …] - create-snapshot - delete-snapshot - describe-snapshots [,, …] - attach-volume - detach-volume More flexibility - works directly with Virtual Machine Manager (VMM) - supports various VMMs (Xen, KVM, etc.) - convenient integration with various cloud computing systems

5 Typical use cases LV: Logical Volume Persistent and extendable storage Xen hypervisor VBS Extendable volume storages: Dom U Instance 1 Dom U Instance 2 LV 1 LV2 …. Attachment ….

6 Typical use cases 1.Create a snapshot with basic file system and software installation Xen hypervisor VBS Data reuse based on snapshots: Dom U Instance 1 Dom U Instance 2 LV 1 LV2 …. Attachment …. Snapshot s /lost+found /etc /usr … 2.Create new volumes based on the snapshot, and attach them to different VM instances 3.Load different data sets in different VMs, and get different processing results

7 Web services architecture Volume Server (LVM) Volume Delegate Virtual Machine Manager (Xen Dom 0) VMM Delegate VM instance ( Xen Dom U) VBS Web Service VBS Client VBD iSCSI Create Volume, Export Volume, Create Snapshot, etc. Import Volume, Attach Device, Detach Device, etc. LVM: Logical Volume Manager iSCSI: internet SCSI protocol VBD: Virtual Block Device

8 Workflow – attach volume VBS Web Service Volume Delegate Export_target “ietadm new” Target Information VMM Delegate Do_attach “iscsiadm --mode discovery” “xm block-attach” VBS Client Success/Failure Update metadata Attach_volume Success/Failure “iscsiadm --login” Volume ID, VMM hostname, VM ID

9 Consistency Metadata level consistency - HSQLDB: volumes table, snapshots table, attachments table; System level consistency - Roll-back in case of failures in multi-step operations

10 Support other Volume Servers and VMMs String program = "xm"; String[] args = {"block-attach", vmId, "phy:"+vmmDev, vmDev, "w"}; UtilSet.antExecute(program, args, …); Original source code: Property file: blockAttachCmd=xm block-attach phy: w blockDetachCmd=xm block-detach Build new Volume Delegate & VMM Delegate Service Command line extraction: String cmdLine = prop.getProperty(“blockAttachCmd”).replace(" ", vmId); … String program = UtilSet.getProgFromCmdLine(cmdLine); String[] args = UtilSet.getArgsFromCmdLine(cmdLine); UtilSet.antExecute(program, args, …); New source code:

11 Integration with Nimbus Volume Server Volume Delegate Xen Dom 0 Xen Delegate Xen Dom U VBS Web Service VBS Client VBD iSCSI Create Volume, Export Volume, Create Snapshot,Etc. Import Volume, Attach Device, Detach Device,Etc. Nimbus Workspace Service VBS_Nimbus Web Service Attch-volume Query for Xen Dom0 Host and DomUId with

12 Preliminary performance tests Single volume/VM test bed Disk types tested: - VBS-LVM: a 5GB VBS volume on the volume server; - AoE-LVM: a 5GB logical volume on the volume server, attached to the VM via AoE - Local-LVM: a 5GB logical volume on the VMM node - Local-Image: disk image of the VM Testing tool: - Bonnie e CPUMemorydisk Volume server 4*Xeon 2.8G512M4 * Seagate 147G 10K RPM SCSI (paired in RAID1) VMM2 * Opteron 2.52G1.5G1 Fujitsu 73G 10K RPM SCSI VM1 Operon 2.52G256M4G disk image file (3.6G available) - Network connection: 1Gb Ethernet

13 Preliminary performance tests File size: 512 MB File size: 1 GB

14 Local-LVM constantly faster than VBS-LVM - no network overhead, faster hard disk (83MB/s vs. 65MB/s) VBS-LVM comparable to AoE-LVM - iSCSI better optimized for write, AoE-LVM benefits more from cache on VMM Preliminary performance tests File size: 1.5 GB

15 Preliminary performance tests File creation and deletion

16 Future Work 1. More functions: - user management - read-only volume sharing 2. Security: - Web services security - iSCSI security 3. Availability and scalability: - multiple volume servers - volume duplication and synchronization

17 Acknowledgements -Thank Prof. Fox for his review and comments -Thank Joe Rinkovsky for his help with the Eucalyptus test bed -Thank Jun Wang for his help with the testing results -Thank Jan-Philip Gehrcke, Kate Keahey and the Nimbus group in Univ. of Chicago for their help with the integration with Nimbus

18 Questions?


Download ppt "Supporting Cloud Computing with the Virtual Block Store System Xiaoming Gao, Mike Lowe,"

Similar presentations


Ads by Google