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 obd

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

Background
Online upgrade
Offline upgrade

This topic describes how to upgrade obd based on whether the machine where obd is located can connect to an external network, divided into online deployment and offline deployment methods.

Background

There are two common ways to install obd: through OceanBase All in One installation and using RPM package installation. Different installation methods have different upgrade methods:

  • If obd was originally installed through OceanBase All in One, we recommend upgrading obd by referring to the Upgrade OceanBase All in One step in Install obd.

  • If obd was originally installed using an RPM package, we recommend upgrading through the obd update command. For details, see the operations in this topic.

Online upgrade

When the machine can connect to an external network, you can upgrade obd according to the following operations. Online upgrade automatically upgrades obd to the latest version. If you need to specify a target version for upgrade, download the installation package of the specified version and refer to the Offline upgrade steps below.

  1. Enable the remote mirror repository

    obd mirror enable remote
    

    After successful execution, you can run the obd mirror list command to verify whether the remote mirror repository is enabled. If the Enabled column in the row corresponding to Type=remote is True, the remote mirror source is enabled. Example output:

    +-----------------------------------------------------------------------------+
    |                            Mirror Repository List                           |
    +----------------------------+--------+---------+----------+------------------+
    | SectionName                | Type   | Enabled | Avaiable | 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
    

    Example output shows 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

When the machine cannot connect to an external network, you need to first visit the OceanBase Software Download Center to obtain the obd installation package and upload it to the machine where obd is located. Then you can upgrade obd according to the following steps in the directory where the installation package is located.

  1. Upload the installation package to the local mirror repository

    obd mirror clone ob-deploy-*.rpm
    

    After uploading, you can run the obd mirror list local | grep ob-deploy command to view the installation package in the local mirror repository. Example output:

    | ob-deploy  | 3.1.2   | 1.el7   | x86_64 | 75a9be0ab6bd723754febe30970a27fd52c5cdd7 |
    
  2. Disable the remote mirror repository

    obd mirror disable remote
    

    After successful execution, you can run the obd mirror list command to confirm whether the remote mirror repository is disabled. If the Enabled column in the row corresponding to Type=remote is False, the remote mirror source is disabled. Example output:

    +-----------------------------------------------------------------------------+
    |                            Mirror Repository List                           |
    +----------------------------+--------+---------+----------+------------------+
    | SectionName                | Type   | Enabled | Avaiable | 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
    

    Example output shows 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

Upgrade OMS
Last

Next topic

FAQ
Next
on this page
Background
Online upgrade
Offline upgrade