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.5 Release Note
1.5.3 (2024-06-24)
Security
- install: The password file is preferred to initialize the database, avoiding the explicit password in the command line
Features
- install: Update the default version of MogHA to 2.4.21
1.5.2 (2024-06-18)
Bug Fixes
- upgrade: Fixed an issue with wal2json plugin not being upgraded
- metadata: Fixed an issue where protect_standby role is persisted to metadata
- instance: Fixed the regular expression of the probe protect_standby
1.5.1 (2024-06-13)
Features
- demo: Add
--base-dir
parameter to support user-specified installation directory. - demo: Optimize the Summary format at the end of the log.
Bug Fixes
- checkos: Fix the issue where an error be reported if no roles were configured in the configuration file.
- demo: Install mogila in postgresql database, update the built-in compat-tools to the latest version.
1.5.0 (2024-06-06)
Features
- takeover: Support for an existing cluster to take over a running node that actually belongs to the same cluster (only metadata of the PTK is added).
- throwout: Support for an existing clusters to stop manage a node (deleting PTK metadata only).
- rename: Supports renaming the cluster name of an existing cluster.
- init-cluster: Support to create an empty cluster.
- manage: Support for managing clusters that do not have a cluster_static_config file.
- install: Support installing the database directly from the kernel installer.
- upgrade: Support upgrade of database clusters with CM deployed (CM not upgrade).
- upgrade: Change the default upgrade mode from
replace
tocover
. - config: Add extra_hba_conf field in the global field of the configuration file to support configuration of extra hba entries.
- status: Support to display the version number of CM.
- install: Forces checking the number of existing user-openable files if CM is installed.
- metadata: Add history file to record the execution history of commands.
Bug Fixes
- status: When querying vip status, if cm_resource.json doesn't exist, it won't be shown.
- upgrade: Fix the issue that when upgrading with extensions, the extension is not recognized when installed in a non-postgres database.
- checkos: Fix disk check command in resource pooling scenario.
- checkos: Fix the issue where
ulimit
parameter was not checked for existing users. - checkos: Fix the issue where the repair command for memory checking causes script execution errors.
- checkos: Fix the NIC fetch error in multi-NIC scenario with duplicate IP strings.
- demote: Fix the issue that upstream is not modified correctly when downgrading to a standby node.
- prune: Fix the issue of not being able to interrupt via
Ctrl+C
. - status,switchover: Fix the issue where cascade standby nodes did not refresh the upstream with metadata.
- Fixed and optimized several other internal issues.