ha_repl-runone

Run a single CUBRID HA replication testcase and report master-slave result match.

1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/tw-kang/skills --skill ha-repl-runone
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ha_repl-runone
Source: https://github.com/tw-kang/skills/tree/main/ha_repl-runone
Command: npx skills add https://github.com/tw-kang/skills --skill ha-repl-runone

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about ha_repl-runone

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a single CUBRID HA replication test case?▼

Run a CUBRID HA replication test case by executing an individual ha_repl .sql file against master and slave nodes to compare results. Provide the testcase path to run CTP and capture runtime logs for pass/fail verification.

What do I need to configure before running CUBRID HA replication tests?▼

You need CTP installed, a populated $CTP_HOME/conf/ha_repl.conf with master/slave SSH host credentials, and a cubrid_download_url. A 3-node HA infrastructure with controller, master, and slave must be available for remote execution.

Why does my CUBRID HA replication test show mismatched results?▼

HA replication test results mismatch when master and slave outputs differ at specific --check: points. Logs are parsed to locate mismatches, highlight replication lag or CUBRID errors, and offer remediation suggestions for the failure.

Can I run CUBRID HA replication tests on demand without manual log inspection?▼

Yes, you can run on-demand HA replication tests without manual log inspection by automating CTP execution, capturing runtime logs, and summarizing pass/fail with focused failure diagnostics for the 3-node environment.

What is the best way to analyze CUBRID HA replication failures?▼

The best way to analyze CUBRID HA replication failures is parsing runtime logs to find mismatched --check: points, compare master vs slave results, highlight replication lag or CUBRID errors, and provide remediation suggestions.