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.insert.errors.sh

    r41746 r42314  
    11#!/bin/csh
    22
    3 set run = v2
    4 set version = 20210702
     3# src machines:
     4set list = "ipp100 ipp101 ipp102 ipp104 ipp105 ipp108 ipp112 ipp114 ipp115 ipp117 ipp123 ipp124 ipp125 ipp126 ipp134 ipp136 ipp137 ipp139"
     5
     6set mydir = /data/ipphome1.0/home/eugene/rebalance.20220922
     7
     8if ($#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
     18endif
     19
     20set run = v0
     21set version = 20220922
    522
    623set myhost = `hostname`
    724set Nhost = `hostname | sed s/ipp//`
    825
     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
    930set target = NONE
    1031switch ($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
    1537  breaksw;
    1638
    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
    2145  breaksw;
    2246
    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
    2553  breaksw;
    2654
    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
    2966  case ipp139
    30   set target = ipp147
     67  set target = ipp157
    3168  breaksw;
    3269endsw
Note: See TracChangeset for help on using the changeset viewer.