About

PTK (Provisioning Toolkit) is a command line tool developed for MogDB database deployment and maintenance and designed to help users get started quickly and manage MogDB clusters more easily.

Most of the features are also applicable to openGauss.

Functions and Characteristics
Quick creation of local demo clusters
Using ptk demo commands can quickly help users create a configuration-free and complete sample MogDB cluster. The database of the latest LTS version will be deployed by default, and the extensions such as whale/orafce/compat_tools/moglia will be installed automatically.

(Demo commands are only supported in MogDB-supported OSs.)
Database cluster installation
PTK provides rich configuration items to customize the cluster size or configuration that users need. After defining a configuration file, you can deploy a cluster by running the ptk install command with one click. The installation process supports failure rollback without the need to worry about the residual dirty data.
Database cluster scale-out
PTK supports online scale-out/scale-in of a database cluster by running the cluster scale-out/scale-in command, allowing users to perform backup operations or remove a backup node without stopping services.
Database cluster upgrade
With the ptk cluster upgrade command, you can automatically complete the upgrade of all nodes in a database cluster.
Hands-on Experience
Are you ready to get started with PTK? We have prepared everything for you! If you have any question, you can view our docs, visit our community, or contact us.