vzsplit − generate a sample CT configuration file with a certain set of system resource control parameters.
vzsplit [-n numve] [-f conf_name] [-s swapsize] [-p path]
The vzsplit utility is used to split the host server 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 host server the utility runs on and the number of Containers the host servershall be able to run even if the given number of Containers consume all resources available. Without any option vzsplit prompts for the desired number of Containers and outputs the resulting resource control parameters to the screen. If there is not enough system resources to run the specified number of CTs, an appropriate message is shown and the sample configuration file is not generated.
-n numve
Specify the number of CTs.
-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.
-p path
Specify path where CTs will reside. By default /vz used.
vzsplit returns 0 upon a sucessful execution. If anything goes wrong, it returns 1.
ve.conf(5).
Copyright (c) 1999-2015 Parallels IP Holdings GmbH. All rights reserved.