What problem does it solve?
Running a single CUBRID HA replication testcase requires a configured multi-node environment, correct CTP configuration, remote CUBRID installs, and careful log inspection; setting up and executing these steps manually is error-prone and time consuming. This Skill automates the verification steps, runs the testcase via CTP against master and slave nodes, and summarizes pass/fail with focused failure diagnostics.
Core Features & Use Cases
- Infrastructure validation: Checks for CTP installation and ensures $CTP_HOME/conf/ha_repl.conf contains master/slave SSH credentials and a cubrid_download_url.
- Targeted test execution: Identifies the specific .sql testcase in ha_repl cases, prepares a temp config, runs CTP with an extended timeout, and captures runtime logs.
- Failure analysis: Parses logs to locate mismatched --check: points, compares master vs slave results, highlights replication lag or CUBRID errors, and offers remediation suggestions.
Quick Start
Ask the skill to run a specific ha_repl testcase by providing the testcase path or name, confirm the CUBRID build URL, and ensure your HA SSH credentials are configured in the ha_repl.conf.