oceanbase 重启失败

【 使用环境 】测试环境
【 OB or 其他组件 】
【 使用版本 】oceanbase-all-in-one-4.3.1.0-100000032024051615.el7.x86_64.tar.gz
【问题描述】我安装的oceanbase 服务器重启后
http://10.1.116.117:8180/
这个就无法访问了 我应该启动哪个服务才会恢复 WEB管理平台
我通过obd demo start 恢复了数据库 但是 WEB管理平台没好
【复现路径】我重启了centos服务器

【备注】基于 LLM 和开源文档 RAG 的论坛小助手已开放测试,在发帖时输入 [@论坛小助手] 即可召唤小助手,欢迎试用!

2 个赞

推荐使用 obdiag 工具进行日志采集,并且将采集到的日志提供给我们以便确认问题所在。

日志采集场景: 集群无法连接
日志采集命令: obdiag gather scene run --scene=observer.cluster_down

另外,为了确定具体的问题,在此需要您提供一些信息:

  1. 您使用的 OBServer 版本是什么?
  2. 在使用 obd demo start 命令之前,是否尝试过其他恢复方法?
  3. 重启服务器前后是否有任何配置上的更改?
  4. 您能否提供一些关于 Web 管理平台尝试访问时的错误信息或提示?
  5. 是否可以查看并提供 /home/admin/oceanbase/log/observer.log 文件中的最后几行日志?这可能包含导致问题的线索。
  6. 您当前的 OCP/OBD 版本是什么?如果是手动部署,请说明您的部署环境。

附上敏捷诊断工具 obdiag 使用帮助链接

我使用的是
oceanbase-all-in-one-4.3.1.0-100000032024051615.el7.x86_64.tar.gz
一键安装的
就是通过 obd demo 在网页安装的

你的demo中有ocp-express组件么? 目前该组件已经不维护了

这个在哪里看
我通过
http://10.1.116.117:8680/

安装的时候 还能登录WEB管理平台

cd ~/.obd/cluster/demo下 提供一份yaml文件看下

[root@wnd demo]# cat config.yaml
obproxy-ce:
servers:

  • 127.0.0.1
    global:
    home_path: /root/obproxy-ce
    skip_proxy_sys_private_check: true
    enable_strict_kernel_release: false
    enable_cluster_checkout: false
    proxy_mem_limited: 500M
    127.0.0.1:
    proxy_id: 5740
    client_session_id_version: 2
    depends:
  • oceanbase-ce
    grafana:
    servers:
  • 127.0.0.1
    global:
    home_path: /root/grafana
    login_password: OlfTOxdNCa
    depends:
  • prometheus
    obagent:
    servers:
  • 127.0.0.1
    global:
    home_path: /root/obagent
    ob_monitor_status: active
    depends:
  • oceanbase-ce
    prometheus:
    servers:
  • 127.0.0.1
    global:
    home_path: /root/prometheus
    depends:
  • obagent
    oceanbase-ce:
    servers:
  • 127.0.0.1
    global:
    home_path: /root/oceanbase-ce
    cluster_id: 1756985073
    enable_syslog_recycle: true
    enable_syslog_wf: false
    max_syslog_file_count: 4
    memory_limit: 6144M
    production_mode: false
    __min_full_resource_pool_memory: 1073741824
    system_memory: 1024M
    cpu_count: 16
    datafile_size: 2048M
    datafile_maxsize: 8192M
    datafile_next: 2048M
    log_disk_size: 14336M
    [root@wnd demo]#

这里看yaml文件不存在ocp或者ocp-express产品。你是不是启动错集群了?

我只有这一个集群

如果不存在的话 为啥我安装的时候 有一个web管理工具这个就很奇怪

8180端口看着陌生呢。。。。

OCP Express 端口

OCP Express 端口
这个进程怎么启动呢

你看一下myoceanbase是不是有ocp-express组件。
当前ocp-express已经不提供维护,建议不要使用该组件了

我正在重装服务器 等重装好我确认下,这个组件是我安装社区版本自动安装的 我应该怎么更换其他的OCP组件

是的有这个组件
image

https://www.oceanbase.com/docs/common-obd-cn-1000000003754540
参考这里面的 组件删除和组件添加功能。
demo集群本不适用户于长期执行的业务集群,建议你把数据备份重新搭建个业务集群

你说的我等会测试一下

那么目前
ocp-express组件
我应该怎么启动

使用 obd cluster start xxxx -c ocp-express