open source软件:Clustercontrol介绍(DBaaS)

ClusterControl是一款无代理的数据库集群管理自动化软件,支持多种数据库类型如MySQL、PostgreSQL、MongoDB等,提供部署、监控、管理和扩展功能。其特性包括监控统计信息、自动备份与恢复、故障恢复、负载均衡器部署等。适用于数据库的自动化运维,但可能不适合大规模扩展场景。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1. 介绍

ClusterControl is an agentless management and automation software for database clusters. It helps deploy, monitor, manage and scale your database server/cluster directly from ClusterControl user interface

2. 特性

ClusterControl is able to handle most of the administration tasks required to maintain database servers or clusters. Here are some of the tasks that ClusterControl can perform on your database infrastructure:

  • Monitor host statistics (CPU/RAM/disk/network/swap)
  • Provision multiple database server/cluster in a single CMON process
  • Monitor database’s stats, variable, log files, queries, for individual node as well as cluster-wide
  • Database configuration management
  • Database cluster/node recovery
  • Trigger alarm and send notifications
  • Schedule and perform database backup (mysqldump, Percona Xtrabackup, MariaDB Backup, pg_dumpall, pg_basebackup, pgBackRest, mongodump, mongodb-consistent-backup)
  • Database backup status
  • Restore backups
  • Verify backup restoration on a standalone host
  • MySQL/PostgreSQL/TimeScaleDB point-in-time recovery
  • Upload backups to AWS S3/Google Cloud Storage/Azure Storage
  • Stop/Start/Bootstrap database service
  • Rebuild a database node from a backup to avoid SST
  • Deploy a new database server/cluster on-premises or on cloud (AWS, Google Cloud, MS Azure)
  • Add existing MySQL/MariaDB server/cluster, MongoDB replica set and PostgreSQL server
  • Scale your database cluster (add/remove Galera node, garbd and replication slave)
  • Deploy database load balancers (HAProxy, MaxScale, ProxySQL) and virtual IP address (Keepalived)
  • Monitor HAProxy/MaxScale/ProxySQL statistics
  • Manage MySQL user privileges
  • Upgrade MySQL servers
  • Promote MySQL/PostgreSQL/TimeScaleDB slave to master
  • Set up a delayed slave
  • Stage a replication slave from a master or an existing backup
  • Manage private keys and certificates for databases’ SSL
  • Client-server encryption, replication encryption, backup encryption (at-rest or in-transit)
  • Create cluster from backup

ClusterControl supports the following database servers/clusters:

  • Galera Cluster

    • Percona XtraDB Cluster (Percona)
    • MariaDB Galera Cluster (MariaDB)
  • MySQL Cluster (NDB)

  • MySQL/MariaDB Replication (master-master and master-slave)

  • MySQL/MariaDB Standalone

  • MongoDB/Percona Server for MongoDB

    • Replica set
    • Sharded cluster
    • Replicated sharded cluster
  • PostgreSQL

    • Single instance
    • Streaming replication
  • TimeScaleDB

    • Single instance
    • Streaming replication

ClusterControl supports the following loadbalancer:

  • HAProxy
  • MariaDB MaxScale
  • ProxySQL
  • Keepalived (virtual IP address only)

3. 安装和使用:

安装:

使用docker:

docker run -d --name clustercontrol -h clustercontrol -p 5000:80 -p 5001:443 -v /storage/clustercontrol/cmon.d:/etc/cmon.d -v /storage/clustercontrol/datadir:/var/lib/mysql -v /storage/clustercontrol/sshkey:/root/.ssh -v /storage/clustercontrol/cmonlib:/var/lib/cmon -v /storage/clustercontrol/backups:/root/backups severalnines/clustercontrol

访问:http://ip:5000/clustercontrol

使用:

支持的部署:

replication 配置:

galera配置:

4. 评测

  • 功能很强大,支持通用的数据库的部署
  • 可以自动恢复,测试了replication和galera, 感觉不错。
  • 支持备份和数据库监控告警
  • 支持proxysql做读写分离,但不支持mycat的分表机制。
  • 适合小型的数据库,无法扩伸,不可以像公有云那样的RDS服务
  • 支持cli, 适合和其他的工具集成,但没有接口集成
  • 可以满足基本的DBaas的功能

5. 参考

https://severalnines.com/docs/

Learn how DBAs in a DevOps environment manage data platforms and change requests to support and optimize continuous integration, delivery, testing, and deployment in the application development life cycle. On the Dev side, DBAs evaluate change requests to ensure compliance with organizational best practices and guard against degradation of database performance and the validity of dependent objects. On the Ops side, DBAs perform release and troubleshooting activities in support of the application, manage the data platform’s access and security, and monitor and maintain performance of the databases that they have designed and provisioned. DevOps, DBAs, and DBaaS investigates the complex intersection between DBA functions and DevOps processes. DevOps teams traditionally viewed DBAs as process outliers who disrupt and retard SDLC timelines. At each touch point, veteran DBA Mike Cuppett shows how DBAs can most effectively contribute to decreasing release cycle times and improving product resiliency by applying automation, orchestration, and DBaaS solutions to database administration in ways that dovetail with DevOps requirements and metrics. At a high level, Cuppett demonstrates the importance of leveling silo walls in the IT supply chain and of measuring application performance holistically by reference to satisfaction of customer requirements and end-user experience. At a technical level, he drills into topics and case studies on diagnosing and resolving problems commonly encountered by DBAs and DevOps teams when meshing database management with application delivery. What You Will Learn Techniques and best practices at all points of collaboration between DBAs and DevOps teams in product development Tools for measuring DBA inputs to DevOps processes by holistic criteria of end-user experience and business requirement How to integrate open source database technologies with DevOps When to decouple application and database layers and move to DBaaS models How to overcome language and mindset barriers between DBAs and DevOps teams Who This Book Is For DBAs who are leaning toward or already involved with DevOps and DevOps engineers, team leaders, developers and product managers who are already working with DBAs or planning to integrate DBAs in DevOps teams. The secondary readership is executives and managers in companies that practice DevOps.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值