Coder Social home page Coder Social logo

brooklyn-cassandra's Introduction

HOW TO USE:

Add cassandra-catalog.bom to your AMP catalog. A new item named "Cassandra cluster" will be available in the Create Application wizard. Select it then click "Next". You can specify a location and the configuration for it in the next page.

Available configuration parameters are:

  • cassandra.archive.url (binary distribution URL)
  • cassandra.cluster.nodes (# of nodes in the cluster)

You can also use the cassandra-cluster-template entity directly. For example, use this blueprint to deploy a cluster to Blue Box on CentOS:

name: Cassandra Cluster on Blue Box (LON)

location:
  ibm-bluebox-lon-vpn:
    osFamily: centos
    minRam: 1gb
    installDevUrandom: true
    loginUser: centos

services:
  - type: cassandra-cluster-template
    brooklyn.config:
      cassandra.archive.url: 'http://archive.apache.org/dist/cassandra/3.5/apache-cassandra-3.5-bin.tar.gz'
      cassandra.cluster.nodes: 2
      cassandra.cluster.name: 'my cluster'

It will start one node first and use its IP address as a seed for the other nodes.

Tested with Centos 7.2, Ubuntu 14.04, Ubuntu 15.10 on Blue Box and SoftLayer

TESTING:

Use the provided cassandra-cluster-test.yaml blueprint to perform a live test deployment.

The test case currently checks that

  • the cluster nodes are all up within a specified timeout (10 minutes)
  • the cluster_name is correctly configured on each node

KNOWN LIMITATIONS:

Only configures listen_address, seeds and cluster_name. Uses the defaults for everything else.

brooklyn-cassandra's People

Contributors

andreaturli avatar googlielmo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.