使用pdbcli uninstall
卸载集群所有节点或目标节点的集群依赖。
根据配置文件内容,卸载集群所有节点的集群依赖。
pdbcli uninstall cluster
您可执行
pdbcli help uninstall cluster
或pdbcli uninstall cluster -help
命令,获取具体的命令说明: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. # 增加此flag后,不会有命令行的确认信息,请谨慎使用 --no-validate Skip config file validation. --start-at-task string Resumed failed task at last failed task name (INTERNAL USE ONLY). #当操作失败时,可使用该flag从失败的步骤开始重试。 Global Flags: --config string Specify Config file. (default "./config.yaml") # 指定配置文件,默认为./config.yaml --debug Enable additional output for debugging. # 显示更多输出信息,用于调试
卸载指定节点的集群依赖。
pdbcli uninstall node --target '目标节点的IP地址'
您可以执行
pdbcli help uninstall node
或pdbcli uninstall node --help
命令,获取相应的命令说明。
该文章对您有帮助吗?