[Swift-commit] r6547 - trunk/docs/siteguide
ketan at ci.uchicago.edu
ketan at ci.uchicago.edu
Thu Jun 13 13:51:24 CDT 2013
Author: ketan
Date: 2013-06-13 13:51:24 -0500 (Thu, 13 Jun 2013)
New Revision: 6547
Modified:
trunk/docs/siteguide/ec2
trunk/docs/siteguide/siteguide.txt
Log:
refinements
Modified: trunk/docs/siteguide/ec2
===================================================================
--- trunk/docs/siteguide/ec2 2013-06-13 17:07:15 UTC (rev 6546)
+++ trunk/docs/siteguide/ec2 2013-06-13 18:51:24 UTC (rev 6547)
@@ -7,39 +7,40 @@
Getting Access
~~~~~~~~~~~~~~
-==Users with EC2 Allocation
+ ==Users with EC2 Allocation
If you already have an EC2 allocation, you can use either the web console or command-line interface to manage resources.
Before using EC2 for Swift you must create a security group in order to allow Swift communicate with EC2 instances via open ports. In order to create a security group, follow instructions link:http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html#creating-security-group[here]. Preferably, open ports between 50000 and 51000.
Paste your credentials from the EC2 web console into AWS_ACCESS_KEY and AWS_SECRET_KEY and export them in your .bashrc as follows:
+
----
export AWS_ACCESS_KEY=<your access key>
export AWS_SECRET_KEY=<your secret key>
----
-A public AMI for Swift user is available with id: ami-332e585a.
+Command-line tools are pre-installed on +swift.rcc.uchicago.edu+. In order to use them add the following lines to your .bashrc:
+----
+export EC2_HOME=/home/maheshwari/.ec2
+export PATH=$PATH:$EC2_HOME/bin
+----
+
+A public AMI on EC2 is available to create instance. The id of this AMI is: ami-332e585a.
+
Create instances from the above AMI as follows:
----
ec2run -k <keypair_name> -g <sec_group_name> -n <count> ami-332e585a
----
-==Users without EC2 Allocation
+ ==Users without EC2 Allocation
Please request access to prepared instances and PKI credentials by mailing: email at mcs.anl.gov.
-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.
-
-
Configuring coaster-service.conf
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To run on EC2, you will need a file called coaster-service.conf.
@@ -91,24 +92,32 @@
Starting the Coaster Service Script
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Now that everything is configured, change to the location of the coaster-service.conf file
-and run this command to start the coaster service:
+Now that everything is configured, run this command to start the coaster service:
-----
-$ start-coaster-service
+source setup
-----
-This command will start the VMs, start the required processes on the worker nodes,
-and generate Swift configuration files for you to use. The configuration files
-will be generated in your current directory. These files are sites.xml, tc.data,
-and cf.
+This command will add the instances to coaster configuration, start the
+required processes on the worker nodes, and generate Swift configuration files
+for you to use. The configuration files will be generated in your current
+directory. These files are sites.xml, tc.data, and cf.
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:
-----
-$ swift -sites.file sites.xml -tc.file tc.data -config cf <yourscript.swift>
+$ swift -sites.file sites.xml -tc.file tc.data -config cf catsn.swift
-----
If you like to create a custom tc and/or cf file for repeated use, rename it to something other
Modified: trunk/docs/siteguide/siteguide.txt
===================================================================
--- trunk/docs/siteguide/siteguide.txt 2013-06-13 17:07:15 UTC (rev 6546)
+++ trunk/docs/siteguide/siteguide.txt 2013-06-13 18:51:24 UTC (rev 6547)
@@ -28,5 +28,7 @@
include::stampede[]
+include::ec2[]
+
link:http://www.ci.uchicago.edu/swift/docs/index.php[home]
More information about the Swift-commit
mailing list