首页 > 数据库 > > GaussRoach.py-启动命令
start命令用于在集群恢复操作成功后启动集群。
python GaussRoach.py
-t start
--media-type media-type
[--restore-new-cluster]
参数名 | 参数描述 | 取值类型 | 缺省值 | 应用实例 |
|---|---|---|---|---|
-t | Roach接口支持多种功能。指定该参数为start,表示调用启动功能。 |
| 不涉及 | -t start |
--restore-new-cluster | 将集群恢复到另一主机上。 如果命令中指定了该参数,则参数值为true。否则值为false。 | 不涉及 | False | --restore-new-cluster |
--media-type | 介质类型。 |
| 不涉及 |
|
在恢复集群之后,使用start命令启动集群。启动时使用的介质类型与恢复的介质类型一致。
python GaussRoach.py -t start --media-type media-type
python GaussRoach.py -t start --restore-new-cluster --media-type media-type系统回显
Parsing the configuration file.
Starting the cluster.
Configuring datanode.
..............................
..............................
..............................
........................
Successfully configure datanode.
Successfully started all instance.
..............................
.............
======================================================================
Successfully started the cluster.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69959250/viewspace-3165053/ ,如需转载,请注明出处,否则将追究法律责任。