vzsplit

Langue: en

Version: 328095 (ubuntu - 08/07/09)

Section: 8 (Commandes administrateur)

NAME

vzsplit - generate a sample VE configuration file with a certain set of system resource control parameters.

SYNOPSIS

vzsplit [-n numve] [-f conf_name] [-s swapsize]

DESCRIPTION

The vzsplit 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 Virtual Environments. The values are calculated from the total physical memory of the Hardware Node the utility runs on, and the number of Virtual Environments the Hardware Node shall be able to run even if the given number of Virtual Environments consume all the resources available. Without any option given, vzsplit prompts for the desired number of Virtual Environments and outputs the resulting resource control parameters to stdout. If there are not enough system resources to run the specified number of VEs, an appropriate message is shown and the sample configuration file is not generated.

OPTIONS

-n numve
Specify the number of VEs.
-f conf_name
Specify the configuration file name. The program output is placed to /etc/vz/conf/ve-conf_name.conf-sample.
-s swapsize
Specify the swap size in Kbytes. If not provided in the option, the swap size will be read from /proc/meminfo.

DIAGNOSTICS

vzsplit returns 0 upon a sucessful execution. If anything goes wrong, it returns 1.

SEE ALSO

vps.conf(5).

LICENSE

Copyright (C) 2000-2007, SWsoft. Licensed under GNU GPL.