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.trash.empty.sh

    r41746 r42314  
    11#!/bin/csh
    22
    3 set run = v2
    4 set version = 20210702
     3set list = "ipp100 ipp101 ipp102 ipp104 ipp105 ipp108 ipp112 ipp114 ipp115 ipp117 ipp123 ipp124 ipp125 ipp126 ipp134 ipp136 ipp137 ipp139"
     4set mydir = /data/ipphome1.0/home/eugene/rebalance.20220922
     5
     6if ($#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
     16endif
     17
     18set run = v0
     19set version = 20220922
    520
    621set myhost = `hostname`
     
    924set target = NONE
    1025switch ($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
    1531  breaksw;
    1632
    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
    2139  breaksw;
    2240
    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
    2547  breaksw;
    2648
    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
    2960  case ipp139
    30   set target = ipp147
     61  set target = ipp157
    3162  breaksw;
    3263endsw
Note: See TracChangeset for help on using the changeset viewer.