Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
WHIRR-299. Recipe for BYON provider (asavu)
git-svn-id: https://svn.apache.org/repos/asf/incubator/whirr/trunk@1101904 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Andrei Savu committed May 11, 2011
1 parent fb8e6e8 commit 98f3835
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Expand Up @@ -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
Expand Down
48 changes: 48 additions & 0 deletions recipes/nodes-byon.yaml
@@ -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

46 changes: 46 additions & 0 deletions recipes/zookeeper-byon.properties
@@ -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

0 comments on commit 98f3835

Please sign in to comment.