Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

User Guide/Managing Resources

14 bytes added, 16:19, 27 April 2009
Splitting Hardware Node Into Equal Pieces: fix config file path
It is possible to create a Container configuration roughly representing a given fraction of the Hardware Node. If you want to create such a configuration that up to 20 fully loaded Containers would be able to be simultaneously running on the given Hardware Node, you can do it as is illustrated below:
# '''cd /etc/vz/conf'''
# '''vzsplit -n 20 -f vps.mytest'''
Config /etc/vz/conf/ve-vps.mytest.conf-sample was created # '''vzcfgvalidate /etc/vz/conf/ve-vps.mytest.conf-sample'''
Recommendation: kmemsize.lim-kmemsize.bar should be > 253952 \
(currently, 126391)
Saved parameters for CT 101
# '''vzctl start 101'''
Starting CT ...
CT is mounted
Adding IP address(es): 192.168.1.101
CT start in progress…progress...
# '''vzcalc 101'''
Resource Current(%) Promised(%) Max(%)