Changeset 42359
- Timestamp:
- Feb 4, 2023, 7:34:24 AM (3 years ago)
- Location:
- branches/eam_branches/ipp-20220316/tools
- Files:
-
- 14 edited
- 3 copied
-
. (modified) (1 prop)
-
eam/get.modules.sh (copied) (copied from trunk/tools/eam/get.modules.sh )
-
eam/newnonlin (copied) (copied from trunk/tools/eam/newnonlin )
-
eam/rebalance/launch.insert.check.errors.sh (modified) (1 diff)
-
eam/rebalance/launch.insert.errors.sh (modified) (1 diff)
-
eam/rebalance/launch.rsync.check.logs.sh (copied) (copied from trunk/tools/eam/rebalance/launch.rsync.check.logs.sh )
-
eam/rebalance/launch.rsync.check.sh (modified) (3 diffs)
-
eam/rebalance/launch.rsync.sh (modified) (2 diffs)
-
eam/rebalance/launch.trash.check.sh (modified) (2 diffs)
-
eam/rebalance/launch.trash.empty.sh (modified) (2 diffs)
-
eam/rebalance/launch.trash.errors.sh (modified) (2 diffs)
-
eam/rebalance/launch.trash.sh (modified) (2 diffs)
-
eam/rebalance/rebalance.mana (modified) (3 diffs)
-
eam/rebalance/rsync.check.logs.sh (modified) (2 diffs)
-
eam/rebalance/run.nebstat.errors (modified) (1 diff)
-
eam/rebalance/run.nebstat.insert.check.errors (modified) (1 diff)
-
eam/rebalance/run.nebstat.trash.check.errors (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20220316/tools
- Property svn:mergeinfo changed
/trunk/tools (added) merged: 42285,42314,42355,42358
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20220316/tools/eam/rebalance/launch.insert.check.errors.sh
r41746 r42359 1 1 #!/bin/csh 2 2 3 set run = v2 4 set version = 20210702 3 set list = "ipp100 ipp101 ipp102 ipp104 ipp105 ipp108 ipp112 ipp114 ipp115 ipp117 ipp123 ipp124 ipp125 ipp126 ipp134 ipp136 ipp137 ipp139" 4 5 set mydir = /data/ipphome1.0/home/eugene/rebalance.20220922 6 7 if ($#argv == 1) then 8 if ("$1" != "launch") then 9 echo "USAGE: launch.insert.check.errors.sh launch" 10 exit 2 11 endif 12 foreach f ($list) 13 echo ssh -f $f "cd $mydir && ./launch.insert.check.errors.sh" 14 ssh -f $f "cd $mydir && ./launch.insert.check.errors.sh" 15 end 16 exit 0 17 endif 18 19 set run = v0 20 set version = 20220922 5 21 6 22 set myhost = `hostname` 7 23 set Nhost = `hostname | sed s/ipp//` 8 24 25 # ipp100 - ipp117 (10 total) need to have ~7TB moved 26 # ipp123 - ipp126 ( 4 total) need to have ~9TB moved 27 # ipp134 - ipp139 ( 4 total) need to have ~12TB moved 28 9 29 set target = NONE 10 30 switch ($myhost) 11 case ipp127 12 case ipp134 13 case ipp137 14 set target = ipp143 31 # total of 23TB 32 case ipp100 33 case ipp101 34 case ipp123 35 set target = ipp153 15 36 breaksw; 16 37 17 case ipp128 18 case ipp135 19 case ipp138 20 set target = ipp144 38 # total of 35TB 39 case ipp102 40 case ipp104 41 case ipp124 42 case ipp136 43 set target = ipp154 21 44 breaksw; 22 45 23 case ipp129 24 set target = ipp146 46 # total of 35TB 47 case ipp105 48 case ipp108 49 case ipp125 50 case ipp137 51 set target = ipp155 25 52 breaksw; 26 53 27 case ipp130 28 case ipp136 54 # total of 23TB 55 case ipp112 56 case ipp114 57 case ipp126 58 set target = ipp156 59 breaksw; 60 61 # total of 38TB 62 case ipp115 63 case ipp117 64 case ipp134 29 65 case ipp139 30 set target = ipp1 4766 set target = ipp157 31 67 breaksw; 32 68 endsw -
branches/eam_branches/ipp-20220316/tools/eam/rebalance/launch.insert.errors.sh
r41746 r42359 1 1 #!/bin/csh 2 2 3 set run = v2 4 set version = 20210702 3 # src machines: 4 set list = "ipp100 ipp101 ipp102 ipp104 ipp105 ipp108 ipp112 ipp114 ipp115 ipp117 ipp123 ipp124 ipp125 ipp126 ipp134 ipp136 ipp137 ipp139" 5 6 set mydir = /data/ipphome1.0/home/eugene/rebalance.20220922 7 8 if ($#argv == 1) then 9 if ("$1" != "launch") then 10 echo "USAGE: launch.insert.errors.sh launch" 11 exit 2 12 endif 13 foreach f ($list) 14 echo ssh -f $f "cd $mydir && ./launch.insert.errors.sh" 15 ssh -f $f "cd $mydir && ./launch.insert.errors.sh" 16 end 17 exit 0 18 endif 19 20 set run = v0 21 set version = 20220922 5 22 6 23 set myhost = `hostname` 7 24 set Nhost = `hostname | sed s/ipp//` 8 25 26 # ipp100 - ipp117 (10 total) need to have ~7TB moved 27 # ipp123 - ipp126 ( 4 total) need to have ~9TB moved 28 # ipp134 - ipp139 ( 4 total) need to have ~12TB moved 29 9 30 set target = NONE 10 31 switch ($myhost) 11 case ipp127 12 case ipp134 13 case ipp137 14 set target = ipp143 32 # total of 23TB 33 case ipp100 34 case ipp101 35 case ipp123 36 set target = ipp153 15 37 breaksw; 16 38 17 case ipp128 18 case ipp135 19 case ipp138 20 set target = ipp144 39 # total of 35TB 40 case ipp102 41 case ipp104 42 case ipp124 43 case ipp136 44 set target = ipp154 21 45 breaksw; 22 46 23 case ipp129 24 set target = ipp146 47 # total of 35TB 48 case ipp105 49 case ipp108 50 case ipp125 51 case ipp137 52 set target = ipp155 25 53 breaksw; 26 54 27 case ipp130 28 case ipp136 55 # total of 23TB 56 case ipp112 57 case ipp114 58 case ipp126 59 set target = ipp156 60 breaksw; 61 62 # total of 38TB 63 case ipp115 64 case ipp117 65 case ipp134 29 66 case ipp139 30 set target = ipp1 4767 set target = ipp157 31 68 breaksw; 32 69 endsw -
branches/eam_branches/ipp-20220316/tools/eam/rebalance/launch.rsync.check.sh
r41746 r42359 1 1 #!/bin/csh 2 2 3 set run = v4 4 set version = 20210702 3 set list = "ipp100 ipp101 ipp102 ipp104 ipp105 ipp108 ipp112 ipp114 ipp115 ipp117 ipp123 ipp124 ipp125 ipp126 ipp134 ipp136 ipp137 ipp139" 4 # set list = "ipp105 ipp108 ipp112 ipp114 ipp115 ipp123 ipp124 ipp125 ipp126 ipp134 ipp136 ipp137 ipp139" 5 # set list = "ipp100 ipp101 ipp102 ipp104 ipp117" 6 7 set mydir = /data/ipphome1.0/home/eugene/rebalance.20220922 8 9 if ($#argv == 1) then 10 if ("$1" != "launch") then 11 echo "USAGE: launch.rsync.check.sh launch" 12 exit 2 13 endif 14 foreach f ($list) 15 echo ssh -f $f "cd $mydir && ./launch.rsync.check.sh" 16 ssh -f $f "cd $mydir && ./launch.rsync.check.sh" 17 end 18 exit 0 19 endif 20 21 set run = v2 22 set version = 20220922 5 23 6 24 set myhost = `hostname` … … 9 27 set target = NONE 10 28 switch ($myhost) 11 case ipp127 12 case ipp134 13 case ipp137 14 set target = ipp143 29 # total of 23TB 30 case ipp100 31 case ipp101 32 case ipp123 33 set target = ipp153 15 34 breaksw; 16 35 17 case ipp128 18 case ipp135 19 case ipp138 20 set target = ipp144 36 # total of 35TB 37 case ipp102 38 case ipp104 39 case ipp124 40 case ipp136 41 set target = ipp154 21 42 breaksw; 22 43 23 case ipp129 24 set target = ipp146 44 # total of 35TB 45 case ipp105 46 case ipp108 47 case ipp125 48 case ipp137 49 set target = ipp155 25 50 breaksw; 26 51 27 case ipp130 28 case ipp136 52 # total of 23TB 53 case ipp112 54 case ipp114 55 case ipp126 56 set target = ipp156 57 breaksw; 58 59 # total of 38TB 60 case ipp115 61 case ipp117 62 case ipp134 29 63 case ipp139 30 set target = ipp1 4764 set target = ipp157 31 65 breaksw; 32 66 endsw … … 37 71 endif 38 72 39 set v = 0 ; set h = `hostname` ; set t = $target; ./rebalance.mana rsync.check $h $v $t $v $version $version. chk > & $h.$v/log.rsync.check.$version.$run &40 set v = 1 ; set h = `hostname` ; set t = $target; ./rebalance.mana rsync.check $h $v $t $v $version $version. chk > & $h.$v/log.rsync.check.$version.$run &73 set v = 0 ; set h = `hostname` ; set t = $target; ./rebalance.mana rsync.check $h $v $t $v $version $version.$run.chk > & $h.$v/log.rsync.check.$version.$run & 74 set v = 1 ; set h = `hostname` ; set t = $target; ./rebalance.mana rsync.check $h $v $t $v $version $version.$run.chk > & $h.$v/log.rsync.check.$version.$run & 41 75 42 76 # e.g.: ssh -f ipp127 "cd `pwd` && ./launch.rsync.check.sh" -
branches/eam_branches/ipp-20220316/tools/eam/rebalance/launch.rsync.sh
r41746 r42359 1 1 #!/bin/csh 2 2 3 set run = v2 4 set version = 20210702 3 # set list = "ipp100 ipp101 ipp102 ipp104 ipp105 ipp108 ipp112 ipp114 ipp115 ipp117 ipp123 ipp124 ipp125 ipp126 ipp134 ipp136 ipp137 ipp139" 4 # set list = "ipp105 ipp108 ipp112 ipp114 ipp115 ipp123 ipp124 ipp125 ipp126 ipp134 ipp136 ipp137 ipp139" 5 set list = "ipp100 ipp101 ipp102 ipp104 ipp117" 6 set mydir = /data/ipphome1.0/home/eugene/rebalance.20220922 7 8 if ($#argv == 1) then 9 if ("$1" != "launch") then 10 echo "USAGE: launch.find.sh launch" 11 exit 2 12 endif 13 foreach f ($list) 14 echo ssh -f $f "cd $mydir && ./launch.rsync.sh" 15 ssh -f $f "cd $mydir && ./launch.rsync.sh" 16 # echo ssh $f ps ux 17 # ssh $f ps ux 18 # ssh $f killall mana 19 # ssh $f killall find 20 end 21 exit 0 22 endif 23 24 set run = v0 25 set version = 20220922 5 26 6 27 set myhost = `hostname` … … 9 30 set target = NONE 10 31 switch ($myhost) 11 case ipp127 12 case ipp134 13 case ipp137 14 set target = ipp143 32 # total of 23TB 33 case ipp100 34 case ipp101 35 case ipp123 36 set target = ipp153 15 37 breaksw; 16 38 17 case ipp128 18 case ipp135 19 case ipp138 20 set target = ipp144 39 # total of 35TB 40 case ipp102 41 case ipp104 42 case ipp124 43 case ipp136 44 set target = ipp154 21 45 breaksw; 22 46 23 case ipp129 24 set target = ipp146 47 # total of 35TB 48 case ipp105 49 case ipp108 50 case ipp125 51 case ipp137 52 set target = ipp155 25 53 breaksw; 26 54 27 case ipp130 28 case ipp136 55 # total of 23TB 56 case ipp112 57 case ipp114 58 case ipp126 59 set target = ipp156 60 breaksw; 61 62 # total of 38TB 63 case ipp115 64 case ipp117 65 case ipp134 29 66 case ipp139 30 set target = ipp1 4767 set target = ipp157 31 68 breaksw; 32 69 endsw -
branches/eam_branches/ipp-20220316/tools/eam/rebalance/launch.trash.check.sh
r41746 r42359 1 1 #!/bin/csh 2 2 3 set run = v2 4 set version = 20210702 3 set list = "ipp100 ipp101 ipp102 ipp104 ipp105 ipp108 ipp112 ipp114 ipp115 ipp117 ipp123 ipp124 ipp125 ipp126 ipp134 ipp136 ipp137 ipp139" 4 set mydir = /data/ipphome1.0/home/eugene/rebalance.20220922 5 6 if ($#argv == 1) then 7 if ("$1" != "launch") then 8 echo "USAGE: launch.trash.check.sh launch" 9 exit 2 10 endif 11 foreach f ($list) 12 echo ssh -f $f "cd $mydir && ./launch.trash.check.sh" 13 ssh -f $f "cd $mydir && ./launch.trash.check.sh" 14 end 15 exit 0 16 endif 17 18 set run = v0 19 set version = 20220922 5 20 6 21 set myhost = `hostname` … … 9 24 set target = NONE 10 25 switch ($myhost) 11 case ipp127 12 case ipp134 13 case ipp137 14 set target = ipp143 26 # total of 23TB 27 case ipp100 28 case ipp101 29 case ipp123 30 set target = ipp153 15 31 breaksw; 16 32 17 case ipp128 18 case ipp135 19 case ipp138 20 set target = ipp144 33 # total of 35TB 34 case ipp102 35 case ipp104 36 case ipp124 37 case ipp136 38 set target = ipp154 21 39 breaksw; 22 40 23 case ipp129 24 set target = ipp146 41 # total of 35TB 42 case ipp105 43 case ipp108 44 case ipp125 45 case ipp137 46 set target = ipp155 25 47 breaksw; 26 48 27 case ipp130 28 case ipp136 49 # total of 23TB 50 case ipp112 51 case ipp114 52 case ipp126 53 set target = ipp156 54 breaksw; 55 56 # total of 38TB 57 case ipp115 58 case ipp117 59 case ipp134 29 60 case ipp139 30 set target = ipp1 4761 set target = ipp157 31 62 breaksw; 32 63 endsw -
branches/eam_branches/ipp-20220316/tools/eam/rebalance/launch.trash.empty.sh
r41746 r42359 1 1 #!/bin/csh 2 2 3 set run = v2 4 set version = 20210702 3 set list = "ipp100 ipp101 ipp102 ipp104 ipp105 ipp108 ipp112 ipp114 ipp115 ipp117 ipp123 ipp124 ipp125 ipp126 ipp134 ipp136 ipp137 ipp139" 4 set mydir = /data/ipphome1.0/home/eugene/rebalance.20220922 5 6 if ($#argv == 1) then 7 if ("$1" != "launch") then 8 echo "USAGE: launch.trash.empty.sh launch" 9 exit 2 10 endif 11 foreach f ($list) 12 echo ssh -f $f "cd $mydir && ./launch.trash.empty.sh" 13 ssh -f $f "cd $mydir && ./launch.trash.empty.sh" 14 end 15 exit 0 16 endif 17 18 set run = v0 19 set version = 20220922 5 20 6 21 set myhost = `hostname` … … 9 24 set target = NONE 10 25 switch ($myhost) 11 case ipp127 12 case ipp134 13 case ipp137 14 set target = ipp143 26 # total of 23TB 27 case ipp100 28 case ipp101 29 case ipp123 30 set target = ipp153 15 31 breaksw; 16 32 17 case ipp128 18 case ipp135 19 case ipp138 20 set target = ipp144 33 # total of 35TB 34 case ipp102 35 case ipp104 36 case ipp124 37 case ipp136 38 set target = ipp154 21 39 breaksw; 22 40 23 case ipp129 24 set target = ipp146 41 # total of 35TB 42 case ipp105 43 case ipp108 44 case ipp125 45 case ipp137 46 set target = ipp155 25 47 breaksw; 26 48 27 case ipp130 28 case ipp136 49 # total of 23TB 50 case ipp112 51 case ipp114 52 case ipp126 53 set target = ipp156 54 breaksw; 55 56 # total of 38TB 57 case ipp115 58 case ipp117 59 case ipp134 29 60 case ipp139 30 set target = ipp1 4761 set target = ipp157 31 62 breaksw; 32 63 endsw -
branches/eam_branches/ipp-20220316/tools/eam/rebalance/launch.trash.errors.sh
r41683 r42359 1 1 #!/bin/csh 2 2 3 set list = "ipp100 ipp101 ipp102 ipp104 ipp105 ipp108 ipp112 ipp114 ipp115 ipp117 ipp123 ipp124 ipp125 ipp126 ipp134 ipp136 ipp137 ipp139" 4 set mydir = /data/ipphome1.0/home/eugene/rebalance.20220922 5 6 if ($#argv == 1) then 7 if ("$1" != "launch") then 8 echo "USAGE: launch.trash.errors.sh launch" 9 exit 2 10 endif 11 foreach f ($list) 12 echo ssh -f $f "cd $mydir && ./launch.trash.errors.sh" 13 ssh -f $f "cd $mydir && ./launch.trash.errors.sh" 14 end 15 exit 0 16 endif 17 18 set run = v0 19 set version = 20220922 20 21 set myhost = `hostname` 3 22 set Nhost = `hostname | sed s/ipp//` 4 23 5 set ver = "v0" 6 set verdate = "20201209" 24 set target = NONE 25 switch ($myhost) 26 # total of 23TB 27 case ipp100 28 case ipp101 29 case ipp123 30 set target = ipp153 31 breaksw; 7 32 33 # total of 35TB 34 case ipp102 35 case ipp104 36 case ipp124 37 case ipp136 38 set target = ipp154 39 breaksw; 8 40 9 set target = NONE 10 if (($Nhost > 101) && ($Nhost <= 111)) then 11 set target = ipp14512 endif 13 if ($Nhost > 111) then 14 set target = ipp1 4615 endif 41 # total of 35TB 42 case ipp105 43 case ipp108 44 case ipp125 45 case ipp137 46 set target = ipp155 47 breaksw; 16 48 17 if (($Nhost == 100) || ($Nhost == 101)) then 18 set target = ipp140 19 set v = 0 ; set h = `hostname` ; set t = $target; grep ERROR /data/$h.$v/nebulous/??/rebalance/check.trash.$verdate.log >& $h.$v/errors.trash.$verdate.$ver & 20 set target = ipp133 21 set v = 1 ; set h = `hostname` ; set t = $target; grep ERROR /data/$h.$v/nebulous/??/rebalance/check.trash.$verdate.log >& $h.$v/errors.trash.$verdate.$ver & 22 exit 0 23 endif 49 # total of 23TB 50 case ipp112 51 case ipp114 52 case ipp126 53 set target = ipp156 54 breaksw; 55 56 # total of 38TB 57 case ipp115 58 case ipp117 59 case ipp134 60 case ipp139 61 set target = ipp157 62 breaksw; 63 endsw 24 64 25 65 if ("$target" == "NONE") then … … 28 68 endif 29 69 30 set v = 0 ; set h = `hostname` ; set t = $target; grep ERROR /data/$h.$v/nebulous/??/rebalance/check.trash.$ver date.log >& $h.$v/errors.trash.$verdate.$ver&31 set v = 1 ; set h = `hostname` ; set t = $target; grep ERROR /data/$h.$v/nebulous/??/rebalance/check.trash.$ver date.log >& $h.$v/errors.trash.$verdate.$ver&70 set v = 0 ; set h = `hostname` ; set t = $target; grep ERROR /data/$h.$v/nebulous/??/rebalance/check.trash.$version.log >& $h.$v/errors.trash.$version.$run & 71 set v = 1 ; set h = `hostname` ; set t = $target; grep ERROR /data/$h.$v/nebulous/??/rebalance/check.trash.$version.log >& $h.$v/errors.trash.$version.$run & 32 72 -
branches/eam_branches/ipp-20220316/tools/eam/rebalance/launch.trash.sh
r41746 r42359 1 1 #!/bin/csh 2 2 3 set run = v2 4 set version = 20210702 3 set list = "ipp100 ipp101 ipp102 ipp104 ipp105 ipp108 ipp112 ipp114 ipp115 ipp117 ipp123 ipp124 ipp125 ipp126 ipp134 ipp136 ipp137 ipp139" 4 set mydir = /data/ipphome1.0/home/eugene/rebalance.20220922 5 6 if ($#argv == 1) then 7 if ("$1" != "launch") then 8 echo "USAGE: launch.trash.sh launch" 9 exit 2 10 endif 11 foreach f ($list) 12 echo ssh -f $f "cd $mydir && ./launch.trash.sh" 13 ssh -f $f "cd $mydir && ./launch.trash.sh" 14 end 15 exit 0 16 endif 17 18 set run = v0 19 set version = 20220922 5 20 6 21 set myhost = `hostname` … … 9 24 set target = NONE 10 25 switch ($myhost) 11 case ipp127 12 case ipp134 13 case ipp137 14 set target = ipp143 26 # total of 23TB 27 case ipp100 28 case ipp101 29 case ipp123 30 set target = ipp153 15 31 breaksw; 16 32 17 case ipp128 18 case ipp135 19 case ipp138 20 set target = ipp144 33 # total of 35TB 34 case ipp102 35 case ipp104 36 case ipp124 37 case ipp136 38 set target = ipp154 21 39 breaksw; 22 40 23 case ipp129 24 set target = ipp146 41 # total of 35TB 42 case ipp105 43 case ipp108 44 case ipp125 45 case ipp137 46 set target = ipp155 25 47 breaksw; 26 48 27 case ipp130 28 case ipp136 49 # total of 23TB 50 case ipp112 51 case ipp114 52 case ipp126 53 set target = ipp156 54 breaksw; 55 56 # total of 38TB 57 case ipp115 58 case ipp117 59 case ipp134 29 60 case ipp139 30 set target = ipp1 4761 set target = ipp157 31 62 breaksw; 32 63 endsw -
branches/eam_branches/ipp-20220316/tools/eam/rebalance/rebalance.mana
r41745 r42359 8 8 $EXEC = exec 9 9 10 $BIGSIZE = 30M 10 # BIGSIZE was 30M, but some machines do not have enough files that large 11 $BIGSIZE = 15M 11 12 $TB_BYTE = 1024^4 12 13 $VERSION = NONE … … 223 224 while ($waitForDay) 224 225 # check if we should run the next rsync at this time: 225 # only run except between HST = 19:00 - 05:00 or UT = 0 9:00 - 19:00226 # only run except between HST = 19:00 - 05:00 or UT = 05:00 - 15:00 226 227 ctimes -abs now -var tnow 227 228 $thour = 24.0*($tnow - int($tnow)) … … 242 243 243 244 echo "rsyncing $srcdir/ to $tgtdir/ : $movelog" 245 break -auto off 244 246 exec rsync -auv --files-from=$movelist $srcdir/ $tgtdir/ >& $movelog 247 break -auto on 245 248 end 246 249 end -
branches/eam_branches/ipp-20220316/tools/eam/rebalance/rsync.check.logs.sh
r41746 r42359 1 1 #!/bin/csh 2 2 3 set version = 20210702 3 set run = v2 4 set version = 20220922 4 5 5 6 set showlist = 0 … … 22 23 echo "--- volume 0 ---" 23 24 if ($showlist) then 24 cat /data/$myhost.0/nebulous/??/rebalance/movefiles.$version. chk.2.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$'25 cat /data/$myhost.0/nebulous/??/rebalance/movefiles.$version. chk.2.log | grep "No such file or directory"25 cat /data/$myhost.0/nebulous/??/rebalance/movefiles.$version.$run.chk.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$' 26 cat /data/$myhost.0/nebulous/??/rebalance/movefiles.$version.$run.chk.log | grep "No such file or directory" 26 27 else 27 cat /data/$myhost.0/nebulous/??/rebalance/movefiles.$version. chk.2.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$' | wc -l28 cat /data/$myhost.0/nebulous/??/rebalance/movefiles.$version. chk.2.log | grep "No such file or directory" | wc -l28 cat /data/$myhost.0/nebulous/??/rebalance/movefiles.$version.$run.chk.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$' | wc -l 29 cat /data/$myhost.0/nebulous/??/rebalance/movefiles.$version.$run.chk.log | grep "No such file or directory" | wc -l 29 30 endif 30 31 31 32 echo "--- volume 1 ---" 32 33 if ($showlist) then 33 cat /data/$myhost.1/nebulous/??/rebalance/movefiles.$version. chk.2.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$'34 cat /data/$myhost.1/nebulous/??/rebalance/movefiles.$version. chk.2.log | grep "No such file or directory"34 cat /data/$myhost.1/nebulous/??/rebalance/movefiles.$version.$run.chk.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$' 35 cat /data/$myhost.1/nebulous/??/rebalance/movefiles.$version.$run.chk.log | grep "No such file or directory" 35 36 else 36 cat /data/$myhost.1/nebulous/??/rebalance/movefiles.$version. chk.2.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$' | wc -l37 cat /data/$myhost.1/nebulous/??/rebalance/movefiles.$version. chk.2.log | grep "No such file or directory" | wc -l37 cat /data/$myhost.1/nebulous/??/rebalance/movefiles.$version.$run.chk.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$' | wc -l 38 cat /data/$myhost.1/nebulous/??/rebalance/movefiles.$version.$run.chk.log | grep "No such file or directory" | wc -l 38 39 endif 39 40 -
branches/eam_branches/ipp-20220316/tools/eam/rebalance/run.nebstat.errors
r41746 r42359 1 #!/bin/csh -f1 #!/bin/csh 2 2 3 if ($#argv != 1) then 4 echo "USAGE: run.netstat.errors (hostname.vol)" 3 if (($#argv == 1) && ("$1" == "help")) then 4 echo "USAGE: run.nebstat.errors" 5 echo "USAGE: run.nebstat.errors launch" 5 6 exit 2 6 7 endif 7 8 8 set src = $1 9 set run = v2 10 set version = 20210702 9 # src machines: 10 set list = "ipp100 ipp101 ipp102 ipp104 ipp105 ipp108 ipp112 ipp114 ipp115 ipp117 ipp123 ipp124 ipp125 ipp126 ipp134 ipp136 ipp137 ipp139" 11 12 set mydir = /data/ipphome1.0/home/eugene/rebalance.20220922 13 14 if ($#argv == 1) then 15 if ("$1" != "launch") then 16 echo "USAGE: run.nebstat.errors launch" 17 exit 2 18 endif 19 foreach f ($list) 20 echo ssh -f $f "cd $mydir && ./run.nebstat.errors" 21 ssh -f $f "cd $mydir && ./run.nebstat.errors >& $f.nebstat.errors.log" 22 end 23 exit 0 24 endif 25 26 set run = v0 27 set version = 20220922 28 29 set myhost = `hostname` 30 31 ### volume 0: 32 set src = $myhost.0 11 33 12 34 rm -f $src/nebstat.errors.insert.$version.$run 13 35 14 36 foreach f (`prcol 8 < $src/errors.insert.$version.$run`) 15 neb-stat `neb-reverse $f` >> $src/nebstat.errors.insert.$version.$run 16 echo $f 37 neb-stat `neb-reverse $f` >> $src/nebstat.errors.insert.$version.$run.stats 38 echo $f >> $src/nebstat.errors.insert.$version.$run.files 17 39 end 18 40 41 ### volume 1: 42 set src = $myhost.1 43 44 rm -f $src/nebstat.errors.insert.$version.$run 45 46 foreach f (`prcol 8 < $src/errors.insert.$version.$run`) 47 neb-stat `neb-reverse $f` >> $src/nebstat.errors.insert.$version.$run.stats 48 echo $f >> $src/nebstat.errors.insert.$version.$run.files 49 end 50 -
branches/eam_branches/ipp-20220316/tools/eam/rebalance/run.nebstat.insert.check.errors
r41683 r42359 1 1 #!/bin/csh -f 2 2 3 if ($#argv != 1) then 4 echo "USAGE: run.netstat.errors (hostname.vol)" 3 if (($#argv == 1) && ("$1" == "help")) then 4 echo "USAGE: run.nebstat.insert.check.errors" 5 echo "USAGE: run.nebstat.insert.check.errors launch" 5 6 exit 2 6 7 endif 7 8 8 set src = $1 9 # src machines: 10 set list = "ipp100 ipp101 ipp102 ipp104 ipp105 ipp108 ipp112 ipp114 ipp115 ipp117 ipp123 ipp124 ipp125 ipp126 ipp134 ipp136 ipp137 ipp139" 9 11 10 rm -f $src/nebstat.errors.insert.check.20201209.v0 12 set mydir = /data/ipphome1.0/home/eugene/rebalance.20220922 11 13 12 foreach f (`prcol 5 < $src/errors.insert.check.20201209.v0`) 13 neb-stat `neb-reverse $f` >> $src/nebstat.errors.insert.check.20201209.v0 14 echo $f 14 if ($#argv == 1) then 15 if ("$1" != "launch") then 16 echo "USAGE: run.nebstat.insert.check.errors launch" 17 exit 2 18 endif 19 foreach f ($list) 20 echo ssh -f $f "cd $mydir && ./run.nebstat.insert.check.errors" 21 ssh -f $f "cd $mydir && ./run.nebstat.insert.check.errors >& $f.nebstat.insert.check.errors.log" 22 end 23 exit 0 24 endif 25 26 set run = v0 27 set version = 20220922 28 29 set myhost = `hostname` 30 31 ### volume 0: 32 set src = $myhost.0 33 34 rm -f $src/nebstat.errors.insert.check.$version.$run 35 36 foreach f (`prcol 5 < $src/errors.insert.check.$version.$run`) 37 neb-stat `neb-reverse $f` >> $src/nebstat.errors.insert.check.$version.$run.stats 38 echo $f >> $src/nebstat.errors.insert.check.$version.$run.files 15 39 end 16 40 41 ### volume 1: 42 set src = $myhost.1 43 44 rm -f $src/nebstat.errors.insert.check.$version.$run 45 46 foreach f (`prcol 5 < $src/errors.insert.check.$version.$run`) 47 neb-stat `neb-reverse $f` >> $src/nebstat.errors.insert.check.$version.$run.stats 48 echo $f >> $src/nebstat.errors.insert.check.$version.$run.files 49 end 50 -
branches/eam_branches/ipp-20220316/tools/eam/rebalance/run.nebstat.trash.check.errors
r41683 r42359 1 1 #!/bin/csh -f 2 2 3 if ($#argv != 1) then 4 echo "USAGE: run.netstat.trash.check.errors (hostname.vol)" 3 if (($#argv == 1) && ("$1" == "help")) then 4 echo "USAGE: run.nebstat.trash.check.errors" 5 echo "USAGE: run.nebstat.trash.check.errors launch" 5 6 exit 2 6 7 endif 7 8 8 set src = $1 9 # src machines: 10 set list = "ipp100 ipp101 ipp102 ipp104 ipp105 ipp108 ipp112 ipp114 ipp115 ipp117 ipp123 ipp124 ipp125 ipp126 ipp134 ipp136 ipp137 ipp139" 9 11 10 rm -f $src/nebstat.errors.trash.check.20201209.v0 12 set mydir = /data/ipphome1.0/home/eugene/rebalance.20220922 11 13 12 foreach f (`prcol 7 < $src/errors.trash.20201209.v0`) 13 neb-stat `neb-reverse $f` >> $src/nebstat.errors.trash.check.20201209.v0 14 echo $f 14 if ($#argv == 1) then 15 if ("$1" != "launch") then 16 echo "USAGE: run.nebstat.trash.check.errors launch" 17 exit 2 18 endif 19 foreach f ($list) 20 echo ssh -f $f "cd $mydir && ./run.nebstat.trash.check.errors" 21 ssh -f $f "cd $mydir && ./run.nebstat.trash.check.errors >& $f.nebstat.trash.check.errors.log" 22 end 23 exit 0 24 endif 25 26 set run = v0 27 set version = 20220922 28 29 set myhost = `hostname` 30 31 ### volume 0: 32 set src = $myhost.0 33 34 rm -f $src/nebstat.errors.trash.check.$version.$run 35 36 foreach f (`prcol 7 < $src/errors.trash.$version.$run`) 37 neb-stat `neb-reverse $f` >> $src/nebstat.errors.trash.check.$version.$run.stats 38 echo $f >> $src/nebstat.errors.trash.check.$version.$run.files 15 39 end 16 40 41 ### volume 1: 42 set src = $myhost.1 43 44 rm -f $src/nebstat.errors.trash.check.$version.$run 45 46 foreach f (`prcol 7 < $src/errors.trash.$version.$run`) 47 neb-stat `neb-reverse $f` >> $src/nebstat.errors.trash.check.$version.$run.stats 48 echo $f >> $src/nebstat.errors.trash.check.$version.$run.files 49 end
Note:
See TracChangeset
for help on using the changeset viewer.
