salt.modules.cassandra

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin execution modules »

# salt.modules.cassandra

Cassandra NoSQL Database Module

REQUIREMENT 1:

The location of the 'nodetool' command, host, and thrift port needs to be specified via pillar.

> cassandra.nodetool: /usr/local/bin/nodetool cassandra.host: localhost cassandra.thrift_port: 9160

REQUIREMENT 2:

The python module, 'pycassa', also needs to be installed on the minion.

`salt.modules.cassandra.` `column_families`(keyspace=None)

  Return existing column families for all keyspaces or just the provided one.

  CLI Example:

      salt '*' cassandra.column_families
      salt '*' cassandra.column_families <keyspace>

`salt.modules.cassandra.` `column_family_definition`(keyspace=None, column_family=None)

  Return a dictionary of column family definitions for the given keyspace/column_family

  CLI Example:

      salt '*' cassandra.column_family_definition <keyspace> <column_family>

`salt.modules.cassandra.` `compactionstats`()

  Return compactionstats info

  CLI Example:

      salt '*' cassandra.compactionstats

`salt.modules.cassandra.` `info`()

  Return cassandra node info

  CLI Example:

      salt '*' cassandra.info

`salt.modules.cassandra.` `keyspaces`()

  Return existing keyspaces

  CLI Example:

      salt '*' cassandra.keyspaces

`salt.modules.cassandra.` `netstats`()

  Return netstats info

  CLI Example:

      salt '*' cassandra.netstats

`salt.modules.cassandra.` `ring`()

  Return cassandra ring info

  CLI Example:

      salt '*' cassandra.ring

`salt.modules.cassandra.` `tpstats`()

  Return tpstats info

  CLI Example:

      salt '*' cassandra.tpstats

`salt.modules.cassandra.` `version`()

  Return the cassandra version

  CLI Example:

      salt '*' cassandra.version

## Comments

comments powered by Disqus

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin execution modules »