Git Product home page Git Product logo

st2casssandra's Introduction

Cassandra Integration Pack

This StackStorm Cassandra pack provides integrations for Apache Cassandra.

Actions

nodetool - StackStorm nodetool wrapper that simply executes nodetool command on a remote host (Connects to remote host via SSH and runs the nodetool command).

is_seed_node - Check if a supplied node_id is part of seeds in Cassandra config file. Prints True/False as output. Requires pyyaml to be installed on the remote box running Cassandra. This is a remote script action i.e. StackStorm uses SSH to connect to remote box and executes the script.

list_seed_nodes - Prints all the seed nodes from all seed providers in Cassandra config file. Prints a comma separated list of nodes as output (delimiter can be changed by supplying a param to action). This is a remote script action i.e. StackStorm uses SSH to connect to remote box and executes the script. Requires pyyaml to be installed on the remote box running Cassandra.

clear_cass_data - Removes Cassandra data dir on remote box. Dangerous!!!

stop_dse - Stops DSE cassandra service on an ubuntu box (uses upstart).

start_dse - Stops DSE cassandra service on an ubuntu box (uses upstart).

get_dse_status - Gets DSE cassandra service status from an ubuntu box (uses upstart).

replace_host - Workflow that replaces a given dead_node with a replacement_node.

append_replace_address_env_file - Appends JVM_OPT -Dcassandra.replace_address=${dead_node_ip} in cassandra startup env file.

remove_replace_address_env_file - Removes -Dcassandra.replace_address from cassandra startup env file.

wait_for_port_open - Wait until specified port opens, sleeps for specified interval and constantly tries to connect to server + port combo.

remove_gossip_peer_info - Removes cassandra gossip peer info from disk.

st2casssandra's People

Watchers

James Cloos avatar Bibekananda Mantry 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.