Changeset 42314 for trunk/tools/eam/rebalance/launch.trash.check.sh
- Timestamp:
- Dec 1, 2022, 11:15:58 AM (4 years ago)
- File:
-
- 1 edited
-
trunk/tools/eam/rebalance/launch.trash.check.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/eam/rebalance/launch.trash.check.sh
r41746 r42314 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
Note:
See TracChangeset
for help on using the changeset viewer.
