Changes between Version 23 and Version 24 of JBSsandbox/PlasticSlices


Ignore:
Timestamp:
04/22/14 14:10:21 (8 years ago)
Author:
Josh Smift
Comment:

Added subsections, for easier navigation.

Legend:

Unmodified
Added
Removed
Modified
  • JBSsandbox/PlasticSlices

    v23 v24  
    102102== Starting ==
    103103
     104=== Synch your working dir ===
     105
    104106Make sure your copy of the syseng Subversion repository is up to date and that you don't have uncommitted changes there. Change into your .../syseng directory, and run
    105107
     
    108110svn status
    109111}}}
     112
     113=== Update the config ===
    110114
    111115Update ~/slices/plastic-slices/config/slices.json with any changes for this run. Likely changes to think about include:
     
    146150Review to make sure that things look right, then commit that to Subversion.
    147151
     152=== Create slivers ===
     153
    148154Set the list of slices:
    149155
     
    195201
    196202if there's no output from that, everything's done, and you can continue.
     203
     204=== Renew slivers ===
    197205
    198206Renew the Utah slivers, which default to expiring in six hours:
     
    246254This will often expose errors of the form "I don't have a sliver at this aggregate at all, for some reason". Fix any of those before continuing.
    247255
     256=== Get login info ===
     257
    248258Get login info:
    249259
     
    265275Copy and paste the output (simply exec-ing it doesn't seem to work, and we haven't debugged why); then repeat the above and expect no output.
    266276
     277=== Test logins ===
     278
    267279Make sure you can log in, and that each login's hostname is as expected:
    268280
     
    282294}}}
    283295
    284 Copy in connectivity test files:
    285 
    286 {{{
    287 for slicename in $slices ; do loginfile=~/tmp/logins-$slicename.txt ; for login in $(cat $loginfile) ; do rsync -a ~/slices/*/reachability/addrs-$slicename.conf $login:pingtest.conf && echo $login ; done & done
    288 }}}
     296=== Start !OpenFlow controllers ===
    289297
    290298If your !OpenFlow controllers aren't already running, start them up before continuing. http://groups.geni.net/syseng/wiki/POX has more information about how to do this, if you want to use POX. Here are the essentials:
     
    303311That will start up on listening on port 33101; you'll need to repeat that for each port, in a different window. One way that works well is to do this under 'screen' on your OF controller host.
    304312
     313=== Test connectivity ===
     314
     315Copy in connectivity test files:
     316
     317{{{
     318for slicename in $slices ; do loginfile=~/tmp/logins-$slicename.txt ; for login in $(cat $loginfile) ; do rsync -a ~/slices/*/reachability/addrs-$slicename.conf $login:pingtest.conf && echo $login ; done & done
     319}}}
     320
    305321Log in to one host in each slice, and test connectivity:
    306322
     
    310326
    311327If anything isn't reachable, debug why not.
     328
     329=== Set up Zoing ===
    312330
    313331Copy in Zoing stuff:
     
    335353shmux -c "zoing activate" $logins
    336354}}}
     355
     356=== Final prep work ===
    337357
    338358Create a directory for logs, and copy other files into it: