Changes between Initial Version and Version 1 of Layer2MesoscaleExperiment


Ignore:
Timestamp:
08/22/11 09:48:49 (13 years ago)
Author:
Mark Berman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Layer2MesoscaleExperiment

    v1 v1  
     1[[PageOutline]]
     2
     3= Running a Layer 2 Experiment in Mesoscale deployment =
     4
     5'''These instructions are a draft. Please be in touch with the GPO at [mailto:help@geni.net] as you start work on your experiment.'''
     6
     7[All the rspecs include the AM URL, so you can just copy and paste it from the file.]
     8
     9== 1. Register your Ethernet Type ==
     10To ensure that different experiments do not interfere with
     11each other, we are monitoring which ethernet type is used
     12by which experiment. To register your ethernet type and
     13ensure that noone else is using it email gpo-infra@geni.net.
     14See current reservations
     15[http://groups.geni.net/geni/wiki/NetworkCore/EthertypeReservations here]
     16{{{
     17To: gpo-infra@geni.net
     18From: Geni User <geniuser@example.com>
     19Subject: Reservation request for Ethernet Type X
     20
     21Hi,
     22I am planning to run a Layer 2 experiment and would like to reserve
     23an ethernet type. My protocol uses eth-type X, if this is not available
     24please let me know of an alternative ethernet type.
     25
     26user urn : URI:urn:publicid:IDN+pgeni.gpolab.bbn.com+user+inki, email:inki@pgeni.gpolab.bbn.com
     27duration : until June 30th 2011
     28
     29Thanks,
     30}}}
     31
     32To determine your user urn see [http://trac.gpolab.bbn.com/gcf/wiki/OmniTroubleShoot#Q.HowdoIdeterminemyusernameURN here] for instructions.
     33
     34== 2. Decide which VLAN you want to use ==
     35Take a look at the [http://groups.geni.net/geni/wiki/TangoGENI#DetailedresourceMaps diagrams] of TangoGENI and decide whether you want
     36to use VLAN 3715 or 3716. The main difference is in the provided topology,
     37so take a look and see which topology make more sense.
     38
     39== 3. ProtoGENI hosts ==
     40Take a look at the diagram of TangoGENI and decide which ProtoGENI hosts you
     41would like to use. There are two types of ProtoGENI hosts :
     42   1. ProtoGENI hosts that are controled by GPO's cluster, this includes all
     43   the nodes at GPO (pc1-pc11).
     44   2. ProtoGENI hosts at campuses that are controlled by UTAH's cluster, these
     45   includes all the ProtoGENI hosts, but the ones at GPO (pg30-pg33, pg46-pg51).
     46
     47=== 3a. Reserve Hosts from GPO cluster ===
     48First check how many nodes are available
     49{{{
     50omni.py listresources -a https://pgeni.gpolab.bbn.com/protogeni/xmlrpc/am -o
     51}}}
     52
     53If there are enough nodes available, then you can make an unbound (don't specify
     54specific hosts) request. Modify [attachment:pg_gpo_sample.rspec this rspec] to include the right number of nodes.
     55
     56If there are not enough nodes, please email us.
     57
     58=== 3b. Reserve Hosts from Utah cluster ===
     59First check if the nodes you want are available
     60{{{
     61omni.py listresources -a https://www.emulab.net/protogeni/xmlrpc/am -o
     62}}}
     63
     64If they are then just go ahead and reserve them. For Utah the request has to be
     65bound, i.e. you need to specify specific hosts. Modify [attachment:pg_utah_sample.rspec this rspec] to include all
     66the nodes you want.
     67
     68If the nodes you wanted are not available, check to see if some of the other pg
     69nodes are available and whether you can use those instead. If you can't get the
     70nodes you want, please email us.
     71
     72=== 3c. Configure PG nodes ===
     73After you have reserved the nodes you need to configure their interfaces.
     74
     75==== Manual configuration ====
     76You can configure the interfaces manualy by logging in to each node. After you login,
     77follow the appropriate instructions below.
     78
     79===== GPO hosts =====
     80For the GPO hosts that are booted with an Ubuntu image,
     81follow the instructions [http://groups.geni.net/geni/wiki/GENIExperimenter/GpoLabExample#ConfigurePGHosts here]
     82but instead of using the IPs on the example, use IPs of the form 10.37.1Y.2xx, where xx is as described in the example and Y is
     83based on which VLAN you decided to use (Y=5 for 3715, Y=6 for 3716).
     84
     85===== Utah hosts =====
     86For Utah hosts that are booted with a Fedora 10 image, follow these instructions after loging in.
     87{{{
     88sudo vim  /etc/sysconfig/network-scripts/ifcfg-eth1.$VLAN
     89}}}
     90
     91Where the contents of the file should be
     92{{{
     93DEVICE=eth1.$VLAN
     94USERCTL=no
     95VLAN=yes
     96IPADDR=$MY_DATA_IP
     97NETMASK=255.255.255.0
     98BOOTPROTO=static
     99ONBOOT=yes"
     100}}}
     101
     102'''$VLAN''' is the VLAN you decided to use (3715, or 3716), and '''$MY_DATA_IP$''' can be figured out from [http://www.gpolab.bbn.com/arp/geni-core-arp.txt this file], (10.37.1Y.xxx, where xxx is the last octet described in the file, and Y is either 5 or 6 based on the VLAN).
     103
     104==== Automatic Configuration ====
     105If you are writing startup scripts to be executed when the node is reserved, you can do both of these configurations with a script. For GEC11 tutorial we
     106wrote some scripts to do this which are attached in the file. They will need some modification to apply to the specific setup, but the basic idea is there.
     107
     108== 3. OF resources ==
     109Although in the campuses, the VLANs you specified are not OF controlled the
     110VLANs in the core are, so you would need to reserve a sliver and configure it
     111to be controlled by a controller that is running at the GPO.
     112
     113Modify the [attachment:of_nlr_sample.rspec NLR] and the [attachment:of_nlr_sample.rspec I2] rspces to use your own ethernet type.
     114
     115Send your request. Ask for you traffic to be opted in by sending a message to [mailto:response-team@geni.net]
     116
     117Unlike your PG hosts, you can reserve your OF sliver for as long as you plan
     118to be running experiments.
     119
     120
     121