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

Install obd

Last Updated:2026-06-30 14:40:58  Updated
Share
What is on this page
Prerequisites
Install obd
References
Uninstall OceanBase All in One
Upgrade OceanBase All in One
References

folded

Share

This topic describes three methods for installing obd: installing obd with OceanBase All in One, installing obd with RPM packages, and installing obd from source code.

Prerequisites

The operating system of the server where you run the commands must meet the requirements.

Install obd

(Recommended) Install obd by using OceanBase All in One
Install obd by using an RPM package
Install obd by using the source code

OceanBase Database V4.0.0 and later provide a unified installation package called OceanBase All in One. This package includes OceanBase Database, OCP, obd, OBProxy (also known as ODP), OBClient, Prometheus, Grafana, and diagnostic and testing tools.

Note

  • The products included in OceanBase All in One vary by series. OCP is included in the V4.3.x series starting from V4.3.3, in the V4.2.x series starting from V4.2.5, and in the V4.2.1 series starting from V4.2.1_CE_BP9_HF1.

  • We recommend that you install obd by using OceanBase All in One. This package provides all the components required for deployment (except for the obbinlog component), and the components have been tested for compatibility. This is the recommended version by OceanBase Database.

Online installation
Offline installation

If your server can connect to the Internet, run the following command to install obd online. After the installation is completed, a tmp.xxx folder is created in the /tmp directory as the installation directory, for example, tmp.jvzpVREAs9.

[admin@test001 ~]$ bash -c "$(curl -s https://obbusiness-private.oss-cn-shanghai.aliyuncs.com/download-center/opensource/oceanbase-all-in-one/installer.sh)"
[admin@test001 ~]$ source ~/.oceanbase-all-in-one/bin/env.sh

If your server cannot connect to the Internet, perform the following steps to install obd offline.

  1. Download the latest OceanBase All in One from OceanBase Download Center and copy it to the control server. We recommend that you use the latest version of the installation package.

  2. Run the following command in the directory where the installation package is stored to decompress and install the package.

    [admin@test001 ~]$ tar -xzf oceanbase-all-in-one-*.tar.gz
    [admin@test001 ~]$ cd oceanbase-all-in-one/bin/
    [admin@test001 bin]$ ./install.sh
    [admin@test001 bin]$ source ~/.oceanbase-all-in-one/bin/env.sh
    

Note

When you install obd by using OceanBase All in One, the install.sh script will attempt to install obd as the root user by default. If you do not have the sudo privilege, you can enter the password of the current user at the password prompt or press the Enter key three times, and then enter n to install obd as the current user. The installation directory varies based on the user and privilege. The following two cases are described.

  • If you use the root user or an ordinary user with administrator privileges (such as sudo), the installation directory of the obd executable file is /usr/bin/obd.
  • If you use an ordinary user, the installation directory of the obd executable file is ~/.oceanbase-all-in-one/obd/usr/bin/obd.

Depending on whether your server can connect to the Internet, you can install obd by using the following two methods: Online installation and Offline installation. Note that when you install obd by using an RPM package, only obd is installed. If your server can connect to the Internet, obd will access a remote image source to obtain the installation packages required for cluster deployment. If your server cannot connect to the Internet, after obd is installed, you must manually configure the local image source for obd.

Online installation
Offline installation

If your server can connect to the Internet, run the following command to install obd online on CentOS or Red Hat systems.

[admin@test001 ~]$ sudo yum install -y yum-utils
[admin@test001 ~]$ sudo yum-config-manager --add-repo https://mirrors.aliyun.com/oceanbase/OceanBase.repo
[admin@test001 ~]$ sudo yum install -y ob-deploy
[admin@test001 ~]$ source /etc/profile.d/obd.sh

Note

The YUM command will install the latest version by default. You can specify the version by declaring the version number. For example, you can run the yum install -y ob-deploy-1.6.2 command to install obd V1.6.2. We recommend that you install the latest version.

If your server cannot connect to the Internet, you can download the obd installation package and the installation packages of the components required for cluster deployment from OceanBase Download Center. We recommend that you download the latest version of the installation package. After the installation package is downloaded, copy it to your server.

On CentOS or Red Hat systems, run the following command to install obd:

sudo yum install ob-deploy-*.rpm

On Ubuntu or Debian systems, run the following command to install obd:

sudo alien --scripts -i ob-deploy-*.rpm

If you have already downloaded the installation packages of the required components from the official website OceanBase Download Center, you can follow the steps below to add the installation packages to the local image source of obd.

You can perform the following steps as the user who deploys and runs obd. In this example, the user is admin.

  1. Run the following command to disable the remote repository:

    obd  mirror disable remote
    

    After the remote repository is disabled, you can run the obd mirror list command to check whether the Enabled column of the row corresponding to Type=remote is False. If so, the remote image source is disabled. Example:

    +-----------------------------------------------------------------------------+
    |                            Mirror Repository List                           |
    +----------------------------+--------+---------+----------+------------------+
    | SectionName                | Type   | Enabled | Avaiable | Update Time      |
    +----------------------------+--------+---------+----------+------------------+
    | local                      | local  | -       | True     | 2025-02-19 15:56 |
    | oceanbase.community.stable | remote | False   | False    | 2025-02-19 15:54 |
    | oceanbase.development-kit  | remote | False   | False    | 2025-02-19 15:54 |
    +----------------------------+--------+---------+----------+------------------+
    
  2. Run the following command in the directory where the installation package is stored to upload the installation package to the local repository:

    obd mirror clone *.rpm
    
  3. Run the following command to view the list of installation packages in the local repository:

    obd mirror list local
    

    If the installation packages required for deployment are displayed in the output, the upload is successful.

Before you install obd by using the source code, make sure that the following dependencies are installed:

  • gcc

  • wget

  • python-devel

  • openssl-devel

  • xz-devel

  • mysql-devel

To compile and install obd by using the source code, you need to use Python 2.7 and Python 3.8 environments. The installation steps are as follows:

  1. Run the following command in the Python 2.7 environment.

    sh rpm/build.sh executer
    

    Note

    The preceding command is used to compile the interpreter required for OceanBase Database upgrades. If you do not use the upgrade feature, you can skip this command.

  2. Run the following command in the Python 3.8 environment.

    sh rpm/build.sh build_obd
    source /etc/profile.d/obd.sh
    

Note

obd V2.0.0 and later do not support installation by using the source code in a Python 2 environment.

References

Uninstall OceanBase All in One

To uninstall OceanBase All in One, perform the following steps:

  1. Uninstall the installation package

    To uninstall OceanBase All in One, run the uninstall.sh script in the installation directory. The default installation directory for online installation is /tmp/tmp.xxxx/oceanbase-all-in-one, and the default installation directory for offline installation is ~/oceanbase-all-in-one.

    [admin@test001 ~]$ cd oceanbase-all-in-one/bin/
    [admin@test001 bin]$ ./uninstall.sh
    
  2. Delete the environment variables

    [admin@test001 bin]$ vim ~/.bash_profile
    # Delete the line source /home/admin/.oceanbase-all-in-one/bin/env.sh from this file.
    
  3. Make the changes take effect

    After deleting the environment variables, you need to log in to the terminal again or execute the source command to make the changes take effect. You can refer to the following command.

    [admin@test001 ~]$ source ~/.bash_profile
    

Upgrade OceanBase All in One

To use the new version of OceanBase All in One, perform the following steps:

Online upgrade
Offline upgrade
  1. Uninstall the original OceanBase All in One

    To uninstall OceanBase All in One, run the uninstall.sh script in the installation directory. The default installation directory for online installation is /tmp/tmp.xxxx/oceanbase-all-in-one, and the default installation directory for offline installation is ~/oceanbase-all-in-one.

    [admin@test001 ~]$ cd oceanbase-all-in-one/bin/
    [admin@test001 bin]$ ./uninstall.sh
    
  2. Install the new OceanBase All in One

    [admin@test001 ~]$ bash -c "$(curl -s https://obbusiness-private.oss-cn-shanghai.aliyuncs.com/download-center/opensource/oceanbase-all-in-one/installer.sh)"
    

    This command installs the latest version of OceanBase All in One by default. If you have specific requirements for the OceanBase All in One version, you can upgrade OceanBase All in One by following the steps in Offline upgrade.

  1. Obtain the new installation package

    Visit OceanBase Download Center, search for OceanBase Community Edition One-Click Installation Package, download the required installation package based on your actual situation, and copy it to any directory on the control node.

  2. Uninstall the original OceanBase All in One

    To uninstall OceanBase All in One, run the uninstall.sh script in the installation directory. The default installation directory for online installation is /tmp/tmp.xxxx/oceanbase-all-in-one, and the default installation directory for offline installation is ~/oceanbase-all-in-one.

    [admin@test001 ~]$ cd oceanbase-all-in-one/bin/ && bash uninstall.sh
    
  3. Clear the original OceanBase All in One installation directory

    This step is only required for offline installation. Clearing the original OceanBase All in One installation directory is to avoid conflicts when decompressing the new installation package.

    [admin@test001 ~]$ rm -rf ~/oceanbase-all-in-one
    
  4. Decompress the new installation package

    [admin@test001 ~]$ tar -xzf oceanbase-all-in-one-*.tar.gz
    
  5. Install the new OceanBase All in One

    Run the install.sh script in the installation directory of OceanBase All in One to start the installation program.

    [admin@test001 bin]$ cd oceanbase-all-in-one/bin/ && bash install.sh
    

References

If you installed obd by using an RPM package, you can refer to Upgrade obd for the procedure.

Previous topic

What is obd
Last

Next topic

Quick deployment of OceanBase Database
Next
What is on this page
Prerequisites
Install obd
References
Uninstall OceanBase All in One
Upgrade OceanBase All in One
References