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
v1.3 Release Note
1.3.5 (2024.4.7)
Fix
- Remove debugging logs that contain sensitive information such as database passwords.
1.3.4 (2024.4.3)
Features
- The
encrypt
command supports the--stdin
parameter to support passing parameters through a pipeline.
1.3.3 (2024.3.28)
Features & Optimizations
- Support for MogDB 5.0.6.
- Add CM reload retry mechanism after scaling up/down.
- Optimize upgrade parameter
--parallel
, set default value to 10.
1.3.2 (2024.3.13)
Optimizations
- Debugging logs are desensitized.
- Add global parameter
--disable-debug-log
to support not generating debug logs.
Fix
- Fix an issue that forces plugin patch parameters to be specified when upgrading to versions prior to MogDB 3.0.2
1.3.1 (2024.2.21)
Optimizations
- Cluster status check timeout for upgrades uses the
PTK_CMD_EXECUTE_TIMEOUT
environment variable. - Port description added to port occupancy error message.
Fix
- Fix bug with
refresh
command in swap IP scenario.
1.3.0 (2024.2.6)
Features & Optimizations
- Add the command
gen-cert-files
to support generating ssl authentication files. - A new
uptime
field is added to the cluster status output table to show when the instance was launched. - Cluster status support in portrait format.
- Add
--mode
parameter to the cluster upgrade command, which can take values such asreplace
(the default) andcover
. - When upgrading the cluster, upgrade the OM component as well.
- Optimize the upgrade process for plug-ins during cluster upgrades.
- Refinement of time consistency checks for system check hits.
- The
ls
andstatus
commands support the display of dual IP scenarios. - Optimize
refresh
command to remove some restrictions and support for CM clusters. - Add supported versions and usage examples to the help descriptions of all subcommands.
- Change MogHA default installation version to 2.4.18.
Fix
- Fix
build
command causing panic issue in dual-IP scenarios. - Fix other known issues.