visual outline to setup a ganeti cluster on your hardware • A quick glimpse at Ganeti CLI • Ganeti Web Manager • Why would you prefer Ganeti over other cloud software.
only one node at a time called a primary node • A backup copy or a mirror is created for each instance on a secondary node. (on demand) 2 1 3 4 NODE 3 NODE 2 NODE 1 2 1 3 Mirror copies
tolerant” • One instance runs on only one node at a time called a primary node • A backup copy or a mirror is created for each instance on a secondary node. (on demand) • DRBD handles the live sync up of the mirror with the corresponding primary instance. NODE 3 NODE 2 NODE 1 Mirror copies 2 1 3
a physical node goes down. • All the instances attached to it also go down. • Ganeti helps us avoid the trouble. The affected instances can be failovered to the running secondary node. 2 1 NODE 1 3 4 NODE 3 NODE 2 Mirror copies 2 1 3
are up and running again in a jiffy. Failover done in a few seconds. • So the problems in the physical hardware are invisible to the end user, even if a node fails the cluster runs without losing any data. This is fault tolerance. 3 4 3 NODE 3 NODE 2 2 1
gnt-cluster init --(some parameters) 2. Adding nodes to the cluster gnt-node add --(some parameters) 3. Create an instance on the cluster gnt-instance add --(some parameters) 4. Listing all nodes or instances in a cluster gnt-node list gnt-instance list
using Django Does most of the stuff you could do with the Ganeti CLI Interacts with Ganeti via the Ganeti Rest API. OSUOSL, initiated project, 18+ Releases, 20+ Contributors
on commodity hardware • Faster: Uses local block storage instead of NFS • Maintained by Google Open Source team. • Because of the smart guys who use it… (next)
grnet.gr - Greek Research & Technology Network • fsffrance.org - Free Software Foundation France • debian.org - Debian • osuosl.org - Oregon State University Open Source Lab - The most awesome Open Source Lab.
grnet.gr - Greek Research & Technology Network • fsffrance.org - Free Software Foundation France • debian.org - Debian • osuosl.org - Oregon State University Open Source Lab - The most awesome Open Source Lab.
com’nds: http://wiki.osuosl.org/public/ganeti/common_commands Ganeti Rest API docs: http://docs.ganeti.org/ganeti/current/html/rapi.html Ganeti Web Manger docs: https://ganeti-webmgr.readthedocs.org/en/latest/ Ganeti Web Manager Source: https://github.com/osuosl/ganeti_webmgr Run a Virtual Ganeti Cluster: https://github.com/ramereth/vagrant-ganeti
Open Source Lab [2] Kenneth Lett - Senior Software Engineer, Open Source Lab, OSU | Open Source Lab [3] Chance Zibolski, OSUOSL - Student developer, GWM committer [4] Piotr Banaszkiewicz, GWM Developer, GSoC 2013, 2012, Google Code-In [5] Google - For funding me. Thank you for all the suggestions, content and help.