Changes between Version 4 and Version 5 of JBSsandbox/PlasticSlices
- Timestamp:
- 04/21/14 08:11:30 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JBSsandbox/PlasticSlices
v4 v5 154 154 }}} 155 155 156 Create the slivers:156 Set up variables to create the slivers: 157 157 158 158 {{{ … … 160 160 for slicename in $slices ; do rspecs[$slicename]=$(ls -1 ~/rspecs/request/$slicename/*.rspec) ; done 161 161 for slicename in $slices ; do echo ${rspecs[$slicename]} ; done 162 for slicename in $slices ; do echo ${rspecs[$slicename]} ; done | wc 163 }}} 164 165 The last two echo lines are a good place to sanity-check that things are as you expect: The first should list an rspec for every sliver you expect to create, and the second should list a count of them. There should be one line per slice, and probably a few hundred rspecs, but the exact number will depend on how many aggregates you have in each slice. 166 167 Actually create the slivers: 168 169 {{{ 162 170 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 createsliver $slicename $rspec & done ; sleep 5m ; done 163 171 }}}