Version 7 (modified by 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.
- Load the precompied OpenVZ image named "openvz_orbit.ndz" using the omf load command as shown in the
baseline tutorials.
- After the nodes are imaged. Turn the nodes on by using the omf
tell command.
- 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.
- Configure the wireless cards by using appropriate
commands as per the madwifi device driver guideliness which are available here.
- Assign proper IP addreses to physical / virtual devices running on the
node by using the madwifi driver commands.
- IP addresses for containers can be updated to ensure proper physical devices
forward and receive packets from the desired physical interface.
- Ensure IP forwarding is enabled on the host. This can be done by:
host# echo 1> /proc/sys/net/ipv4/ip_forward
- 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.
- Result logs can be parsed and interpreted using simple awk scripts.
Additional Notes
- Custom template creation with OpenVZ is discussed here
- Template cache is present at: /var/lib/vz/template/cache'
Relevant Publications
- G. Bhanage, I. Seskar, Y. Zhang, D. Raychaudhuri, "Evaluation of OpenVZ based wireless tesbed virtualization",
WINLAB Technical report number 331, 2008. URL