Changeset 42607 for trunk/tools
- Timestamp:
- Feb 5, 2024, 8:49:27 AM (2 years ago)
- Location:
- trunk/tools/eam/rebalance
- Files:
-
- 1 added
- 14 edited
-
configure.sh (added)
-
launch.find.sh (modified) (3 diffs)
-
launch.insert.check.errors.sh (modified) (2 diffs)
-
launch.insert.errors.sh (modified) (2 diffs)
-
launch.insert.sh (modified) (2 diffs)
-
launch.location.check.sh (modified) (1 diff)
-
launch.nebstat.insert.errors.sh (modified) (1 diff)
-
launch.nebstat.trash.check.errors.sh (modified) (1 diff)
-
launch.rsync.check.logs.sh (modified) (3 diffs)
-
launch.rsync.check.sh (modified) (2 diffs)
-
launch.rsync.sh (modified) (2 diffs)
-
launch.trash.check.sh (modified) (2 diffs)
-
launch.trash.empty.sh (modified) (2 diffs)
-
launch.trash.errors.sh (modified) (2 diffs)
-
launch.trash.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/eam/rebalance/launch.find.sh
r42606 r42607 3 3 # set mode to 'find' or 'find.test' 4 4 set mode = find 5 set mydir = /data/ipphome1.0/home/eugene/rebalance.202401296 7 source $mydir/configure.sh8 5 set program = `basename $0` 6 source $HOME/.rebalance.sh 9 7 10 8 if ($#argv == 0) then … … 21 19 echo ssh -f $srchost[$i] "cd $mydir && ./$program run $i" 22 20 ssh -f $srchost[$i] "cd $mydir && ./$program run $i" 23 @ i++21 @ i++ 24 22 end 25 23 exit 0 … … 42 40 set myhost = `hostname` 43 41 if ($hn != $myhost) then 44 echo "ERROR: need to run findon the source host ($hn vs $myhost)"42 echo "ERROR: need to run $mode on the source host ($hn vs $myhost)" 45 43 exit 3 46 44 endif 47 45 48 echo "running on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version"46 echo "running $program on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version" 49 47 mkdir -p $hn.$hv 50 48 echo "./rebalance.mana $mode $hn $hv $tn $tv $version $fraction > & $hn.$hv/log.$mode.$version.$run &" -
trunk/tools/eam/rebalance/launch.insert.check.errors.sh
r42606 r42607 2 2 3 3 set mode = insert 4 set mydir = /data/ipphome1.0/home/eugene/rebalance.202401295 6 source $mydir/configure.sh7 4 set program = `basename $0` 5 source $HOME/.rebalance.sh 8 6 9 7 if ($#argv == 0) then … … 15 13 16 14 if ("$1" == "launch") then 17 18 # NOTE: the insert jobs run on the target machines, not source machines19 15 20 16 set i = 1 -
trunk/tools/eam/rebalance/launch.insert.errors.sh
r42606 r42607 2 2 3 3 set mode = insert 4 set mydir = /data/ipphome1.0/home/eugene/rebalance.202401295 6 source $mydir/configure.sh7 4 set program = `basename $0` 5 source $HOME/.rebalance.sh 8 6 9 7 if ($#argv == 0) then … … 15 13 16 14 if ("$1" == "launch") then 17 18 # NOTE: the insert jobs run on the target machines, not source machines19 15 20 16 set i = 1 -
trunk/tools/eam/rebalance/launch.insert.sh
r42606 r42607 4 4 set mode = insert 5 5 # set mode = insert.check 6 set mydir = /data/ipphome1.0/home/eugene/rebalance.202401297 8 source $mydir/configure.sh9 6 set program = `basename $0` 7 source $HOME/.rebalance.sh 10 8 11 9 if ($#argv == 0) then … … 45 43 set myhost = `hostname` 46 44 if ($tn != $myhost) then 47 echo "ERROR: need to run $mode on the sourcehost ($tn vs $myhost)"45 echo "ERROR: need to run $mode on the target host ($tn vs $myhost)" 48 46 exit 3 49 47 endif 50 48 51 echo "running on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version"49 echo "running $program on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version" 52 50 mkdir -p $hn.$hv 53 51 echo "./rebalance.mana $mode $hn $hv $tn $tv $version > & $hn.$hv/log.$mode.$version.$run &" -
trunk/tools/eam/rebalance/launch.location.check.sh
r42606 r42607 1 1 #!/bin/csh 2 3 ## XXX update this 4 echo "UPDATE ME" 5 exit 2 2 6 3 7 ### XXX this needs to modified in each directory -
trunk/tools/eam/rebalance/launch.nebstat.insert.errors.sh
r42606 r42607 2 2 3 3 set mode = insert 4 set mydir = /data/ipphome1.0/home/eugene/rebalance.202401295 6 source $mydir/configure.sh7 4 set program = `basename $0` 5 source $HOME/.rebalance.sh 8 6 9 7 if ($#argv == 0) then -
trunk/tools/eam/rebalance/launch.nebstat.trash.check.errors.sh
r42606 r42607 2 2 3 3 set mode = trash.check 4 set mydir = /data/ipphome1.0/home/eugene/rebalance.202401295 6 source $mydir/configure.sh7 4 set program = `basename $0` 5 source $HOME/.rebalance.sh 8 6 9 7 if ($#argv == 0) then -
trunk/tools/eam/rebalance/launch.rsync.check.logs.sh
r42606 r42607 1 1 #!/bin/csh 2 2 3 set stage = rsync.check.logs 4 set mydir = /data/ipphome1.0/home/eugene/rebalance.20240129 5 6 source $mydir/configure.sh 3 set mode = rsync.check.logs 7 4 set program = `basename $0` 5 source $HOME/.rebalance.sh 8 6 9 7 if ($#argv == 0) then 10 echo "USAGE: $program launch ( mode)"11 echo "USAGE: $program run ( mode) (Nentry)"12 echo " ( mode) = show or count"8 echo "USAGE: $program launch (command)" 9 echo "USAGE: $program run (command) (Nentry)" 10 echo " (command) = show or count" 13 11 echo " eg: $program run show 1" 14 12 echo " eg: $program run count 1" … … 29 27 if ("$1" == "run") then 30 28 if ($#argv != 3) then 31 echo "USAGE: $program run ( mode) (Nentry)"29 echo "USAGE: $program run (command) (Nentry)" 32 30 echo " eg: $program run show 1" 33 31 exit 2 34 32 endif 35 33 36 set mode= $234 set command = $2 37 35 set N = $3 38 36 … … 44 42 set myhost = `hostname` 45 43 if ($hn != $myhost) then 46 echo "ERROR: need to run $ stage on the source host ($hn vs $myhost)"44 echo "ERROR: need to run $mode on the source host ($hn vs $myhost)" 47 45 exit 3 48 46 endif 49 47 50 echo "running on $myhost for source $hn.$hv to target $tn.$tv for stage $stage, version $version"48 echo "running on $myhost for source $hn.$hv to target $tn.$tv for mode $mode, version $version" 51 49 mkdir -p $hn.$hv 52 echo "./rsync.check.logs.sh $ mode $hn $hv $version $run > & $hn.$hv/log.$stage.$version.$run &"53 ./rsync.check.logs.sh $ mode $hn $hv $version $run > & $hn.$hv/log.$stage.$version.$run &50 echo "./rsync.check.logs.sh $command $hn $hv $version $run > & $hn.$hv/log.$mode.$version.$run &" 51 ./rsync.check.logs.sh $command $hn $hv $version $run > & $hn.$hv/log.$mode.$version.$run & 54 52 exit 0 55 53 endif 56 54 57 echo "USAGE: $program launch ( mode)"58 echo "USAGE: $program run ( mode) (Nentry)"59 echo " ( mode) = show or count"55 echo "USAGE: $program launch (command)" 56 echo "USAGE: $program run (command) (Nentry)" 57 echo " (command) = show or count" 60 58 echo " eg: $program run show 1" 61 59 echo " eg: $program run count 1" -
trunk/tools/eam/rebalance/launch.rsync.check.sh
r42606 r42607 2 2 3 3 set mode = rsync.check 4 set mydir = /data/ipphome1.0/home/eugene/rebalance.202401295 6 source $mydir/configure.sh7 4 set program = `basename $0` 5 source $HOME/.rebalance.sh 8 6 9 7 if ($#argv == 0) then … … 45 43 endif 46 44 47 echo "running on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version"45 echo "running $program on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version" 48 46 mkdir -p $hn.$hv 49 47 echo "./rebalance.mana $mode $hn $hv $tn $tv $version $version.$run.chk > & $hn.$hv/log.$mode.$version.$run &" -
trunk/tools/eam/rebalance/launch.rsync.sh
r42606 r42607 2 2 3 3 set mode = rsync 4 set mydir = /data/ipphome1.0/home/eugene/rebalance.202401295 6 source $mydir/configure.sh7 4 set program = `basename $0` 5 source $HOME/.rebalance.sh 8 6 9 7 if ($#argv == 0) then … … 45 43 endif 46 44 47 echo "running on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version"45 echo "running $program on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version" 48 46 mkdir -p $hn.$hv 49 47 echo "./rebalance.mana $mode $hn $hv $tn $tv $version > & $hn.$hv/log.$mode.$version.$run &" -
trunk/tools/eam/rebalance/launch.trash.check.sh
r42606 r42607 2 2 3 3 set mode = trash.check 4 set mydir = /data/ipphome1.0/home/eugene/rebalance.202401295 6 source $mydir/configure.sh7 4 set program = `basename $0` 5 source $HOME/.rebalance.sh 8 6 9 7 if ($#argv == 0) then … … 45 43 endif 46 44 47 echo "running on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version"45 echo "running $program on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version" 48 46 mkdir -p $hn.$hv 49 47 echo "./rebalance.mana $mode $hn $hv $tn $tv $version > & $hn.$hv/log.$mode.$version.$run &" -
trunk/tools/eam/rebalance/launch.trash.empty.sh
r42606 r42607 2 2 3 3 set mode = empty.trash 4 set mydir = /data/ipphome1.0/home/eugene/rebalance.202401295 6 source $mydir/configure.sh7 4 set program = `basename $0` 5 source $HOME/.rebalance.sh 8 6 9 7 if ($#argv == 0) then … … 45 43 endif 46 44 47 echo "running on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version"45 echo "running $program on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version" 48 46 mkdir -p $hn.$hv 49 47 echo "./rebalance.mana $mode $hn $hv $tn $tv $version > & $hn.$hv/log.$mode.$version.$run &" -
trunk/tools/eam/rebalance/launch.trash.errors.sh
r42606 r42607 2 2 3 3 set mode = trash.errors 4 set mydir = /data/ipphome1.0/home/eugene/rebalance.202401295 6 source $mydir/configure.sh7 4 set program = `basename $0` 5 source $HOME/.rebalance.sh 8 6 9 7 if ($#argv == 0) then … … 15 13 16 14 if ("$1" == "launch") then 17 18 # NOTE: the insert jobs run on the target machines, not source machines19 15 20 16 set i = 1 -
trunk/tools/eam/rebalance/launch.trash.sh
r42606 r42607 2 2 3 3 set mode = trash 4 set mydir = /data/ipphome1.0/home/eugene/rebalance.202401295 6 source $mydir/configure.sh7 4 set program = `basename $0` 5 source $HOME/.rebalance.sh 8 6 9 7 if ($#argv == 0) then … … 45 43 endif 46 44 47 echo "running on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version"45 echo "running $program on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version" 48 46 mkdir -p $hn.$hv 49 47 echo "./rebalance.mana $mode $hn $hv $tn $tv $version > & $hn.$hv/log.$mode.$version.$run &"
Note:
See TracChangeset
for help on using the changeset viewer.
