GNU General Public License v3.0

项目介绍

signal18/replication-manager 是一个托管在 GitHub 上的开源项目,主要使用 Go 编写,采用 GNU General Public License v3.0 许可证,目前获得 744 个 Star、178 次 Fork。

仓库全名
signal18/replication-manager
开源许可证
GNU General Public License v3.0
Star 数
744
Fork 数
178
未关闭 Issue
235

README 摘要

Replication Manager for MariaDB, MySQL and PostgreSQL Replication Manager is an open-source database monitoring, backup, and high-availability tool. It provides automated failover, scheduled maintenance, and full observability for MariaDB, MySQL, and Percona Server replication topologies, and, since 3.1.43, for PostgreSQL clusters. Key features MariaDB & MySQL Monitoring Real-time replication monitoring with support…

完整内容见 GitHub 原始 README 或本页 。

常见问题

replication-manager 用什么语言开发?

主要使用 Go 编写,采用 GNU General Public License v3.0 许可证,目前有 744 个 Star。

replication-manager 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 replication-manager 的源码?

可以直接克隆仓库:git clone https://github.com/signal18/replication-manager.git,默认分支为 develop;安装与运行步骤见仓库 README。

replication-manager 最近还在维护吗?

仓库最近一次更新为 1 天前,当前有 235 个未关闭 Issue;Star 数为 744,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Signal 18 repman - Replication Manager for MySQL / MariaDB / Percona Server

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

CSS
Dockerfile
Go
HTML
JavaScript
Makefile
Python
SCSS
Shell
Slim

Release

README

Replication Manager for MariaDB, MySQL and PostgreSQL

Replication Manager is an open-source database monitoring, backup, and high-availability tool. It provides automated failover, scheduled maintenance, and full observability for MariaDB, MySQL, and Percona Server replication topologies, and, since 3.1.43, for PostgreSQL clusters.

Key features

MariaDB & MySQL Monitoring

  • Real-time replication monitoring with support for GTID, multi-source, and delayed replication
  • Topology detection across async, semi-sync, multi-master, mesh, wsrep, group replication, and relay topologies
  • Performance schema digest analysis and workload tagging
  • Processlist and long-running transaction monitoring
  • NOC slideshow — full-screen auto-rotating display of all monitored clusters
  • Multi-cluster management from a single instance

MariaDB & MySQL Backup and Recovery

  • Scheduled logical and physical backups via mysqldump, mydumper, mariabackup, and xtrabackup
  • Snapshot backups and point-in-time recovery via Restic
  • S3-compatible object storage backend for backup repositories
  • Backup retention policies with automatic purge

MariaDB & MySQL Maintenance

  • Scheduled table optimization and analysis
  • Automated log archiving and table defragmentation
  • Rolling restart and reprovisioning
  • Schema monitoring and checksum verification
  • SLA tracking

MariaDB & MySQL Failover and Switchover

  • Leader election and automatic primary election on failure detection (failover)
  • Controlled replica-to-primary promotion (switchover)
  • Replication best-practice enforcement
  • Near-zero data loss targeting across most failure scenarios
  • Automatic database rejoining and reseeding

PostgreSQL

  • Clusters monitored like MariaDB and MySQL, with their own switchover, failover, and rejoin path
  • Three topologies: active-passive, WAL streaming (primary and physical standbys), and logical replication (publisher and subscribers, DDL through pglogical)
  • Switchover and failover with the routes moved on HAProxy and ProxySQL 3; rejoin of the former primary by pg_rewind
  • Logical and physical backups via pg_dumpall and pg_basebackup, restore and reseed from them, WAL archive shipped to replication-manager
  • Processlist, variables, table sizes, workload, WAL, and vacuum graphs from pg_stat_*; scheduled vacuumdb --analyze
  • See PostgreSQL Topologies for what is available compared with MariaDB

Proxy Integration

  • Automated backend management for ProxySQL, MaxScale, HAProxy, and Spider
  • ProxySQL 3 PostgreSQL backends, with read/write split

Observability & Alerting

  • Metrics history exposed via the Carbon/Graphite API
  • Alerting via email, Pushover, Slack, Teams, and Mattermost
  • Extensible log plugin system for security, compliance, and workload analysis
  • Per-module log level configuration

Operations & Security

  • Built-in database and proxy configurator with tag-based config tracking
  • Credential rotation for replication and monitoring accounts, with HashiCorp Vault integration
  • Encrypted secrets in configuration files, with support for multi-layer config inheritance
  • OAuth2 SSO compatible with GitLab, GitHub, and any OIDC provider
  • REST and gRPC APIs with role-based access control
  • Integrated WebTTY terminal sessions

Provisioning

  • Service deployment on OpenSVC and Kubernetes, including init container support

Documentation

License

replication-manager is released under the GPLv3 license. (complete license text)

It includes third-party libraries released under their own licenses. Please refer to the vendor directory for more information.

It also includes derivative work from the go-carbon library by Roman Lomonosov, released under the MIT licence and found under the graphite directory. The original library can be found here: https://github.com/lomik/go-carbon

Replication Manager for MariaDB, MySQL and PostgreSQL is developed and supported by SIGNAL18 CLOUD SAS.

评论

暂无评论