Hi Dojo,
After returning from the holiday break, I noticed some Cassandra database errors in our lab DataMiner. After troubleshooting, I discovered that our RHEL Linux server had a changed IP address due to a DHCP renewal.
I manually assigned a fixed IP address to match the previous one (which Cassandra is configured to use), and this resolved the issue.
During my troubleshooting, I encountered a different error regarding a missing script file. I suspect that this file (functions) never existed, but the error was not encountered previously because the IP address was correct on both Cassandra and the RHEL 9 server. To resolve this, I had to install the initscripts package, which contains the missing script file used by Cassandra.
For future reference:
- Missing file: /etc/rc.d/init.d/functions
To install the package:
sudo yum install initscripts
Please advise if this aligns with your understanding of Apache Cassandra and RHEL 9 Linux based on the above findings, specifically that Cassandra and the Linux server must exist on the same IP address. Additionally, DHCP functionality must be disabled to avoid future errors?
Thanks in advance.
Hi,
It's indeed required to have a fixed IP on the database servers. In DataMiner the access to the DB is happening through that IP.
Also if you have multiple nodes in the Cassandra cluster you'll need to configure the IP addresses of the other nodes.
An alternative could be using DHCP reservations based on MAC address.