Xen Orchestra is a web based management tool for the XAPI toolstack that is developed by the Xen Project. XAPI is a fully featured management API for Xen, that is also used by the recently open sourced enServer. We'll see how Xen Orchestra leverages XAPI by allowing a complete control of your virtualized infrastructure. First, we'll explain quickly the XO architecture (such as cache system, asynchronous events, user management with tokens…) Then, a review of current and future possibilities will be exposed, to show what you can expect from this solution: powerful visualizations with d3js, neat interface, orchestration features and integration with all XAPI's capable hosts (XenServer or any distro with XAPI packages, such as Debian, Ubuntu or CentOS). Finally, we'll talk about how to contribute.
2. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Plan
1) Why Xen Orchestra?
2) Global design
3) Current state
4) Next steps
5) Conclusion
2/41
3. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Why Xen Orchestra?
3/41
4. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Why Xen Orchestra?
● XO was born because of this question:
'On which host is running my VM, goddammit?'
● Then I searched something which:
– Provides a Web interface for managing Xen
– Gives a global overview of VMs and their hosts
– Makes every day Xen administration easier
4/41
5. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Why Xen Orchestra?
Timeline
First XO XCP 1.0
2009 2010 2011 2012 2013
XenServer opensourced
XO “reboot”
Project discontinued
5/41
6. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Why Xen Orchestra?
The reboot
● Get a simple and neat GUI for Xen
● Enjoy it with latest web technologies
● Embrace and leverage XAPI possibilities
● Driven by Open source (AGPL)
● Company support (Vates)
6/41
7. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Why Xen Orchestra?
Ideal specifications
● Accessible from a web browser
● Work out of the box
● Cover everyday Xen administration tasks
● Innovative interface
● Use few resources (bandwidth/cpu/ram)
● Scalable design
7/417/41
8. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Why Xen Orchestra?
What is NOT XO
● NOT a clone of XenCenter (but share the goal)
● NOT a cloud manager (e.g: OpenStack)
● NO specific agent to install on hosts or VMs
● NO complicated stack to install
8/41
9. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Why Xen Orchestra?
Existing GUI's for XAPI hosts
● XenCenter: Windows only (Mono?), rich client, no persistence
● Open Xen Manager: XenCenter's clone, rich client, no
persistence (last ver: 2010)
● Lot of small and/or dead projects without communities
● Specific projects: VPS vendors, big cloud interfaces (like
Cloudstack or OpenStack)
A gap exists for XO
9/41
10. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Global design
10/41
11. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Global design
Why XAPI?
● XenServer have Xen+XAPI
● XAPI available on other distros (Debian/CentOS)
● Most versatile and feature-complete stack (pools...)
● XAPI is the backbone for existing management apps
(XenCenter, xe CLI, {Open,Cloud}Stack)
11/41
12. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Global design
Why XAPI?
● Event tracking with progress and notifications: perfect
for XO! (always up to date, bandwidth friendly)
● Resource pools
● Storage
● VM lifecycle
● And many more!
12/41
13. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Global design
Architecture
● Modular architecture:
– XO-Server: persistence, connections, ACL's...
– XO-Web: interface
● Benefits:
– Uncouple interface project from backend
– Change interface or backend painlessly
– And more...
13/41
14. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Global design
XO Architecture
14/41
15. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Global design
XO Architecture
15/41
16. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Global design
Example
XS Master
XS host3
XS host2
XS host 4
XS host 5
Pool 1
16/41
17. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Global design
Example (XenCenter)
XS Master
XS host3
XS host2
XS host 4
XS host 5
Pool 1 XenCenter
Client 1
XenCenter
Client 2
XenCenter
Client 3
17/41
18. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Global design
Example (XO)
XS Master
XS host3
XS host2
XS host 4
XS host 5
Pool 1
XO
Web
Client 1
Web
Client 3
Web
Client 2
+ cache
18/41
19. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Global design
Technologies
● Rebooted with PHP again
● Not great for dealing with servers
● XML-RPC bugs in PHP lib
● Exterior criticism about this choice
We looked for a better fit
19/41
20. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Global design
Technologies for XO-Server
● Node.js seems promising
● Less complexity than PHP
● Better maintenance
● Adapted design for our needs
● Easy to interact with Redis (NoSQL)
20/41
21. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Global design
Technologies for XO-Web
● Single page app (much faster)
● Backbone.js (Marionette.js)
● WebSocket
● Twitter Bootstrap
● No more PHP, only JavaScript
21/41
22. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Global design
UI Design
● The most challenging part
● Data density, diversity and redundancy
● 2 parallel choices :
– Traditional solutions (tables) but always “light”
– Innovative design allows more data density
● UI research is a priority
22/41
23. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Global design
Classical design
23/41
24. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Global design
Innovative design
● Great JS lib: D3.js (http://d3js.org/)
● Plenty of examples for dealing data complexity
● Mixing symbols for displaying multiples data
And we have a Software ergonomist
24/41
25. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Global design
Example
25/41
26. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Global design
Example
26/41
27. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Current state
27/41
28. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Current state
Plug and play
● Distributed in xva appliance:
– Download
– Import
– Go on its IP in your browser
– That's it!
● No overkill stack for “just” Xen admin
28/4128/41
29. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Current state
Features
● Works out the box for XenServer/XAPI hosts:
– Tested on Debian+XAPI and XS 6.2
● Overview panel
● VMs list
● VMs consoles in Firefox
● Local users and permissions
29/41
30. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Current state
Features
30/41
31. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Current state
Features
31/41
32. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Current state
Features
32/41
33. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Current state
Features
33/41
34. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Current state
Features
34/41
35. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Current state
Features
35/41
36. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Next steps
36/41
37. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Next steps
Short term (2013)
● Creating and managing VM/storage/network
● LDAP compatible backend
● Instant report and graphs with RRD's
● More innovative views
● Distro packaging
37/41
38. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Next steps
Mid-term (2014)
● Stable release
● Possibility of pro support or sponsoring
● Trends (RRD history, workload analysis)
● Possibilities with modular architecture:
– Other backend? (only change XO-Server)
– Research projects
38/41
39. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Conclusion
39/41
40. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Conclusion
● Website drained 4k unique visitors in August
● Visits from more than 100 countries
● Early users are enthusiasts
● Expectations are high
● Understaffing limits our developing rate
40/41
41. LinuxCon / Xen User Summit 2013 - http://xen-orchestra.com
Vates : Open source solutions
http://vates.fr
Thank you!
● Website project: http://xen-orchestra.com
● Forum: http://xen-orchestra.com/forum
● IRC: #vates on Freenode
● Twitter: @vatesfr
Come talk to us after this talk
We'll be available here until Friday
41/41