Comments on Building A Virtual Server (VPS) With Debian 3.1 (Sarge) And OpenVZ
Building A Virtual Server (VPS) With Debian 3.1 (Sarge) And OpenVZ In this HowTo I will describe the steps to be taken to prepare a server for OpenVZ virtual machines on Debian 3.1 (Sarge) 32Bit Linux. With OpenVZ you can create multiple Virtual Private Servers (VPS) on the same hardware, similar to Xen and the Linux Vserver project. OpenVZ is the open-source branch of Virtuozzo, a commercial virtualization solution used by many providers that offer virtual servers. The OpenVZ kernel patch is licensed under the GPL license, and the user-level tools are under the QPL license.
7 Comment(s)
Comments
I tried befor the Xen tutorial from Falko but had some problems with compiling ACPI options in the Xen kernel.
This OpenVZ howto works right from the first time i set it up like you explained with the ACPI options compiled in the VZ kernel and everything. So i can shut off and WOL start the host system now too.
Installing the virtual systems is easy and fast. I'm a happy man hehe
Very cool Howto! Thanks!
it should be
echo "deb http://debian.systs.org/ stable openvz" >> /etc/apt/sources.list
wget http://download.openvz.org/kernel/022stab064.1/patches/patch-022stab064-combined.gz
should be :
wget http://download.openvz.org/kernel/stable/022stab064.1/patches/patch-022stab064-combined.gz
stable is missing...
http://download.openvz.org/kernel/022stab064.1/configs/kernel-2.6.8-022stab064-i686.config.ovz
should be
http://download.openvz.org/kernel/stable/022stab064.1/configs/kernel-2.6.8-022stab064-i686.config.ovz
Hi,
with the packages from debian.systs.org I also hat the
arpsend: can't get iface 'eth0:' address : Cannot assign requested address
problem. The real problem is the ':'... Change /usr/share/vz/vps-functions with
100c97
< awk "/^[0-9].*:/&&/UP/ {print substr(\\$2, 0, length(\\$2))}"`
---
> awk "/^[0-9].*:/&&/UP/ {print substr(\\$2, 0, length(\\$2)-1)}"`
and networking works as expected...
please be careful:
from now the vzctl (>= 3.0.10-1dso1) depends on "gawk" not on the plain awk!
so there 's no need to change the source in "vps-functions"
And if someone detected a "bug" please let me know :-)
Thorsten Schifferdecker
--
tsd [at] debian.systs.org
see more at http://debian.systs.org/
please be carefully:
from now the vzctl depends on gawk, so there is no need to modify the "vps-functions".
I've someone hit a bug in the debian packages ... please let me know :-)
Thorsten Schifferdecker
--
tsd [at] debian.systs.org
or look at http://debian.systs.org/