HomeMogDBMogDB StackUqbar
v2.0

Documentation:v2.0

Supported Versions:

Other Versions:

Stop Database

Stop entire cluster

You can stop an entire cluster by specifying the cluster name with this command:

ptk cluster -n <CLUSTER_NAME> stop

Stop an instance in a cluster

PTK stops all instances in the cluster by default, or you can specify a specific instance or instances to stop:

The -H or --host option specifies the IP of the instance.

ptk cluster -n <CLUSTER_NAME> stop -H <IP>

The -i or --id option specifies the ID of the instance (ID can be viewed via ptk ls)

ptk cluster -n <CLUSTER_NAME> stop -i <ID>

Stop all clusters

Please use caution!

PTK is multi-cluster management software, so PTK also supports stopping all clusters managed by PTK:

ptk cluster stop [-a|--all]
Copyright © 2011-2024 www.enmotech.com All rights reserved.