Vzdump is a utility to make consistent snapshots of OpenVZ containers (and KVM virtual machines in case you are using Proxmox VE).

It fundamentally creates a tar archive of the container’s private area which also includes the CT configuration files.

The following steps are for Debian Squeeze Linux but vzdump can be used on all other linux distributions

1. Install Vzdump on Deian Squeeze:

apt-get install vzdump

You can also download and install vzdump from the follwing link:

http://download.openvz.org/contrib/utils/vzdump/

wget http://download.openvz.org/contrib/utils/vzdump/vzdump_1.2-4_all.deb

Continue Reading…

In this guide I will explain how to install and use KVM to create and run virtual machines on a Debian Squeeze Server.
In this tutorial I will show how to create image-based virtual machines.
KVM makes use of hardware virtualization. For that you need a CPU that supports hardware virtualization such as Intel VT or AMD-V.

Step 1. Check if your CPU supports hardware virtualization using the following command:

egrep ‘(vmx|svm)’ –color=always /proc/cpuinfo

If your result is nothing, then your processor doesn’t support hardware virtualization.

Step 2. Install KVM and virtinst :

apt-get install kvm qemu-kvm libvirt-bin virtinst

Step 3. Now we need to add the user as which we’re currently logged in to the groups libvirt and kvm. Run the following commands:

adduser `id -un` libvirt
adduser `id -un` kvm

Step 4. You also  need to set up a network bridge on our server.  You need that for virtual machines to can be accessed from outside.
For that you need to  install the package bridge-utils.

apt-get install bridge-utils

Continue Reading…

Page 1 of 11