Updated _sync_cluster_containers.sh script
authorGeorge Milescu <george.milescu@gmail.com>
Fri, 30 Jul 2010 13:33:27 +0000 (15:33 +0200)
committerGeorge Milescu <george.milescu@gmail.com>
Fri, 30 Jul 2010 13:33:27 +0000 (15:33 +0200)
Signed-off-by: George Milescu <george.milescu@gmail.com>
ControlScripts/_sync_cluster_containers.sh

index b0d193c..b5e008a 100755 (executable)
@@ -8,7 +8,7 @@ source ../ConfigFiles/globalconfig.txt
 
 for host in p2p-next-01.grid.pub.ro p2p-next-03.grid.pub.ro p2p-next-04.grid.pub.ro p2p-next-05.grid.pub.ro p2p-next-06.grid.pub.ro p2p-next-07.grid.pub.ro p2p-next-08.grid.pub.ro p2p-next-09.grid.pub.ro p2p-next-10.grid.pub.ro; do
        for port in 10122 10222 10322 10422 10522 10622 10722 10822 10922 11022; do
-               ssh -p $port p2p@$host "mkdir /home/p2p/george/"
-               rsync -avP --del --rsh='ssh -p'$port $P2P_NEXT_REL_PATH/P2P-Testing-Infrastructure p2p@$host:/home/p2p/george/
+               echo "Syncing $host $port"
+               rsync -avP --del --rsh='ssh -p'$port $P2P_NEXT_REL_PATH/P2P-Testing-Infrastructure p2p@$host:/home/p2p/george/ &> /dev/null
        done
 done