Index: trunk/tools/eam/rebalance/launch.rsync.sh
===================================================================
--- trunk/tools/eam/rebalance/launch.rsync.sh	(revision 41509)
+++ trunk/tools/eam/rebalance/launch.rsync.sh	(revision 41746)
@@ -1,13 +1,34 @@
 #!/bin/csh 
 
+set run = v2
+set version = 20210702
+
+set myhost = `hostname`
 set Nhost = `hostname | sed s/ipp//`
 
 set target = NONE
-if (($Nhost > 101) && ($Nhost <= 111)) then 
-  set target = ipp145
-endif
-if ($Nhost > 111) then 
+switch ($myhost)
+  case ipp127
+  case ipp134
+  case ipp137
+  set target = ipp143
+  breaksw;
+
+  case ipp128
+  case ipp135
+  case ipp138
+  set target = ipp144
+  breaksw;
+
+  case ipp129
   set target = ipp146
-endif
+  breaksw;
+
+  case ipp130
+  case ipp136
+  case ipp139
+  set target = ipp147
+  breaksw;
+endsw
 
 if ("$target" == "NONE") then
@@ -16,7 +37,6 @@
 endif
 
-#set v = 0 ; set h = `hostname` ; set t = $target ; mkdir $h.$v; ./rebalance.mana find $h $v $t $v 20201209 0.9 > & $h.$v/log.find.20201209.v1 &
-#set v = 1 ; set h = `hostname` ; set t = $target ; mkdir $h.$v; ./rebalance.mana find $h $v $t $v 20201209 0.9 > & $h.$v/log.find.20201209.v1 &
+set v = 0 ; set h = `hostname` ; set t = $target; ./rebalance.mana rsync $h $v $t $v $version > & $h.$v/log.rsync.$version.$run &
+set v = 1 ; set h = `hostname` ; set t = $target; ./rebalance.mana rsync $h $v $t $v $version > & $h.$v/log.rsync.$version.$run &
 
-set v = 0 ; set h = `hostname` ; set t = $target; ./rebalance.mana rsync $h $v $t $v 20201209 > & $h.$v/log.rsync.20201209.v0 &
-set v = 1 ; set h = `hostname` ; set t = $target; ./rebalance.mana rsync $h $v $t $v 20201209 > & $h.$v/log.rsync.20201209.v0 &
+# e.g.: ssh -f ipp127 "cd `pwd` && ./launch.rsync.sh"
