Changeset 29426
- Timestamp:
- Oct 14, 2010, 8:50:01 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/diskbalance.pro (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/diskbalance.pro
r29409 r29426 13 13 14 14 book init balancePending 15 book init balanceControl 15 16 16 17 macro balance.reset … … 64 65 host $1 65 66 end 67 end 68 69 macro set.balance.numbers 70 if ($0 != 3) 71 echo "USAGE: set.balance.numbers (N_sources) (M_destinations)" 72 break 73 end 74 75 book newpage balanceControl control 76 book setword balanceControl control nSources $1 77 book setword balanceControl control mDestinations $2 66 78 end 67 79 … … 95 107 end 96 108 97 command neb-admin --host $NEB_HOST --db $NEB_DB --user $NEB_USER --pass $NEB_PASS --pendingbalance --limit 2000 --so_id_start $BALANCE_SO_ID_START --so_id_range $BALANCE_SO_ID_RANGE 109 book getword balanceControl control nSources -var BALANCE_N 110 book getword balanceControl control mDestinations -var BALANCE_M 111 112 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_M 98 113 99 114 end … … 171 186 172 187 book getword balancePending $pageName key -var KEY 173 book getword balancePending $pageName source_ host-var SOURCE174 book getword balancePending $pageName destination_ host-var DESTINATION188 book getword balancePending $pageName source_name -var SOURCE 189 book getword balancePending $pageName destination_name -var DESTINATION 175 190 176 191 # Fix this with multihost restriction when possible.
Note:
See TracChangeset
for help on using the changeset viewer.
