Difference between revisions of "Vnx-impacient"

From VNX
Jump to: navigation, search
(Created page with "{{Title|VNX Simple Scenarios}}")
 
Line 1: Line 1:
{{Title|VNX Simple Scenarios}}
+
{{Title|Quick recipe for the impatient}}
 +
 
 +
== simple_ubuntu-gui.xml scenario ==
 +
 
 +
A simple scenario made of just one Ubuntu GUI virtual machine connected to a virtual network (Net0, 10.0.0.0/24), where the hosts has also a virtual network interface connected (10.0.0.1).
 +
 
 +
To start the scenario:
 +
cd /usr/share/vnx/examples/
 +
sudo vnx -f simple_ubuntu-gui.xml -v --create
 +
Test the network connectivity from the host to the virtual machine:
 +
# ping -c 4 10.0.0.1
 +
PING 10.0.0.5 (10.0.0.5) 56(84) bytes of data.
 +
64 bytes from 10.0.0.5: icmp_seq=1 ttl=64 time=0.197 ms
 +
Start the calculator or the xeyes application on the virtual machine with:
 +
sudo vnx -f simple_ubuntu-gui.xml -v --exe calc
 +
sudo vnx -f simple_ubuntu-gui.xml -v --exe xeyes
 +
 
 +
 
 +
 
 +
== tutorial_ubuntu.xml scenario ==

Revision as of 16:16, 28 July 2011

Quick recipe for the impatient

simple_ubuntu-gui.xml scenario

A simple scenario made of just one Ubuntu GUI virtual machine connected to a virtual network (Net0, 10.0.0.0/24), where the hosts has also a virtual network interface connected (10.0.0.1).

To start the scenario:

cd /usr/share/vnx/examples/
sudo vnx -f simple_ubuntu-gui.xml -v --create

Test the network connectivity from the host to the virtual machine:

# ping -c 4 10.0.0.1
PING 10.0.0.5 (10.0.0.5) 56(84) bytes of data.
64 bytes from 10.0.0.5: icmp_seq=1 ttl=64 time=0.197 ms 

Start the calculator or the xeyes application on the virtual machine with:

sudo vnx -f simple_ubuntu-gui.xml -v --exe calc
sudo vnx -f simple_ubuntu-gui.xml -v --exe xeyes


tutorial_ubuntu.xml scenario