Modifying the Commvault Cassandra Properties File

If you do not use Cassandra with DataStax, then you must modify the Commvault Cassandra properties file (/etc/Priam/cvPriam.properties).

You must make the change on all nodes that are part of the cluster.

Procedure

Cassandra Distributions

  • Use a text editor to make the following changes to the /etc/Priam/cvPriam.properties file.

    Change the lines that specify the start and stop script to the following lines:

    priam.cass.startscript=service cassandra start
    priam.cass.stopscript=service cassandra stop
  • Use a text editor to make the following changes for binary tarball installation.

    Change the lines that specify the start and stop script to the following lines:

    priam.cass.startscript=/<cassandra home dir>/bin/cassandra -R -p <pidfile>
    priam.cass.stopscript=kill `cat <pidfile>`

Scylla

  • Use a text editor to make the following changes to the /etc/Priam/cvPriam.properties file.

    priam.cass.process=scylla
    priam.cass.startscript=systemctl start scylla-server
    priam.cass.stopscript=systemctl stop scylla-server

Result

Cassandra Distributions

The file should look similar to the following example:

priam.cass.startscript=service cassandra start
priam.cass.stopscript=service cassandra stop
priam.cqlhost=xxx
priam.cqlport=xxx
priam.data.location=/var/lib/cassandra/data
priam.jmx.port=xxx
priam.ssl.storage.port=xxx
priam.storage.port=xxx
priam.thrift.port=xxx

Scylla

The file should look similar to the following example:

priam.cass.process=scylla
priam.cass.startscript=systemctl start scylla-server
priam.cass.stopscript=systemctl stop scylla-server
priam.cqlhost=xxx
priam.cqlport=xxx
priam.data.location=/var/lib/scylla/data
priam.jmx.port=xxx
priam.ssl.storage.port=xxx
priam.storage.port=xxx
priam.thrift.port=xxx

Loading...