使用pdbcli install
在所有节点上安装集群依赖。
您可执行pdbcli help install cluster
或pdbcli install cluster --help
命令,获取以下关于软件安装的命令说明:
Using config file: ./config.yaml
Install PolarDB components for all node of the cluster. Including Database, Cluster Manager, Proxy, and Agent.
For example:
pdbcli install cluster
Usage:
pdbcli install cluster [flags]
Flags:
-h, --help help for cluster
--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 install node --target '目标主机的IP地址'
您可以执行pdbcli help install node
或pdbcli install node --help
命令,获取相应的命令说明。
该文章对您有帮助吗?