~ubuntu-branches/ubuntu/karmic/vzctl/karmic

« back to all changes in this revision

Viewing changes to man/vz.conf.5

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2007-04-10 18:08:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070410180816-0uuzj9fnna7gmzxv
Tags: 3.0.16-4
Etch has been released which means that this version can be uploaded
to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH vz 5 "10 Aug 2005" "OpenVZ" "Virtual Private Server"
 
1
.TH vz 5 "12 Jan 2007" "OpenVZ" "Virtual Environments"
2
2
.SH NAME
3
3
vz \- global OpenVZ configuration file
4
4
.SH SYNOPSIS
14
14
are optional otherwise. Extra spaces are not allowed. All unrecognized lines
15
15
will be ignored.
16
16
.SS Global parameters
17
 
.IP \fBVIRTUOZZO\fR=\fIyes\fR|\fIno\fR
18
 
This parameter can be set to \fIyes\fR or \fIno\fR, and used by
19
 
\f(CW/etc/init.d/vz\fR script. In case it is \fBnot\fR
20
 
set to \fIyes\fR, nothing will be done to boot up OpenVZ on this node.
 
17
.IP \fBVIRTUOZZO\fR=\fByes\fR|\fBno\fR
 
18
This parameter can be set to \fByes\fR or \fBno\fR, and used by
 
19
\f(CW/etc/init.d/vz\fR script. In case it is not
 
20
set to \fByes\fR, nothing will be done to boot up OpenVZ on this node.
21
21
.IP "\fBLOCKDIR\fR=\fIdirectory\fR"
22
22
Set the directory to put lock files to.
23
23
.IP \fBVE0CPUUNITS\fR=\fInumber\fR
24
 
Value of this parameter sets \fBcpuunits\fR for VPS0.
25
 
.IP "\fBLOGGING\fR=\fIyes\fR|\fIno\fR"
26
 
Enables or disables logging. This parameter can be set to \fIyes\fR or
27
 
\fIno\fR, default is \fIyes\fR.
 
24
Value of this parameter sets \fBcpuunits\fR for VE0.
 
25
.IP "\fBLOGGING\fR=\fByes\fR|\fBno\fR"
 
26
Enables or disables logging. This parameter can be set to \fByes\fR or
 
27
\fBno\fR, default is \fByes\fR.
28
28
.IP \fBLOGFILE\fR=\fIfile\fR
29
29
Set location of log file, default is \f(CR/var/log/vzctl.log\fR.
30
30
.IP "\fBLOG_LEVEL\fR=\fInumber\fR"
31
31
Set the logging level. The more \fInumber\fR is, the more information will be
32
 
displayed.
 
32
logged.
 
33
.IP "\fBVERBOSE\fR=\fInumber\fR"
 
34
Set the output verbosity. Default is 0.
 
35
.IP "\fBMODULES_DISABLED\fR=\fByes\fR|\fBno\fR
 
36
If the value of this parameter is set to \fByes\fR, no attempt to load
 
37
OpenVZ kernel modules is made in vz initscript. This is helpful on systems
 
38
which have OpenVZ-specific stuff compiled into the kernel (i. e. not
 
39
as modules).
33
40
.SS Disk quota parameters
34
 
.IP \fBDISK_QUOTA\fR=\fIyes\fR|\fIno\fR
35
 
In case the value of this parameter is set to \fIno\fR, all disk
 
41
.IP \fBDISK_QUOTA\fR=\fByes\fR|\fBno\fR
 
42
In case the value of this parameter is set to \fBno\fR, all disk
36
43
quota operations are disabled.
37
 
.IP \fBVZFASTBOOT\fR=\fIyes\fR|\fIno\fR
 
44
.IP \fBVZFASTBOOT\fR=\fByes\fR|\fBno\fR
38
45
This parameter is used by \f(CR/etc/init.d/vz start\fR script. In case the value
39
 
of this parameter is set to \fIyes\fR, VPS with incorrectly shutdown quota state
40
 
started without quota check and after all VPSs started marked VPSs restarted.
 
46
of this parameter is set to \fByes\fR, VE with incorrectly shutdown quota state
 
47
started without quota check and after all VEs started marked VEs restarted.
41
48
.SS Network interface parameters
42
49
.IP \fBVE_ROUTE_SRC_DEV\fR="\fIdevice\fR"
43
50
This parameter specifies the network device name which ip address will used for
45
52
the source ip address, set corresponding \fIdevice\fR. By default takes the
46
53
first in network device list.
47
54
.IP \fBTEMPLATE\fR=\fIdirectory\fR
48
 
Value of this parameter is a directory in which all VPS template data are
 
55
Value of this parameter is a directory in which all VE template data are
49
56
stored.
50
 
.SS Defaults for VPS
51
 
Below parameters are defaults for VPS, and gets overwritten by parameters in
52
 
\fBvps.conf\fR(5) VPS configuration file.
 
57
.SS Defaults for VE
 
58
Below parameters are defaults for VE, and gets overwritten by parameters in
 
59
\fBvps.conf\fR(5) VE configuration file.
53
60
.IP \fBVE_ROOT\fR=\fIdirectory\fR
54
 
Value of this parameter is the \fIdirectory\fR which serves as VPS root
 
61
Value of this parameter is the \fIdirectory\fR which serves as VE root
55
62
mount point. Value must contain string \fI$VEID\fR, it gets substituted
56
 
with actual numeric VPS id.
 
63
with actual numeric VE ID.
57
64
.IP \fBVE_PRIVATE\fR=\fIdirectory\fR
58
65
Value of this parameter is the \fIdirectory\fR in which all the
59
 
files and directories specific to that VPS are stored. Value must contain
60
 
string \fI$VPSID\fR, it gets substituted with actual numeric VPS id.
 
66
files and directories specific to that VE are stored. Value must contain
 
67
string \fI$VEID\fR, it gets substituted with actual numeric VE ID.
61
68
.IP \fBCONFIGFILE\fR=\fIname\fR
62
69
Specified default configuration file on create action, corresponds to --config
63
70
option 
64
71
.PP
65
 
Any other parameter that appears in per-VPS configuration file \fBvps.conf\fR(5)
 
72
Any other parameter that appears in per-PE configuration file \fBvps.conf\fR(5)
66
73
can be also set here. Still, it is recommended to keep \fBTEMPLATE\fR,
67
74
\fBVE_PRIVATE\fR and \fBVE_ROOT\fR in this configuration files, and all the
68
 
other VPS-related parameters in per-VPS configuration files.
 
75
other VE-related parameters in per-VE configuration files.
69
76
.SH SEE ALSO
70
77
.BR vzctl (8),
71
78
.BR vps.conf (5).
72
79
.SH LICENSE
73
 
Copyright (C) 2000-2006, SWsoft. Licensed under GNU GPL.
 
80
Copyright (C) 2000-2007, SWsoft. Licensed under GNU GPL.