blob: c59896aa92b0e9be2928794da1d46e55bb227a7f [file] [log] [blame] [view] [raw]
.TH vzcfgvalidate 8 "28 Jun 2011" "OpenVZ" "Containers"
.SH NAME
vzcfgvalidate \- validate a container configuration file
.SH SYNOPSIS
.SY vzcfgvalidate
.OP -r
.OP -i
.RB [ -v\ yes | no ]
.I configfile
.YS
.SH DESCRIPTION
This utility checks validity of resource control parameters in a container
configuration file \fIconfigfile\fR. Some of the User Beancounter
parameters have interdependencies, and if those are not met, configuration
is inconsistent. The utility finds and reports such inconsistencies.
There are three severity levels in the output: Error, Warning,
and Recommendation.
.SH OPTIONS
.TP
.B \-r
Repair mode (corrects \fIconfigfile\fR).
.TP
.B \-i
Interactive repair mode.
.TP
.BR -v\ yes | no
Whether to treat \fIconfigfile\fR as VSwap enabled configuration.
Default is auto-detect by checking if physpages.limit is not set to unlimited;
this option overrides the auto-detection.
.SH EXIT STATUS
Normally, exit status is 0. On program execution error, exit status is 1.
If the validation fails, exit status is 2.
.SH SEE ALSO
.BR ctid.conf (5),
.BR http://wiki.openvz.org/UBC_consistency_check .
.SH LICENSE
Copyright (C) 2000-2011, Parallels, Inc. Licensed under GNU GPL.