OceanBase
English日本語简体中文
Docs Home
Products
Integrations
Release Notes

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service
OceanBase DatabaseOceanBase Cloud ToolsConnectors and MiddlewareLifecycle Support Policy

OceanBase Deployer

V4.3.0Community Edition
  • What is obd
  • Quick Start
    • Install obd
    • Quick deployment of OceanBase Database
    • Quickly deploy OCP
  • obd Command
    • Quick deployment commands
    • Cluster commands
    • Command groups
    • Image and repository commands
    • Test command groups
    • Tool commands
    • obdiag commands
    • Binlog service commands
    • Hardware commands
    • License commands
    • Password commands
    • Telemetry commands
  • User Guide
    • Usage overview
    • Deploy through GUI
      • Overview
      • Pattern configuration rules
      • Deploy an OceanBase cluster
      • Deploy OCP
      • Deploy OMS
      • Change components
      • Upgrade OCP
      • Upgrade OMS
    • Deploy through CLI
      • Configuration file
      • Component deployment
        • Deploy an OceanBase cluster
        • Deploy seekdb
        • Deploy obconfigserver
        • Deploy OMS
        • Deploy OCP
        • Deploy Alertmanager
        • Deploy obbinlog
        • Deploy oblogproxy
      • Cluster management
        • Physical Standby Database
          • Create a standby tenant
          • Role switching and decoupling
          • Switch the synchronization mode between primary and standby tenants
        • seekdb primary/standby instance
          • Create a standby instance
          • Role switching and decoupling
        • Scale out and component changes
        • Performance test
        • Diagnose a cluster
        • Backup and restore
        • Add a GUI monitoring system to an existing cluster
      • Cluster management
        • Use OCP to take over an OceanBase cluster deployed by obd
        • Take over an OceanBase cluster
      • Component upgrade
        • Upgrade OceanBase Database
        • Upgrade ODP
        • Upgrade OMS
  • Upgrade obd
  • FAQ
  • Error codes
  • Release Notes
    • Version rules
    • V4.3
      • OceanBase Deploy V4.3.0
    • V4.2
      • OceanBase Deployment Tool V4.2.0
    • V4.1
      • OceanBase Deployer V4.1.0
    • V4.0
      • OceanBase Deployer V4.0.0
    • V3.6
      • OceanBase Deployer V3.6.0
    • V3.5
      • OceanBase Deployer V3.5.0
    • V3.4
      • OceanBase Deployer V3.4.0
    • V3.3
      • OceanBase Deployer V3.3.0
    • V3.2
      • OceanBase Deployer V3.2.2
      • OceanBase Deployer V3.2.1
      • OceanBase Deployer V3.2.0
    • V3.1
      • OceanBase Deployer V3.1.2
      • OceanBase Deployer V3.1.1
      • OceanBase Deployer V3.1.0
    • V3.0
      • OceanBase Deployer V3.0.1
      • OceanBase Deployer V3.0.0
    • V2.10
      • OceanBase Deployer V2.10.1
      • OceanBase Deployer V2.10.0
    • V2.9
      • OceanBase Deployer V2.9.2
      • OceanBase Deployer V2.9.1
      • OceanBase Deployer V2.9.0
    • V2.8
      • OceanBase Deployment Tool V2.8.0
    • V2.7
      • OceanBase Deployment Tool V2.7.0
    • V2.6
      • OceanBase Deployment Tool V2.6.2
      • OceanBase Deployment Tool V2.6.1
      • OceanBase Deployment Tool V2.6.0
    • V2.5
      • OceanBase Deployer V2.5.0
    • V2.4
      • OceanBase Deployer V2.4.0
    • V2.3
      • OceanBase Deployment Tool V2.3.1
      • OceanBase Deployer V2.3.0
    • V2.2
      • OceanBase Deployment Tool V2.2.0
    • V2.1
      • OceanBase Deployer V2.1.1
      • OceanBase Deployment Tool V2.1.0
    • V2.0
      • OceanBase Deployment Tool V2.0.1
      • OceanBase Deployment Tool V2.0.0
    • V1.6
      • OceanBase Deployer V1.6.2
      • OceanBase Deployer V1.6.1
      • OceanBase Deployer V1.6.0
    • V1.5
      • OceanBase Deployer V1.5.0
    • V1.4
      • OceanBase Deployer V1.4.0
    • V1.3
      • OceanBase Deployer V1.3.3
      • OceanBase Deployer V1.3.2
      • OceanBase Deployer V1.3.0
    • V1.2
      • OceanBase Deployer V1.2.1
      • OceanBase Deployer V1.2.0
  • Interactive deployment of OceanBase Database Community Edition
  • Deploy a Community Edition cluster using the obd graphical interface
  • Deploy a Community Edition cluster by using an obd configuration file

Download PDF

Document Feedback
  1. Documentation Center
  2. OceanBase Deployer
  3. V4.3.0

Upgrade OMS

Last Updated:2026-09-04 08:21:29

Prerequisites
Procedure
Step 1: Obtain the installation package required for the upgrade
Step 2: Upgrade OMS
Step 3: Verify
References

This topic describes how to upgrade OMS by using the graphical interface of obd.

Note

Currently, obd supports only the upgrade of OMS Community Edition.

Prerequisites

Before you start the upgrade, make sure that the following conditions are met:

  • OMS is deployed by using obd.

  • You have installed obd V4.0.0 or later. We recommend that you install the latest version. For more information, see Install obd.

Procedure

Step 1: Obtain the installation package required for the upgrade

Note

If the OMS to be upgraded is a multi-node OMS, you must perform the following steps on each node.

  1. Download the installation package.

    Go to the OceanBase Download Center, search for OceanBase Migration Service, and download the required installation package. Then, upload the installation package to any directory on the obd control node.

  2. Load the downloaded OMS installation package to the local image repository of the Docker container.

    [admin@test001 ~]$ sudo docker load -i oms_4.2.11-ce.tar.gz
    
  3. Verify whether the loading is successful.

    [admin@test001 ~]$ sudo docker images
    

    The expected output is as follows:

    REPOSITORY                                    TAG                 IMAGE ID       CREATED        SIZE
    reg.docker.alibaba-inc.com/oceanbase/oms-ce   feature_4.2.11_ce   26f5f1554fc5   2 months ago   12.5GB
    reg.docker.alibaba-inc.com/oceanbase/oms-ce   feature_4.2.12_ce   28fddcdaf8a0   2 days ago     12.5GB
    

Step 2: Upgrade OMS

  1. Disable HA.

    HA stands for High Available, which ensures the stability and continuity of data transmission links. Before you upgrade OMS, you must disable HA. If HA is enabled, perform the following steps to disable HA:

    • Log in to the OMS Community Edition console.

    • In the left-side navigation pane, choose System Management > System Parameters.

    • On the System Parameters page, find ha.config.

    • Click the edit icon in the Actions column of the ha.config row.

    • In the Modify Value dialog box, set enable to false to disable HA.

  2. Run the upgrade command.

    Run the following command to upgrade OMS.

    obd cluster upgrade myoms -c oms-ce --tag=feature_4.2.12_ce --image-name=reg.docker.alibaba-inc.com/oceanbase/oms-ce --oms-backup-path=/data/oms/meta_backup_data
    

    During the execution of the command, you are prompted to confirm some information. The following describes the information.

    1. Confirm the version to be used.

      The command displays the OMS image package to be used during the upgrade. You can enter y to continue the upgrade or n to exit the upgrade.

      +---------------------------------------------------+
      |               Packages Will Be Used               |
      +--------+-------------------+--------------+-------+
      | name   | tag               | hash         | mark  |
      +--------+-------------------+--------------+-------+
      | oms-ce | feature_4.2.11_ce | 26f5f1554fc5 | start |
      | oms-ce | feature_4.2.12_ce | 28fddcdaf8a0 | dest  |
      +--------+-------------------+--------------+-------+
      If you use a non-official release, we cannot guarantee a successful upgrade or technical support when you fail. Make sure that you want to use the above package to upgrade. [y/n]: y
      
    2. Confirm the upgrade method.

      Currently, two OMS upgrade methods are supported: offline upgrade and online upgrade. In the Enter the number of the oceanbase type you want to use: prompt, enter the number preceding the upgrade method to select the corresponding method.

      • Offline upgrade: The new image container is deployed to replace the old container. During the upgrade, the running link will be briefly interrupted.
      • Online upgrade: The component package is directly replaced in the original container to achieve the upgrade. This ensures that the running link is not interrupted.
      Backup OMS meta databases using mysqldump ok
          Two types of OMS upgrade methods. Please choose one:
          1) Offline upgrade: Start a new container with the new image to replace the container with the old version image. The running migration tasks will be interrupted during the upgrade process.
          2) Online upgrade: Replace the component packages in the original container with those from the new image. The running migration tasks will not be affected.
      Enter the number of the oceanbase type you want to use: 2
      
    3. Specify the path to store the upgrade files.

      If you choose online upgrade, you must specify the path to store the upgrade files. If the OMS to be upgraded has multiple nodes, you must specify the path for each node.

      10.10.10.1:Please specify a local directory(minimum 20GB) for exporting files from the OMS image. (Default: /data/oms/upgrade_docker_files):
      

    After you confirm the above information, obd starts to upgrade OMS.

Step 3: Verify

  1. Check the status of the nodes.

    After the upgrade is complete, log in to the OMS Community Edition console. In the left-side navigation pane, choose O&M Monitoring > Nodes. On the Nodes page, check whether the nodes are displayed properly. Also, make sure that the status of all nodes is Online.

  2. Check the OMS version.

    Log in to the OMS Community Edition console. Hover the pointer over Help Center in the upper-right corner and click About OMS. In the dialog box that appears, check whether the OMS version is the target version.

References

  • After the upgrade is complete, we recommend that you enable HA. You can enable HA by setting the enable parameter of ha.config to true in the OMS console.

Previous topic

Upgrade ODP
Last

Next topic

Upgrade obd
Next
on this page
Prerequisites
Procedure
Step 1: Obtain the installation package required for the upgrade
Step 2: Upgrade OMS
Step 3: Verify
References