Transcript
Page 1: Xen Orchestra: A new Web UI for XCP

http://xen-orchestra.comVates : Open source solutions

http://vates.fr

Xen OrchestraA new Web UI for XCP

Olivier LambertXO Project Lead

[email protected]

Page 2: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

A brief History of XO

● Initial project started in 2009 on Xen Hypervisor

● 2010: project abandoned (lack of time -studies-, small community, no corporate support) 

● End of 2012: XO reboot with XAPI

Page 3: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

A brief History of XO

● XO was born because of one question:

'On which host is running my VM, goddammit?'

● Then, more needs appear:

– Does my Dom0 have too much VMs?

– Does my Dom0 have enough RAM for new VM?

– Common admin tasks from Web interface

Page 4: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

XO Initial objectives

● Provide Web interface for managing Xen

● Give a global overview of VMs and their hosts

● Make every day Xen administration easier

● We wanted more abstraction (regroup servers in one resource)

● 2011 → XCP answers our prayers!

Page 5: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

XCP and its XAPI

● XCP: Open source version of XenServer

● Complete stack for server virtualization (eg: pools)

● Powerful API: XAPI (using XML-RPC)

● XAPI is the backbone of XCP → backend for ALL management apps

Page 6: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

XCP features

● Event tracking (with progress and notifications): perfect for XO!

● Resource pools

● VM lifecycle

● And many more! next talk by Mike McClurg ;)

Page 7: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

Current GUI for XCP

● Xen Center: Windows only, rich client, no persistence

● Open Xen Manager: XenCenter's clone, rich client, no persistence 

● Lot of small and dead projects without communities

● Specific projects: VPS vendors, big cloud interfaces (like Cloudstack or OpenStack)

Page 8: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

XO ideas

● Use and embrace all possibilities of XAPI● Fast and responsive web interface● Bandwidth friendly● Ergonomic user interface● XO on top of pools: global overview & perspectives● Corporate support and community

Page 9: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

Solutions

Modular architecture (protocol: JSON-RPC)

XO-Server: daemon (PHP)– Persistence– Fine-grained permissions

– Modularity (plugin capable)

XO-Web: web client (PHP/JavaScript/Twitter Bootstrap)

Page 10: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

SolutionsArchitecture

Page 11: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

SolutionsArchitecture

Page 12: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

SolutionsUI Design

● Challenge: data density, diversity & redundancy

● Traditional solution: table with pertinent data

● Perspective and research: innovative display 

Page 13: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

Design research

Page 14: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

Design research

Page 15: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

XO today

● Cache strategy based on XCP events is successfully implemented

● Tested with 6 XCP servers and 3 pools● Basic display of all VMs is working● XO-Web and XO-Server are totally decoupled (2 different Git repository)

● Local users and permissions are OK

Page 16: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

XO layout

Page 17: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

XO layout

Page 18: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

XO next months

● Basic XenCenter like features (VM/server/pool/storage management)

● Fine-grained permissions + LDAP compatible backend

● Display VM console in web pages● More ideas from community 

Page 19: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

XO this year

● Implement overview interface researches in web pages

● Possibilities are endless with modular design– Statistics plugin (e.g load analysis)

– Triggered actions (e.g green choices)

– We can imagine 3rd party software integration (e.g Puppet?)

Page 20: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

Follow us

● Website project: https://xen-orchestra.com● Ideas: https://xenorchestra.uservoice.com● Come talk to us just after this talk (over a beer!)

● We'll be at Xen booth tomorrow around 11am

Page 21: Xen Orchestra: A new Web UI for XCP

FOSDEM 2013 - http://xen-orchestra.comVates : Open source solutions

http://vates.fr

That's all folks!

● Precise roadmap will be released next week.● First available release with basic features: (production ready) -> March 2013

● Release rate depends of our work load.● AGPL licence● Any questions?