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