Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Man/vzsplit.8

2,103 bytes added, 22:17, 3 June 2011
Automated import of articles
== NAME ==

<p style="margin-left:11%; margin-top: 1em">vzsplit &minus;
generate a sample container configuration file with a
certain set of system resource control parameters.</p>

== SYNOPSIS ==

<p style="margin-left:11%; margin-top: 1em">vzsplit
[<b>-n</b> <i>numve</i>] [<b>-f</b> <i>conf_name</i>]
[<b>-s</b> <i>swapsize</i>]</p>

== DESCRIPTION ==

<p style="margin-left:11%; margin-top: 1em">The
<b>vzsplit</b> utility is used to split the Hardware Node
into equal parts. It generates a full set of system resource
control parameters for the given number of containers. The
values are calculated from the total physical memory of the
Hardware Node the utility runs on, and the number of
containers the Hardware Node shall be able to run even if
the given number of containers consume all the resources
available. Without any option given, <b>vzsplit</b> prompts
for the desired number of containers and outputs the
resulting resource control parameters to stdout. If there
are not enough system resources to run the specified number
of containers, an appropriate message is shown and the
sample configuration file is not generated.</p>

== OPTIONS ==

<p style="margin-left:11%; margin-top: 1em"><b>-n</b>
<i>numve</i></p>

<p style="margin-left:22%;">Specify the number of
containers.</p>

<p style="margin-left:11%;"><b>-f</b> <i>conf_name</i></p>

<p style="margin-left:22%;">Specify the configuration file
name. The program output is placed to
/etc/vz/conf/ve-<i>conf_name</i>.conf-sample.</p>

<p style="margin-left:11%;"><b>-s</b> <i>swapsize</i></p>

<p style="margin-left:22%;">Specify the swap size in
Kbytes. If not provided in the option, the swap size will be
read from /proc/meminfo.</p>

== DIAGNOSTICS ==

<p style="margin-left:11%; margin-top: 1em"><b>vzsplit</b>
returns 0 upon a successful execution. If anything goes
wrong, it returns 1.</p>

== SEE ALSO ==

<p style="margin-left:11%; margin-top: 1em">[[Man/ctid.conf.5|<b>ctid.conf</b>(5)]].</p>

== LICENSE ==

<p style="margin-left:11%; margin-top: 1em">Copyright (C)
2000-2010, Parallels, Inc. Licensed under GNU GPL.</p>
2,253
edits