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/04/04 17:21:00 UTC

[09/15] git commit: Added opscenter

Added opscenter

Changed regions so that we're not using east 1a, it doesn't have enough capacity


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

Branch: refs/pull/77/merge
Commit: ddc2e2320870463a741b1f6dd55f8d73ec678943
Parents: d340680
Author: Todd Nine <tn...@apigee.com>
Authored: Tue Apr 1 14:06:48 2014 -0700
Committer: Todd Nine <tn...@apigee.com>
Committed: Tue Apr 1 14:06:48 2014 -0700

----------------------------------------------------------------------
 .../src/main/dist/init_instance/install_cassandra.sh     | 11 +++++++++++
 stack/awscluster/ugcluster-cf.json                       |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/ddc2e232/stack/awscluster/src/main/dist/init_instance/install_cassandra.sh
----------------------------------------------------------------------
diff --git a/stack/awscluster/src/main/dist/init_instance/install_cassandra.sh b/stack/awscluster/src/main/dist/init_instance/install_cassandra.sh
index 8e29161..f66f0b6 100644
--- a/stack/awscluster/src/main/dist/init_instance/install_cassandra.sh
+++ b/stack/awscluster/src/main/dist/init_instance/install_cassandra.sh
@@ -43,6 +43,17 @@ groovy configure_cassandra.groovy > /etc/cassandra/cassandra.yaml
 
 /etc/init.d/cassandra start
 
+#Install opscenter
+echo "deb http://debian.datastax.com/community stable main" | sudo tee -a /etc/apt/sources.list.d/datastax.community.list
+
+curl -L http://debian.datastax.com/debian/repo_key | apt-key add -
+
+apt-get update
+apt-get  --force-yes -y install opscenter
+
+sudo service opscenterd start
+
+
 ## Configure Priam
 #groovy configure_priam.groovy
 #

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/ddc2e232/stack/awscluster/ugcluster-cf.json
----------------------------------------------------------------------
diff --git a/stack/awscluster/ugcluster-cf.json b/stack/awscluster/ugcluster-cf.json
index ce8a7a3..613ef02 100644
--- a/stack/awscluster/ugcluster-cf.json
+++ b/stack/awscluster/ugcluster-cf.json
@@ -95,7 +95,7 @@
         },
         "TwoAZs": {
             "ap-southeast-2": {"AZ1": "ap-southeast-2a", "AZ2": "ap-southeast-2b"},
-            "us-east-1": {"AZ1": "us-east-1a", "AZ2": "us-east-1b"},
+            "us-east-1": {"AZ1": "us-east-1b", "AZ2": "us-east-1c"},
             "us-west-2": {"AZ1": "us-west-2a", "AZ2": "us-west-2b"}
         }
     },