Changes between Version 17 and Version 18 of GENIEducation/SampleAssignments/TcpAssignment/ExerciseLayout/DesignSetup


Ignore:
Timestamp:
05/14/13 09:31:49 (6 years ago)
Author:
shuang@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIEducation/SampleAssignments/TcpAssignment/ExerciseLayout/DesignSetup

    v17 v18  
    2828Here is a very good tutorial on setting up Omni environment: [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/HelloOmni HelloOmni] [[BR]]
    2929Simply follow the tutorial to set up Omni. [[BR]]
    30 '''If you are MAC user''':[[BR]]
     30
     31 '''If you are MAC user''':[[BR]]
    3132 A small hint: make sure u have installed xcode before hand, if u are using MAC.[[BR]]
    3233 An even better hint: use App store to install xcode, much faster :-)
    33     Note: while compiling M2Crypto using "pip install M2Crypto", there are a lot of warnings, ignore them. [[BR]]
    34     Note: you need to change the first line of omni-configure.py to "#!/usr/local/bin/python" to make omni config work. [[BR]]
    35     Note: you need to move readyToLogin.py from gcf/examples/ to gcf/src/ [[BR]]
    36     Note: it is recommended to change the first line of every .py file in the gcf/src directory to ''#!/usr/local/bin/python'' (on MAC OS X) [[BR]]
     34  Note: while compiling M2Crypto using "pip install M2Crypto", there are a lot of warnings, ignore them. [[BR]]
     35  Note: you need to change the first line of omni-configure.py to "#!/usr/local/bin/python" to make omni config work. [[BR]]
     36  Note: you need to move readyToLogin.py from gcf/examples/ to gcf/src/ [[BR]]
     37  Note: it is recommended to change the first line of every .py file in the gcf/src directory to ''#!/usr/local/bin/python'' (on MAC OS X) [[BR]]
    3738
    3839'''2. Use Omni to create the topology: [[BR]]'''
     
    282283
    283284'''Very Important: using omni-configure.py -f portal will over-write ~/.ssh/geni_key and ~/.ssh/geni_key.pub. The result is, user can not login the reserved nodes using their omni keys (the original geni_key pair)''' [[BR]]
    284 '''So, the simplest way to deal with this is, over-write the public/private keys. i.e., type 'Y' when prompt asks whether you want to replace the two files''' [[BR]]
     285'''So, the simplest way to deal with this is, over-write the public/private keys. i.e., type 'Y' when prompt asks whether you want to replace the two files. Then use portal credentials to reserve resources.''' [[BR]]
    285286
    286287'''2. Using GENI Portal to create the star topology''' [[BR]]
     
    288289 Step 2. Click your newly created slice, choose "add resources"
    289290  [[Image(addResource.png, 20%)]]
    290  Step 3. Pick "TCP Assignment - Virtual Machine" in the drop-down box right to "Choose Resources" [[BR]]
     291 Step 3. Pick '"TCP Assignment - Virtual Machine'" in the drop-down box right to "Choose Resources" [[BR]]
    291292  The rspec file that is used can be found at http://www.gpolab.bbn.com/experiment-support/TCPExampleExperiment/star-vm.rspec [[BR]]
    292293 And choose an Aggregate, in our case, we choose "GPO instaGENI", then click "Reserve Resources" [[BR]]