Difference between revisions of "Vnx-tutorial-ubuntu"

From VNX
Jump to: navigation, search
Line 2: Line 2:
  
 
<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>
 +
 +
=== Tutorial scenarios (tutorial_root1_XXXX.xml) ===
 +
 +
<ul>
 +
 +
<li>To start the tutorial scenario with linux, FreeBSD, XP and Win7 virtual machines just type:</li>
 +
sudo vnx -f tutorial_root1_all.xml -v --create
 +
 +
<li>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:</li>
 +
<center>
 +
[[Image:Vnx-tutorial_root1_all-s.png|400px]]
 +
</center>
 +
 +
<li>You can test the network connectivity, for example, accesing '''h1''' machine and tracing to '''h4''':
 +
traceroute -n 10.0.2.3
 +
 +
<li>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
 +
 +
<li>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
 +
 +
</ul>

Revision as of 14:32, 27 July 2011

VNX Tutorial Ubuntu

  • 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