Xen Cluster Management With Ganeti On Debian Etch. Version 1.0 Author: Falko Timme <ft [at] falkotimme [dot] com> Last edited 09/14/2007 Ganeti is a cluster virtualization management system based on Xen.
In this tutorial I will explain how to create one virtual Xen machine (called an instance) on a cluster of two physical nodes, and how to manage and failover this instance between the two physical nodes. This document comes without warranty of any kind! I do not issue any guarantee that this will work for you! "[...] This tutorial is based on an old version of Ganeti. 1 Preliminary Note Ganeti is still in an early stage. In this tutorial I will use the physical nodes node1.example.com and node2.example.com: node1.example.com: IP address 192.168.0.100; will be the master of the cluster. Both have a 50GB hard drive of which I use 10GB for the / partition, 1GB for swap, and leave the rest unpartitioned so that it can be used by Ganeti (the minimum is 20GB!). In my tests I was using two systems with 204MB RAM each for node1 and node2.
Tips on Using Ganeti. Update: I apologize for not updating this post.
I struggled with this for quite a while before making real progress, which I’ll try to detail. A few key points: debootstrap doesn’t install a bootloader, so even if you are using kvm, you need to specify a kernel on the parent/host and a root disk device (on in the vm) as part of the config. Make sure that the kernel matches the modules installed by debootstrap, or you’ll have lots of other problems.The default use of virtio for the disk interface causes problems with the kvm version that ships with ubuntu.
The virtual machines bios may not detect it. I’ve hacked up the ganeti-os-debootstrap scripts to use ubuntu’s vmbuilder script to create ubuntu VMs that do have a boot loader. We are using a number of virtual machines to support the efforts at work. I’d been eying Ganeti, a package for managing multiple Xen or KVM virtual machines running on a cluster of hosts. I also had the choice of the Xen or LVM hypervisors. Creating a scalable virtualization cluster with Ganeti. Creating a virtualization cluster that is scalable, cheap, and easy to manage usually doesn't happen in the same sentence.
Generally it involves a combination of a complex set of tools tied together, expensive storage, and difficult to scale. While I think that the suite of tools that use libvirt are great and are headed in the right direction, they're still not quite the right tool for the right job in some situations. Ganeti Deployment Notes - Technology Notes - Céondo Ltd. By Loïc d'Anterroches for Céondo LtdLast updated Wednesday, 19 June 2012.
Below, the corpus of Ganeti documentation is grouped by topic. A few quick references: Glossary: Provides explanations of basic Ganeti terminology.News file: Lists changes between Ganeti versions.Search Page: Allows you to search for key terms across Ganeti documentation. Using Ganeti The following resources provide guidance on how to use Ganeti: Ganeti - Cluster-based virtualization management software. Ganeti is a cluster virtual server management software tool built on top of existing virtualization technologies such as Xen or KVM and other open source software.
Ganeti requires pre-installed virtualization software on your servers in order to function. Once installed, the tool assumes management of the virtual instances (Xen DomU). Ganeti controls: Disk creation management Operating system installation for instances (in co-operation with OS-specific install scripts) Startup, shutdown, and failover between physical systems Ganeti is designed to facilitate cluster management of virtual servers and to provide fast and simple recovery after physical failures using commodity hardware. Ganeti provides the following features for managed instances: