Changes between Version 7 and Version 8 of JBSsandbox/PlasticSlices
- Timestamp:
- 04/21/14 10:44:56 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JBSsandbox/PlasticSlices
v7 v8 177 177 * 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. 178 178 179 Gather up expiration information, and stuff it into a results file: 179 Renew the Utah slivers, which default to expiring in six hours: 180 181 {{{ 182 declare -A rspecs 183 for slicename in $slices ; do rspecs[$slicename]=$(ls -1 ~/rspecs/request/$slicename/*.rspec) ; done 184 for slicename in $slices ; do echo ${rspecs[$slicename]} ; done 185 186 renewdate="$(date +%Y-%m-%d -d 'now + 4 days') 23:00 UTC" 187 for 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 190 Gather up expiration information for everything, and stuff it into a results file: 180 191 181 192 {{{