[Swift-commit] r7655 - SwiftApps/cloud

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Sat Mar 8 09:24:31 CST 2014


Author: ketan
Date: 2014-03-08 09:24:30 -0600 (Sat, 08 Mar 2014)
New Revision: 7655

Modified:
   SwiftApps/cloud/addnodes
   SwiftApps/cloud/coaster-service.conf
Log:
set group

Modified: SwiftApps/cloud/addnodes
===================================================================
--- SwiftApps/cloud/addnodes	2014-03-08 03:36:04 UTC (rev 7654)
+++ SwiftApps/cloud/addnodes	2014-03-08 15:24:30 UTC (rev 7655)
@@ -55,7 +55,7 @@
 addbynum (){
     echo "$1"
     #ec2-run-instance -k <key-name> -n 1 -g <groupname> --instance-type <type> <ami-id>
-    runinst=$(ec2-run-instance -k "$EC2KEYPAIR" -g all -n "$1" --instance-type t1.micro "$EC2AMI")
+    runinst=$(ec2-run-instance -k "$EC2KEYPAIR" -g "$EC2SECGRP" -n "$1" --instance-type t1.micro "$EC2AMI")
     echo "Waiting for instances to start"
     sleep 90
     for i in $(echo $runinst | grep -o '\bi-........\b'); do

Modified: SwiftApps/cloud/coaster-service.conf
===================================================================
--- SwiftApps/cloud/coaster-service.conf	2014-03-08 03:36:04 UTC (rev 7654)
+++ SwiftApps/cloud/coaster-service.conf	2014-03-08 15:24:30 UTC (rev 7655)
@@ -2,6 +2,7 @@
 #Amazon EC2 specific env
 export EC2KEYPAIR="ketan"
 export EC2AMI="ami-cf0953a6"
+export EC2SECGRP="Swift"
 
 #Location of SWIFT. If empty, PATH is referenced
 export SWIFT=
@@ -15,7 +16,7 @@
 # Worker logging setting passed to worker.pl for sites.xml
 export WORKER_LOGGING_LEVEL=NONE
 
-export SSH_TUNNELING=yes
+export SSH_TUNNELING=no
 
 # User name to use for all systems
 export WORKER_USERNAME=root
@@ -37,7 +38,8 @@
 # start-coaster-service tries to automatically detect IP address. 
 # Specify here if auto detection is not working correctly
 #trounce
-export IPADDR="140.221.8.80"
+#export IPADDR="140.221.8.80"
+export IPADDR=
 
 # Below are various settings to give information about how to create sites.xml
 export WORK=/tmp/ketan
@@ -50,7 +52,7 @@
 #app cat=/bin/cat
 #app bash=/bin/bash
 #app echo=/bin/echo
-export WORKERURL="http://localhost:50001"
+export WORKERURL="http://140.221.9.216:50001"
 export PID_FILE="/homes/ketan/.swift/.coaster-service-pids"
 export LOG="start-coaster-service.log"
 export LOCAL_PORT="50001"




More information about the Swift-commit mailing list