Jump to: navigation, search

Deploying Cassandra

Genesys recommends using a Cassandra cluster in your deployment architecture, because it gives you dedicated management of memory and other hardware resources.

  • Genesys recommends that you use Linux when deploying a Cassandra cluster.
  • You must ensure that time is correctly synchronized on each host where Cassandra is running by using NTP, for example. Failure to do so may result in incoherent behaviour such as incorrectly created tables/index, inconsistent or disappearing data. Be sure to follow best practices for Cassandra production systems. Genesys recommends using the Instaclustr documentation for support and hosting of Cassandra.
UCS uses QUORUM consistency levels for all read and write operations: you need to plan your replication factor and number of Cassandra nodes accordingly. Refer to the Sizing and Hardware Guide for more information.

Installing Cassandra

  1. Make sure you have Oracle Java installed and configure your JAVA_HOME environment to point to JDK 1.8.
    • To check JAVA_HOME, type echo $JAVA_HOME
  2. Download Cassandra 3.11x from here, for example.
  3. Unpack the tar.gz file.
  4. Install the Elasticsearch plugin for Cassandra by copying the wcc-es-index-9.0.xxx.xx-jar-with-dependencies.jar file from the lib4cassandra folder from the UCS installation folder to the lib folder of Cassandra. Remove the existing version of the plugin when upgrading.
  5. Configure the Cassandra yaml file as normal—see examples here.
  6. Configure Cassandra time synchronization, batch size and timeout parameters described here.
This page was last modified on May 28, 2018, at 22:07.


Comment on this article:

blog comments powered by Disqus