Difference between revisions of "Man/vzcfgvalidate.8"

From OpenVZ Virtuozzo Containers Wiki
< Man
Jump to: navigation, search
(beta version of man2wiki man page (work in progress!))
 
(Automated import of articles *** existing text overwritten ***)
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
== SYNOPSIS ==
 
== SYNOPSIS ==
  
<p style="margin-left:11%; margin-top: 1em">vzcfgvalidate
+
<table width="100%" border="0" rules="none" frame="void"
[<b>-r</b> | <b>-i</b>] <i>configfile</i></p>
+
      cellspacing="0" cellpadding="0">
 +
<tr valign="top" align="left">
 +
<td width="11%"></td>
 +
<td width="20%">
 +
 
 +
<p style="margin-top: 1em"><b>vzcfgvalidate</b></p></td>
 +
<td width="1%"></td>
 +
<td width="50%">
 +
 
 +
<p style="margin-top: 1em">[<b>-r</b>] [<b>-i</b>]
 +
[<b>-v&nbsp;yes</b>|<b>no</b>] <i>configfile</i></p></td>
 +
<td width="18%">
 +
</td></tr>
 +
</table>
 +
 
 +
== DESCRIPTION ==
 +
 
 +
<p style="margin-left:11%; margin-top: 1em">This utility
 +
checks validity of resource control parameters in a
 +
container configuration file <i>configfile</i>. Some of the
 +
User Beancounter parameters have interdependencies, and if
 +
those are not met, configuration is inconsistent. The
 +
utility finds and reports such inconsistencies.</p>
 +
 
 +
<p style="margin-left:11%; margin-top: 1em">There are three
 +
severity levels in the output: Error, Warning, and
 +
Recommendation.</p>
  
 
== OPTIONS ==
 
== OPTIONS ==
Line 17: Line 43:
 
<td width="3%">
 
<td width="3%">
  
<p style="margin-top: 1em"><i><b>-r</b></i></p></td>
+
<p style="margin-top: 1em"><b>&minus;r</b></p></td>
 
<td width="8%"></td>
 
<td width="8%"></td>
<td width="36%">
+
<td width="52%">
  
<p style="margin-top: 1em">Repair mode.</p></td>
+
<p style="margin-top: 1em">Repair mode (corrects
<td width="42%">
+
<i>configfile</i>).</p> </td>
 +
<td width="26%">
 
</td></tr>
 
</td></tr>
 
<tr valign="top" align="left">
 
<tr valign="top" align="left">
Line 28: Line 55:
 
<td width="3%">
 
<td width="3%">
  
<p><b>-i</b></p></td>
+
<p><b>&minus;i</b></p></td>
 
<td width="8%"></td>
 
<td width="8%"></td>
<td width="36%">
+
<td width="52%">
  
 
<p>Interactive repair mode.</p></td>
 
<p>Interactive repair mode.</p></td>
<td width="42%">
+
<td width="26%">
 
</td></tr>
 
</td></tr>
 
</table>
 
</table>
  
== DESCRIPTION ==
+
<p style="margin-left:11%;"><b>-v&nbsp;yes</b>|<b>no</b></p>
  
<p style="margin-left:11%; margin-top: 1em">This utility
+
<p style="margin-left:22%;">Whether to treat
checks validity of resource control parameters in a
+
<i>configfile</i> as VSwap enabled configuration. Default is
container configuration file <i>configfile</i>.
+
auto-detect by checking if physpages.limit is not set to
Configurations where resources allowed for a container
+
unlimited; this option overrides the auto-detection.</p>
exceeds system capacity are not valid and dangerous from
 
stability point of view.</p>
 
 
 
<p style="margin-left:11%; margin-top: 1em">There are three
 
severity levels in output: Error, Warning,
 
Recommendation.</p>
 
  
== DIAGNOSTICS ==
+
== EXIT STATUS ==
  
 
<p style="margin-left:11%; margin-top: 1em">Normally, exit
 
<p style="margin-left:11%; margin-top: 1em">Normally, exit
 
status is 0. On program execution error, exit status is 1.
 
status is 0. On program execution error, exit status is 1.
If validation failed exit status is 2.</p>
+
If the validation fails, exit status is 2.</p>
  
 
== SEE ALSO ==
 
== SEE ALSO ==
Line 64: Line 85:
  
 
<p style="margin-left:11%; margin-top: 1em">Copyright (C)
 
<p style="margin-left:11%; margin-top: 1em">Copyright (C)
2000-2010, Parallels, Inc. Licensed under GNU GPL.</p>
+
2000-2011, Parallels, Inc. Licensed under GNU GPL.</p>

Latest revision as of 22:20, 13 January 2012

NAME[edit]

vzcfgvalidate − validate a container configuration file

SYNOPSIS[edit]

vzcfgvalidate

[-r] [-i] [-v yes|no] configfile

DESCRIPTION[edit]

This utility checks validity of resource control parameters in a container configuration file configfile. 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.

OPTIONS[edit]

−r

Repair mode (corrects configfile).

−i

Interactive repair mode.

-v yes|no

Whether to treat configfile as VSwap enabled configuration. Default is auto-detect by checking if physpages.limit is not set to unlimited; this option overrides the auto-detection.

EXIT STATUS[edit]

Normally, exit status is 0. On program execution error, exit status is 1. If the validation fails, exit status is 2.

SEE ALSO[edit]

ctid.conf(5), UBC_consistency_check.

LICENSE[edit]

Copyright (C) 2000-2011, Parallels, Inc. Licensed under GNU GPL.