Edge for Private Cloud v4.18.05
The Apache Cassandra ring nodes require periodic maintenance to ensure consistency across all nodes. To perform this maintenance, use the Cassandra "nodetool -h localhost repair" command.
In a single-region or single-data-center Apigee installation, use the command
nodetool -h localhost repair on one Cassandra node to ensure consistency across all
nodes in the ring. In a multi-region or multi-data-center Apigee installation, use
nodetool -h localhost repair -pr on every node in the ring (across all regions or
For more information on "forgotten deletes" and Cassandra consistency, and for instructions on
how to use
Log File Maintenance
Cassandra logs are stored in the
/opt/apigee/var/log/cassandra directory on
each node. By default, a maximum of 50 log files, each with a maximum size of 20 MB, can be
created; once this limit is reached older logs are deleted when newer logs are created.
If you should find that Cassandra log files are taking up excessive space, you can modify the amount of space allocated for log files by editing the log4j settings.
/opt/apigee/customer/application/cassandra.propertiesto set the following properties. If that file does not exist, create it:
conf_log4j-server_log4j.appender.r.maxfilesize=20MB # max file size conf_log4j-server_log4j.appender.r.maxbackupindex=50 # max open files
- Restart Cassandra by using the following command:
/opt/apigee/apigee-service/bin/apigee-service apigee-cassandra restart