From: George Milescu Date: Fri, 30 Jul 2010 13:33:27 +0000 (+0200) Subject: Updated _sync_cluster_containers.sh script X-Git-Tag: classic-scenario-config~22 X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=2351479093047f8ba42b67657b7c83e7faa3ade2;p=p2p-testing-infrastructure.git Updated _sync_cluster_containers.sh script Signed-off-by: George Milescu --- diff --git a/ControlScripts/_sync_cluster_containers.sh b/ControlScripts/_sync_cluster_containers.sh index b0d193c..b5e008a 100755 --- a/ControlScripts/_sync_cluster_containers.sh +++ b/ControlScripts/_sync_cluster_containers.sh @@ -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