skylark: easy cloud computing

26
Sponsored by: & & Skylark: Easy Cloud Computing Yanjun Wu <[email protected]> Institute of Software, Chinese Academy of Sciences (ISCAS) November 2, 2011

Upload: xen-project

Post on 18-Dec-2014

3.127 views

Category:

Technology


1 download

DESCRIPTION

Skylark aims to provide a generic platform which enables cloud applications to be easily deployed and accessed. In the front-end, Skylark ports Spice to Xen and customizes Spice for application window delivery and display. Skylark users can start any application subscribed from Skylark application store and does not need to know whether it runs in Linux or Windows. In the back-end, by providing Xen Image File System (Xen-IFS), multiple VMs are allowed to start up simultaneously from the same snapshot or the same disk image. Xen-IFS will automatically keep and isolate the private data produced by each VM. Skylark makes it possible for Multiple User Single Installation (MUSI) among VMs, and also makes it easy for application delivery through remote VM access.

TRANSCRIPT

Page 1: Skylark: Easy Cloud Computing

Sponsored by:

& &

Skylark: Easy Cloud ComputingYanjun Wu <[email protected]>

Institute of Software, Chinese Academy of Sciences (ISCAS)

November 2, 2011

Page 2: Skylark: Easy Cloud Computing

Outline

• Motivations

• Architecture

• Xen inside

• Future works

• Q&A

Page 3: Skylark: Easy Cloud Computing

Motivations

• Easy Deployment (Multiple User Single Installation)

• Remote Computing (Desktop or App)

• Remote Data (Access at Any Time Any Where)

• Whole Workset Suspend/Restore 

Page 4: Skylark: Easy Cloud Computing

How

• Xen‐based virtualization

• Fine‐grained Resource Management

• Image File System

• Remote Virtual Desktop

• Dynamic configuration

Page 5: Skylark: Easy Cloud Computing

Skylark Architecture

Page 6: Skylark: Easy Cloud Computing

Skylark Client

• Skylark users can start any application subscribed from Skylark Application Store and does not need to know whether it runs in Linux or Windows.

Page 7: Skylark: Easy Cloud Computing

Skylark Manager

• App Management (Install / Remove)

• User Account Management

• Provide web API

Page 8: Skylark: Easy Cloud Computing

Skylark Storage

• IFS (Image File System)

– User can install applications to a VM and then share the VM to others. The shared VM is allowed to be accessed concurrently by dynamic clone.

• KFS (Kite File System)

– User can access his/her private files from any VM (even though the VM is cloned) .

– User can access his/her private files from web.

Page 9: Skylark: Easy Cloud Computing

Skylark Storage : IFS

• IFS is a versioning file system

– Data privatization• Multiple User Single Installation Support

– Data prefetching• Utilization of the data fetched by other users.

– Data caching• Ramfs‐style

Page 10: Skylark: Easy Cloud Computing

Skylark Storage : IFS

The Architecture of IFS

Page 11: Skylark: Easy Cloud Computing

Skylark Storage : IFS

The dynamic clone of IFS

User B

block 1.0 block 2.0 block 3.0 block 4.0

block 3.1

block 2.1

Base

User A

/mnt/ifs/userA@file1

/mnt/ifs/userB@file1

Page 12: Skylark: Easy Cloud Computing

Skylark Storage: KFS

• KFS (Kite File System)

– Provide a user virtual disk.

– Redirect file operations to data server.• rmdir , rename, mkdir, readdir, read, write…

– Support web access of the user virtual disk.

Page 13: Skylark: Easy Cloud Computing

Skylark Storage : KFS

KFS

Page 14: Skylark: Easy Cloud Computing

Skylark Cluster

• Allocate VMs for users

• Schedule :

– Approximate Load balance

– Aggregate scheduling• More data can be shared

– Accelerate read speed

Page 15: Skylark: Easy Cloud Computing
Page 16: Skylark: Easy Cloud Computing

spice4xen

Our spice4xen project added SPICE support for Xen.

SPICE is an open source remote computing protocol for virtual environment developed by Qumranet and acquired by Red Hat. Users can access the virtual desktop from different terminal in LAN and WAN using SPICE.

http://code.google.com/p/spice4xen/

By OSTeam of ISCAS

Page 17: Skylark: Easy Cloud Computing

Xen‐IFS

• Use the same snapshot that can be restored by different users to accelerate the system startup.

• No need to modify Xen.

– Problems need to solve:• Name conflicts.

• Hardware conflicts.

• Address conflicts.

Page 18: Skylark: Easy Cloud Computing

Xen‐IFS

• Use filename to send additional information to file system.

• Dynamic configuration*:

– Set VM name

– Set UUIDs

– Set Ports (e.g., spiceport)

*Do not change the size of snapshot.

Page 19: Skylark: Easy Cloud Computing

Xen‐IFSUse the same snapshot and the same disk image to restore VMs

Page 20: Skylark: Easy Cloud Computing

Xen‐IFS

Use the same snapshot and the same disk image to restore VMs

Page 21: Skylark: Easy Cloud Computing

Xen‐IFS

Use the same snapshot and the same disk image to restore VMs

Page 22: Skylark: Easy Cloud Computing

Client Side Demo• Login

• Subscribe Word application from Skylark Appstore

• Click and Run

Page 23: Skylark: Easy Cloud Computing

Client Side Demo• Select an remote desktop and launch spice.

• Skylark Task Manager displays current active window.

Page 24: Skylark: Easy Cloud Computing

Client Side Demo• User can choose pause or exit the current working enviroment.

Page 25: Skylark: Easy Cloud Computing

Future Works

• Skylark is still under heavy development.

• Tools:

– One of our experiments: Sync Install• You can launch a setup program at client side, and the program will be installed to the remote VM automatically.

• You only need to drag the setup program to a box. The setup operations can be redirected to the remote VM.

Page 26: Skylark: Easy Cloud Computing

Contact

Yanjun Wu

[email protected]

http://www.cloud‐os.org/

Any suggestion is appreciate.