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

Deploy OMS

Last Updated:2026-06-30 14:40:58  Updated
Share
What is on this page
Prerequisites
Considerations
Procedure
Related documents

folded

Share

This topic introduces how to deploy OceanBase Migration Service (OMS) by using the obd profile in the CentOS Linux 7.9 image based on the x86 architecture.

Description

Currently, OBD can only manage OMS Community Edition V4.2.11 and later versions.

Prerequisites

Before you begin, make sure that you meet the following prerequisites:

  • You have installed obd V4.0.0 or later. We recommend that you install the latest version. For more information, see Install obd.

  • The machine where the OMS is to be deployed meets the deployment requirements.

  • The Docker runtime environment is installed on the OMS server.

  • If you want OMS to collect and display monitoring data, you must deploy and configure a time series database. Currently, the only supported time series database is InfluxDB V1.8.

  • If you plan to deploy OMS separately, make sure to prepare a database to store metadata of the OMS Community Edition. The database can be MySQL or OceanBase Database, and it is recommended to use OceanBase Database Community Edition.

    Remarks

    To enhance system reliability, we recommend implementing a highly available database solution for MetaDB. This approach ensures stable 7x24 hours operation for OMS core services and minimizes the risk of business disruptions.

  • If OceanBase Database is deployed as MetaDB, make sure that the OBServer nodes support the AVX instruction set (only applicable to servers with the x86 architecture). You can run the lscpu | grep Flags | grep avx command to check.

    Notes

    When you use an x86-64 architecture server, the server does not need to support the AVX instruction set provided that the major version of OceanBase Database to be deployed is v2.2.21 or later.

    • For V4.2.x versions, it is required to use V4.2.5.6 or later.
    • For V4.3.x, V4.3.5.4 or later is required.
    • For V4.4.x version, V4.4.1.0 or later must be provided.
  • If OceanBase Database is deployed on a server with an ARM architecture in an offline deployment scenario, check whether the underlying hardware of the OBServer nodes supports the LSE instruction set. You can run the lscpu | grep Flags | grep atomics command to check whether the underlying hardware of the nodes support the LSE instruction set. If the underlying hardware does not support the LSE instruction set, you must download the OceanBase Database installation package that contains the nonlse parameter. Then, you can use the obd mirror clone command to upload the installation package to the local image library of obd.

    Remarks

    OceanBase All in One does not contain OceanBase Database packages with the nonlse option.

  • While deploying an OceanBase cluster as the MetaDB at the same time, ensure that the necessary component installation packages (such as OceanBase Database) are present in the obd image library.

    If the server where you run obd can connect to the Internet, the community edition components will be automatically downloaded from the remote image repository. If it cannot, download all the installation packages from OceanBase Database Download Center and upload them to the local image repository of obd by executing the obd mirror clone command. You can run the obd mirror list local command to view the installation packages in the local image repository.

Considerations

The HA feature is disabled by default in the OceanBase Migration Community Edition. To enable the HA feature, set the value of enable in the ha.config parameter to true in the OMS console after the service is deployed.

Procedure

Note

Operations guidance in this article are based on a CentOS Linux 7.9 image for an x86 architecture.

Deploys OMS on OceanBase Database

Step 1: Load the OMS Community Edition package.

Description

If you plan to deploy multiple OMS nodes, each node requires the following operations.

  1. Obtain the OMS installation package.

    You can download the OMS installation package from the OceanBase software download center. The OMS installation package is a file that starts with oms and has the .tar.gz extension, for example, oms_4.2.11-ce.tar.gz.

  2. Load the downloaded OMS installation package into the local Docker repository.

    [admin@test ~]$ sudo docker load -i oms_4.2.11-ce.tar.gz
    
  3. Verify that the load has been successful

    [admin@test ~]$ sudo docker images
    

    The output is as follows:

    REPOSITORY                                    TAG                 IMAGE ID       CREATED      SIZE
    reg.docker.alibaba-inc.com/oceanbase/oms-ce   feature_4.2.11_ce   26f5f1554fc5   2 days ago   12.5GB
    

Step 2: Modify the configuration file

  1. Create the configuration file

    Run the following command to create a configuration file. The following example uses oms-config.yaml. You can customize the file name.

    [admin@test ~]$ vim oms-config.yaml
    
  2. Modify user information

    The following sample code is provided for your reference. You can modify it according to your scenario.

    ## Only need to configure when remote login is required
    user:
      username: admin
    #   password: your password if need
      key_file: /home/admin/.ssh/id_rsa
    #   port: your ssh port, default 22
    #   timeout: ssh connection timeout (second), default 30
    

    username is the username of the user who logs into the target machine, and make sure your username has write permissions for the home directory. password and key_file are used for user verification, usually only one is required.

    Note

    After the key path is specified, if your key does not contain a password, comment it out or delete the password so that it is not considered a key password used for login, which could cause a verification error.

  3. Modify OceanBase Database configuration

    You can copy the following sample and make necessary modifications based on your specific scenario.

    oceanbase-ce:
      # version: 4.3.0.1
      # release: 100000242024032211.el7
      # package_hash: c4a03c83614f50c99ddb1c37dda858fa5d9b14b7
      servers:
        - name: server1
          ip: 10.10.10.1
        - name: server2
          ip: 10.10.10.2
        - name: server3
          ip: 10.10.10.3
      global:
        appname: obcluster
        mysql_port: 2881
        rpc_port: 2882
        home_path: /home/admin/oceanbase
        data_dir: /home/admin/oceanbase/data
        redo_dir: /home/admin/oceanbase/redo
        obshell_port: 2886
        scenario: htap
        cpu_count: 20
        memory_limit: 64G
        system_memory: 30G
        log_disk_size: 192G
        datafile_size: 192GB
        datafile_maxsize: 32G
        enable_syslog_recycle: true
        enable_syslog_wf: false
        max_syslog_file_count: 4 
        root_password: ********
      server1:
        zone: zone1
      server2:
         zone: zone2
      server3:
         zone: zone3
    

    For more information about the configuration items of OceanBase Database, see Configuration Item Description in Configuration file description.

  4. Modify OMS configurations

    You can copy the following contents and modify them based on your actual scenarios. For more information about the parameters, see Parameter Description in Configuration File Description.

    oms:
      depends:
        - oceanbase-ce
      type: docker
      tag: feature_4.2.11_ce
      image_name: reg.docker.alibaba-inc.com/oceanbase/oms-ce
      servers:
        - name: server1
          ip: 10.10.10.1
        - name: server2
          ip: 10.10.10.2
        - name: server3
          ip: 10.10.10.3
      global:
        mount_path: /data/1/oms
        ghana_server_port: 8090
        nginx_server_port: 8089
        # tsdb_enabled: "true"
        # tsdb_password: ""
        # tsdb_service: "INFLUXDB"
        # tsdb_url: "10.10.10.1:8086"
        # tsdb_username: "admin"
        regions:
          - cm_location: 1
            cm_is_default: true
            cm_region: hz
            cm_url: http://10.10.10.1:8088
            cm_nodes:
              - 10.10.10.1
              - 10.10.10.3
          - cm_location: 2
            cm_is_default: false
            cm_region: bj
            cm_url: http://10.10.10.2:8088
            cm_nodes:
              - 10.10.10.2
    

Step 3: Deploy OMS

  1. Deploy the OMS

    [admin@test ~]$ obd cluster deploy oms -c oms-config.yaml
    

    In the command, oms is the name of the cluster, which you can customize according to your needs. After deployment is successful, the CLI will display the startup command, which is as follows:

    Open ssh connection ok
    install oceanbase-ce-4.4.1.0 for local ok
    +------------------------------------------------------------------------------------------------------+
    |                                               Packages                                               |
    +--------------+-------------------+------------------------+------------------------------------------+
    | Repository   | Version/Tag       | Release                | Hash                                     |
    +--------------+-------------------+------------------------+------------------------------------------+
    | oms          | feature_4.2.11_ce | -                      | 26f5f1554fc5                             |
    | oceanbase-ce | 4.4.1.0           | 100000032025101610.el7 | 547ad7ed9d402424c6a41fc281a30f46bd836871 |
    +--------------+-------------------+------------------------+------------------------------------------+
    Repository integrity check ok
    Load param plugin ok
    Open ssh connection ok
    Initializes observer work home ok
    Initializes oms mount path ok
    Parameter check ok
    Remote oceanbase-ce-4.4.1.0-100000032025101610.el7-547ad7ed9d402424c6a41fc281a30f46bd836871 repository install ok
    Remote oceanbase-ce-4.4.1.0-100000032025101610.el7-547ad7ed9d402424c6a41fc281a30f46bd836871 repository lib check ok
    oms deployed
    Please execute ` obd cluster start oms ` to start
    Trace ID: 0c9ae43e-bbbf-11f0-8e7f-00163e514885
    If you want to view detailed obd logs, please run: obd display-trace 0c9ae43e-bbbf-11f0-8e7f-00163e514885
    
  2. Start the OMS

    [admin@test ~]$ obd cluster start oms
    

    The cluster information will be returned after the cluster is started. Sample output is as follows:

    Wait for observer init ok
    +------------------------------------------------+
    |                  oceanbase-ce                  |
    +--------------+---------+------+-------+--------+
    | ip           | version | port | zone  | status |
    +--------------+---------+------+-------+--------+
    | 10.10.10.1   | 4.4.1.0 | 2881 | zone1 | ACTIVE |
    | 10.10.10.2   | 4.4.1.0 | 2881 | zone2 | ACTIVE |
    | 10.10.10.3   | 4.4.1.0 | 2881 | zone3 | ACTIVE |
    +--------------+---------+------+-------+--------+
    obclient -h10.10.10.1 -P2881 -uroot@sys -p'******' -Doceanbase -A
    
    cluster unique id: c121d9a7-cd68-567f-937a-6fcfaab80ef0-19a5dbbb699-00010404
    
    +-----------------------------------------------------------+
    |                            oms                            |
    +--------+-------------------+---------------+--------------+
    | region | url               | cm_is_default | nodes        |
    +--------+-------------------+---------------+--------------+
    | hz     | 10.10.10.1:8089   | True          | 10.10.10.1   |
    | bj     | 10.10.10.2:8089   | False         | 10.10.10.2   |
    +--------+-------------------+---------------+--------------+
    obshell program health check ok
    display obshell dashboard ok
    +---------------------------------------------------------+
    |                    obshell Dashboard                    |
    +--------------------------+------+--------------+--------+
    | url                      | user | password     | status |
    +--------------------------+------+--------------+--------+
    | http://10.10.10.1:2886   | root | '******'     | active |
    +--------------------------+------+--------------+--------+
    
    oms running
    Trace ID: 7f71bf32-bbbf-11f0-b617-00163e514885
    If you want to view detailed obd logs, please run: obd display-trace 7f71bf32-bbbf-11f0-b617-00163e514885
    

Related documents

After the deployment is successful, you can access the OMS console.

Previous topic

Deploy obconfigserver
Last

Next topic

Deploy OCP
Next
What is on this page
Prerequisites
Considerations
Procedure
Related documents