[Swift-commit] r6550 - trunk/docs/siteguide

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Thu Jun 13 23:07:57 CDT 2013


Author: ketan
Date: 2013-06-13 23:07:57 -0500 (Thu, 13 Jun 2013)
New Revision: 6550

Modified:
   trunk/docs/siteguide/ec2
Log:
adding ec2 command to obtain instance ips

Modified: trunk/docs/siteguide/ec2
===================================================================
--- trunk/docs/siteguide/ec2	2013-06-13 22:29:27 UTC (rev 6549)
+++ trunk/docs/siteguide/ec2	2013-06-14 04:07:57 UTC (rev 6550)
@@ -99,6 +99,21 @@
 
 Starting the Coaster Service Script
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Log in to the +swift.rcc.uchicago.edu+ and copy the swift_cloud directory to your home:
+
+----
+cp -r ~maheshwari/swift_cloud $HOME/
+----
+
+Replace the hosts.txt found in +swift_cloud+ directory by adding the address/DNS of instances.
+
+With the ec2 commandline, the list of ip addresses of running instances can be obtained and added to hosts.txt as follows:
+
+----
+ec2din | grep running | awk '{print $15}' > hosts.txt
+----
+
 Now that everything is configured, run this command to start the coaster service:
 
 -----
@@ -113,14 +128,8 @@
 Running Swift
 ~~~~~~~~~~~~~
 
-Log in to the +swift.rcc.uchicago.edu+ and copy the swift_cloud directory to your home:
 
-----
-cp -r ~maheshwari/swift_cloud $HOME/
-----
 
-Replace the hosts.txt by adding the address/DNS of instances.
-
 Now that you have all of your configuration files generated, run the following command:
 
 -----




More information about the Swift-commit mailing list