wiki:Internal/VirtualPL/OPENVZ

Version 6 (modified by Gautam D. Bhanage, 16 years ago) ( diff )

Discussion On OpenVZ For ORBIT Virtualization

One of the preliminary goals of running OpenVZ on ORBIT is to allow sharing a node's resources among multiple users. OpenVZ is a container based virtualization scheme for linux which works comfortably with the ORBIT boxes running a default debain distribution.

Outline

This page should provide you with basic information needed to go about getting OpenVZ running on the ORBIT boxes.

  1. Load the precompied OpenVZ image named "openvz_orbit.ndz" using the omf load command as shown in the

baseline tutorials.

  1. After the nodes are imaged. Turn the nodes on by using the omf

tell command.

  1. Check the number of virtual private servers currently running.

Consult the users guide located here http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf for more details.

  1. Configure the wireless cards by using appropriate

commands as per the madwifi device driver guideliness which are available here.

  1. Assign proper IP addreses to physical / virtual devices running on the

node by using the madwifi driver commands.

  1. IP addresses for containers can be updated to ensure proper physical devices

forward and receive packets from the desired physical interface.

  1. Traffic can be generated using the iperf traffic generator.

Run a Iperf server and a client on the two ends of the link. Details on running iperf are available here.

  1. Result logs can be parsed and interpreted using simple awk scripts.

Additional Notes

  1. Details on virtual interfaces: veth and venet
  1. Custom template creation with OpenVZ is discussed here
  1. Template cache is present at: /var/lib/vz/template/cache'

Relevant Publications

  1. G. Bhanage, I. Seskar, Y. Zhang, D. Raychaudhuri, "Evaluation of OpenVZ based wireless tesbed virtualization",

WINLAB Technical report number 331, 2008. URL

Note: See TracWiki for help on using the wiki.