[Swift-commit] r6726 - SwiftTutorials/ATPESC_2013-08-06/cloud

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Fri Aug 2 21:06:17 CDT 2013


Author: ketan
Date: 2013-08-02 21:06:17 -0500 (Fri, 02 Aug 2013)
New Revision: 6726

Modified:
   SwiftTutorials/ATPESC_2013-08-06/cloud/coaster-service.conf
   SwiftTutorials/ATPESC_2013-08-06/cloud/setup
   SwiftTutorials/ATPESC_2013-08-06/cloud/sites.xml
   SwiftTutorials/ATPESC_2013-08-06/cloud/tc.data
Log:
test with strict key host checking and removed fixed ports from coaster conf

Modified: SwiftTutorials/ATPESC_2013-08-06/cloud/coaster-service.conf
===================================================================
--- SwiftTutorials/ATPESC_2013-08-06/cloud/coaster-service.conf	2013-08-02 22:59:58 UTC (rev 6725)
+++ SwiftTutorials/ATPESC_2013-08-06/cloud/coaster-service.conf	2013-08-03 02:06:17 UTC (rev 6726)
@@ -24,8 +24,8 @@
  export WORKER_LOG_DIR=/root
 
  # Manually define ports. If not specified, ports will be automatically generated
- export LOCAL_PORT=50100
- export SERVICE_PORT=50200
+ #export LOCAL_PORT=50100
+ #export SERVICE_PORT=50200
 
  # Set shared filesystem to no since work will be done in local /sandbox directory
  export SHARED_FILESYSTEM=no

Modified: SwiftTutorials/ATPESC_2013-08-06/cloud/setup
===================================================================
--- SwiftTutorials/ATPESC_2013-08-06/cloud/setup	2013-08-02 22:59:58 UTC (rev 6725)
+++ SwiftTutorials/ATPESC_2013-08-06/cloud/setup	2013-08-03 02:06:17 UTC (rev 6726)
@@ -1,22 +1,22 @@
 #!/bin/bash
 
-count=$(cat ~/.ssh/config | grep 54.212.50.12  | wc -l)
+while read line
+do
+  count=$(cat ~/.ssh/config | grep $line  | wc -l)
 
-if [ $count -eq 0 ]  
-then
-	echo -ne 'Host 54.212.50.12 \n IdentityFile ~/.ssh/tutorial.pem \n User root \n' >> ~/.ssh/config
-fi
+  if [ $count -eq 0 ]  
+  then
+	echo -ne "Host $line \n IdentityFile ~/.ssh/tutorial.pem \n User root \n" >> ~/.ssh/config
+  fi
+done < hosts.txt
 
+count=$(cat ~/.ssh/config | grep StrictHostKeyChecking  | wc -l)
 
-count=$(cat ~/.ssh/config | grep 54.212.89.44  | wc -l)
-
-if [ $count -eq 0 ]  
+if [ $count -eq 0 ]
 then
-	echo -ne 'Host 54.212.89.44 \n IdentityFile ~/.ssh/tutorial.pem \n User root \n' >> ~/.ssh/config
+   echo -ne "Host * \n StrictHostKeyChecking=no" >> ~/.ssh/config
 fi
 
-echo 'StrictHostKeyChecking=no' >> ~/.ssh/config
-
 export WORKER_HOSTS=`cat hosts.txt`
 chmod 0600 ~/.ssh/tutorial.pem
 eval $(ssh-agent)

Modified: SwiftTutorials/ATPESC_2013-08-06/cloud/sites.xml
===================================================================
--- SwiftTutorials/ATPESC_2013-08-06/cloud/sites.xml	2013-08-02 22:59:58 UTC (rev 6725)
+++ SwiftTutorials/ATPESC_2013-08-06/cloud/sites.xml	2013-08-03 02:06:17 UTC (rev 6726)
@@ -1,7 +1,7 @@
 <config>
   <pool handle="persistent-coasters">
     <execution provider="coaster-persistent"
-               url="http://localhost:50200"
+               url="http://localhost:35249"
                jobmanager="local:local"/>
     <profile namespace="globus" key="workerManager">passive</profile>
     <profile namespace="globus" key="jobsPerNode">4</profile>

Modified: SwiftTutorials/ATPESC_2013-08-06/cloud/tc.data
===================================================================
--- SwiftTutorials/ATPESC_2013-08-06/cloud/tc.data	2013-08-02 22:59:58 UTC (rev 6725)
+++ SwiftTutorials/ATPESC_2013-08-06/cloud/tc.data	2013-08-03 02:06:17 UTC (rev 6726)
@@ -37,3 +37,18 @@
 persistent-coasters cat /bin/cat null null null
 persistent-coasters bash /bin/bash null null null
 persistent-coasters echo /bin/echo null null null
+persistent-coasters cat /bin/cat null null null
+persistent-coasters bash /bin/bash null null null
+persistent-coasters echo /bin/echo null null null
+persistent-coasters cat /bin/cat null null null
+persistent-coasters bash /bin/bash null null null
+persistent-coasters echo /bin/echo null null null
+persistent-coasters cat /bin/cat null null null
+persistent-coasters bash /bin/bash null null null
+persistent-coasters echo /bin/echo null null null
+persistent-coasters cat /bin/cat null null null
+persistent-coasters bash /bin/bash null null null
+persistent-coasters echo /bin/echo null null null
+persistent-coasters cat /bin/cat null null null
+persistent-coasters bash /bin/bash null null null
+persistent-coasters echo /bin/echo null null null




More information about the Swift-commit mailing list