Version 1 (modified by 13 years ago) (diff) | ,
---|
This page documents the process of creating and using a virtual machine for GPO-led tutorials at GEC 11.
Using the VM
- Download the VM as an OVA archive from http://www.gpolab.bbn.com/internal/userdir/tmitchel/gec11-2.ova.
Note: Higher versions are newer.gec11-2.ova
is newer thangec11-1.ova
. If you see a higher version number, use that VM instead. - Import the VM into your Virtual Machine software (VirtualBox, VMWare, Parallels, etc.)
- Boot the VM
- Log in to the VM as "GENI User" with password "geni" (without the quotes)
- Run the sample clearinghouse:
- Launch a terminal window (Applications->Accessories->Terminal)
- Type the following command:
gcf-ch.py -f gcf.ini
- Run the sample aggregate manager:
- Launch a terminal window (Applications->Accessories->Terminal)
- Type the following command:
gcf-am.py -f gcf.ini
- Run a few omni commands:
- Launch a terminal window (Applications->Accessories->Terminal)
- Type the following command:
omni.py -c omni.ini getversion
You will see version information from the sample aggregate manager. - Type the following command:
omni.py -c omni.ini listresources
You will see the advertisement RSpec from the sample aggregate manager.
- Close all three terminal windows by typing Ctrl-C followed by Ctrl-D
Creating the VM
- Use VirtualBox to create and configure a Virtual Machine. When the machine is configured, shut it down. It should now show as Powered Off in the VirtualBox Manager.
- Rename the Virtual Machine if necessary to the name you want importers to see:
- Select the Virtual Machine
- Choose the General Setting (right hand panel)
- Change the name. For instance, I changed the name
gec11
togec11-2
to export version 2 of my gec11 virtual machine
- Select File->"Export Appliance..."
- In the Appliance Export Wizard choose the virtual machine and click "Continue"
- Confirm the export location or choose another location. Be sure to select the file extension ".ova" so that a self-contained archive is produced.
- Verify that the name of the exported VM matches your expectations on the Appliance Export Settings screen
- Optionally change some export settings (I chose not to)
- Select Done. The export process takes a few minutes.
- If you renamed the virtual machine prior to export, change it back at this time
Additional Notes
- If this is a Linux VM, you may want to delete the command history. You can do this using the following two commands:
# Tell bash not to store history unset HISTFILE # Clear the command history history -c