Commit 7a44e50b by Max Rothman

Docs and fixes

parent e18f2ca0
The MIT License
Copyright (c) 2014 Pieterjan Vandaele
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Heavily modified from...
## ANXS - cassandra
Ansible role which installs and configures Apache Cassandra.
#### License
This directory is licensed under the MIT License. See the LICENSE file for details.
---
cassandra_version: "2.0.14"
cassandra_source_url: "http://archive.apache.org/dist/cassandra/{{cassandra_version}}/apache-cassandra-{{cassandra_version}}-bin.tar.gz"
# AFAIK there's no way to detect instance storage after the instaces has started.
# Therefore, you MUST know the device names ahead of time.
# If this is empty, no disks will be mounted and data will be put on the root volume.
cassandra_ephemeral_disks: []
#cassandra_ephemeral_disks: ["/dev/xvdb", "/dev/xvdc"]
cassandra_data_dir_prefix: /var/lib/cassandra/data
#should be parallel to cassandra_ephemeral_disks if there are any
cassandra_data_dirs: ["data.1"]
......@@ -15,12 +16,10 @@ cassandra_data_dirs: ["data.1"]
cassandra_user: "cassandra"
cassandra_group: "cassandra"
cassandra_home: "{{ COMMON_APP_DIR }}/{{cassandra_user}}"
# cassandra.yaml basic configuration parameters
cassandra_cluster_name: "Test Cluster"
#Set this!
#Set this unless you want your node to only listen locally.
cassandra_seeds: ["127.0.0.1"]
#should eventually use EC2Snitch
......
# file: cassandra/meta/main.yml
---
dependencies:
- common
- oraclejdk
\ No newline at end of file
---
#
# edX Configuration
#
# github: https://github.com/edx/configuration
# wiki: https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
#
#
# Tasks for role cassandra
#
# Overview:
#
# This role sets up a cassandra node.
- name: Unmount disks mounted to the wrong place
mount:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment