Changes between Version 7 and Version 8 of JBSsandbox/PlasticSlices


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

Added a section to renew Utah things that expire fast.

Legend:

Unmodified
Added
Removed
Modified
  • JBSsandbox/PlasticSlices

    v7 v8  
    177177 * This doesn't capture output at all. We could potentially add something to stuff the output into one giant file, but it might be a little hard to sort out, since output is coming back from all of the slivers at once, all intermingled together. We could have each createsliver write an output file, but we'd need to be careful to name them and save them so that the output file from an aggregate in one slice wouldn't overwrite the output from the same aggregate in another slice. For now, we just check later to see what worked and what didn't, and try again by hand if it's not obvious why some things didn't work.
    178178
    179 Gather up expiration information, and stuff it into a results file:
     179Renew the Utah slivers, which default to expiring in six hours:
     180
     181{{{
     182declare -A rspecs
     183for slicename in $slices ; do rspecs[$slicename]=$(ls -1 ~/rspecs/request/$slicename/*.rspec) ; done
     184for slicename in $slices ; do echo ${rspecs[$slicename]} ; done
     185
     186renewdate="$(date +%Y-%m-%d -d 'now + 4 days') 23:00 UTC"
     187for slicename in $slices ; do for rspec in ${rspecs[$slicename]} ; do somni $slicename $rspec ; omni --usercredfile=$HOME/.gcf/$USER-geni-usercred.xml --slicecredfile=$HOME/.gcf/$slicename-cred.xml -a $am renewsliver $slicename "$renewdate" & done ; sleep 5s ; done
     188}}}
     189
     190Gather up expiration information for everything, and stuff it into a results file:
    180191
    181192{{{