v2.0
- About PTK
- Quick Start
- Guidance
- Preparing Configuration File
- Checking the System
- Deploy Database Cluster
- Manage Clusters
- Show Cluster List
- Show Cluster Status
- Start Database
- Stop Database
- Restart Database
- Rebuild Database
- Switchover
- Failover
- Show Plugin Information
- Install Plugins
- Upgrade Database
- Scale-out Cluster
- Scale-in Cluster
- Show Database HBA
- Set Database HBA
- Show Database Parameters
- Set Database Parameters
- Show Cluster Topology Configuration
- Show Cluster Meta Information
- Update Cluster Comment
- Update Database IP
- Role Management
- Install CM
- Uninstall CM
- Manage Cluster VIP
- Install MogHA Service
- Uninstall MogHA Service
- Rename Cluster
- Create Empty Cluster
- Throw Out A Node
- Takeover A Node
- Manage Cluster
- Uninstall Database Cluster
- Collect OS Information
- Download MogDB Installer
- Encrypt Sensitive Information
- Upgrade PTK
- PTKC
- Compatible With Higher Versions of MogDB
- Reference
- Samples of Configuration Files
- Commands
- ptk
- ptk completion
- ptk view-static-config
- 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 createdb
- ptk cluster uninstall-compat-tools
- ptk cluster install-compat-tools
- ptk cluster install-mogila
- 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
- Troubleshooting
- FAQ
- Release Notes
- Community
- Appendix: YAML Syntax
1.7 Release Note
1.7.5 (2024-11-11)
Bug Fixes
- Fix the read-only error of deleting patch table before upgrade.
1.7.4 (2024-10-31)
Features
- Added MogDB 5.0.9 download configuration.
1.7.3 (2024-10-15)
Features
- checkos: Adjust the python3 checksum level from warning to normal.
Bug Fixes
- upgrade: Fixes an issue where upgrading to version 5.0.7 fails after rolling back the upgrade.
- exec: Remove role checking for exec commands so that they can be used to execute scripts or commands with scale-out configurations.
- template: Fix the problem that some buttons in the English version of the GUI are not fully displayed.
1.7.2 (2024-09-24)
Features
- template: add
--tui
parameter to create sub-command, support terminal graphical creation of configuration files - install: add ifconfig permission checking and auto-completion when deploying CM cluster.
- internal: Support sudo command by password for SSH server with password login.
1.7.1 (2024-09-04)
Bug Fixes
- install: Fix md5 check error in installer, add confirmation interaction.
- install: Fix the error of LD_LIBRARY_PATH setting introduced in 1.7.0.
1.7.0 (2024-08-30)
Features
- cluster: Added
install-mogila
command to support installation of mogila sample data - cluster: Added
install-compat-tools
command to support installation of compat-tools - cluster: Added
createdb
command to support database creation via PTK. - Added
view-static-config
command to view static file contents. - install: New
--db-conf-file
parameter in install command, support user to pass customized database parameters through file. - upgrade: Add CPU architecture consistency check between current cluster and target package before upgrade.
- checkos: add
en_US.UTF-8
character set necessity check for unicode check items. - takeover: Deprecates
--user
parameter and adds--db-user
and-ssh-user
parameters. - manage: Add
--ssh-port
parameter. - scaleout: Scale-out new nodes to modify only the necessary server-related parameters, and inherit the existing configuration of other nodes as much as possible.
- gen-static-config: deprecates
-f
parameter, adds-n
parameter, allows operation of PTK-managed clusters only - Optimize the PATH variable in the .ptk_mogdb_env file to explicitly fill in the system default directory to ensure that system tools can be retrieved.
Bug Fixes
- upgrade: Fixes an issue where SQL execution reports read-only errors when upgrading a patched database.
- upgrade: Fix an issue where upgrade fails due to old PTK metadata before upgrade.
- scaleout: Fix an occasional problem that occurs during scale-out when the standby node is built and reports that the hba information does not exist.