Skip to content

CentOS 6 KVM Slave Installation Guide

BlueVM edited this page Nov 6, 2013 · 2 revisions

This installer is a bare-bones installer which creates a CentOS Feathur KVM slave server.

NOTICE: This Feathur installer is designed to run on a physical node. It is not recommended to install this ontop of a VPS or on top of an existing node.

Installation requirements:

  • Centos 6 (32 or 64 bit)
  • Basic Linux Knowledge

Video Installation Guide:

While this video describes OpenVZ installation, a lot of the same steps apply to KVM... thus it might be useful.

Click Here to View the CentOS OpenVZ Slave Installation Video

Before running this installer on your server you will need to know:

  • Volume Group Backing Volume ()

NOTE: DO NOT CREATE THE VOLUME GROUP FOR YOUR KVM VPS, LET THE INSTALLER DO IT FOR YOU.

Once you know that, run the following command on your server:

cd ~ && wget --no-check-certificate https://raw.github.com/BlueVM/Feathur/develop/Scripts/centos-kvm-slave-installer.sh && bash centos-kvm-slave-installer.sh

The installer will ask you three questions...

  1. The first question will be in regard to your server's trunk interface. It will provide you with a list of possible options, but normally the answer is "eth0".

  2. The second question will be in regard to what you want Feathur to name your new volumegroup. You'll need this information later when you go to add the server into Feathur... We suggest you name it "volgroup00".

  3. The third question will be in regard to what device you want to place the volume group on... this is normally /dev/sda3.

After running the installer:

  1. Copy the RSA key echoed out into the terminal and save it to a text file. Include the "Begin RSA" and "End RSA" lines. You'll need it for step 3.
  2. Restart the server and wait for the system to come back online...
  3. Login to Feathur and go under "Add Server" (Under Servers on the admin menu). Type in your name for the server, the server's IP or hostname, paste in the key you got in step #1, type in the location, type in the volume group you entered in question #1, in the qemu box enter: "/usr/libexec/qemu-kvm" and press submit.