Jump to: navigation, search

cassandra Section



     


cassandra-schema-delay

Default Value: 300
Valid Values: Any integer
Changes Take Effect: After restart
Discontinued: 8.5.207.05

Time to wait (Long) in milliseconds before adding the next column family to keyspace.

create-embedded-server

Default Value: true
Valid Values: true, false
Changes Take Effect: After restart
Discontinued: 8.5.206.04

Set this option to false to connect to an external Cassandra instance. If set to true, creates and connects to the Cassandra server embedded with GMS and ignores the node and port options in the cassandra section.

create-schema

Default Value: true
Valid Values: true, false
Changes Take Effect: After restart
Discontinued: 8.5.207.05

If set to true, creates (if needed) keyspaces and column families for GMS. If set to false, does not create keyspaces.

create-tables

Default Value: false
Valid Values: true, false
Changes Take Effect: After restart
Introduced: 8.5.207.05

If true, creates the missing tables in an existing GMS keyspace. Note that the default keyspaces are gsg and gsg_dd.

keyspace-prefix

Default Value: No default value
Valid Values: Any string
Changes Take Effect: After restart


Specifies the prefix for GMS keyspace naming.

The default value is empty for backward compatibility. Note: If this value is left empty, the gsg and gsg_dd keyspaces will be created in Cassandra.

native-port

Default Value: 9042
Valid Values: Any positive integer
Changes Take Effect: After restart
Introduced: 8.5.203.02

The listening port of the Cassandra server, that is, the port on which CQL listens for clients. If you implement TLS, use another port such as 9142 (cassandra default).

nodes

Default Value: No default value
Valid Values: String
Changes Take Effect: After restart


Comma-separated list of Cassandra hosts or IP addresses of the local data center. For example: host1,192.168.1.2

port

Default Value: 0
Valid Values: Any positive integer
Changes Take Effect: After restart
Discontinued: 8.5.203.02

The listening port of the Cassandra server (that is, the port on which Thrift listens for clients).

Starting in 8.5.203, use the new native-port option instead of this one.

reconnect-policy

Default Value: EXIT
Valid Values: NONE, EXIT
Changes Take Effect: After restart
Introduced: 8.5.110.07

Rule to apply if no Cassandra is available.

  • If NONE, GMS will send request attempts until the Cassandra cluster is back.
  • If EXIT, GMS will exit and let the external system handle alarms or notifications.

secured

Default Value: false
Valid Values: true, false
Changes Take Effect: After restart
Introduced: 8.5.207.05

If true, Cassandra must use TLS to connect to the cluster.

strategy-class

Default Value: SimpleStrategy
Valid Values: SimpleStrategy, NetworkTopologyStrategy, or cassandra-topology
Changes Take Effect: After restart
Discontinued: 8.5.207.05

Specifies the strategy class that Cassandra uses for the cluster. Valid values are:

  • SimpleStrategy, which defines a single cluster without multiple Data Centers.
  • NetworkTopologyStrategy, which is a network strategy in conjunction with the cassandra-topology properties file (located in the install configuration directory for each Cassandra instance), defines the Data Centers for the Cassandra cluster. Multiple Data Centers are typically geographically dispersed.

strategy-option

Default Value: replication_factor:4
Valid Values: Any string
Changes Take Effect: After restart
Discontinued: 8.5.207.05

Specifies the replication factor value according to the strategy-class:

  • If the strategy class is SimpleStrategy, set this value to replication_factor:2, where 2 is the number of Cassandra nodes.
  • If the strategy class is NetworkTopologyStrategy, set this value to DC1:2;DC2:3, where DC is the Data Center topology.

This page was last edited on March 8, 2017, at 14:48.
Comments or questions about this documentation? Contact us for support!