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

Image and repository commands

Last Updated:2026-06-30 14:40:58  Updated
Share
What is on this page
obd mirror clone
obd mirror list
obd mirror update
obd mirror disable
obd mirror enable
obd mirror add-repo
obd mirror create
obd mirror clean
obd repo list

folded

Share

obd has multiple levels of commands. You can use the -h/--help option at each level to view the help information of subcommands. Similarly, when a subcommand at any level fails to execute, you can use the -v/--verbose option to view the detailed execution process of the command.

obd mirror clone

You can use this command to copy an RPM package to the local mirror. After the mirror is created, you can use the related commands of the obd cluster to start the mirror.

obd mirror clone <path> [-f]

The path parameter specifies the path of the RPM package.

The -f option specifies --force. -f is an optional option and is disabled by default. If you enable this option, the existing mirror will be forcibly overwritten if it already exists.

obd mirror list

You can use this command to display the list of mirrors or the list of images in a mirror.

obd mirror list [mirror repo name]

The mirror repo name parameter specifies the name of the mirror repository. This parameter is optional. If this parameter is not specified, the list of mirror repositories will be displayed. If this parameter is specified, the list of images in the specified mirror repository will be displayed.

obd mirror update

You can use this command to synchronize the information of all remote mirror repositories.

obd mirror update

obd mirror disable

You can use this command to disable a remote mirror repository. To disable all remote mirror repositories, run the obd mirror disable remote command.

obd mirror disable <mirror repo name>

The mirror repo name parameter specifies the name of the mirror repository to be disabled. If this parameter is specified as remote, all remote mirror repositories will be disabled.

obd mirror enable

You can use this command to enable a remote mirror repository.

obd mirror enable <mirror repo name>

The mirror repo name parameter specifies the name of the mirror repository to be enabled. If this parameter is specified as remote, all remote mirror repositories will be enabled.

obd mirror add-repo

You can use this command to add a remote mirror repository file to the local environment.

obd mirror add-repo <url>

The url parameter specifies the download address of the image file to be added.

obd mirror create

You can use this command to create a mirror based on a local directory. This command is mainly used to start a self-compiled OceanBase Database by using obd. You can use this command to add the compiled products to the local repository and then use the related commands of obd cluster to start the mirror.

obd mirror create -n <component name> -p <your compile dir> -V <component version> [-t <tag>] [-f]

For example, if you compile OceanBase Database based on the documentation Build OceanBase Database from source code, you can run the make DESTDIR=./ install && obd mirror create -n oceanbase-ce -V <component version> -p ./usr/local command after the compilation is completed to add the compiled products to the obd local repository.

The following table describes the options.

Option
Required?
Data type
Description
-n/--name Yes string The name of the component. If you compile OceanBase Database, set this option to oceanbase-ce. If you compile ODP, set this option to obproxy-ce.
-p/--path Yes string The directory in which you run the compilation command. obd automatically obtains the required files from this directory. By default, this directory is the current directory.
-V/--version Yes string The version number.
-t/--tag No string The tag of the image. You can define multiple tags for the image created by using this command, and separate the tags with commas (,).
-f/--force No bool If this option is specified, the existing image or tag will be forcibly overwritten. This option is disabled by default.

obd mirror clean

You can use this command to clean up the specified files that have been downloaded to the local machine (the ~/.obd/mirror directory) and installed by using obd (the ~/.obd/repository directory).

obd mirror clean [options]

Note

  • If no option is specified, obd will clean up all unused components and ensure that only the latest version of each component is retained. The latest RPM package is determined based on the version number.

  • Except for the --hash option, each option will clean up all files except the latest version and the currently used version that meet the option conditions.

The following table describes the options.

Option
Required?
Data type
Description
-c/--components No string The name of the component. obd will clean up all packages of the component except the latest version and the currently used version in the ~/.obd/mirror and ~/.obd/repository directories. The latest RPM package is determined based on the version number. If multiple values are specified, separate them with commas (,).
-t/--type No string The value can be rpm or repository. If this option is set to rpm, only the files in the ~/.obd/mirror directory will be cleaned up. If this option is set to repository, only the files in the ~/.obd/repository directory will be cleaned up.
--hash No string The hash value of the installation package. obd will clean up the files in the ~/.obd/mirror and ~/.obd/repository directories that have the specified hash value. If multiple values are specified, separate them with commas (,).

Note

You can specify the --hash option to delete the latest version of the component.

-y/--confirm No bool Specifies whether to perform a confirmation.

obd repo list

You can use this command to display the list of repositories stored in obd.

obd repo list

After you run this command, the list of packages installed by using obd will be displayed. Here is an example:

+-------------------------------------------------------------------------------------------------------------------------------------------+
|                                                           Local Repository List                                                           |
+---------------------------+---------+------------------------+--------+------------------------------------------+--------------+---------+
| name                      | version | release                | arch   | md5                                      | tags         | size    |
+---------------------------+---------+------------------------+--------+------------------------------------------+--------------+---------+
| oceanbase-ce              | 4.3.5.2 | 102030022025073116.el8 | x86_64 | 1148a1174464e514a61892eaf2317f86e4acd0a7 | oceanbase-ce | 916.81M |
| oceanbase-diagnostic-tool | 3.5.0   | 12025062011.el7        | x86_64 | 4e0f91ad1b57072139161cdc89e8cbd42e01e984 |              | 68.39M  |
| oceanbase-diagnostic-tool | 3.6.0   | 22025080417.el7        | x86_64 | ce431826e5571a6e00d81b9849e32eb53991169f |              | 68.52M  |
+---------------------------+---------+------------------------+--------+------------------------------------------+--------------+---------+

Previous topic

Command groups
Last

Next topic

Test command groups
Next
What is on this page
obd mirror clone
obd mirror list
obd mirror update
obd mirror disable
obd mirror enable
obd mirror add-repo
obd mirror create
obd mirror clean
obd repo list