This repository has been archived by the owner on May 12, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
3 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|