
I am fairly new to OpenVZ on Ubuntu, although I have played with it on Centos. I really like OpenVZ, it seems fairly straight forward and “containers” or guests are light weight and easy to deploy. Backups are much smaller the saving a 5 Gb VMWare disk ….
What is OpenVZ ??? See the => OpenVZ Home Page
I have been waiting for OpenVZ to be ported to Ubuntu (I seem to spend a lot of time on Ubuntu).
Well, it is here and they have ported OpenVZ to current kernels
linux-image-2.6.24-19-openvz
Previous kernels are broken :(
Bug report : https://bugs.launchpad.net/ubuntu/+source/linux/+bug/226335
To use OpenVZ install linux-image-2.6.24-19-openvz from proposed :
I did not install more then the OpenVZ kernel + restricted modules (linux-restricted-modules) + headers (linux-headers)from proposed …
There is a nice wiki page specific to Ubuntu here :
Ubuntu wiki : https://help.ubuntu.com/community/OpenVZ
The wiki page demonstrates how to make an Ubuntu template & covers host configuration as well as upstart in the guests.
So far I am running OpenVZ on a 64 bit host with no problems. I have not tested 32 bit hosts, but they are reported as working on Launchpad.
Next stop : learning a little more about managing containers (back up, setting limits on memory / size, etc).
==========
OpenVZ Tips :
1. Management tip:
Either set an alias:
vzctl=’sudo vzctl’
or start a root shell with :
sudo -i
2. Networking Tip : No need for making a bridge on the host, just set an IP address with
vzctl set –ipaddress 192.168.1.xx -save
vzctl set –nameserver 192.168.1.1 –save
viola, container now has private ip address and internet access.
I would like to see the inscription “to be continied”:-D