From 2351479093047f8ba42b67657b7c83e7faa3ade2 Mon Sep 17 00:00:00 2001 From: George Milescu Date: Fri, 30 Jul 2010 15:33:27 +0200 Subject: [PATCH] Updated _sync_cluster_containers.sh script Signed-off-by: George Milescu --- ControlScripts/_sync_cluster_containers.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1