KVM & OpenVZ Virtualization And Cloud Computing WithProxmox VE
Version 1.0Author: Falko Timme <ft [at] falkotimme [dot] com>Last edited 01/29/2009Proxmox VE(
nvironment) is a distribution based on Debian Etch (x86_64); it provides an OpenSourcevirtualization platform for running virtual machines (OpenVZ and KVM) and comes with a powerful, web- based control panel (it includes a web-based graphical console that you can use to connect to the virtualmachines). With Proxmox VE, you can even create a cluster of virtualization hosts and create/control virtualmachines on remote hosts from the control panel. Proxmox VE also supports live migration of virtual machinesfrom one host to the other. This guide shows how you can use Proxmox VE to control KVM and OpenVZvirtual machines and how to create a small computing cloud with it.I do not issue any guarantee that this will work for you!
1 Preliminary Note
Proxmox VE is an x86_64 distribution, so you cannot install it on an i386 system. Also, if you want to useKVM, your CPU must support hardware virtualization (Intel VT or AMD-V) - this is not needed if you ustwant to use OpenVZ.In this tutorial I will create a small cluster of two machines, the Proxmox master (server1.example.com with theIP 192.168.0.100) and a slave (server2.example.com, IP: 192.168.0.101) so that I can demonstrate the livemigration feature and also the creation and management of virtual machines on remote hosts through ProxmoxVE. Of course, it is perfectly fine to run Proxmox VE on just one host.
2 Installing Proxmox VE On server1.example.com (Master)