Xen Virtualization

From SolusVM

Jump to: navigation, search

Contents

About Xen

The Xen® hypervisor, the powerful open source industry standard for virtualization, offers a powerful, efficient, and secure feature set for virtualization of x86, x86_64, IA64, ARM, and other CPU architectures. It supports a wide range of guest operating systems including Windows®, Linux®, Solaris®, and various versions of the BSD operating systems.

SolusVM currently only supports Linux Xen guest (CentOS, Fedora, Debian, Ubuntu, Gentoo, Slackware).

Server Requirements

Operating System .............: CentOS 5 (32 or 64 bit)
Processor.....................: Dual Core or higher
Memory .......................: 4GB or higher
Hard Disk ....................: 100GB or higher

Example Partition Layout .....: /      80GB + (NOTE: XEN HVM iso's will be stored here)
                                LVM    rest of drive (this must be an '''EMPTY''' logical volume group (VG))
                                SWAP   (4GB max)
  • vps is only an example name for the logical volume group, you can call it what you like!

SolusVM Installation

In SSH as root do the following:

wget http://soluslabs.com/installers/solusvm/install
chmod 755 install
./install

Select option 2 then option 2, this will now install a SolusVM slave with Xen support.

Once the installer has completed, follow the instructions given, to boot into the new Xen kernel and setup the SolusVM kernel links and ramdisk.

Login to your SolusVM master and select add node. Select type: Xen, and fill in all the server information. At the bottom of the form you will need to specify the LVM partition name i.e: /dev/vps can be entered as vps, you don't need to specify the full path. Once you submit the server details to SolusVM, it will check connections and if the LVM exists so make sure you have all the details correct.

SolusVM will support multiple LVM partitions over the coming months.

SolusVM Xen Templates

SolusVM requires templates to be formated in a certain way. This formatting is essential and must be followed!

Template format:

distro-version-arch-anything.tar.gz   i.e: centos-5.3-x86-base.tar.gz

Currently supported linux distributions are : CentOS, Fedora, Debian, Ubuntu, Gentoo, Slackware Only XEN HVM does support Windows, if XEN HVM doesn't works make sure that you've got a virtualization technique and this is enabled (look into the bios).

The slave installation will install a standard CentOS 5 template on the slave but not on the master. You can download this template from here: http://files.soluslabs.com/solusvm/install/centos-5.3-x86.tar.gz and save it to the master template store: /home/solusvm/xen/template.

Personal tools
Installation/Upgrading
Customization