Configuring your OpenVZ containers and backing up using vzdump

The main parameter I’ve toched so far is:

privvmpages (Private VM Pages in webvz)- RAM size in memory pages. Usually memory page is 4Kb, so to give your container 256Mb, set it to 65536
(Guaranteed Minimum CPU in webvz)

installing vzdump to create backups:

apt-get install liblockfile-simple-perl
wget http://download.openvz.org/contrib/utils/vzdump/vzdump_1.2-4_all.deb

and make it restart automatically after rebooting inside the system:

put a “touch /reboot” in /etc/init.d/reboot (function do_stop())

This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

CAPTCHA image
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">