The cassandra
cartridge provides Cassandra 3.4 on OpenShift.
The downloadable URL is : https://raw.githubusercontent.com/rajatchopra/openshift-origin-cartridge-cassandra/master/metadata/manifest.yml
Simply use with 'rhc' client tools - rhc cartridge add https://raw.githubusercontent.com/rajatchopra/openshift-origin-cartridge-cassandra/master/metadata/manifest.yml --app <existing_app_name>
The cassandra
cartridge provides several environment variables to reference for ease
of use:
OPENSHIFT_CASSANDRA_DB_HOST The Cassandra IP address
OPENSHIFT_CASSANDRA_DB_PORT The Cassandra port
OPENSHIFT_CASSANDRA_DB_LOG_DIR The path to the Cassandra log directory
OPENSHIFT_CASSANDRA_NATIVE_TRANSPORT_PORT Port for connecting with java client, on NATIVE TRANSPORT
For more information about environment variables, consult the OpenShift Application Author Guide.