IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 1, 2022, 11:15:58 AM (4 years ago)
Author:
eugene
Message:

update rebalance scripts for 2022.09 run

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/rebalance/launch.rsync.check.sh

    r41746 r42314  
    11#!/bin/csh
    22
    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
     7set mydir = /data/ipphome1.0/home/eugene/rebalance.20220922
     8
     9if ($#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
     19endif
     20
     21set run = v2
     22set version = 20220922
    523
    624set myhost = `hostname`
     
    927set target = NONE
    1028switch ($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
    1534  breaksw;
    1635
    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
    2142  breaksw;
    2243
    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
    2550  breaksw;
    2651
    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
    2963  case ipp139
    30   set target = ipp147
     64  set target = ipp157
    3165  breaksw;
    3266endsw
     
    3771endif
    3872
    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 &
     73set 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 &
     74set 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 &
    4175
    4276# e.g.: ssh -f ipp127 "cd `pwd` && ./launch.rsync.check.sh"
Note: See TracChangeset for help on using the changeset viewer.