You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whirr.apache.org by as...@apache.org on 2011/05/11 16:50:10 UTC

svn commit: r1101904 - in /incubator/whirr/trunk: CHANGES.txt recipes/nodes-byon.yaml recipes/zookeeper-byon.properties

Author: asavu
Date: Wed May 11 14:50:10 2011
New Revision: 1101904

URL: http://svn.apache.org/viewvc?rev=1101904&view=rev
Log:
WHIRR-299. Recipe for BYON provider (asavu)

Added:
    incubator/whirr/trunk/recipes/nodes-byon.yaml
    incubator/whirr/trunk/recipes/zookeeper-byon.properties
Modified:
    incubator/whirr/trunk/CHANGES.txt

Modified: incubator/whirr/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/whirr/trunk/CHANGES.txt?rev=1101904&r1=1101903&r2=1101904&view=diff
==============================================================================
--- incubator/whirr/trunk/CHANGES.txt (original)
+++ incubator/whirr/trunk/CHANGES.txt Wed May 11 14:50:10 2011
@@ -71,6 +71,8 @@ Trunk (unreleased changes)
     WHIRR-216. Improve error message if whirr.instance-templates left out of
     config. (asavu via tomwhite)
 
+    WHIRR-299. Recipe for BYON provider (asavu)
+
   BUG FIXES
 
     WHIRR-253. ZooKeeper service should only authorize ingress to ZooKeeper 

Added: incubator/whirr/trunk/recipes/nodes-byon.yaml
URL: http://svn.apache.org/viewvc/incubator/whirr/trunk/recipes/nodes-byon.yaml?rev=1101904&view=auto
==============================================================================
--- incubator/whirr/trunk/recipes/nodes-byon.yaml (added)
+++ incubator/whirr/trunk/recipes/nodes-byon.yaml Wed May 11 14:50:10 2011
@@ -0,0 +1,48 @@
+#
+# 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.
+#
+
+#
+# List of nodes for the BYON (bring your own nodes) jclouds provider
+#
+
+# Check recipes/zookeeper-byon.properties for Whirr configuration example
+
+# You should update the configuration bellow to match your setup
+
+nodes:
+    - id: ubuntu1
+      hostname: 192.168.54.160
+      os_arch: x86
+#     os_arch: x86_64
+      os_family: ubuntu
+      os_description: ubuntu
+      os_version: 10.04
+      group: whirr
+      username: user
+      credential: xxx
+      sudo_password: xxx
+    - id: ubuntu2
+      hostname: 192.168.54.161
+      os_arch: x86
+      os_family: ubuntu
+      os_description: ubuntu
+      os_version: 10.04
+      group: whirr
+      username: user
+      credential: xxx
+      sudo_password: xxx
+

Added: incubator/whirr/trunk/recipes/zookeeper-byon.properties
URL: http://svn.apache.org/viewvc/incubator/whirr/trunk/recipes/zookeeper-byon.properties?rev=1101904&view=auto
==============================================================================
--- incubator/whirr/trunk/recipes/zookeeper-byon.properties (added)
+++ incubator/whirr/trunk/recipes/zookeeper-byon.properties Wed May 11 14:50:10 2011
@@ -0,0 +1,46 @@
+#
+# 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 BYON provider
+# 
+
+# 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=2 zookeeper
+
+# Node connection details
+whirr.service-name=byon
+whirr.provider=byon
+
+whirr.identity=notused
+whirr.credential=notused
+
+jclouds.byon.endpoint=file://recipes/nodes-byon.yaml
+
+# 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
+
+# Specify tarball url
+# whirr.zookeeper.tarball.url=http://archive.apache.org/dist/zookeeper/zookeeper-3.3.3/zookeeper-3.3.3.tar.gz
+