Demo scripts

From OpenVZ Virtuozzo Containers Wiki
Revision as of 13:36, 25 October 2006 by Major (talk | contribs) (Small corrections)
Jump to: navigation, search

Demo scripts which can be used to show advantages of OpenVZ:

  • Full VE lifecycle (create, set ip, start, add user, enter, exec, show ps -axf output inside VE), stop, destroy). It should take two minutes ("compare that to a time you need to deploy a new (non-virtual) server!")
  • Massive VE creation. Create/start 50 or 100 VEs in a shell loop. Shows fast deployment and high density.
  • Use VEs from prev. item — load those by ab or http_load — shows that many VE are working quite fine, with low response time etc.
  • If you have two boxes, do "vzmigrate --online" from one box to another. You can use, say, xvnc in a VE and vncclient to connect to it, then run xscreensaver-demo and while the picture is moving do a live migration. You'll show xscreensaver stalls for a few seconds but then keeps running — on another machine! That looks amazing, to say at least.