Meet OceanBase AI Database, the unified database for operational data, real-time analytics, and AI. Explore ->

Meet OceanBase AI Database, the unified database for operational data, real-time analytics, and AI. Explore ->

OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

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

What is obdInstall obdQuick deployment of OceanBase DatabaseQuickly deploy OCPQuick deployment commandsCluster commandsCommand groupsImage and repository commandsTest command groupsTool commandsobdiag commandsBinlog service commandsHardware commandsLicense commandsPassword commandsTelemetry commandsUsage overviewOverviewPattern configuration rulesDeploy an OceanBase clusterDeploy OCPDeploy OMSChange componentsUpgrade OCPUpgrade OMSConfiguration fileUpgrade obdFAQError codesVersion rulesOceanBase Deploy V4.3.0OceanBase Deployment Tool V4.2.0OceanBase Deployer V4.1.0OceanBase Deployer V4.0.0OceanBase Deployer V3.6.0OceanBase Deployer V3.5.0OceanBase Deployer V3.4.0OceanBase Deployer V3.3.0OceanBase Deployer V3.2.2OceanBase Deployer V3.2.1OceanBase Deployer V3.2.0OceanBase Deployer V3.1.2OceanBase Deployer V3.1.1OceanBase Deployer V3.1.0OceanBase Deployer V3.0.1OceanBase Deployer V3.0.0OceanBase Deployer V2.10.1OceanBase Deployer V2.10.0OceanBase Deployer V2.9.2OceanBase Deployer V2.9.1OceanBase Deployer V2.9.0OceanBase Deployment Tool V2.8.0OceanBase Deployment Tool V2.7.0OceanBase Deployment Tool V2.6.2OceanBase Deployment Tool V2.6.1OceanBase Deployment Tool V2.6.0OceanBase Deployer V2.5.0OceanBase Deployer V2.4.0OceanBase Deployment Tool V2.3.1OceanBase Deployer V2.3.0OceanBase Deployment Tool V2.2.0OceanBase Deployer V2.1.1OceanBase Deployment Tool V2.1.0OceanBase Deployment Tool V2.0.1OceanBase Deployment Tool V2.0.0OceanBase Deployer V1.6.2OceanBase Deployer V1.6.1OceanBase Deployer V1.6.0OceanBase Deployer V1.5.0OceanBase Deployer V1.4.0OceanBase Deployer V1.3.3OceanBase Deployer V1.3.2OceanBase Deployer V1.3.0OceanBase Deployer V1.2.1OceanBase Deployer V1.2.0Interactive deployment of OceanBase Database Community EditionDeploy a Community Edition cluster using the obd graphical interfaceDeploy a Community Edition cluster by using an obd configuration file
OceanBase logo

The Unified Distributed Database for the AI Era.

Follow Us
Products
OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
Resources
DocsBlogWhite PaperLive DemosTraining & CertificationTicket
Company
About OceanBaseTrust CenterLegalPartnerContact Us
Follow Us

© OceanBase 2026. All rights reserved

Cloud Service AgreementPrivacy PolicySecurity
Contact Us
Document Feedback
  1. Documentation Center
  2. OceanBase Deployer
  3. V4.3.0
iconOceanBase Deployer
V 4.3.0Community Edition
Databases
  • OceanBase Database
  • OceanBase Cloud
  • OceanBase Tugraph
  • Interactive Tutorials
  • OceanBase Best Practices
Tools
  • OceanBase Cloud Platform
  • OceanBase Migration Service
  • OceanBase Developer Center
  • OceanBase Migration Assessment
  • OceanBase Admin Tool
  • OceanBase Loader and Dumper
  • OceanBase Deployer
  • Kubernetes operator for OceanBase
  • OceanBase Diagnostic Tool
  • OceanBase Binlog Service
Connectors and Middleware
  • OceanBase Database Proxy
  • Embedded SQL in C for OceanBase
  • OceanBase Call Interface
  • OceanBase Connector/C
  • OceanBase Connector/J
  • OceanBase Connector/ODBC
  • OceanBase Connector/NET
Community Edition
  • V 4.3.0
  • V 3.2.1
  • V 3.2.0
  • V 3.1.0
  • V 3.0.0
  • V 2.10.1
  • V 2.10.0
  • V 2.9.0
  • V 2.8.0
  • V 2.7.0
  • V 2.6.0
  • V 2.5.0
  • V 2.4.0
  • V 2.3.1
  • V 2.3.0
  • V 2.2.0
  • V 2.1.0
  • V 2.0.0
  • V 1.6.1

Upgrade ODP

Last Updated:2026-06-30 14:40:58  Updated
Share
What is on this page
Prerequisites
Procedure
FAQs
Script

folded

Share

This topic describes how to upgrade ODP by using the obd CLI.

Note

obd supports upgrading ODP Community Edition and ODP Enterprise Edition. This topic provides an example of how to upgrade ODP Community Edition.

Prerequisites

Before you start, make sure you meet these conditions:

  • obd is installed. We recommend that you install the latest version. For more information, see Install obd.

  • The ODP that needs to be upgraded is managed by obd.

Procedure

Before you upgrade ODP, make sure that the image library contains the ODP installation package for the upgrade and obtain the hash value of the target version. You can choose either of the following methods based on the environment.

On-demand
Offline Retrieval

If your cluster can access the internet, use the obd tool to update obd and download remote resources. The steps are as follows.

  1. Enable the remote repository

    obd mirror enable remote
    

    After the command executes successfully, you can run the obd mirror list command to check whether remote mirroring is enabled. If the value of the Enabled column corresponding to the row with Type=remote is True, then remote mirroring is enabled. Sample output:

    +-----------------------------------------------------------------------------+
    |                            Mirror Repository List                           |
    +----------------------------+--------+---------+----------+------------------+
    | SectionName                | Type   | Enabled | Avaiable | Update Time      |
    +----------------------------+--------+---------+----------+------------------+
    | local                      | local  | -       | True     | 2025-03-25 14:04 |
    | oceanbase.community.stable | remote | True    | True     | 2025-03-25 13:53 |
    | oceanbase.development-kit  | remote | True    | True     | 2025-03-25 13:53 |
    +----------------------------+--------+---------+----------+------------------+
    
  2. Query the version of ODP in the remote image repository.

    obd mirror list oceanbase.community.stable | grep obproxy-ce
    

    Output is as follows, where the string in the last column is the hash value corresponding to the ODP version.

    | obproxy-ce                        | 3.2.3    | 2.el7                  | x86_64  | 73cccf4d05508de0950ad1164aec03003c4ddbe1415530e031ac8b6469815fea |
    | obproxy-ce                        | 3.2.3.5  | 2.el7                  | x86_64  | 7398f833f77173f28ea9f26ef6ed32097f15566a3fa9e4187bab6e511f87e830 |
    | obproxy-ce                        | 4.0.0    | 5.el7                  | x86_64  | 93ec26530df7458116c73654fdb7a69e4ad05d8e4bdae3d681bcc15e9ea89bc5 |
    | obproxy-ce                        | 4.1.0.0  | 7.el7                  | x86_64  | b64aa00805f6b70453e7763071b2ca28640859efaf027af7239ffda856cd0d64 |
    | obproxy-ce                        | 4.2.0.0  | 7.el7                  | x86_64  | 0ace7c27460366dd302d3e9426f3f57880cfa7057b1fca1a163ce06afbcd523d |
    | obproxy-ce                        | 4.2.1.0  | 11.el7                 | x86_64  | a0514a9d1fc57dd29ec365bd725b45765d51235a7abefc0f54e68cda3fc63340 |
    | obproxy-ce                        | 4.2.3.0  | 3.el7                  | x86_64  | 7ca6c000887b90db111093180e6984bf4cf8f7380a948870f3eb2ac30be38f37 |
    | obproxy-ce                        | 4.3.1.0  | 4.el7                  | x86_64  | 70e1bede7b06470c627e69481d991983625b507298687235bb9c9fe81ebd7641 |
    | obproxy-ce                        | 4.3.2.0  | 26.el7                 | x86_64  | 03848b37e9f40dffdefd526af5c8b2031f0197c6228cac5857149dda1af2cc43 |
    | obproxy-ce                        | 4.3.2.0  | 42.el7                 | x86_64  | 92e5f411e024574f5f2d6b1749228dcd1f4cb2df77f470066d9df9fa1b7384b8 |
    | obproxy-ce                        | 4.3.3.0  | 5.el7                  | x86_64  | 740494f578d568af209320c97d2c8699875348466ef8cde2c4cd589953452f1f |
    
  3. Upgrade ODP

    Note

    The open-source obproxy component was officially renamed to obproxy-ce starting from V3.2.3. Therefore, if you are upgrading ODP from a version earlier than V3.2.3 to V3.2.3 or later, you need to first run the following script as the obd user to modify the meta information, and then execute the upgrade command.

    obd cluster upgrade test -c obproxy-ce -V 4.3.2.0 --usable=92e5f411e024574f5f2d6b1749228dcd1f4cb2df77f470066d9df9fa1b7384b8
    

    For example, you can upgrade the obproxy-ce component in the cluster whose deployment name is test to V4.3.2.0. You must modify the following example based on the cluster.

  4. View ODP versions

    Run the following command in the ODP installation directory:

    ./bin/obproxy -V
    

    The output is as follows. The current ODP version is V4.3.2.0.

    obproxy (OceanBase 4.3.2.0 42)
    REVISION: 1-local-f877a496d4c55b184ec568599ae565616437034d
    BUILD_TIME: Dec  6 2024 17:38:33
    

You can download OceanBase Database Proxy (ODP) from the OceanBase Download Center, search for OceanBase Database Proxy, and download the installation package of ODP. Then, upload this package to the node where obd is installed. Finally, run the following command in the directory where the installation package of ODP is stored to upgrade ODP.

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

    obd mirror clone obproxy-ce-*.rpm
    

    After you upload the images, you can run the obd mirror list local | grep obproxy-ce command to view the installation packages in the local image repository. The output is as follows:

    | obproxy-ce | 4.3.3.0 | 5.el7   | x86_64 | 19a002976e4de93a407afe6ab4323310edb936cf |
    
  2. Disable a remote image repository.

    obd mirror disable remote
    

    After the execution is successful, execute the obd mirror list command to confirm whether the mirror repository has been closed. The Enabled column of the remote mirror source is changed to False, indicating that the remote mirror source is closed. Output is as follows:

    +-----------------------------------------------------------------------------+
    |                            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. Query the local image library for the ODP version.

    obd mirror list local | grep obproxy-ce
    

    The hash value for the corresponding ODP version is displayed in the last column.

    | obproxy-ce | 4.3.3.0 | 5.el7   | x86_64 | 19a002976e4de93a407afe6ab4323310edb936cf |
    
  4. Upgrade ODP

    Description

    Since V3.2.3, the obproxy component has been officially renamed to obproxy-ce. If you are upgrading the ODP from any version earlier than V3.2.3 to V3.2.3 or later, you need to modify the meta information by executing the following script as the execution user of obd. Then use the following command to perform the upgrade.

    obd cluster upgrade test -c obproxy-ce -V 4.3.3.0 --usable=19a002976e4de93a407afe6ab4323310edb936cf
    

    In this example, an obproxy-ce component of the cluster named test is upgraded from version V4.2.1.0 to V4.3.3.0. You need to modify the sample command based on your actual requirements.

  5. View ODP versions

    Execute the following command in the ODP installation directory:

    ./bin/obproxy -V
    

    Output is as follows, with the current ODP V4.3.3.0.

    obproxy (OceanBase 4.3.3.0 5)
    REVISION: 1-local-60ff90081edf7829e4f6458adb6d1184c3344b80
    BUILD_TIME: Jan 21 2025 17:32:47
    

FAQs

If you encounter the following issues while upgrading ODP:

Stop obproxy ok
Start obproxy ok
obproxy program health check ok
Connect to obproxy x

The OBDB instance cannot be connected to the ODP. The possible reasons are as follows:

  1. The proxy system has disabled the access to IP addresses other than 127.0.0.1, causing the obd node to be unable to connect. In this case, run the following command to connect to the proxy system:

    obclient -h<obproxy_ip> -uroot@proxysys -P<obproxy_port> -p<obproxy_pwd>
    

    Note

    During the process of connecting proxysys, if you are unable to connect with your custom proxysys password, try connecting with an empty password or the code proxysys.

    Then, execute the alter proxyconfig set skip_proxy_sys_private_check = true command.

  2. The password for the obd system is inconsistent with that stored in OB Proxy. In this case, execute the preceding command to connect to obd, and then run the following command: alter proxyconfig set obproxy_sys_password = <obproxy_pwd> to modify the obproxy password.

    You can modify the password to an empty string (obproxy_sys_password = '') or set it to the password stored in the obd configuration file.

Script

OBD_HOME=${OBD_HOME:-${HOME}}/.obd
obproxy_repository=${OBD_HOME}/repository/obproxy
obproxy_ce_repository=${OBD_HOME}/repository/obproxy-ce

function shadow_repo() {
    repository_path=$1
    ce_repository_path=$2
    [[ $repository_path =~ ^/  ]] && a=$repository_path || a=`pwd`/$repository_path
    while [ -h $a ]
    do
        b=`ls -ld $a|awk '{print $NF}'`
        c=`ls -ld $a|awk '{print $(NF-2)}'`
        [[ $real_patn =~ ^/ ]] && a=$b  || a=`dirname $c`/$b
    done
    instance_hash=`basename $a`
    ce_version_path=`dirname ${ce_repository_path}`
    ln -sf ${ce_version_path}/${instance_hash} ${ce_repository_path}
}

function copy_repository() {
    VS=(`ls $obproxy_repository`)
    for version in ${VS[@]}; do
        version_path="${obproxy_repository}/${version}"
        ce_version_path="${obproxy_ce_repository}/${version}"
        repositories=(`ls $version_path`)
        mkdir -p $ce_version_path
        for repository in ${repositories[@]}; do
            repository_path="${version_path}/${repository}"
            ce_repository_path="${ce_version_path}/${repository}"
            if [ -d "$ce_repository_path" ]; 
            then
                echo "${ce_repository_path} exist"
            else
                if [ -L ${repository_path} ];
                then 
                    shadow_repo ${repository_path} ${ce_repository_path}
                else
                    cp -r ${repository_path} ${ce_repository_path}
                fi
            fi
        done
    done
}

function change_cluster_meta() {
    cluster_home_path=${OBD_HOME}/cluster
    CS=(`ls ${cluster_home_path}`)
    for cluster in ${CS[@]}; do
        cluster_path=${cluster_home_path}/$cluster
        if [ -f ${cluster_path}/.data ]; then
            sed -i 's/^  obproxy:/  obproxy-ce:/g' ${cluster_path}/.data
        fi
        sed -i 's/^obproxy:/obproxy-ce:/' ${cluster_path}/*.yaml
    done
}

copy_repository && change_cluster_meta && echo 'ok'

Previous topic

Upgrade OceanBase Database
Last

Next topic

Upgrade OMS
Next
What is on this page
Prerequisites
Procedure
FAQs
Script