官方测试支持的软件版本及下载链接

dbbot 官方测试支持的软件版本及下载链接

本文档汇总 dbbot 当前公开文档里已经明确给出默认值、测试样本或下载入口的软件版本、操作系统与监控组件说明,用于快速部署和离线准备。

如需查看按操作系统、数据库分支与部署架构拆分的完整矩阵,请见:软件与操作系统支持矩阵

说明

  • 下文记录的是“官方测试过或公开示例明确采用过”的版本与系统样本,不代表所有同系列小版本都逐一测试过。
  • 未列出的版本不等于绝对不支持,只表示当前公开文档没有把它作为默认值或明确测试样本。
  • 本文仅覆盖 dbbot 官网当前公开范围内的软件、操作系统与配套组件说明。

dbbot 发行版

dbbot_version="$(basename "$(curl -fsSLI -o /dev/null -w '%{url_effective}' https://github.com/fanderchan/dbbot/releases/latest)")"
curl -fL -O "https://github.com/fanderchan/dbbot/releases/download/${dbbot_version}/dbbot-${dbbot_version}.tar.gz"

发布页:https://github.com/fanderchan/dbbot/releases

数据库版本范围(硬限制或当前示例默认值)

  • MySQL 5.7:>= 5.7.26
  • MySQL 8.0:>= 8.0.21
  • MySQL 8.4:>= 8.4.0
  • MySQL 9.7:>= 9.7.0
  • GreatSQL 8.0:8.0.32-24 ~ 8.0.32-27
  • ClickHouse:23.6.1.1524
  • ZooKeeper:3.8.4

这些范围主要对应 pre_tasks/validate_common_config_setting.yml 里的硬限制,以及当前公开示例默认值。作者未测过的更低版本,才会被直接限制;未列出的小版本不等于绝对不支持。

本地支持矩阵查询

安装当前 dbbot 发行包后,可以直接在控制机查询同一套支持范围与包名规则:

dbbotctl support list
dbbotctl support packages --stack mysql --version 9.7.0 --os BigCloud21 --exact all --full
dbbotctl support verify-package --stack mysql --version 9.7.0 --os BigCloud21 --arch mysql_innodb_cluster --packages-dir mysql_ansible/downloads --include-related

MySQL 公开部署入口会使用这套 support 矩阵解析 MySQL / Percona / GreatSQL Server 包名和下载地址。有 checksum 元数据时,自动下载和本地安装包预检查都会按矩阵校验 Server 安装包。

dbbotctl support list 默认输出紧凑表格,只显示支持范围;需要 CPU 架构与说明时使用 --full-G。MySQL InnoDB Cluster / Router 相关部署还会从 support 矩阵解析 MySQL Shell 与 MySQL Router 包名和 checksum。

官方测试覆盖的操作系统

下表用于汇总当前公开文档中已经给出样本或下载入口的操作系统范围。

RHEL 7 系列

发行版样本 / 镜像名下载方式备注
CentOS 7.9CentOS-7-x86_64-DVD-2009.iso
CentOS-7-x86_64-Minimal-2009.iso
CentOS 历史镜像 / VaultEL7 系样本
Red Hat 7Red Hat 7https://access.redhat.com/downloads/需要官方订阅
BigCloud 7.8BCLinux-R7-U8-Server-x86_64-DVD-210323.iso厂商镜像用于 EL7 兼容性验证

RHEL 8 系列

发行版样本 / 镜像名下载方式备注
CentOS 8.2CentOS-8.2.2004-x86_64-dvd1.iso
CentOS-8.2.2004-x86_64-minimal.iso
CentOS 历史镜像 / VaultEL8 系样本
Red Hat 8Red Hat 8https://access.redhat.com/downloads/需要官方订阅
BigCloud 8.2BCLinux-R8-U2-Server-x86_64-231017.iso厂商镜像EL8 兼容性验证
Anolis OS 8.2AnolisOS-8.2-GA-x86_64-dvd.iso官方镜像EL8 衍生发行版样本

RHEL 9 系列

发行版样本 / 镜像名下载方式备注
Rocky Linux 9.4Rocky-9.4-x86_64-dvd.iso
Rocky-9.4-x86_64-minimal.iso
Rocky 官方镜像RHEL9 系样本

Euler 系列

发行版样本 / 镜像名下载方式备注
openEuler 20.03 LTS SP4openEuler-20.03-LTS-SP4-x86_64-dvd.isohttps://repo.openeuler.openatom.cn/Euler 系样本
openEuler 22.03 LTS SP4openEuler-22.03-LTS-SP4-x86_64-dvd.isohttps://repo.openeuler.openatom.cn/常见于国产化 EL / Euler 场景
openEuler 24.03 LTSopenEuler-24.03-LTS-x86_64-dvd.isohttps://repo.openeuler.openatom.cn/新一代 Euler 样本
BigCloud for Euler 21.10BCLinux-for-Euler-21.10-dvd-x86_64-230731.iso厂商镜像Euler 衍生发行版样本

Kylin 系列

发行版样本 / 镜像名下载方式备注
Kylin Linux Advanced Server V10 SP3Kylin-Server-V10-SP3-General-Release-2303-X86_64.iso厂商渠道获取方式以厂商发布渠道为准

常用下载命令

MySQL 5.7

mysql_version="5.7.44"
curl -fL -O "https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-${mysql_version}-linux-glibc2.12-x86_64.tar.gz"

MySQL 8.0

mysql_version="8.0.42"
curl -fL -O "https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-${mysql_version}-linux-glibc2.17-x86_64-minimal.tar.xz"

MySQL 8.4

mysql_version="8.4.9"
curl -fL -O "https://dev.mysql.com/get/Downloads/MySQL-8.4/mysql-${mysql_version}-linux-glibc2.17-x86_64-minimal.tar.xz"

MySQL 9.7

mysql_version="9.7.0"
curl -fL -O "https://dev.mysql.com/get/Downloads/MySQL-9.7/mysql-${mysql_version}-linux-glibc2.28-x86_64-minimal.tar.xz"

dbbot 支持自动下载 MySQL 安装包。安装包名、下载地址和 checksum 以 support 矩阵为准;上面的命令主要用于手工准备离线包。

GreatSQL 8.0.32-27

mysql_version="8.0.32-27"
wget "https://product.greatdb.com/GreatSQL-${mysql_version}/GreatSQL-${mysql_version}-Linux-glibc2.17-x86_64-minimal.tar.xz"

ClickHouse 23.6.1.1524

clickhouse_version="23.6.1.1524"
wget "https://packages.clickhouse.com/tgz/stable/clickhouse-common-static-${clickhouse_version}-amd64.tgz"
wget "https://packages.clickhouse.com/tgz/stable/clickhouse-common-static-dbg-${clickhouse_version}-amd64.tgz"
wget "https://packages.clickhouse.com/tgz/stable/clickhouse-server-${clickhouse_version}-amd64.tgz"
wget "https://packages.clickhouse.com/tgz/stable/clickhouse-client-${clickhouse_version}-amd64.tgz"

ZooKeeper 3.8.4

zookeeper_version="3.8.4"
wget "https://archive.apache.org/dist/zookeeper/zookeeper-${zookeeper_version}/apache-zookeeper-${zookeeper_version}-bin.tar.gz"

监控组件与内置工具说明

组件默认值 / 默认安装方式说明
Prometheus2.54.0当前公开文档推荐版本
Grafana Enterprise10.4.6当前公开文档推荐版本
Alertmanager0.27.0当前公开文档推荐版本
node_exporter默认 node_exporter_install_type: dbbot,内置 1.8.2package 模式默认包名为 1.10.2
mysqld_exporter默认 mysqld_exporter_install_type: dbbot,内置编译版package 模式默认包名为 0.18.0
exporterregistrar源码位于 mysql_ansible/exporterregistrar发布二进制位于 libexec/dbbotctl/exporterregistrar,也可通过 dbbotctl exporter register 调用
sysbench内置源码编译安装用于压测与验收场景

node_exporter

  • 默认使用 dbbot 仓内自带的 node_exporter 二进制。
  • node_exporter_install_type: package 时,可使用官方发布包:
wget "https://github.com/prometheus/node_exporter/releases/download/v1.10.2/node_exporter-1.10.2.linux-amd64.tar.gz"

mysqld_exporter

  • 默认使用 mysqld_exporter_install_type: dbbot,即 dbbot 仓内置的编译版二进制。
  • 当前内置编译基线如下:
    • Commit Hash:a1503cf65513997a7240102b00b9e7c2e909a1d0
    • Commit Date:2024-08-29 21:58:58 +0200
  • 如果切换到 package 模式,当前变量默认值为:
wget "https://github.com/prometheus/mysqld_exporter/releases/download/v0.18.0/mysqld_exporter-0.18.0.linux-amd64.tar.gz"

exporterregistrar

  • 源码路径:mysql_ansible/exporterregistrar
  • 发布二进制路径:libexec/dbbotctl/exporterregistrar
  • 默认提供 Linux amd64 静态构建版,适合在常见 Red Hat 系控制节点直接运行。
  • 主要用途是更新 Prometheus file_sd target 文件,也可通过 dbbotctl exporter register 调用。

sysbench

  • dbbot 采用“直接集成源码并编译安装”的方式,不依赖长期未发正式 release 的旧包。
  • 当前记录的编译基线如下:
    • Commit Hash:3ceba0b1e115f8c50d1d045a4574d8ed643bd497
    • Commit Date:2025-03-10