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.
Specify the number of CTs.
Specify the configuration file name. The program output is placed to /etc/vz/conf/ve-conf_name.conf-sample.
Specify the swap size in Kbytes. If not provided in the option, the swap size will be read from /proc/meminfo.
Specify path where CTs will reside. By default /vz used.
vzsplit returns 0 upon a sucessful execution. If anything goes wrong, it returns 1.
Copyright (c) 1999-2015 Parallels IP Holdings GmbH. All rights reserved.