Difference between revisions of "Vnx-tutorial-ubuntu"

From VNX
Jump to: navigation, search
Line 15: Line 15:
 
</center>
 
</center>
  
 
+
<center>
 +
[[File:Tutorial_ubuntu-screen-capture.png|center|thumb|500px|<div align=center>
 +
'''Figure 1: tutorial_ubuntu screen capture'''</div>]]
 +
</center>
 +
Tutorial_ubuntu-screen-capture.png
  
 
<li> '''tutorial_root1-XXXX.xml''', which are virtual scenarios based on the [http://www.dit.upm.es/vnumlwiki/index.php/Tutorial VNUML tutorial scenario] but starting virtual machines using other operating systems.</li>
 
<li> '''tutorial_root1-XXXX.xml''', which are virtual scenarios based on the [http://www.dit.upm.es/vnumlwiki/index.php/Tutorial VNUML tutorial scenario] but starting virtual machines using other operating systems.</li>

Revision as of 01:25, 28 July 2011

VNX Tutorial Ubuntu


sudo vnx -f simple_ubuntu-gui.xml -v --suspend -M ubuntu-gui
sudo vnx -f simple_ubuntu-gui.xml -v --resume -M ubuntu-gui

To start the web servers in h3 and h4:

sudo vnx -f tutorial_ubuntu.xml -v -x start-www


Figure 1: tutorial_ubuntu scenario topology
Figure 1: tutorial_ubuntu screen capture

Tutorial_ubuntu-screen-capture.png

  • tutorial_root1-XXXX.xml, which are virtual scenarios based on the VNUML tutorial scenario but starting virtual machines using other operating systems.
  • Tutorial scenarios (tutorial_root1_XXXX.xml)

    • To start the tutorial scenario with linux, FreeBSD, XP and Win7 virtual machines just type:
    • sudo vnx -f tutorial_root1_all.xml -v --create
      
    • Once the scenario has completely started (remenber that libvirt machines have to be restarted for the autoconfiguration to complete), you should see all the virtual machine consoles:
    • Vnx-tutorial root1 all-s.png

    • You can test the network connectivity, for example, accesing h1 machine and tracing to h4: traceroute -n 10.0.2.3
    • To stop and restart a virtual machine without loosing the modifications you have made you can type:: sudo vnx -f tutorial_root1_all.xml -v --shutdown -M uml4 sudo vnx -f tutorial_root1_all.xml -v --create -M uml4
    • The same but loosing the changes made and returning to a fresh virtual machine state: sudo vnx -f tutorial_root1_all.xml -v --destroy -M uml4 sudo vnx -f tutorial_root1_all.xml -v --create -M uml4