v1.1
- 关于PTK
- 快速上手
- 安装PTK
- 使用手册
- 配置文件字段说明
- 配置文件示例
- 命令介绍
- ptk
- ptk completion
- ptk register
- 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 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
Provisioning Toolkit for MogDB
说明
ptk is a command-line management tool that can help you to deploy or manage MogDB clusters.
语法
ptk [flags] <command> [args...]
选项
--disable-color
- 说明: 禁用彩色日志
- 数据类型: bool
- 默认值: false
--disable-debug-log
- 说明: 不生成调试日志文件
- 数据类型: bool
- 默认值: false
--disable-progressbar
- 说明: 全局不显示进度条
- 数据类型: bool
- 默认值: false
-h, --help
- 说明: 打印帮助信息
- 数据类型: bool
- 默认值: false
--log-file string
- 说明: 指定运行日志文件路径
- 数据类型: string
- 默认值: ""
--log-format string
- 说明: 指定运行日志的输出格式, 可选项: [text, json]
- 数据类型: string
- 默认值: "text"
--log-level string
- 说明: 指定运行日志级别, 可选项: [debug, info, warning, error, panic]
- 数据类型: string
- 默认值: "info"
--silence
- 说明: 不打印日志到标准输出
- 数据类型: bool
- 默认值: false
--skip-fix-ssh
- 说明: 无需通过交互修复 ssh 连接
- 数据类型: bool
- 默认值: false
-v, --version
- 说明: 打印 PTK 版本
- 数据类型: bool
- 默认值: false
另请参阅
- ptk cache - List the cache files
- ptk candidate - Print software version list which PTK supported
- ptk checkos - Check cluster servers os dependencies
- ptk cluster - Manage clusters
- ptk collect - Collect system and cluster information for analysis
- ptk completion - Generate the autocompletion script for the specified shell
- ptk demo - Install MogDB demo quickly
- ptk download - Download MogDB package online
- ptk encrypt - Provides a convenient way to encrypt your text/password
- ptk env - Print ptk loaded environment values
- ptk exec - Execute shell command or script
- ptk gen-om-xml - Generate an XML file for gs_om
- ptk gen-ptkc - Generate ptkc binary
- ptk gen-static-config - Generate and distribute a new cluster_static_config with specified YAML config
- ptk install - Install a MogDB or Uqbar database cluster
- ptk ls - List MogDB clusters
- ptk manage - Manage an exist cluster
(File $GAUSSHOME/bin/cluster_static_config is required)
- ptk meta - Manage ptk metadata
- ptk rec-guc - Display the list of optimising guc parameters
- ptk register - Register some internal types to fulfill specific requirements
- ptk self - Self operations about ptk
- ptk template - Generate template of configuration
- ptk uninstall - Uninstall a database cluster
- ptk version - Print version of ptk