replication-manager is an open source database cluster orchestrator that embeds best practices for configuration, deployment, HA operations, maintenance, monitoring, and troubleshooting for MySQL, MariaDB, and Percona, and more recently PostgreSQL. The design hides database clustering complexity while maintaining simplicity similar to Amazon RDS.
replication-manager is configurable using nix-style configuration, supports multi-tenancy, provides security through encryption and ACL, and offers API, command line, and web interfaces for database and proxy management.
replication-manager delivers multi-cluster sharding and routing solutions to address scalability and high availability challenges.
replication-manager was initially written to close the gap between Galera Cluster and MySQL Master HA. While Galera Cluster addresses many clustering needs, it has limitations around performance and cluster-wide locking. replication-manager leverages newer MySQL and MariaDB features including Global Transaction ID, Semi-Synchronous replication, and binary log flashback to provide high availability and node switchover with minimal performance impact.
replication-manager evolved to manage full-stack database cluster deployments for testing and production. Clusters can be provisioned, tested, and unprovisioned across different topologies and product releases. The solution supports both existing deployments and architecture-as-a-service driven by external orchestrators.
Integration support includes:
To perform switchover on leader replicas while preserving data consistency, replication-manager uses an improved workflow similar to common MySQL failover tools such as MHA:
replication-manager is commonly used as an arbitrator with a routing layer that directs write database traffic to a single leader database node.
Multiple strategies can be combined depending on feature maturity, security, or performance requirements.
replication-manager includes a built-in Software Configurator — a rules engine that generates, delivers, and tracks database and proxy configuration files.
Database fine-tuning is complex. The configurator enforces best practices out of the box while leaving full freedom for the user to override any setting. Each configuration fragment is documented through the plugin system, which provides inline documentation helpers so users can understand what each option does, why it matters, and when to change it. The goals are:
innodb, semisync, threadpool, pfs, …) and hardware resource settings (memory, disk, IOPS, cores) into ready-to-use .cnf files with correct buffer pool sizes, log paths, and engine-specific settings. Users can override any generated value through the preserved/delta/agreed layering system without fighting the toolconfig.tar.gz archive served over the REST API, consumed by init containers (OpenSVC, Kubernetes) or SSH provisioners with optional JWT authenticationThe configurator is the sole source of truth for configuration files deployed to each monitored database server. See the Software Configurator section for a full explanation of tags, config delivery, the .system directory layout, and config tracking.
replication-manager embeds a cluster scheduler that automates recurring database maintenance tasks.
Our team has maintained heavily loaded databases where maintenance alone consumed more than two days a week of multiple DBAs. The goal is to deliver maintenance-free database systems by automating the best practices around backups, defragmentation, and database growth control — so DBAs can focus on architecture and optimization rather than routine upkeep.
OPTIMIZE TABLE across all schemas to reclaim wasted space from InnoDB fragmentation, and ANALYZE TABLE to keep optimizer statistics accurate on large, write-heavy workloadsEach task is individually enabled and given its own cron expression. The scheduler is disabled by default. See the Maintenance section for a full explanation of the job system, task types, dbjobs script delivery, and dispatch modes.
replication-manager runs a continuous monitoring loop that tracks every server in every managed cluster. On each tick it connects to each database and proxy, reads state, and updates an in-memory topology model that drives the GUI, API, alerting, and failover decisions. The goals are:
See the Monitoring section for configuration, metrics endpoints, and the monitoring loop architecture.
replication-manager emits alerts the moment a condition is detected and resolves them automatically once it clears. The goals are:
See the Alerting section for channel configuration and alert lifecycle details.
Not every team wants to run its own infrastructure. Cloud18 is a ready-to-go cloud platform powered by replication-manager that lets you deploy fully managed MariaDB and MySQL clusters — so you can sleep at night knowing your databases are monitored, backed up, and maintained with the same best practices described above.
Cloud18 is built around a community of trusted partners — hosting providers, consultants, and managed-service operators — who deliver cost-effective DBaaS on infrastructure they control. The goals are:
Whether you self-host replication-manager or use Cloud18, the experience is the same dashboard, the same API, and the same configuration language — the only difference is who operates the infrastructure.