IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 8, 2024, 11:37:56 AM (2 years ago)
Author:
eugene
Message:

merge changes from trunk : updates to rebalance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20230313/tools/eam/rebalance/launch.insert.sh

    r42562 r42620  
    11#!/bin/csh
    22
     3set mode = insert
    34set program = `basename $0`
    4 
    5 set run = v0
    6 set version = 20230802
    7 
    8 # set to 'insert' first, then run with 'insert.check'
    9 # set mode = insert
    10 set mode = insert.check
    11 
    12 set srchost = (ipp100 ipp108 ipp112 ipp114)
    13 set srcvol  = (     0      0      1      0)
    14 set tgthost = (ipp161 ipp161 ipp162 ipp162)
    15 set tgtvol  = (     0      1      0      1)
    16 
    17 set mydir = /data/ipphome1.0/home/eugene/rebalance.20230802
     5source $HOME/.rebalance.sh
    186
    197if ($#argv == 0) then
     
    5341  set myhost = `hostname`
    5442  if ($tn != $myhost) then
    55     echo "ERROR: need to run $mode on the source host ($tn vs $myhost)"
     43    echo "ERROR: need to run $mode on the target host ($tn vs $myhost)"
    5644    exit 3
    5745  endif
    5846
    59   echo "running on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version"
     47  echo "running $program on $myhost for source $hn.$hv to target $tn.$tv in mode $mode, version $version"
    6048  mkdir -p $hn.$hv
    6149  echo "./rebalance.mana $mode $hn $hv $tn $tv $version > & $hn.$hv/log.$mode.$version.$run &"
     
    6452endif
    6553
     54echo "USAGE: $program launch"
     55echo "USAGE: $program run (Nentry)"
     56echo "   eg: $program run 1"
     57exit 2
Note: See TracChangeset for help on using the changeset viewer.