[Swift-commit] r7673 - SwiftApps/cloud

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Mon Mar 10 10:32:13 CDT 2014


Author: ketan
Date: 2014-03-10 10:32:13 -0500 (Mon, 10 Mar 2014)
New Revision: 7673

Modified:
   SwiftApps/cloud/README
Log:
doc improvement

Modified: SwiftApps/cloud/README
===================================================================
--- SwiftApps/cloud/README	2014-03-10 15:11:25 UTC (rev 7672)
+++ SwiftApps/cloud/README	2014-03-10 15:32:13 UTC (rev 7673)
@@ -50,26 +50,32 @@
 EC2 configuration
 ~~~~~~~~~~~~~~~~~~
 
-Make sure you have access to an EC2 image `ami-id`, have `security-group` and `keypair` set up. If you already have `keypair` for EC2 installed, you can find via the following command:
+Make sure you have access to an EC2 image `ami-id`, have `security-group` and
+`keypair` set up. If you already have `keypair` for EC2 installed, you can find
+via the following command:
 
 ----
 ec2-describe-keypairs
 ----
 
-The `security-group` must be set such that the ports defined in `GLOBUS_TCP_PORT_RANGE` are open for both incoming and outgoing traffic. Existing security groups can be queried as:
+The `security-group` must be set such that the ports defined in
+`GLOBUS_TCP_PORT_RANGE` are open for both incoming and outgoing traffic.
+Existing security groups can be queried as:
 
 ----
 ec2-describe-security-groups
 ----
 
-More information on setting up a security group can be found http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html[here].
+More information on setting up a security group can be found
+http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html[here].
 
 coaster-service.conf
 ~~~~~~~~~~~~~~~~~~~~~
 
-Configure `coaster-service.conf` according to your environment. An example `coaster-service.conf` can be
-found in the `swift-cloud` directory. Make sure to set the EC2XXX variables to
-the correct values as per your EC2 allocation. For example:
+Configure `coaster-service.conf` according to your environment. An example
+`coaster-service.conf` can be found in the `swift-cloud` directory. Make sure
+to set the EC2XXX variables to the correct values as per your EC2 allocation.
+For example:
 
 ----
 export EC2KEYPAIR=ketan
@@ -115,6 +121,15 @@
 Generating sites.xml
 ----
 
+Coaster workers can be started along with the same command if the IP addresses are added to the `WORKER_HOSTS` environment variable in the `coaster-service.conf` for example:
+
+----
+export WORKER_HOSTS="54.243.24.104 54.243.24.154"
+----
+
+In this case, workers will start on the two instances and will be ready to run
+Swift scripts.
+
 Start Swift run
 ----------------
 




More information about the Swift-commit mailing list