Vnx-examples
VNX Example Scenarios
Several example scenarios are distributed together with VNX (see /usr/share/vnx/examples directory).
Con la distribución provisional de VNX se proporcionan dos nuevos escenarios de ejemplo para mostrar las capacidades para crear máquinas virtuales basadas en Windows XP:
- root_fs_XXX.xml,
- simple-XXX.xml: simple scenarios made of one virtual machine without network interfaces.
- tutorial_root1-xp.xml, basado en el escenario del tutorial de VNUML (http://www.dit.upm.es/vnumlwiki/index.php/Tutorial) y compuesto por dos máquinas virtuales Linux (uml1 y uml3) y tres Windows XP (uml2, uml4 y uml5).
To test the scenarios:
- Open a root shell from the graphical console of the host machine. If you are not sat in front of host's console you can access it using ssh with X-forwarding activated. For example, from a Unix machine you can use:
ssh -X <host-addr>
In this case, it is recommended to test that X-forwarding is working by launching a "xterm" or "xeyes" application and seeing that the application window is correctly launched.
Es importante además que la conectividad entre la máquina cliente y el servidor donde se ejecuta VNX sea buena, ya que el acceso a las consolas de las máquinas virtuales se hace impracticable en caso contrario.
Simple scenarios
- Start simple scenarios by means of:
vnx -f /usr/share/vnx/examples/simple_xp.xml -v -u root --create
Just after the execution, you will see the console of the Windows XP machine starting. Once the machine has completely started, the autoconfiguration daemon will configure it (the name and network interfaces are configured in general; only the name in the simple example) and restart it for the changes to take effect.
After the restart, the virtual machine will be available for interacting with it.
Note: virt-viewer console application "captures" the mouse when interacting with the virtual machines. You have to type "Ctrl-Alt" to release the mouse.
vnx -f /usr/share/vnx/examples/simple_xp.xml -v -u root --shutdown
vnx -f /usr/share/vnx/examples/simple_xp.xml -v -u root --destroy
Tutorial scenarios
- To start the tutorial scenario with linux and XP machines just type:
vnx -f tutorial_root1_xp.xml -v -u root --create