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 ***)
Line 8: Line 8:
 
<p style="margin-left:11%; margin-top: 1em">vzcfgvalidate
 
<p style="margin-left:11%; margin-top: 1em">vzcfgvalidate
 
[<b>-r</b> | <b>-i</b>] <i>configfile</i></p>
 
[<b>-r</b> | <b>-i</b>] <i>configfile</i></p>
 +
 +
== 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 30:
 
<td width="3%">
 
<td width="3%">
  
<p style="margin-top: 1em"><i><b>-r</b></i></p></td>
+
<p style="margin-top: 1em"><b>-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 30: Line 44:
 
<p><b>-i</b></p></td>
 
<p><b>-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%; margin-top: 1em">This utility
 
checks validity of resource control parameters in a
 
container configuration file <i>configfile</i>.
 
Configurations where resources allowed for a container
 
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 ==
 
== DIAGNOSTICS ==
Line 54: Line 55:
 
<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 65:
  
 
<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>

Revision as of 15:41, 6 June 2011

NAME

vzcfgvalidate − validate a container configuration file

SYNOPSIS

vzcfgvalidate [-r | -i] configfile

DESCRIPTION

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

-r

Repair mode (corrects configfile).

-i

Interactive repair mode.

DIAGNOSTICS

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

SEE ALSO

ctid.conf(5), UBC_consistency_check.

LICENSE

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