Book Image

OpenVZ Essentials

By : Mark Furman
Book Image

OpenVZ Essentials

By: Mark Furman

Overview of this book

Table of Contents (13 chapters)

Important system files


In this section, we are going to go over the important system files that you will interact with administering OpenVZ on your server included in the following directories:

  • /etc/vz

  • /vz

  • /proc/user_beancounter

Understanding the /etc/vz directory

The /etc/vz directory is the main configuration directory for OpenVZ that contains several important files in it, such as dists, osrelease.conf, and vz.conf. You will also see a symlink named conf that links to the /sysconfig/vz-scripts directory.

  • dists: This file contains information about container actions that need to be handled in a specific way as per the distribution that the container is using. A good example of this is if you are using an Ubuntu distribution and you want to change the hostname, the hostname change would be written to /etc/hostname.

  • osrelease.conf: This file provides a list to vzctl at the startup of the container that checks the distribution of the container and the required kernel version.

  • vz.conf: This...