vz - global OpenVZ configuration file
This is global configuration file for OpenVZ. It consists of lines in the form
PARAMETER="value"
All parameter names and values are case-sensitive. Quotes
surrounding value are required if value contains spaces, and are
optional otherwise. Extra spaces are not allowed. All unrecognized lines
will be ignored.
- VIRTUOZZO=yes|no
- This parameter can be set to yes or no, and used by
/etc/init.d/vz script. In case it is not
set to yes, nothing will be done to boot up OpenVZ on this
node.
- LOCKDIR=directory
- Set the directory to put lock files to.
- VE0CPUUNITS=number
- Value of this parameter sets cpuunits for VPS0.
- LOGGING=yes|no
- Enables or disables logging. This parameter can be set to yes or
no, default is yes.
- LOGFILE=file
- Set location of log file, default is
/var/log/vzctl.log.
- LOG_LEVEL=number
- Set the logging level. The more number is, the more information
will be displayed.
- DISK_QUOTA=yes|no
- In case the value of this parameter is set to no, all disk quota
operations are disabled.
- VZFASTBOOT=yes|no
- This parameter is used by /etc/init.d/vz start
script. In case the value of this parameter is set to yes, VPS with
incorrectly shutdown quota state started without quota check and after all
VPSs started marked VPSs restarted.
- VE_ROUTE_SRC_DEV="device"
- This parameter specifies the network device name which ip address will
used for source ip. If on HN configured > 1 network interfaces and
needed to specify the source ip address, set corresponding device.
By default takes the first in network device list.
- TEMPLATE=directory
- Value of this parameter is a directory in which all VPS template data are
stored.
Below parameters are defaults for VPS, and gets overwritten by parameters in
vps.conf(5) VPS configuration file.
- VE_ROOT=directory
- Value of this parameter is the directory which serves as VPS root
mount point. Value must contain string $VPSID, it gets substituted
with actual numeric VPS id.
- VE_PRIVATE=directory
- Value of this parameter is the directory in which all the files and
directories specific to that VPS are stored. Value must contain string
$VPSID, it gets substituted with actual numeric VPS id.
- CONFIGFILE=name
- Specified default configuration file on create action, corresponds to
--config option
Any other parameter that appears in per-VPS configuration file
vps.conf(5) can be also set here. Still, it is recommended to keep
TEMPLATE, VE_PRIVATE and VE_ROOT in this configuration
files, and all the other VPS-related parameters in per-VPS configuration
files.
Copyright (C) 2000-2006, SWsoft. Licensed under GNU GPL.