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

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 *