【 使用环境 】测试环境
【 使用版本 】4.2.x
【问题描述】
搭建一个单主机集群后,服务器断电重启后,发现服务都没有启动起来。
[admin@kylin ~]$ obd cluster list
+----------------------------------------------------------------------+
| Cluster List |
+-------------+--------------------------------------+-----------------+
| Name | Configuration Path | Status (Cached) |
+-------------+--------------------------------------+-----------------+
| myoceanbase | /home/admin/.obd/cluster/myoceanbase | running |
+-------------+--------------------------------------+-----------------+
Trace ID: d1d27cfe-0e9a-11ef-af00-000c29254e75
If you want to view detailed obd logs, please run: obd display-trace d1d27cfe-0e9a-11ef-af00-000c29254e75
[admin@kylin ~]$ obd cluster display myoceanbase
Get local repositories and plugins ok
Open ssh connection ok
Cluster status check ok
[WARN] 10.0.4.246 oceanbase-ce is stopped
[WARN] 10.0.4.246 obagent is stopped
[WARN] 10.0.4.246 ocp-express is stopped
Trace ID: e4926ba6-0e9a-11ef-9004-000c29254e75
需要手动执行 obd cluster restart myoceanbase
才能启动相关组件。
能不能设置在单主机集群下,相关组件开机自动启动呢?