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
v0.x Release Note
0.8.0 (2023.05.26)
New Function
- Support PTK metadata export and merge so that two PTK instances can merge conveniently.
- Add the cluster inspect function that supports querying of cluster metadata.
- Add the database instance-level cluster tool
ptkc
.
Function Optimization and Bug Fixing
- Support rebuilding from a standby database for cluster rebuilding and scale-out.
- Support interactive update of a password or key when SSH connection fails.
0.7.0 (2023.04.14)
New Function
- Support upgrade of the MogDB database.
- Add the promote/demote command to support role change.
- Add the manage command to support manage the existing clusters.
- Support installation and O&M of a database by a common user.
- Support specifying of a role for starting or restarting a cluster.
- Update the default installation version of software: MogDB 3.0.4 and MogHA 2.4.8.
Function Optimization and Bug Fixing
- Determine the database operation user of the
demo
andtemplate -l
commands based on the user status. - Support the quick switchover parameter.
- Update the terminal interaction mode.
- Optimize the judgment of the UOS system distribution.
- Optimize the start command to add the verification of the primary database role.
- Optimize the global interrupt signal handling process.
- Optimize the system check item to add the ulimit check of a user (A19).
0.6.0 (2023.01.13)
New Function
- Support installation of MogDB 3.1 and plugins.
- Add the demo command for quick deployment of MogDB locally and attached with most plugins.
- Add the build subcommand to a cluster and support rebuilding of a specified database.
- Add the meta command.
- Add the selinux check item (A18) to the OS check.
Function Optimization and Bug Fixing
- Optimize the system parameter check to support generation of a recommended script for permanently disabling THP.
- Optimize MogHA installation by adding configuration file verification and supporting installation by mode.
- Optimize scale-in and scale-out operations in different scenarios.
- Add the mutually exclusive lock on cluster write operations.
- Optimize the cluster status query to support the query in the scenario where the server with instances deployed cannot be connected.
- Optimize the CM-related cluster operations.
- Fix some known bugs.
0.5.0 (2022.11.11)
New Function
- Support installation of MogDB-3.0.3 and Uqbar-1.1.0.
- Support deployment of multiple instances on a single node.
- Support online scale-out and scale-in using the CM component.
- Add the ptk exec command.
- Add the log function of metadata.
- Add a built-in pssh module and make it decoupled from om.
Function Optimization and Bug Fixing
- Optimize the scale-in and scale-out process.
- Optimize the installation process.
- Optimize the symbol interruption processing.
- Fix some known bugs.
0.4.0 (2022.09.16)
New Function
- Add the failover/switchover function.
- Add the show-hba/show-guc/show-config function so that users can query the cluster configuration information conveniently.
- Add the MogHA installation function.
- Add the shell command that can make the shell command or the script run quickly.
- Add the refresh command so that users can update cluster configurations conveniently. Currently, the IP address modification function is available.
- Add the register command that allows users to register the system type.
- Add the CPU command to allow users to check the CPU architectures supported by PTK.
- Add the copy mode in cluster scale-out.
- Support the operation (start, stop, and query) on all the clusters.
- Support installation of CM two-node in MogDB 3.0.1 or later.
- Support Phytium CPU check.
- Be compatible with openGauss installation.
Function Optimization and Bug Fixing
- Optimize that check and processing of the interrupt signal in execution.
- Offer suggestions once an error occurs due to insufficient semaphore.
- Fix the issue that CM fails to start because the AZ priority configuration is incorrect.
- Fix other known issues.
0.3.0(2022.07.31)
New Function
- Support scale-in.
- Support extension installation.
- Automatically fix the dynamic library dependency based on the environment.
- Add the version to the cluster list result.
- Add the MD5 verification of an installation package.
- Support the download command.
- Add the cluster comment function.
Function Optimization and Bug Fixing
- Fix the network check error when there is an IB NIC.
- Fix the SUSE script error.
- Fix other known issues.
0.2.0 (2022.06.30)
New Function
- Add the candidate command.
- Support CM installation.
- Generate a fix script of the system check automatically.
- Add the default configuration of recommended database parameters.
Bug Fixing
- Optimize the installation process.
- Fix the multi-check item problem in OS check.
- Automatically detect the package format.
- Fix other known issues.
0.1.0 (2023.05.30)
New Function
- Support system check.
- Support database installation and uninstallation.
- Support cluster management, including start, stop, query, and restart.
- Support password encryption.
- Support template generation.
- Adapt to different OS for installation.
- Support PTK self-upgrade.