Delete a cluster

更新时间:
复制 MD 格式

Use the pdbcli delete command to delete a cluster or specific components on a specified node.

  • Delete a cluster. This command removes all components from all nodes in the cluster based on the configuration file.

    pdbcli delete cluster
  • Delete all cluster components from a specified node.

    pdbcli delete node --target 'IP address of the target node'
  • Delete a specific component from a specified node.

    • Delete the database engine:

      pdbcli delete db --target 'IP address of the target node'
    • Delete the high availability component:

      pdbcli delete cm --target 'IP address of the target node'
    • Delete the cluster proxy component:

      pdbcli delete proxy --target 'IP address of the target node'

You can run the pdbcli help delete or pdbcli delete --help command for detailed instructions.