Changeset 31644 for trunk/ippTasks/diskbalance.pro
- Timestamp:
- Jun 16, 2011, 6:18:17 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/diskbalance.pro (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/diskbalance.pro
r30933 r31644 93 93 $BALANCE_SO_ID_START = int($BALANCE_BIG_SO_ID * rnd(0)) 94 94 $BALANCE_SO_ID_RANGE = 500000 95 95 $BALANCE_LIMIT = 500 96 $BALANCE_OFFSET = 0 96 97 # Select Nebulous objects which should be shuffled 97 98 task balance.load 98 99 host local 99 100 100 periods -poll 0.5101 periods -exec 5101 periods -poll 60 102 periods -exec 60 102 103 periods -timeout 1500 103 104 npending 1 … … 117 118 book getword balanceControl control mDestinations -var BALANCE_M 118 119 119 command neb-admin --host $NEB_HOST --db $NEB_DB --user $NEB_USER --pass $NEB_PASS --pendingbalance --limit 500--so_id_start $BALANCE_SO_ID_START --so_id_range $BALANCE_SO_ID_RANGE --balancesources $BALANCE_N --balancedestination $BALANCE_M120 command neb-admin --host $NEB_HOST --db $NEB_DB --user $NEB_USER --pass $NEB_PASS --pendingbalance --limit $BALANCE_LIMIT --offset $BALANCE_OFFSET --so_id_start $BALANCE_SO_ID_START --so_id_range $BALANCE_SO_ID_RANGE --balancesources $BALANCE_N --balancedestination $BALANCE_M 120 121 121 122 end … … 125 126 # advance the so_id counter 126 127 $BALANCE_SO_ID_START = $BALANCE_SO_ID_START + $BALANCE_SO_ID_RANGE 127 128 $BALANCE_OFFSET = 0 128 129 # convert 'stdout' to book format 129 130 ipptool2book stdout balancePending -key key -uniq -setword pantaskState INIT … … 141 142 # convert 'stdout' to book format 142 143 ipptool2book stdout balancePending -key key -uniq -setword pantaskState INIT 143 144 $BALANCE_OFFSET = $BALANCE_OFFSET + $BALANCE_LIMIT 144 145 if ($VERBOSE > 2) 145 146 book listbook balancePending
Note:
See TracChangeset
for help on using the changeset viewer.
