You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2014/03/24 16:20:55 UTC

[08/18] git commit: Updating to reflect current state of awscluster.

Updating to reflect current state of awscluster.


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/9d6ed417
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/9d6ed417
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/9d6ed417

Branch: refs/heads/hystrix-integration
Commit: 9d6ed417e3773e711ae2adb0bb38fcf99b72413f
Parents: c3e0bf8
Author: Dave Johnson <dm...@apigee.com>
Authored: Fri Mar 21 11:53:53 2014 -0400
Committer: Dave Johnson <dm...@apigee.com>
Committed: Fri Mar 21 11:53:53 2014 -0400

----------------------------------------------------------------------
 stack/awscluster/README.md | 31 ++++++++++++-------------------
 1 file changed, 12 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/9d6ed417/stack/awscluster/README.md
----------------------------------------------------------------------
diff --git a/stack/awscluster/README.md b/stack/awscluster/README.md
index 1f3f7f5..b7558b6 100644
--- a/stack/awscluster/README.md
+++ b/stack/awscluster/README.md
@@ -4,12 +4,12 @@ AWS Cluster
 *UNDER CONSTRUCTION*
 
 This project provides a AWS Cloud Formation template that launches a complete Usergrid installation
-on Amazon EC2. Currently it launches a set of instances running Cassanrda, Priam and Elastic Search.
+on Amazon EC2. Currently it launches a set of instances running Cassanrda Elastic Search.
 
 Two parts:
 
 1) A Maven assembly that builds an installer tarball and uploads it to S3. 
-The tarball includes scripts to install Oracle JDK, Cassandra and Priam on EC2 instance.
+The tarball includes scripts to install Oracle JDK, Cassandra an EC2 instance.
 
 2) A CloudFormation script that creates an autoscaling cluster, security group and some
 number of EC2 instances, The template includes a CloudInit script that runs scipts from 
@@ -18,26 +18,21 @@ the installer tarball to configure and start Cassandra on each node.
 
 Getting set-up
 ---
-To setup our AWS account to use PriamCluster here's what you need to do:
+To setup our AWS account to use  AWS Cluster here's what you need to do:
 
 * __Create an AWS EC2 key pair__. You will need this PEM file to login to your Cassandra instances. 
 
-* __Create an AWS S3 bucket__ for the PriamCluster install bundle. Create an S3 bucket in your 
-account with the name `ug-cloudformation-priam`. 
+* __Create an AWS S3 bucket__ for the AWS Cluster install bundle. e.g. Create an S3 bucket in your 
+account with the name `ug-cloudformation`. 
 
 * __Upload the Oracle Java JDK__ to that same S3 bucket. Best practice is to use the Oracle Java u
 JDK with Cassandra, so you must upload the JDK to the S3 bucket that we created above. The JDK must 
 be named `jdk-7u45-linux-x64.gz`.
 
-* __Create AWS SimpleDB domain for Priam__ properties and instance registration. It's best if you 
-use a SimpleDB client (e.g. SDBNavigator for Chrome) to create these domains. You must create two
-domains named `PriamProperties` and `InstanceIdentity`. Just create the domains and Priam will create 
-the attributes. 
-
 * __Create an aws.properties file__ with your AWS credentials in the same directory as this 
 README file. The file is git-ignored so you don't have to worry about accidentally committing it.
 
-* __Deploy this the PriamCluster assembly__ by running the Maven command `mvn depoy` in the same
+* __Deploy this the  AWS Cluster assembly__ by running the Maven command `mvn depoy` in the same
 directory as this README file. 
 
 
@@ -47,8 +42,8 @@ Login to AWS Console and create a new CloudFormation stack. On the first screen,
 and simple name for your stack and choose the option to upload a template and upload 
 the `cassandra-cf.json` file in this very directory. 
 
-On the next screen, enter the number of servers you wish to create, the replication factor and 
-the instance type you wish to use. Check the "I acknowlege that this will create IAM resources" 
+On the next screen, enter the number of DB and REST servers you wish to create, the replication factor and 
+the instance type you wish to use. Check the "I acknowledge that this will create IAM resources" 
 and then click Next, Next, Next to take defaults and start the stack.
 
 Watch the EC2 console and see your instances come up. They will be tagged with the stack name
@@ -71,14 +66,12 @@ Here's what happens when the stack is started.
 
 CloudFormation reads the `cassanrda-cf.json` template and uses starts the EC2 instances that it 
 specifies. When each instance comes up CloudFormation runs the CloudInit script specified in 
-`cassandra-cf.json` and that script downloads the PriamCluster, sets up some environment scripts
-and calls the `init_instance/init_cass.sh` script to complete the setup.
+`ugcluster-cf.json` and that script downloads the AWS Cluster, sets up some environment scripts
+and calls the `init_instance/init_db_server.sh` script to complete the setup.
 
-The `init_instance/init_cass.sh` calls `install_oraclejdk.sh` to download the JDK from S3 and 
+The `init_instance/init_db_server.sh` calls `install_oraclejdk.sh` to download the JDK from S3 and 
 install it. The script then installs Tomcat and Cassandra. Next it uses Groovy scripts to configure 
-Priam and Cassandra and wait for other Cassandra nodes to come alive.
+Cassandra and wait for other Cassandra nodes to come alive.
 
-When Tomcat starts up, Priam comes to life. Priam reads it's SimpleDB tables, writes a new 
-cassandra.yaml file and with the right seends and initial token starts Cassandra.