Problem: The client requested to review cluster configuration and advise any changes to the configuration parameters to avoid any potential issues proactively. Additionally, the client requested advice on how to identify Cassandra database cluster’s workload. Process: 1) Data Collection: Gathered configuration files Collected the last 5,000 lines of the system log 2) Expert Review: Conducted […]
Database 11 Sep 2024 Resolving Patroni Output Visibility Issue in Disaster Recovery DatabaseProblem: Not Showing Patroni Output in PG DR Database. The team faced an issue where the Patroni status was visible on the production (PROD) server but not on the disaster recovery (DR) server. The discrepancy hindered the ability to monitor the DR environment effectively. Process: Request Patroni Configuration and Logs: Obtain patroni.yml from both PROD […]
Database 8 Sep 2024 Ensuring Compatibility of MySQL 14.14 with RHEL 8.xProblem: The client was planning an upgrade of the MySQL database server from Red Hat Enterprise Linux (RHEL) 7.x to RHEL 8.x. The MySQL version currently running on the server was 14.14 (Distrib 5.7.34). The client needed to understand the compatibility of this MySQL version with RHEL 8.x and sought guidance on any additional steps […]
Database 6 Sep 2024 Diagnosing and Resolving Persistent PostgreSQL I/O ErrorProblem: The client reported a recurring issue with the application, which consistently threw an error: org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend. He was uncertain about the root cause of this error and sought assistance to diagnose and resolve the issue. The client’s initial request was to understand what should be checked […]
Database 4 Sep 2024 Resolving Cassandra Datacenter Communication Issues in OpenShiftProblem: The client, deploying a production Cassandra cluster on OpenShift, encountered persistent communication issues between two datacenters, each hosting three Cassandra nodes. Despite initial configuration and verification, nodes in Datacenter 1 (“DC1”) and Datacenter 2 (“DC2”) were unable to establish consistent communication. SSL handshake failures and inconsistent OpenSSL connectivity tests exacerbated the problem, indicating potential […]
Database 30 Aug 2024 Altering Cassandra Keyspace in a Multi-DC Setup: Best Practices and Key StepsProblem: The client had a 6-node multi-DC setup for Cassandra (3 nodes in PROD and 3 nodes in DR) and needed to alter a keyspace. The keyspace was initially defined as follows: CREATE KEYSPACE my_keyspace WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '3'} AND durable_writes = true; The client wanted to change the strategy to “NetworkTopologyStrategy” […]
Database 30 Aug 2024 Proper Shutdown Procedures for Cassandra to Ensure Data IntegrityProblem: A client was experiencing data inconsistencies with the Lucene index on Cassandra and suspected improper shutdown procedures as the root cause. The kill -9 command was used to shut down Cassandra, which led to concerns that data was not being written to disk properly. The client sought guidance on the best way to shut […]
Database 28 Aug 2024 Optimizing Cassandra Storage with RAID0 ArrayProblem: The client managed a 5-node Cassandra cluster across two data centers (DC1 and DR1), each containing 5 nodes. The data_file_directories were distributed across multiple mount points. On one node, the mount point /cassandra/data2 was nearly full due to a single large table in one of the application keyspaces. This resulted in significant storage imbalance, […]
Database 26 Aug 2024 Resolving SSL Connection Issues in PostgreSQLProblem: The application fails to establish an SSL connection to the database, displaying the error “could not accept SSL connection: Success” in the database logs. Despite this, manual `psql` connections using SSL work fine. Process: Step 1 – Verify Connection String: Confirm that the application’s connection string includes the necessary SSL parameters. Example: postgresql://user:password@hostname:port/dbname?sslmode=require Step […]
Database