v1.1
- 关于PTK
- 快速上手
- 安装PTK
- 使用手册
- 配置文件字段说明
- 配置文件示例
- 命令介绍
- ptk
- ptk completion
- ptk register
- ptk init-cluster
- ptk collect
- ptk rec-guc
- ptk cache
- ptk gen-ptkc
- ptk manage
- ptk demo
- ptk meta
- ptk version
- ptk self
- ptk gen-om-xml
- ptk env
- ptk gen-static-config
- ptk cluster
- ptk cluster rename
- ptk cluster throwout
- ptk cluster takeover
- ptk cluster uninstall-cm
- ptk cluster install-cm
- ptk cluster gen-cert-files
- ptk cluster load-cm-vip
- ptk cluster del-kerberos-auth
- ptk cluster add-kerberos-auth
- ptk cluster uninstall-kerberos-server
- ptk cluster install-kerberos-server
- ptk cluster is-in-upgrade
- ptk cluster upgrade-rollback
- ptk cluster upgrade-commit
- ptk cluster upgrade
- ptk cluster demote
- ptk cluster promote
- ptk cluster refresh
- ptk cluster shell
- ptk cluster modify-comment
- ptk cluster show-config
- ptk cluster set-guc
- ptk cluster show-guc
- ptk cluster set-hba
- ptk cluster show-hba
- ptk cluster scale-out
- ptk cluster scale-in
- ptk cluster uninstall-mogha
- ptk cluster install-mogha
- ptk cluster list-plugins
- ptk cluster install-plugin
- ptk cluster inspect
- ptk cluster failover
- ptk cluster switchover
- ptk cluster build
- ptk cluster status
- ptk cluster restart
- ptk cluster stop
- ptk cluster start
- ptk uninstall
- ptk ls
- ptk install
- ptk exec
- ptk template
- ptk encrypt
- ptk checkos
- ptk download
- ptk candidate
- 故障排查
- 常见问题
- 发布记录
- GPTK - 图形化部署工具
- 社区
- 附录:YAML语法
PTK 简介
PTK (Provisioning Toolkit)是一款针对 MogDB 数据库开发的软件安装和运维工具,旨在帮助用户更便捷地安装部署MogDB数据库。
如果用户想要运行 MogDB 或者 MogDB 的相关组件时,仅需要执行一行命令即可实现。
使用场景
- 开发人员快速启动多个本地MogDB环境
- 用户通过PTK快速安装部署MogDB
- DBA日常运维使用
- 第三方运维平台集成
推荐部署架构
PTK 的定位是一个多集群管理软件,作为一个中控机的角色,通过 SSH 的方式远程管理多个数据库集群,所以,我们推荐您将PTK部署在单独的一台控制服务器上,然后将数据库部署到数据库专属的服务器上,如下图。当然,PTK也支持本地部署,您可以根据您的机器情况自行安排安装位置。
+-----------+
| PTK |
+-----------+
/---ssh-----/ | \---ssh----\
/ ssh \
/ | \
+-----------+ +-----------+ +-----------+
| MogDB | | MogDB | | MogDB |
+-----------+ +-----------+ +-----------+
PTK 支持部署 MogDB 的操作系统
最新列表请通过
ptk candidate os
查看
ID | 操作系统 | 推荐使用的安装包 | PTK测试过的操作系统版本 | 经过完全兼容性测试的MogDB数据库版本 |
---|---|---|---|---|
1007010 | CentOS Linux 7 (Core) (x86_64) | CentOS | 7.6.1810 | all versions |
1008010 | CentOS 8 (x86_64) | openEuler | 8.0.1905 | |
1008020 | CentOS 8 (arm64) | openEuler | 8.0.1905 | |
1120010 | openEuler 20 (x86_64) | openEuler | 20.03 | < 5.0.0 |
1120020 | openEuler 20 (arm64) | openEuler | 20.03 | < 5.0.0 |
1122010 | openEuler 22 (x86_64) | openEuler | 22.03 | |
1122020 | openEuler 22 (arm64) | openEuler | 22.03 | |
1210010 | Kylin V10 (x86_64) | kylin | V10 (Tercel) | all versions |
1210020 | Kylin V10 (arm64) | kylin | V10 (Tercel) | all versions |
1320010 | UOS 20 A (x86_64) | openEuler | 1050a | |
1320020 | UOS 20 A (arm64) | openEuler | 1050a | |
1420010 | UOS 20 D/E (x86_64) | openEuler | 1040d/1050d/1050e | |
1420020 | UOS 20 D/E (arm64) | openEuler | 1040d/1050d | |
1518010 | Ubuntu 18.04.6 LTS (Bionic Beaver) (x86_64) | CentOS | 18.04.6 | |
1518020 | Ubuntu 18.04.6 LTS (Bionic Beaver) (arm64) | openEuler | 18.04.6 | |
1520010 | Ubuntu 20 LTS (Focal Fossa) (x86_64) | CentOS | 20.04.3 | |
1520020 | Ubuntu 20 LTS (Focal Fossa) (arm64) | openEuler | 20.04.5 | |
1522010 | Ubuntu 22 LTS (Jammy Jellyfish) (x86_64) | CentOS | 22.04 | |
1522020 | Ubuntu 22 LTS (Jammy Jellyfish) (arm64) | openEuler | 22.04.1 | |
1607010 | Red Hat Enterprise Linux 7 (x86_64) | CentOS | 7.5 (Maipo) | |
1608010 | Red Hat Enterprise Linux 8 (Ootpa) (x86_64) | openEuler | 8.5 | |
1608020 | Red Hat Enterprise Linux 8.2 (Ootpa) (arm64) | openEuler | 8.2 | |
1609010 | Red Hat Enterprise Linux 9.0 (Plow) (x86_64) | openEuler | 9.0 | |
1609020 | Red Hat Enterprise Linux 9.0 (Plow) (arm64) | openEuler | 9.0 | |
1702010 | EulerOS 2 (x86_64) | CentOS | 2.0-SP3 | |
1702020 | EulerOS 2 (arm64) | openEuler | 2.0-SP3 | |
1812010 | SLES 12SP5 (x86_64) | CentOS | 12SP5 | |
1815010 | SUSE Linux Enterprise Server 15 SP4 (x86_64) | CentOS | 15SP4 | |
1907010 | Oracle Linux 7 (x86_64) | CentOS | 7.9 (Maipo) | |
1908010 | Oracle Linux 8 (x86_64) | openEuler | 8.6 (Ootpa) | |
2008010 | Rocky Linux 8 (Green Obsidian) (x86_64) | openEuler | 8.5 | |
2107010 | NeoKylin V7 (x86_64) | CentOS | V7Update6 | |
2222010 | FusionOS 22 (x86_64) | openEuler | 22.0.2 | |
2222020 | FusionOS 22 (arm64) | openEuler | 22.0.2 | |
2310010 | Debian GNU/Linux 10 (buster) (x86_64) | CentOS | 10 (buster) | |
2310020 | Debian GNU/Linux 10 (buster) (arm64) | openEuler | 10 (buster) | |
2311010 | Debian GNU/Linux 11 (bullseye) (x86_64) | CentOS | 11 (bullseye) | |
2311020 | Debian GNU/Linux 11 (bullseye) (arm64) | openEuler | 11 (bullseye) | |
2407010 | Anolis OS Linux 7 (x86_64) | CentOS | 7.9 GA (kernel:RHCK) | |
2408010 | Anolis OS 8 (x86_64) | openEuler | 8.6 GA (kernel:RHCK) | |
2408020 | Anolis OS 8 (arm64) | openEuler | 8.6 GA (kernel:ANCK) |