I have installed Ganeti on Centos 6.3 with DRBD and have added couple of nodes. However, now I am facing next challenge of installing a Centos Guest/Instance on top of it. I tried using ganeti-instance-image but it does not appear to have ISO install. I tried the steps given https://code.osuosl.org/projects/ganeti-image/wiki/HOWTO_-_Ganeti_Instance_Image but did not work for me.
I know there is extensive documentation in ganeti page but most of them are for xen/Debian destro. The default debootstrap is also designed for Default debian instance install. If anyone could help me with working steps (idiot's guide) of installing an Centos Instance from
- ISO image
- Importing an existing qemu image file (qcow2/img/raw)
- Installing Centos using instance-image project.
So far I have been using KVM/DRBD for my Virtual machine management.
Best Answer
Answering my own Question.The answer to my question was understanding and using Ganeti OS templates/Bootstraps. Ganeti provides a default bootstrap to install Debian based Instances/Virtual machine. It could be modified to install any type of OS. There are already such instance-images available that could be used to install other destros such as CentOS/RHEL and Windows.
Install Linux-image. Remember to install the packages and ISO images across all the nodes in same location.
edit environment.sh path of ISO rescue image Modify cluster settings
Verify the install
Installing from ISO Image
Create an instance image
Install OS
Get the VNC Access
You may have to restart the Instances from Ganeti as it may not pick up up the grub.
Importing existing Qemu-image to DRBD based Ganeti
Sharing the steps mentioned at https://groups.google.com/forum/?fromgroups=#!topic/ganeti/YH_5pM8rAvc
Convert the Image
Get the image size
Create a DRBD image