Dobrica Pavlinušić has been using OpenVZ virtualization for some time now. In doing so, he has also been creating a set of utilities to make working with OpenVZ more enjoyable. He offers the following set of utilities that he has written, but please note, it doesn't have much error checking right now, and most of the parameters are hard-coded. If you find these tools of use, please let Dobrica know as work may continue on these to offer more updates and enhancements.
- vz-optimize.pl was written first, and it tries to intelligently increase beancounter limits for VE until there is some requires left for virtual machine.
Best usage would be to run some kind of stress-test on your VE, and then re-run vz-optimize.pl afterwards to allocate enough resources for VE.
- vz-create.pl is second useful tool which will create new VE from upstream Debian mirror and tweak it a bit (the way I like it)
- vz-clone.pl is latest addition to set of tools and it allows to create temporary clone of virtual machine for testing (of upgrades?) or QA
Comment or read more, here.