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

V3.2.1Community Edition
  • What is obd
  • Quick Start
    • Install obd
    • Quickly deploy OceanBase Database
    • Quickly deploy OCP
  • obd Command
    • Quick deployment command
    • Cluster commands
    • Mirror and repository commands
    • Testing commands
    • Tool commands
    • obdiag commands
    • Binlog commands
    • Host commands
    • License commands
    • Password commands
    • Telemetry commands
  • User Guide
    • Overview
    • Deploy through GUI
      • GUI operation overview
      • Mode configuration rules
      • Deploy an OceanBase cluster on the GUI
      • Deploy OCP through the GUI
      • Modify components on the GUI
      • Upgrade OCP on the GUI
    • Deploy through CLI
      • Configuration files
      • Deploy Component
        • Deploy OceanBase Database on a single OBServer node
        • Deploy OCP Express by using commands
        • Deploy and use obconfigserver
        • Deploy the obbinlog
        • Deploy oblogproxy by using the CLI
        • Deploy OCP by using commands
      • Manage Cluster
        • Physical Standby Database
          • Deploy primary and standby tenants by using obd
          • Switch the roles of tenants and decouple a standby tenant from the primary tenant
        • Scale out a cluster and change cluster components
        • Performance test
        • Cluster diagnotistics
        • Add GUI-based monitoring for an existing cluster
      • Takeover Cluster
        • Use OCP to take over a cluster deployed by obd
        • Use obd to take over a cluster
      • Upgrade Component
        • Upgrade OceanBase Database
        • Upgrade ODP
        • Upgrade OCP Express
      • Backup and restore
  • Upgrade obd
  • FAQ
  • Error codes
  • Release Notes
    • Version rules
    • 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 Deployer V2.8.0
    • V2.7
      • OceanBase Deployer V2.7.0
    • V2.6
      • OceanBase Deployer V2.6.2
      • OceanBase Deployer V2.6.1
      • OceanBase Deployer V2.6.0
    • V2.5
      • OceanBase Deployer V2.5.0
    • V2.4
      • OceanBase Deployer V2.4.0
    • V2.3
      • OceanBase Deployer V2.3.1
      • OceanBase Deployer V2.3.0
    • V2.2
      • OceanBase Deployer V2.2.0
    • V2.1
      • OceanBase Deployer V2.1.1
      • OceanBase Deployer V2.1.0
    • V2.0
      • OceanBase Deployer V2.0.1
      • OceanBase Deployer 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

Download PDF

Document Feedback
  1. Documentation Center
  2. OceanBase Deployer
  3. V3.2.1

Upgrade obd

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

Background information
Online upgrade
Offline upgrade

You can upgrade OceanBase Deployer (obd) online or offline, depending on whether your obd server can connect to the Internet.

Background information

Generally, you can install obd by using the OceanBase All in One package or an RPM package. The upgrade method varies based on the installation method.

  • If obd is installed by using the OceanBase All in One package, we recommend that you upgrade obd by referring to the Upgrade the OceanBase All in One package section in Install obd.

  • If obd is installed by using an RPM package, we recommend that you upgrade obd by using the obd update command, which is described in this topic.

Online upgrade

If your obd server can connect to the Internet, you can perform the following steps to upgrade obd. An online upgrade automatically upgrades obd to the latest version. If you want to upgrade to a specific version, download the corresponding installation package and follow the steps in the Offline upgrade section.

  1. Enable remote image repositories.

    obd mirror enable remote
    

    After the preceding command is successfully executed, you can run the obd mirror list command to confirm whether the remote image repositories are enabled. The output is as follows, where if the values of the remote image repositories in the Enabled column are True, the remote image sources are enabled.

    +-----------------------------------------------------------------------------+
    |                            Mirror Repository List                           |
    +----------------------------+--------+---------+----------+------------------+
    | SectionName                | Type   | Enabled | Available| Update Time      |
    +----------------------------+--------+---------+----------+------------------+
    | local                      | local  | -       | True     | 2025-03-25 13:48 |
    | oceanbase.community.stable | remote | True    | True     | 2025-03-25 13:48 |
    | oceanbase.development-kit  | remote | True    | True     | 2025-03-25 13:48 |
    +----------------------------+--------+---------+----------+------------------+
    
  2. Upgrade obd.

    obd update
    
  3. Verify the obd version.

    obd --version
    

    The output is as follows, indicating that obd has been upgraded to V3.1.2.

    OceanBase Deploy: 3.1.2
    REVISION: 739be300c448342b2850c71087bee01091dd7cb7
    BUILD_BRANCH: HEAD
    BUILD_TIME: Feb 14 2025 14:43:32OURCE
    Copyright (C) 2025 OceanBase
    License Apache 2.0: Apache version 2 or later <https://www.apache.org/licenses/LICENSE-2.0>.
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    

Offline upgrade

If your obd server cannot connect to the Internet, download the desired installation package of obd from OceanBase Download Center and upload it to the server. In the directory where the installation package is located, perform the following steps to upgrade obd:

  1. Upload the installation package to the local image repository.

    obd mirror clone ob-deploy-*.rpm
    

    After the preceding command is executed, you can run the obd mirror list local | grep ob-deploy command to query the installation package in the local image repository. The output is as follows:

    | ob-deploy  | 3.1.2   | 1.el7   | x86_64 | 75a9be0ab6bd723754febe30970a27fd52c5cdd7 |
    
  2. Disable remote image repositories.

    obd mirror disable remote
    

    After the preceding command is executed, you can run the obd mirror list command to confirm whether the remote image repositories are disabled. The output is as follows, where if the values of the remote image repositories in the Enabled column are False, the remote image sources are disabled.

    +-----------------------------------------------------------------------------+
    |                            Mirror Repository List                           |
    +----------------------------+--------+---------+----------+------------------+
    | SectionName                | Type   | Enabled | Available| Update Time      |
    +----------------------------+--------+---------+----------+------------------+
    | local                      | local  | -       | True     | 2025-03-25 14:04 |
    | oceanbase.community.stable | remote | False   | False    | 2025-03-25 13:53 |
    | oceanbase.development-kit  | remote | False   | False    | 2025-03-25 13:53 |
    +----------------------------+--------+---------+----------+------------------+
    
  3. Upgrade obd.

    obd update
    
  4. Verify the obd version.

    obd --version
    

    The output is as follows, indicating that obd has been upgraded to V3.1.2.

    OceanBase Deploy: 3.1.2
    REVISION: 739be300c448342b2850c71087bee01091dd7cb7
    BUILD_BRANCH: HEAD
    BUILD_TIME: Feb 14 2025 14:43:32OURCE
    Copyright (C) 2025 OceanBase
    License Apache 2.0: Apache version 2 or later <https://www.apache.org/licenses/LICENSE-2.0>.
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    

Previous topic

Backup and restore
Last

Next topic

FAQ
Next
on this page
Background information
Online upgrade
Offline upgrade