Adding a node for Cassandra isn't as simple as it sounds. There are many factors that should be evaluated before we proceed in this scenario. At Telenet, we encountered some interesting issues. We added 15 nodes for CASSANDRA_CLUST1 and 14 nodes for CASSANDRA_CLUST2 respectively Let's get started and try to understand these issues one by one. Issue - Cassandra_clust1 1st node could not be added, system.log error as follows. java.nio.file.FileSystemException: <PATH>/bb-3116-bti-Data.db:Too many open files. Root Cause- Hard and soft limits for Cassandra_clust1 nodes were not set as per the Datastax recommendations. Solution- We modified number of open files for CASSANDRA_CLUST1 new nodes first. It was first tested on one node and then re-running ansible job to add new nodes was done successfully for CASSANDRA_CLUST1 nodes. Values from the file /etc/security/limits.conf were - <cassandra-user> hard nofile 100000 <cassandra-user> soft nofile 100000 were ...
Blog about Oracle, E-Business Suite, Cassandra, Oracle Cloud, Linux Administration ideal for system administrators, database administrators