You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whirr.apache.org by to...@apache.org on 2011/01/03 06:07:27 UTC

svn commit: r1054525 - in /incubator/whirr/trunk: CHANGES.txt recipes/ recipes/cassandra-ec2.properties recipes/hadoop-ec2.properties recipes/hadoop-rackspace.properties recipes/zookeeper-ec2.properties

Author: tomwhite
Date: Mon Jan  3 05:07:26 2011
New Revision: 1054525

URL: http://svn.apache.org/viewvc?rev=1054525&view=rev
Log:
WHIRR-145. Add Whirr recipes for common configurations.

Added:
    incubator/whirr/trunk/recipes/
    incubator/whirr/trunk/recipes/cassandra-ec2.properties   (with props)
    incubator/whirr/trunk/recipes/hadoop-ec2.properties   (with props)
    incubator/whirr/trunk/recipes/hadoop-rackspace.properties   (with props)
    incubator/whirr/trunk/recipes/zookeeper-ec2.properties   (with props)
Modified:
    incubator/whirr/trunk/CHANGES.txt

Modified: incubator/whirr/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/whirr/trunk/CHANGES.txt?rev=1054525&r1=1054524&r2=1054525&view=diff
==============================================================================
--- incubator/whirr/trunk/CHANGES.txt (original)
+++ incubator/whirr/trunk/CHANGES.txt Mon Jan  3 05:07:26 2011
@@ -38,6 +38,8 @@ Trunk (unreleased changes)
     WHIRR-174. Fix ZooKeeper to allow stand-alone mode setups.
     (Lars George via tomwhite)
 
+    WHIRR-145. Add Whirr recipes for common configurations. (tomwhite)
+
   BUG FIXES
 
     WHIRR-128. Fix DNS resolution for clients running within EC2.

Added: incubator/whirr/trunk/recipes/cassandra-ec2.properties
URL: http://svn.apache.org/viewvc/incubator/whirr/trunk/recipes/cassandra-ec2.properties?rev=1054525&view=auto
==============================================================================
--- incubator/whirr/trunk/recipes/cassandra-ec2.properties (added)
+++ incubator/whirr/trunk/recipes/cassandra-ec2.properties Mon Jan  3 05:07:26 2011
@@ -0,0 +1,38 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+#
+# Cassandra Cluster on AWS EC2
+# 
+
+# Read the Configuration Guide for more info:
+# http://incubator.apache.org/whirr/configuration-guide.html
+
+# Change the cluster name here
+whirr.cluster-name=cassandra
+
+# Change the number of machines in the cluster here
+whirr.instance-templates=3 cassandra
+
+# For EC2 set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.
+whirr.provider=ec2
+whirr.identity=${env:AWS_ACCESS_KEY_ID}
+whirr.credential=${env:AWS_SECRET_ACCESS_KEY}
+
+# By default use the user system SSH keys. Override them here.
+# whirr.private-key-file=${sys:user.home}/.ssh/id_rsa
+# whirr.public-key-file=${whirr.private-key-file}.pub

Propchange: incubator/whirr/trunk/recipes/cassandra-ec2.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/whirr/trunk/recipes/hadoop-ec2.properties
URL: http://svn.apache.org/viewvc/incubator/whirr/trunk/recipes/hadoop-ec2.properties?rev=1054525&view=auto
==============================================================================
--- incubator/whirr/trunk/recipes/hadoop-ec2.properties (added)
+++ incubator/whirr/trunk/recipes/hadoop-ec2.properties Mon Jan  3 05:07:26 2011
@@ -0,0 +1,49 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+#
+# Hadoop Cluster on AWS EC2
+# 
+
+# Read the Configuration Guide for more info:
+# http://incubator.apache.org/whirr/configuration-guide.html
+
+# Change the cluster name here
+whirr.cluster-name=hadoop
+
+# Change the number of machines in the cluster here
+whirr.instance-templates=1 nn+jt,5 dn+tt
+
+# Uncomment out these lines to run CDH
+#whirr.hadoop-install-runurl=cloudera/cdh/install
+#whirr.hadoop-configure-runurl=cloudera/cdh/post-configure
+
+# For EC2 set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.
+whirr.provider=ec2
+whirr.identity=${env:AWS_ACCESS_KEY_ID}
+whirr.credential=${env:AWS_SECRET_ACCESS_KEY}
+
+# The size of the instance to use. See http://aws.amazon.com/ec2/instance-types/
+whirr.hardware-id=c1.xlarge
+# Ubuntu 10.04 LTS Lucid. See http://alestic.com/
+whirr.image-id=us-east-1/ami-da0cf8b3
+# If you choose a different location, make sure whirr.image-id is updated too
+whirr.location-id=us-east-1
+
+# By default use the user system SSH keys. Override them here.
+# whirr.private-key-file=${sys:user.home}/.ssh/id_rsa
+# whirr.public-key-file=${whirr.private-key-file}.pub

Propchange: incubator/whirr/trunk/recipes/hadoop-ec2.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/whirr/trunk/recipes/hadoop-rackspace.properties
URL: http://svn.apache.org/viewvc/incubator/whirr/trunk/recipes/hadoop-rackspace.properties?rev=1054525&view=auto
==============================================================================
--- incubator/whirr/trunk/recipes/hadoop-rackspace.properties (added)
+++ incubator/whirr/trunk/recipes/hadoop-rackspace.properties Mon Jan  3 05:07:26 2011
@@ -0,0 +1,52 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+#
+# Hadoop Cluster on Rackspace Cloudservers
+# 
+
+# Read the Configuration Guide for more info:
+# http://incubator.apache.org/whirr/configuration-guide.html
+
+# Change the cluster name here
+whirr.cluster-name=hadoop
+
+# Change the number of machines in the cluster here
+whirr.instance-templates=1 nn+jt,5 dn+tt
+
+# Uncomment out these lines to run CDH
+#whirr.hadoop-install-runurl=cloudera/cdh/install
+#whirr.hadoop-configure-runurl=cloudera/cdh/post-configure
+
+# For Rackspace set RACKSPACE_USERNAME and RACKSPACE_API_KEY environment variables.
+whirr.provider=cloudservers
+whirr.identity=${env:RACKSPACE_USERNAME}
+whirr.credential=${env:RACKSPACE_API_KEY}
+
+# The size of the instance to use. See http://www.rackspacecloud.com/cloud_hosting_products/servers/faq/
+# id 3: 1GB, 1 virtual core
+# id 4: 2GB, 2 virtual cores
+# id 5: 4GB, 2 virtual cores
+# id 6: 8GB, 4 virtual cores
+# id 7: 15.5GB, 4 virtual cores
+whirr.hardware-id=6
+# Ubuntu 10.04 LTS Lucid
+whirr.image-id=49
+
+# By default use the user system SSH keys. Override them here.
+# whirr.private-key-file=${sys:user.home}/.ssh/id_rsa
+# whirr.public-key-file=${whirr.private-key-file}.pub

Propchange: incubator/whirr/trunk/recipes/hadoop-rackspace.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/whirr/trunk/recipes/zookeeper-ec2.properties
URL: http://svn.apache.org/viewvc/incubator/whirr/trunk/recipes/zookeeper-ec2.properties?rev=1054525&view=auto
==============================================================================
--- incubator/whirr/trunk/recipes/zookeeper-ec2.properties (added)
+++ incubator/whirr/trunk/recipes/zookeeper-ec2.properties Mon Jan  3 05:07:26 2011
@@ -0,0 +1,38 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+#
+# ZooKeeper Cluster on AWS EC2
+# 
+
+# Read the Configuration Guide for more info:
+# http://incubator.apache.org/whirr/configuration-guide.html
+
+# Change the cluster name here
+whirr.cluster-name=zookeeper
+
+# Change the number of machines in the cluster here
+whirr.instance-templates=3 zk
+
+# For EC2 set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.
+whirr.provider=ec2
+whirr.identity=${env:AWS_ACCESS_KEY_ID}
+whirr.credential=${env:AWS_SECRET_ACCESS_KEY}
+
+# By default use the user system SSH keys. Override them here.
+# whirr.private-key-file=${sys:user.home}/.ssh/id_rsa
+# whirr.public-key-file=${whirr.private-key-file}.pub

Propchange: incubator/whirr/trunk/recipes/zookeeper-ec2.properties
------------------------------------------------------------------------------
    svn:eol-style = native