You can use pdbcli uninstall to uninstall cluster dependencies from all nodes or specific nodes in a cluster.
Uninstall cluster dependencies from all nodes in the cluster.
pdbcli uninstall clusterFor detailed instructions, run the
pdbcli help uninstall clusterorpdbcli uninstall cluster --helpcommand.Using config file: ./config.yaml Uninstall PolarDB components for all node of the cluster. Including Database, Cluster Manager, Proxy, and Agent. For example: pdbcli uninstall cluster Usage: pdbcli uninstall cluster [flags] Flags: -h, --help help for cluster --no-prompt No command line confirmation. # If you add this flag, no confirmation prompt appears in the command line. Use this flag with caution. --no-validate Skip config file validation. --start-at-task string Resumed failed task at last failed task name (INTERNAL USE ONLY). # If an operation fails, use this flag to retry from the step that failed. Global Flags: --config string Specify Config file. (default "./config.yaml") # Specifies the configuration file. The default is ./config.yaml. --debug Enable additional output for debugging. # Displays additional output for debugging.Uninstall cluster dependencies from a specific node.
pdbcli uninstall node --target 'IP_address_of_the_target_node'For instructions, run the
pdbcli help uninstall nodeorpdbcli uninstall node --helpcommand.
该文章对您有帮助吗?