- Timestamp:
- Feb 8, 2024, 11:37:56 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/tools/eam/rebalance/launch.insert.sh
r42562 r42620 1 1 #!/bin/csh 2 2 3 set mode = insert 3 4 set 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 5 source $HOME/.rebalance.sh 18 6 19 7 if ($#argv == 0) then … … 53 41 set myhost = `hostname` 54 42 if ($tn != $myhost) then 55 echo "ERROR: need to run $mode on the sourcehost ($tn vs $myhost)"43 echo "ERROR: need to run $mode on the target host ($tn vs $myhost)" 56 44 exit 3 57 45 endif 58 46 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" 60 48 mkdir -p $hn.$hv 61 49 echo "./rebalance.mana $mode $hn $hv $tn $tv $version > & $hn.$hv/log.$mode.$version.$run &" … … 64 52 endif 65 53 54 echo "USAGE: $program launch" 55 echo "USAGE: $program run (Nentry)" 56 echo " eg: $program run 1" 57 exit 2
Note:
See TracChangeset
for help on using the changeset viewer.
