4.3.5版本升级4.4.2版咨询

【 使用环境 】测试环境
【 OB or 其他组件 】
4.3.5.6
oceanbase-ce oceanbase-ce-libs oceanbase-ce-utils
【 使用版本 】
4.3.5.6
【问题描述】
oceanbase-ce oceanbase-ce-libs oceanbase-ce-utils 以上三个组件各自有什么作用?
初始部署集群是4.3.5.6版本,然后为了使用iceberg目录功能,使用以下命令升级为4.4.2.2了
obd cluster upgrade myoceanbase -c oceanbase-ce -V 4.4.2.2 --usable=xxxxxxxxxxxxxx
只升级了oceanbase-ce组件,另外两个是否要升级?不升级有什么影响吗?
升级完后使用SELECT version();这个命令查看本版已经显示为:5.7.25-OceanBase_CE-v4.4.2.2
【复现路径】问题出现前后相关操作
【附件及日志】推荐使用OceanBase敏捷诊断工具obdiag收集诊断信息,详情参见链接(右键跳转查看):

【SOP系列 22 】——故障诊断第一步(自助诊断和诊断信息收集)

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

@论坛小助手

OceanBase 组件作用说明

首先,根据您的问题描述,这里解释一下您提到的三个组件各自的作用:

  • oceanbase-ce: 这是 OceanBase 社区版的核心数据库引擎部分。它包含了执行 SQL 语句、事务处理等核心功能。
  • oceanbase-ce-libs: 此包提供了支持 OceanBase 社区版运行所需的共享库文件。
  • oceanbase-ce-utils: 包含了一些实用工具,如用于管理集群状态、数据迁移或备份恢复等功能的小工具。

升级相关建议

针对您提到的从4.3.5.6版本升级至4.4.2.2版本过程中仅升级了oceanbase-ce的情况,以下是一些建议:

  1. 是否需要同时升级所有相关组件?

    • 为了确保系统的稳定性和兼容性,通常推荐将与OceanBase紧密相关的所有组件(如oceanbase-ce-libs, oceanbase-ce-utils)同步到最新版本。虽然某些情况下不同步这些组件也可能正常工作,但存在潜在的风险,例如新特性可能依赖较新的库版本来提供额外的功能或者修复了安全漏洞。
  2. 未同步升级的影响

    • 如果没有同步更新oceanbase-ce-libsoceanbase-ce-utils,可能会遇到兼容性问题,尤其是当新版本的OceanBase引入了对底层库或工具的新要求时。此外,使用旧版工具访问新版数据库可能会导致不一致的行为或者无法利用到最新版的所有改进。
  3. 如何进行补救

    • 您可以继续按照之前的步骤通过obd命令行工具单独升级剩余两个组件。假设这两个组件也支持相同的目标版本(4.4.2.2),那么您可以分别运行如下命令来进行升级:
      obd component upgrade oceanbase-ce-libs -V 4.4.2.2
      obd component upgrade oceanbase-ce-utils -V 4.4.2.2
      
    • 请替换上述命令中的-V选项后面的具体版本号为实际想要安装的确切版本号。

版本确认

根据您提供的信息,执行SELECT version();后返回的结果表明您的OceanBase核心服务已经成功更新到了4.4.2.2版本。这是一个好的信号,意味着主数据库服务部分至少已经完成升级,并且看起来在当前环境下运行良好。

请注意,在生产环境中做此类变更之前最好先在相似配置的测试环境中进行全面测试以验证稳定性及兼容性。如果还有其他疑问或遇到了具体的技术障碍,请提供更多详细信息以便进一步帮助您解决问题。

更多信息请查看:

  1. 使用 obd 进行运维
  2. 升级 OceanBase 集群
  3. 使用 OCP 进行运维
  4. 使用 ob-operator 进行运维
  5. 升级 obshell

我想继续升级另外两个组件,报错了
[root@dmp-trust-space04 ~]# obd cluster upgrade myoceanbase -c oceanbase-ce-libs -V 4.4.2.2 --usable=be06b2744ac978aaac7b1ebae6e285f030498d80
Get local repositories and plugins ok
Open ssh connection ok
Get deployment connections ok
Get standbys info ok
[ERROR] Not found oceanbase-ce-libs in Deploy “myoceanbase”
Trace ID: b20a130e-a287-11f1-a59f-fefcfeff6db5
If you want to view detailed obd logs, please run: obd display-trace b20a130e-a287-11f1-a59f-fefcfeff6db5
[root@dmp-trust-space04 ~]# obd mirror list local | grep oceanbase-ce
| oceanbase-ce | 4.2.1.8 | 108000022024072217.el8 | x86_64 | 67cdfd029a461e9563b4ed301c661479136e58bc |
| oceanbase-ce | 4.3.5.3 | 103020012025120120.el8 | x86_64 | 404db9c27f249d8a782b6fdaefaf4c73f5e5d25d |
| oceanbase-ce | 4.3.5.6 | 106000012026040916.el8 | x86_64 | f2da44c5e7d808daed009e05cc052b23ea522339 |
| oceanbase-ce | 4.4.2.2 | 102000022026071514.el8 | x86_64 | 795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2 |
| oceanbase-ce-libs | 4.2.1.8 | 108000022024072217.el8 | x86_64 | b7a867b144db1900a77c50dff33018adcc523232 |
| oceanbase-ce-libs | 4.3.5.3 | 103020012025120120.el8 | x86_64 | 73821bc71bfa85f1b6a05bd89453aaae541565b5 |
| oceanbase-ce-libs | 4.3.5.6 | 106000012026040916.el8 | x86_64 | 26ef8c67a89a8cf25d53415e28971f6cdfc54b5d |
| oceanbase-ce-libs | 4.4.2.2 | 102000022026071514.el8 | x86_64 | be06b2744ac978aaac7b1ebae6e285f030498d80 |
| oceanbase-ce-utils | 4.2.1.8 | 108000022024072217.el8 | x86_64 | 8830434f4fde3a60dcfa9308182aa7d07163bda1 |
| oceanbase-ce-utils | 4.3.5.3 | 103020012025120120.el8 | x86_64 | d0cf7e591a7944d0259b1a57a1dd34b04d9d2e16 |
| oceanbase-ce-utils | 4.3.5.6 | 106000012026040916.el8 | x86_64 | e1128381eae7c8f42c15c0d656a09bf1cfbdeb76 |
| oceanbase-ce-utils | 4.4.2.2 | 102000022026071514.el8 | x86_64 | 4a420397ad84761e052a191c73c68dc5f9fb7440 |
[root@dmp-trust-space04 ~]# obd display-trace b20a130e-a287-11f1-a59f-fefcfeff6db5
[2026-08-28 10:25:11.649] [DEBUG] - cmd: [‘myoceanbase’]
[2026-08-28 10:25:11.652] [DEBUG] - opts: {‘component’: ‘oceanbase-ce-libs’, ‘version’: ‘4.4.2.2’, ‘tag’: None, ‘image_name’: None, ‘skip_check’: None, ‘usable’: ‘be06b2744ac978aaac7b1ebae6e285f030498d80’, ‘disable’: ‘’, ‘executer_path’: ‘/usr/obd/lib/executer’, ‘script_query_timeout’: ‘’, ‘ignore_standby’: None, ‘oms_backup_path’: ‘/root/oms/meta_backup_data’, ‘disable_oms_backup’: None}
[2026-08-28 10:25:11.652] [DEBUG] - mkdir /root/.obd/lock/
[2026-08-28 10:25:11.653] [DEBUG] - unknown lock mode
[2026-08-28 10:25:11.653] [DEBUG] - try to get share lock /root/.obd/lock/global
[2026-08-28 10:25:11.653] [DEBUG] - share lock /root/.obd/lock/global, count 1
[2026-08-28 10:25:11.654] [DEBUG] - Get Deploy by name
[2026-08-28 10:25:11.654] [DEBUG] - mkdir /root/.obd/cluster/
[2026-08-28 10:25:11.654] [DEBUG] - mkdir /root/.obd/config_parser/
[2026-08-28 10:25:11.655] [DEBUG] - try to get exclusive lock /root/.obd/lock/deploy_myoceanbase
[2026-08-28 10:25:11.655] [DEBUG] - exclusive lock /root/.obd/lock/deploy_myoceanbase, count 1
[2026-08-28 10:25:11.661] [DEBUG] - Deploy status judge
[2026-08-28 10:25:11.689] [INFO] Get local repositories and plugins
[2026-08-28 10:25:11.691] [DEBUG] - mkdir /root/.obd/repository
[2026-08-28 10:25:11.691] [DEBUG] - Get local repository oceanbase-ce-4.4.2.2-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:25:11.692] [DEBUG] - try to get share lock /root/.obd/lock/mirror_and_repo
[2026-08-28 10:25:11.692] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo, count 1
[2026-08-28 10:25:11.695] [DEBUG] - Get local repository obproxy-ce-4.3.6.1-ce7f4ebf7170fd7f0d3ebbaa31904c528a42a69a
[2026-08-28 10:25:11.696] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo, count 2
[2026-08-28 10:25:11.698] [DEBUG] - Searching param plugin for components …
[2026-08-28 10:25:11.698] [DEBUG] - Search param plugin for oceanbase-ce
[2026-08-28 10:25:11.699] [DEBUG] - mkdir /root/.obd/plugins
[2026-08-28 10:25:11.700] [DEBUG] - Found for oceanbase-ce-param-4.3.3.0 for oceanbase-ce-4.4.2.2
[2026-08-28 10:25:11.700] [DEBUG] - Applying oceanbase-ce-param-4.3.3.0 for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:25:12.355] [DEBUG] - Search param plugin for obproxy-ce
[2026-08-28 10:25:12.356] [DEBUG] - Found for obproxy-ce-param-4.3.0 for obproxy-ce-4.3.6.1
[2026-08-28 10:25:12.356] [DEBUG] - Applying obproxy-ce-param-4.3.0 for obproxy-ce-4.3.6.1-2.el8-ce7f4ebf7170fd7f0d3ebbaa31904c528a42a69a
[2026-08-28 10:25:12.590] [DEBUG] - Searching standby_check template for components …
[2026-08-28 10:25:12.590] [DEBUG] - mkdir /root/.obd/workflows
[2026-08-28 10:25:12.592] [DEBUG] - Call workflow oceanbase-ce-py_script_workflow_standby_check-4.2.0.0 for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:25:12.592] [DEBUG] - mkdir /root/.obd/mirror
[2026-08-28 10:25:12.592] [DEBUG] - mkdir /root/.obd/mirror/remote
[2026-08-28 10:25:12.593] [DEBUG] - mkdir /root/.obd/mirror/local
[2026-08-28 10:25:12.593] [DEBUG] - mkdir /root/.obd/optimize/
[2026-08-28 10:25:12.593] [DEBUG] - mkdir /root/.obd/tool/
[2026-08-28 10:25:12.593] [DEBUG] - import standby_check
[2026-08-28 10:25:12.594] [DEBUG] - add standby_check ref count to 1
[2026-08-28 10:25:12.595] [DEBUG] - sub standby_check ref count to 0
[2026-08-28 10:25:12.595] [DEBUG] - export standby_check
[2026-08-28 10:25:12.595] [DEBUG] - plugin oceanbase-ce-py_script_workflow_standby_check-4.2.0.0 result: True
[2026-08-28 10:25:12.595] [DEBUG] - Found for oceanbase-ce-py_script_workflow_standby_check-4.2.0.0 for oceanbase-ce-4.2.0.0
[2026-08-28 10:25:12.595] [DEBUG] - Searching standby_check template for components …
[2026-08-28 10:25:12.596] [DEBUG] - No such standby_check template for obproxy-ce-4.3.6.1
[2026-08-28 10:25:12.596] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo, count 3
[2026-08-28 10:25:12.599] [DEBUG] - Searching get_relation_tenants plugin for components …
[2026-08-28 10:25:12.599] [DEBUG] - Searching get_relation_tenants plugin for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:25:12.601] [DEBUG] - Found for oceanbase-ce-py_script_get_relation_tenants-4.2.0.0 for oceanbase-ce-4.4.2.2
[2026-08-28 10:25:12.601] [DEBUG] - Call plugin oceanbase-ce-py_script_get_relation_tenants-4.2.0.0 for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:25:12.602] [INFO] Open ssh connection
[2026-08-28 10:25:12.609] [DEBUG] - host: 10.241.13.191, port: 22, user: root, password: ******
[2026-08-28 10:25:12.758] [DEBUG] - host: 10.241.13.192, port: 22, user: root, password: ******
[2026-08-28 10:25:12.913] [DEBUG] - host: 10.241.13.190, port: 22, user: root, password: ******
[2026-08-28 10:25:13.132] [DEBUG] - import get_relation_tenants
[2026-08-28 10:25:13.134] [DEBUG] - add get_relation_tenants ref count to 1
[2026-08-28 10:25:13.134] [DEBUG] - exclusive lock /root/.obd/lock/deploy_myoceanbase, count 2
[2026-08-28 10:25:13.164] [DEBUG] - sub get_relation_tenants ref count to 0
[2026-08-28 10:25:13.164] [DEBUG] - export get_relation_tenants
[2026-08-28 10:25:13.164] [DEBUG] - plugin oceanbase-ce-py_script_get_relation_tenants-4.2.0.0 result: True
[2026-08-28 10:25:13.164] [DEBUG] - Searching get_deployment_connections plugin for components …
[2026-08-28 10:25:13.164] [DEBUG] - Searching get_deployment_connections plugin for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:25:13.165] [DEBUG] - Found for oceanbase-ce-py_script_get_deployment_connections-4.2.0.0 for oceanbase-ce-4.4.2.2
[2026-08-28 10:25:13.166] [DEBUG] - Call plugin oceanbase-ce-py_script_get_deployment_connections-4.2.0.0 for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:25:13.166] [DEBUG] - import get_deployment_connections
[2026-08-28 10:25:13.167] [DEBUG] - add get_deployment_connections ref count to 1
[2026-08-28 10:25:13.168] [INFO] Get deployment connections
[2026-08-28 10:25:13.301] [DEBUG] - sub get_deployment_connections ref count to 0
[2026-08-28 10:25:13.301] [DEBUG] - export get_deployment_connections
[2026-08-28 10:25:13.302] [DEBUG] - plugin oceanbase-ce-py_script_get_deployment_connections-4.2.0.0 result: True
[2026-08-28 10:25:13.302] [DEBUG] - Searching get_standbys plugin for components …
[2026-08-28 10:25:13.302] [DEBUG] - Searching get_standbys plugin for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:25:13.303] [DEBUG] - Found for oceanbase-ce-py_script_get_standbys-4.2.0.0 for oceanbase-ce-4.4.2.2
[2026-08-28 10:25:13.303] [DEBUG] - Call plugin oceanbase-ce-py_script_get_standbys-4.2.0.0 for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:25:13.304] [DEBUG] - import get_standbys
[2026-08-28 10:25:13.307] [DEBUG] - add get_standbys ref count to 1
[2026-08-28 10:25:13.308] [INFO] Get standbys info
[2026-08-28 10:25:13.440] [DEBUG] - sub get_standbys ref count to 0
[2026-08-28 10:25:13.440] [DEBUG] - export get_standbys
[2026-08-28 10:25:13.441] [DEBUG] - plugin oceanbase-ce-py_script_get_standbys-4.2.0.0 result: True
[2026-08-28 10:25:13.441] [DEBUG] - Searching check_exit_standby plugin for components …
[2026-08-28 10:25:13.441] [DEBUG] - Searching check_exit_standby plugin for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:25:13.442] [DEBUG] - Found for oceanbase-ce-py_script_check_exit_standby-4.2.0.0 for oceanbase-ce-4.4.2.2
[2026-08-28 10:25:13.443] [DEBUG] - Call plugin oceanbase-ce-py_script_check_exit_standby-4.2.0.0 for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:25:13.443] [DEBUG] - import check_exit_standby
[2026-08-28 10:25:13.444] [DEBUG] - add check_exit_standby ref count to 1
[2026-08-28 10:25:13.445] [DEBUG] - sub check_exit_standby ref count to 0
[2026-08-28 10:25:13.445] [DEBUG] - export check_exit_standby
[2026-08-28 10:25:13.445] [DEBUG] - plugin oceanbase-ce-py_script_check_exit_standby-4.2.0.0 result: True
[2026-08-28 10:25:13.446] [ERROR] [ERROR] Not found oceanbase-ce-libs in Deploy “myoceanbase”
[2026-08-28 10:25:13.452] [DEBUG] - exclusive lock /root/.obd/lock/deploy_myoceanbase release, count 1
[2026-08-28 10:25:13.452] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo release, count 2
[2026-08-28 10:25:13.452] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo release, count 1
[2026-08-28 10:25:13.452] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo release, count 0
[2026-08-28 10:25:13.452] [DEBUG] - unlock /root/.obd/lock/mirror_and_repo
[2026-08-28 10:25:13.452] [DEBUG] - exclusive lock /root/.obd/lock/deploy_myoceanbase release, count 0
[2026-08-28 10:25:13.453] [DEBUG] - unlock /root/.obd/lock/deploy_myoceanbase
[2026-08-28 10:25:13.453] [DEBUG] - share lock /root/.obd/lock/global release, count 0
[2026-08-28 10:25:13.453] [DEBUG] - unlock /root/.obd/lock/global
[2026-08-28 10:25:13.453] [INFO] Trace ID: b20a130e-a287-11f1-a59f-fefcfeff6db5
[2026-08-28 10:25:13.453] [INFO] If you want to view detailed obd logs, please run: obd display-trace b20a130e-a287-11f1-a59f-fefcfeff6db5

[root@dmp-trust-space04 ~]# obd cluster upgrade myoceanbase -c oceanbase-ce-utils -V 4.4.2.2 --usable=4a420397ad84761e052a191c73c68dc5f9fb7440
Get local repositories and plugins ok
Open ssh connection ok
Get deployment connections ok
Get standbys info ok
[ERROR] Not found oceanbase-ce-utils in Deploy “myoceanbase”
Trace ID: 340f939c-a288-11f1-9a17-fefcfeff6db5
If you want to view detailed obd logs, please run: obd display-trace 340f939c-a288-11f1-9a17-fefcfeff6db5
[root@dmp-trust-space04 ~]# obd display-trace 340f939c-a288-11f1-9a17-fefcfeff6db5
[2026-08-28 10:28:49.790] [DEBUG] - cmd: [‘myoceanbase’]
[2026-08-28 10:28:49.792] [DEBUG] - opts: {‘component’: ‘oceanbase-ce-utils’, ‘version’: ‘4.4.2.2’, ‘tag’: None, ‘image_name’: None, ‘skip_check’: None, ‘usable’: ‘4a420397ad84761e052a191c73c68dc5f9fb7440’, ‘disable’: ‘’, ‘executer_path’: ‘/usr/obd/lib/executer’, ‘script_query_timeout’: ‘’, ‘ignore_standby’: None, ‘oms_backup_path’: ‘/root/oms/meta_backup_data’, ‘disable_oms_backup’: None}
[2026-08-28 10:28:49.792] [DEBUG] - mkdir /root/.obd/lock/
[2026-08-28 10:28:49.792] [DEBUG] - unknown lock mode
[2026-08-28 10:28:49.793] [DEBUG] - try to get share lock /root/.obd/lock/global
[2026-08-28 10:28:49.793] [DEBUG] - share lock /root/.obd/lock/global, count 1
[2026-08-28 10:28:49.793] [DEBUG] - Get Deploy by name
[2026-08-28 10:28:49.793] [DEBUG] - mkdir /root/.obd/cluster/
[2026-08-28 10:28:49.794] [DEBUG] - mkdir /root/.obd/config_parser/
[2026-08-28 10:28:49.794] [DEBUG] - try to get exclusive lock /root/.obd/lock/deploy_myoceanbase
[2026-08-28 10:28:49.794] [DEBUG] - exclusive lock /root/.obd/lock/deploy_myoceanbase, count 1
[2026-08-28 10:28:49.800] [DEBUG] - Deploy status judge
[2026-08-28 10:28:49.825] [INFO] Get local repositories and plugins
[2026-08-28 10:28:49.826] [DEBUG] - mkdir /root/.obd/repository
[2026-08-28 10:28:49.826] [DEBUG] - Get local repository oceanbase-ce-4.4.2.2-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:28:49.827] [DEBUG] - try to get share lock /root/.obd/lock/mirror_and_repo
[2026-08-28 10:28:49.827] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo, count 1
[2026-08-28 10:28:49.830] [DEBUG] - Get local repository obproxy-ce-4.3.6.1-ce7f4ebf7170fd7f0d3ebbaa31904c528a42a69a
[2026-08-28 10:28:49.830] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo, count 2
[2026-08-28 10:28:49.832] [DEBUG] - Searching param plugin for components …
[2026-08-28 10:28:49.832] [DEBUG] - Search param plugin for oceanbase-ce
[2026-08-28 10:28:49.832] [DEBUG] - mkdir /root/.obd/plugins
[2026-08-28 10:28:49.834] [DEBUG] - Found for oceanbase-ce-param-4.3.3.0 for oceanbase-ce-4.4.2.2
[2026-08-28 10:28:49.834] [DEBUG] - Applying oceanbase-ce-param-4.3.3.0 for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:28:50.408] [DEBUG] - Search param plugin for obproxy-ce
[2026-08-28 10:28:50.408] [DEBUG] - Found for obproxy-ce-param-4.3.0 for obproxy-ce-4.3.6.1
[2026-08-28 10:28:50.409] [DEBUG] - Applying obproxy-ce-param-4.3.0 for obproxy-ce-4.3.6.1-2.el8-ce7f4ebf7170fd7f0d3ebbaa31904c528a42a69a
[2026-08-28 10:28:50.571] [DEBUG] - Searching standby_check template for components …
[2026-08-28 10:28:50.572] [DEBUG] - mkdir /root/.obd/workflows
[2026-08-28 10:28:50.574] [DEBUG] - Call workflow oceanbase-ce-py_script_workflow_standby_check-4.2.0.0 for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:28:50.575] [DEBUG] - mkdir /root/.obd/mirror
[2026-08-28 10:28:50.575] [DEBUG] - mkdir /root/.obd/mirror/remote
[2026-08-28 10:28:50.575] [DEBUG] - mkdir /root/.obd/mirror/local
[2026-08-28 10:28:50.576] [DEBUG] - mkdir /root/.obd/optimize/
[2026-08-28 10:28:50.576] [DEBUG] - mkdir /root/.obd/tool/
[2026-08-28 10:28:50.576] [DEBUG] - import standby_check
[2026-08-28 10:28:50.577] [DEBUG] - add standby_check ref count to 1
[2026-08-28 10:28:50.578] [DEBUG] - sub standby_check ref count to 0
[2026-08-28 10:28:50.578] [DEBUG] - export standby_check
[2026-08-28 10:28:50.578] [DEBUG] - plugin oceanbase-ce-py_script_workflow_standby_check-4.2.0.0 result: True
[2026-08-28 10:28:50.578] [DEBUG] - Found for oceanbase-ce-py_script_workflow_standby_check-4.2.0.0 for oceanbase-ce-4.2.0.0
[2026-08-28 10:28:50.578] [DEBUG] - Searching standby_check template for components …
[2026-08-28 10:28:50.578] [DEBUG] - No such standby_check template for obproxy-ce-4.3.6.1
[2026-08-28 10:28:50.579] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo, count 3
[2026-08-28 10:28:50.582] [DEBUG] - Searching get_relation_tenants plugin for components …
[2026-08-28 10:28:50.582] [DEBUG] - Searching get_relation_tenants plugin for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:28:50.583] [DEBUG] - Found for oceanbase-ce-py_script_get_relation_tenants-4.2.0.0 for oceanbase-ce-4.4.2.2
[2026-08-28 10:28:50.583] [DEBUG] - Call plugin oceanbase-ce-py_script_get_relation_tenants-4.2.0.0 for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:28:50.584] [INFO] Open ssh connection
[2026-08-28 10:28:50.590] [DEBUG] - host: 10.241.13.190, port: 22, user: root, password: ******
[2026-08-28 10:28:50.708] [DEBUG] - host: 10.241.13.192, port: 22, user: root, password: ******
[2026-08-28 10:28:50.865] [DEBUG] - host: 10.241.13.191, port: 22, user: root, password: ******
[2026-08-28 10:28:51.113] [DEBUG] - import get_relation_tenants
[2026-08-28 10:28:51.115] [DEBUG] - add get_relation_tenants ref count to 1
[2026-08-28 10:28:51.115] [DEBUG] - exclusive lock /root/.obd/lock/deploy_myoceanbase, count 2
[2026-08-28 10:28:51.141] [DEBUG] - sub get_relation_tenants ref count to 0
[2026-08-28 10:28:51.141] [DEBUG] - export get_relation_tenants
[2026-08-28 10:28:51.142] [DEBUG] - plugin oceanbase-ce-py_script_get_relation_tenants-4.2.0.0 result: True
[2026-08-28 10:28:51.142] [DEBUG] - Searching get_deployment_connections plugin for components …
[2026-08-28 10:28:51.142] [DEBUG] - Searching get_deployment_connections plugin for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:28:51.143] [DEBUG] - Found for oceanbase-ce-py_script_get_deployment_connections-4.2.0.0 for oceanbase-ce-4.4.2.2
[2026-08-28 10:28:51.143] [DEBUG] - Call plugin oceanbase-ce-py_script_get_deployment_connections-4.2.0.0 for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:28:51.144] [DEBUG] - import get_deployment_connections
[2026-08-28 10:28:51.145] [DEBUG] - add get_deployment_connections ref count to 1
[2026-08-28 10:28:51.145] [INFO] Get deployment connections
[2026-08-28 10:28:51.278] [DEBUG] - sub get_deployment_connections ref count to 0
[2026-08-28 10:28:51.278] [DEBUG] - export get_deployment_connections
[2026-08-28 10:28:51.278] [DEBUG] - plugin oceanbase-ce-py_script_get_deployment_connections-4.2.0.0 result: True
[2026-08-28 10:28:51.278] [DEBUG] - Searching get_standbys plugin for components …
[2026-08-28 10:28:51.279] [DEBUG] - Searching get_standbys plugin for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:28:51.280] [DEBUG] - Found for oceanbase-ce-py_script_get_standbys-4.2.0.0 for oceanbase-ce-4.4.2.2
[2026-08-28 10:28:51.280] [DEBUG] - Call plugin oceanbase-ce-py_script_get_standbys-4.2.0.0 for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:28:51.280] [DEBUG] - import get_standbys
[2026-08-28 10:28:51.283] [DEBUG] - add get_standbys ref count to 1
[2026-08-28 10:28:51.283] [INFO] Get standbys info
[2026-08-28 10:28:51.415] [DEBUG] - sub get_standbys ref count to 0
[2026-08-28 10:28:51.415] [DEBUG] - export get_standbys
[2026-08-28 10:28:51.415] [DEBUG] - plugin oceanbase-ce-py_script_get_standbys-4.2.0.0 result: True
[2026-08-28 10:28:51.415] [DEBUG] - Searching check_exit_standby plugin for components …
[2026-08-28 10:28:51.415] [DEBUG] - Searching check_exit_standby plugin for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:28:51.416] [DEBUG] - Found for oceanbase-ce-py_script_check_exit_standby-4.2.0.0 for oceanbase-ce-4.4.2.2
[2026-08-28 10:28:51.416] [DEBUG] - Call plugin oceanbase-ce-py_script_check_exit_standby-4.2.0.0 for oceanbase-ce-4.4.2.2-102000022026071514.el8-795ff0b5288dd6306ba8e9c8c3aff80169ce8cb2
[2026-08-28 10:28:51.417] [DEBUG] - import check_exit_standby
[2026-08-28 10:28:51.417] [DEBUG] - add check_exit_standby ref count to 1
[2026-08-28 10:28:51.418] [DEBUG] - sub check_exit_standby ref count to 0
[2026-08-28 10:28:51.418] [DEBUG] - export check_exit_standby
[2026-08-28 10:28:51.418] [DEBUG] - plugin oceanbase-ce-py_script_check_exit_standby-4.2.0.0 result: True
[2026-08-28 10:28:51.418] [ERROR] [ERROR] Not found oceanbase-ce-utils in Deploy “myoceanbase”
[2026-08-28 10:28:51.420] [DEBUG] - exclusive lock /root/.obd/lock/deploy_myoceanbase release, count 1
[2026-08-28 10:28:51.420] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo release, count 2
[2026-08-28 10:28:51.420] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo release, count 1
[2026-08-28 10:28:51.420] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo release, count 0
[2026-08-28 10:28:51.420] [DEBUG] - unlock /root/.obd/lock/mirror_and_repo
[2026-08-28 10:28:51.420] [DEBUG] - exclusive lock /root/.obd/lock/deploy_myoceanbase release, count 0
[2026-08-28 10:28:51.420] [DEBUG] - unlock /root/.obd/lock/deploy_myoceanbase
[2026-08-28 10:28:51.420] [DEBUG] - share lock /root/.obd/lock/global release, count 0
[2026-08-28 10:28:51.420] [DEBUG] - unlock /root/.obd/lock/global
[2026-08-28 10:28:51.421] [INFO] Trace ID: 340f939c-a288-11f1-9a17-fefcfeff6db5
[2026-08-28 10:28:51.421] [INFO] If you want to view detailed obd logs, please run: obd display-trace 340f939c-a288-11f1-9a17-fefcfeff6db5

<home_path>/bin/observer -V

rpm -qa | grep -E ‘oceanbase-ce|oceanbase-ce-libs|oceanbase-ce-utils’ 你这样查一下 看看

[root@dmp-trust-space01 oceanbase]# ./bin/observer -V
rpm -qa | grep -E ‘oceanbase-ce|oceanbase-ce-libs|oceanbase-ce-utils’
./bin/observer -V
observer (OceanBase_CE 4.4.2.2)

REVISION: 102000022026071514-e9fc1e5f01f0cf7cc3a801af6c2c05c34d491d77
BUILD_BRANCH: HEAD
BUILD_TIME: Jul 15 2026 14:54:17
BUILD_FLAGS: RelWithDebInfo
BUILD_INFO:

Copyright (c) 2011-present OceanBase Inc.

[root@dmp-trust-space01 oceanbase]# rpm -qa | grep -E ‘oceanbase-ce|oceanbase-ce-libs|oceanbase-ce-utils’
[root@dmp-trust-space01 oceanbase]#

没找到oceanbase的包呢?

obd mirror list local | grep oceanbase-ce-libs # 离线
– 或
obd mirror list oceanbase.community.stable | grep oceanbase-ce-libs # 在线

– 在各节点安装 4.4.2.2 对应 RPM
rpm -Uvh oceanbase-ce-libs-4.4.2.2-*.rpm

若只用数据库、不用 ob_admin 等工具,可以不升级 oceanbase-ce-utils