blob: f5448ce20c6914b2c7249ca3a3efaa603d20431a [file] [log] [blame] [view] [raw]
.TH vz 5 "12 Sep 2006" "OpenVZ" "Virtual Environments"
.SH NAME
vz \- global OpenVZ configuration file
.SH SYNOPSIS
/etc/vz/vz.conf
.SH DESCRIPTION
This is global configuration file for OpenVZ.
It consists of lines in the form
.PP
\fBPARAMETER\fR="\fIvalue\fR"
.PP
All parameter names and values are case-sensitive.
Quotes surrounding \fIvalue\fR are required if value contains spaces, and
are optional otherwise. Extra spaces are not allowed. All unrecognized lines
will be ignored.
.SS Global parameters
.IP \fBVIRTUOZZO\fR=\fByes\fR|\fBno\fR
This parameter can be set to \fByes\fR or \fBno\fR, and used by
\f(CW/etc/init.d/vz\fR script. In case it is not
set to \fByes\fR, nothing will be done to boot up OpenVZ on this node.
.IP "\fBLOCKDIR\fR=\fIdirectory\fR"
Set the directory to put lock files to.
.IP \fBVE0CPUUNITS\fR=\fInumber\fR
Value of this parameter sets \fBcpuunits\fR for VE0.
.IP "\fBLOGGING\fR=\fByes\fR|\fBno\fR"
Enables or disables logging. This parameter can be set to \fByes\fR or
\fBno\fR, default is \fByes\fR.
.IP \fBLOGFILE\fR=\fIfile\fR
Set location of log file, default is \f(CR/var/log/vzctl.log\fR.
.IP "\fBLOG_LEVEL\fR=\fInumber\fR"
Set the logging level. The more \fInumber\fR is, the more information will be
displayed.
.SS Disk quota parameters
.IP \fBDISK_QUOTA\fR=\fByes\fR|\fBno\fR
In case the value of this parameter is set to \fBno\fR, all disk
quota operations are disabled.
.IP \fBVZFASTBOOT\fR=\fByes\fR|\fBno\fR
This parameter is used by \f(CR/etc/init.d/vz start\fR script. In case the value
of this parameter is set to \fByes\fR, VE with incorrectly shutdown quota state
started without quota check and after all VEs started marked VEs restarted.
.SS Network interface parameters
.IP \fBVE_ROUTE_SRC_DEV\fR="\fIdevice\fR"
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 \fIdevice\fR. By default takes the
first in network device list.
.IP \fBTEMPLATE\fR=\fIdirectory\fR
Value of this parameter is a directory in which all VE template data are
stored.
.SS Defaults for VE
Below parameters are defaults for VE, and gets overwritten by parameters in
\fBvps.conf\fR(5) VE configuration file.
.IP \fBVE_ROOT\fR=\fIdirectory\fR
Value of this parameter is the \fIdirectory\fR which serves as VE root
mount point. Value must contain string \fI$VEID\fR, it gets substituted
with actual numeric VE ID.
.IP \fBVE_PRIVATE\fR=\fIdirectory\fR
Value of this parameter is the \fIdirectory\fR in which all the
files and directories specific to that VE are stored. Value must contain
string \fI$VEID\fR, it gets substituted with actual numeric VE ID.
.IP \fBCONFIGFILE\fR=\fIname\fR
Specified default configuration file on create action, corresponds to --config
option
.PP
Any other parameter that appears in per-PE configuration file \fBvps.conf\fR(5)
can be also set here. Still, it is recommended to keep \fBTEMPLATE\fR,
\fBVE_PRIVATE\fR and \fBVE_ROOT\fR in this configuration files, and all the
other VE-related parameters in per-VE configuration files.
.SH SEE ALSO
.BR vzctl (8),
.BR vps.conf (5).
.SH LICENSE
Copyright (C) 2000-2006, SWsoft. Licensed under GNU GPL.