暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

华为GaussDB T 启动命令

墨天轮 2019-09-28
1369

启动命令

功能

start命令用于在集群恢复操作后启动集群。

命令格式

python GaussRoach.py -t start [--restore-new-cluster] [--group]

参数说明

表1 启动命令的命令行参数

完整选项

数据类型

说明

取值类型

缺省值

应用实例

-t

字符串

Roach接口支持多种功能。指定该参数为start,表示调用启动功能。

  • -t backup
  • -t stop
  • -t delete
  • -t restore
  • -t show
  • -t start
  • -t version
  • -t help

不涉及

-t start

--restore-new-cluster

布尔型

将集群恢复到另一主机上。

如果命令中指定了该参数,则参数值为true。否则值为false。

不涉及

False

--restore-new-cluster

--group

布尔型

执行DN组恢复后使用。暂不支持。

不涉及

False

不涉及

使用指南

在恢复集群之后,使用start命令启动集群。

命令示例

恢复操作后启动集群。

python GaussRoach.py -t start

将集群恢复到不同节点组后启动集群。

python GaussRoach.py -t start --restore-new-cluster

系统回显

Begin to parse config file... Begin stop cluster... End stop cluster. Begin step:start cluster... Begin start coordinator... End start coordinator Begin start datanode Master... End start datanode Master Begin build datanode Standby... End build datanode Standby Begin start cluster... Start primary instance sucessfully, wait for standby instances... --------------------------------------------------------------------- . Start standby instances successfully. --------------------------------------------------------------------- cluster_state : Normal node_count : 2 Coordinator State normal : 2 abnormal : 0 End start cluster. End step:start cluster...

相关命令

恢复命令

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论