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 obbinlog

Last Updated:2026-06-30 14:40:58  Updated
Share
What is on this page
Prerequisites
Procedure
Configuration file example
Related operations

folded

Share

When you deploy obbinlog, you can choose to deploy it separately or together with OceanBase Database as the MetaDB. This topic describes how to perform these operations.

Note

  • Currently, obd supports only managing the Binlog service Community Edition V4.0.1 and later and the Binlog service Enterprise Edition V4.3.2 and later.

  • Binlog service Community Edition supports only OceanBase Database Community Edition, and Binlog service Enterprise Edition supports only OceanBase Database Enterprise Edition in MySQL mode. Deploy the appropriate obbinlog based on your requirements.

Prerequisites

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

    Note

    obd V4.0.0 and later support the deployment of Enterprise Edition obbinlog V4.3.2 and later. To deploy Enterprise Edition obbinlog, you must install obd V4.0.0 or later.

  • If you deploy an OceanBase cluster as a MetaDB, make sure that the OBServer node supports the AVX instruction set (this restriction applies only to servers with the x86 architecture). You can execute the lscpu | grep Flags | grep avx command to check whether the AVX instruction set is supported.

    Note

    When you use servers with the x86 architecture, if the OceanBase Database version to be deployed falls into the following ranges, the AVX instruction set is no longer required:

    • For V4.2.x, the version must be V4.2.5.6 or later.
    • For V4.3.x, the version must be V4.3.5.4 or later.
    • For V4.4.x, the version must be V4.4.1.0 or later.
  • In an offline deployment scenario, if you deploy an OceanBase cluster as a MetaDB and use servers with the ARM architecture, make sure that the OBServer node supports the LSE instruction set. You can execute the lscpu | grep Flags | grep atomics command to check whether the LSE instruction set is supported. If the LSE instruction set is not supported, download the OceanBase Database installation package with the nonlse option and use the obd mirror clone command to upload the installation package to the local image library of obd.

    Note

    The OceanBase Database installation package with the nonlse option is not included in the OceanBase All in One package.

  • If you deploy obbinlog by relying on OceanBase Database, the OceanBase Database version must be V4.2.1.0 or later.

  • Your machine can connect to the Internet, or the local image library of obd contains the installation package required for deployment.

    You can execute the obd mirror list local command to check the installation packages in the local image library. For information about how to upload the installation package to the local image library in an offline scenario, see the Install obd by using RPM section in Install obd.

    Note

    The Enterprise Edition obbinlog package is not available in the remote image library of obd. To deploy Enterprise Edition obbinlog, make sure that the local image library of obd contains the required installation package.

Procedure

Note

This topic assumes that the server can access the public network or has the required software (such as OceanBase Database and obbinlog) installed.

You can deploy the Binlog service in two ways: Deploy obbinlog and MetaDB (OceanBase Database) and Deploy obbinlog with an existing MetaDB. This topic describes both methods:

  • Deploy obbinlog and MetaDB (OceanBase Database): You can configure both OceanBase Database and obbinlog in the configuration file. When you start obbinlog, it will start OceanBase Database as the MetaDB for the Binlog service.

  • Deploy obbinlog with an existing MetaDB: You need to ensure that an OceanBase Database or MySQL database is available as the MetaDB for the Binlog service.

Deploy obbinlog and MetaDB (OceanBase Database)
Deploy obbinlog with an existing MetaDB
  1. Create a configuration file.

    Execute the following command to create a configuration file. Here, we use distributed-binlog.yaml as an example. You can customize the file name as needed. For the complete content of the configuration file, see Configuration file example below.

    vim distributed-binlog.yaml
    
  2. Modify the user information.

    You can copy the following content and modify it based on your actual 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 for logging in to the target server. Ensure that your username has write permissions for the home directory. password and key_file are both used to verify the user. Usually, you only need to fill in one of them.

    Notice

    After configuring the key path, if your key does not require a password, please comment out or delete password to avoid it being considered as the key password for login, which may cause verification failure.

  3. Modify the OceanBase Database configuration.

    You can copy the following content and modify it based on your actual scenario. For detailed descriptions of OceanBase Database configuration items, see Configuration file description under Configuration item description.

    oceanbase-ce:
      version: 4.3.3.0
      # release: 100000242024032211.el7
      # package_hash: c4a03c83614f50c99ddb1c37dda858fa5d9b14b7
      servers:
        - name: server1
          ip: 10.10.10.1
      global:
        mysql_port: 2881
        rpc_port: 2882
        home_path: /home/admin/oceanbase
        obshell_port: 2886
        scenario: htap
        log_disk_size: 20G
        datafile_size: 20GB
        production_mode: false
        enable_syslog_recycle: true
        enable_syslog_wf: false
        max_syslog_file_count: 4 
        root_password: ********
        zone: zone1
    
  4. Modify the obbinlog configuration.

    You can copy the following content and modify it based on your actual scenario. For the specific meanings of the configuration items, see Configuration file description under Configuration item description.

    obbinlog-ce:
      depends:
        - oceanbase-ce
      servers:
        - name: server1
          ip: 10.10.10.1
        - name: server2
          ip: 10.10.10.2
      global:
        home_path: /home/admin/obbinlog
        service_port: 2983   # External port. The default value is 2983.
        prometheus_port: 2984 # The Prometheus port. The default value is 2984.
        init_schema: true
    
  5. Deploy obbinlog.

    obd cluster deploy obbinlog -c distributed-binlog.yaml
    

    In the command, obbinlog is the deployment name of obbinlog. You can customize the deployment name as needed. After the deployment is successful, the command line will output the corresponding startup command, as shown below:

    obbinlog deployed
    Please execute ` obd cluster start obbinlog ` to start
    Trace ID: b524a336-c748-11ef-ab02-00163e14c113
    If you want to view detailed obd logs, please run: obd display-trace b524a336-c748-11ef-ab02-00163e14c113
    
  6. Start obbinlog.

    obd cluster start obbinlog
    

    Note

    When starting obbinlog with OceanBase Database, obd will automatically create a binlog tenant in OceanBase Database and set the root@binlog user as the connection user for the Binlog service MetaDB.

    After the startup is successful, the cluster information will be output, as shown below:

    Wait for observer init ok
    +-------------------------------------------------+
    |                   oceanbase-ce                  |
    +---------------+---------+------+-------+--------+
    | ip            | version | port | zone  | status |
    +---------------+---------+------+-------+--------+
    | 10.10.10.1    | 4.3.3.0 | 2881 | zone1 | ACTIVE |
    +---------------+---------+------+-------+--------+
    obclient -h10.10.10.1 -P2881 -uroot -p'********' -Doceanbase -A
    
    cluster unique id: f15c503b-a8e2-50b2-a027-ee1d11886199-1941b9f2469-00030304
    
    +-----------------------------------------+
    |               obbinlog-ce               |
    +---------------+---------+------+--------+
    | ip            | version | port | status |
    +---------------+---------+------+--------+
    | 10.10.10.1    | 4.0.1   | 2983 | active |
    +---------------+---------+------+--------+
    obclient -h10.10.10.1 -P2983
    
    obshell program health check ok
    display obshell dashboard ok
    +-----------------------------------------------------------+
    |                        obshell Dashboard                  |
    +---------------------------+------+---------------+--------+
    | url                       | user | password      | status |
    +---------------------------+------+---------------+--------+
    | http://10.10.10.1:2886    | root | '********'    | active |
    +---------------------------+------+---------------+--------+
    
    obbinlog running
    Trace ID: b5140f16-c749-11ef-809a-00163e14c113
    If you want to view detailed obd logs, please run: obd display-trace b5140f16-c749-11ef-809a-00163e14c113
    
  1. Create a configuration file.

    Execute the following command to create a configuration file. Here, we use binlog-only-example.yaml as an example. You can customize the file name as needed. For the complete content of the configuration file, see Configuration file example below.

    vim binlog-only-example.yaml
    
  2. Modify the user information.

    You can copy the following content and modify it based on your actual 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 for logging in to the target server. Ensure that your username has write permissions for the home directory. password and key_file are both used to verify the user. Usually, you only need to fill in one of them.

    Notice

    After configuring the key path, if your key does not require a password, please comment out or delete password to avoid it being considered as the key password for login, which may cause verification failure.

  3. Modify the obbinlog configuration.

    You can copy the following content and modify it based on your actual scenario. For the specific meanings of the configuration items, see Configuration file description under Configuration item description.

    obbinlog-ce:
      version: 4.0.1
      servers:
        - name: server1
          ip: 10.10.10.1
        - name: server2
          ip: 10.10.10.2
      global:
        home_path: /home/admin/obbinlog
        service_port: 2983   # External port. The default value is 2983.
        prometheus_port: 2984 # The Prometheus port. The default value is 2984.
        init_schema: true   # init meta db, default true
        meta_host: 10.10.10.1   # meta support ob/mysql
        meta_port: 2883
        meta_username: root@binlog # need tenant exist, if db is mysql, use root or other
        meta_password: ******
        meta_db: binlog_database
    
  4. Deploy obbinlog.

    obd cluster deploy obbinlog -c binlog-only-example.yaml
    

    In the command, obbinlog is the deployment name of obbinlog. You can customize the deployment name as needed. After the deployment is successful, the command line will output the corresponding startup command, as shown below:

    obbinlog deployed
    Please execute ` obd cluster start obbinlog ` to start
    Trace ID: f29c81bc-c729-11ef-832f-00163e14c113
    
  5. Start obbinlog.

    obd cluster start obbinlog
    

    After the startup is successful, the obbinlog information will be output, as shown below:

    Get local repositories ok
    Load cluster param plugin ok
    Open ssh connection ok
    wait observer usable ok
    start obbinlog-ce ok
    obbinlog-ce program health check ok
    Connect to obbinlog-ce 10.10.10.1:2983 ok
    +-----------------------------------------+
    |               obbinlog-ce               |
    +---------------+---------+------+--------+
    | ip            | version | port | status |
    +---------------+---------+------+--------+
    | 10.10.10.1    | 4.0.1   | 2983 | active |
    +---------------+---------+------+--------+
    obclient -h10.10.10.1 -P2983
    
    obbinlog running
    Trace ID: 3ee817e8-c72a-11ef-a900-00163e14c113
    If you want to view detailed obd logs, please run: obd display-trace    3ee817e8-c72a-11ef-a900-00163e14c113
    

Configuration file example

distributed-binlog.yaml
binlog-only-example.yaml
## 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
oceanbase-ce:
  version: 4.3.3.0
  # release: 100000242024032211.el7
  # package_hash: c4a03c83614f50c99ddb1c37dda858fa5d9b14b7
  servers:
    - name: server1
      ip: 10.10.10.1
  global:
    mysql_port: 2881
    rpc_port: 2882
    home_path: /home/admin/oceanbase
    obshell_port: 2886
    scenario: htap
    log_disk_size: 20G
    datafile_size: 20GB
    production_mode: false
    enable_syslog_recycle: true
    enable_syslog_wf: false
    max_syslog_file_count: 4 
    root_password: ********
    zone: zone1
obbinlog-ce:
  depends:
    - oceanbase-ce
  servers:
    - name: server1
      ip: 10.10.10.1
    - name: server2
      ip: 10.10.10.2
  global:
    home_path: /home/admin/obbinlog
    service_port: 2983   # External port. The default value is 2983.
    prometheus_port: 2984 # The Prometheus port. The default value is 2984.
    init_schema: true
## 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
obbinlog-ce:
  version: 4.0.1
  servers:
    - name: server1
      ip: 10.10.10.1
    - name: server2
      ip: 10.10.10.2
  global:
    home_path: /home/admin/obbinlog
    service_port: 2983   # External port. The default value is 2983.
    prometheus_port: 2984 # The Prometheus port. The default value is 2984.
    init_schema: true   # init meta db, default true
    meta_host: 10.10.10.1   # meta support ob/mysql
    meta_port: 2883
    meta_username: root@binlog # need tenant exist, if db is mysql, use root or other
    meta_password: ******
    meta_db: binlog_database

Related operations

This section uses obbinlog as the deployment name of obbinlog in obd to describe how to use obd to manage the Binlog service.

  • Stop obbinlog

    obd cluster stop obbinlog
    

    This command stops obbinlog without affecting the Binlog instance. The Binlog instance that is not stopped continues to run.

  • Restart obbinlog

    obd cluster restart obbinlog
    

    This command restarts obbinlog and the Binlog instance.

  • Destroy the Binlog instance

    obd cluster destroy obbinlog
    

    This command stops obbinlog and the Binlog instance and destroys the Binlog service directory.

  • Create a Binlog instance

    obd binlog create obbinlog obdemo ob_mysql --replicate-num=3
    

    This command creates three Binlog instances for the ob_mysql tenant in the cluster with the deployment name obdemo. For more information about the commands of the Binlog service, see Binlog service commands.

  • Upgrade obbinlog

    obd cluster upgrade obbinlog -c obbinlog-ce -V 4.2.0
    

    Starting from V3.2.0, obd supports upgrading obbinlog to V4.2.0 or later. This command upgrades the obbinlog version and upgrades the Binlog instance.

Previous topic

Deploy Alertmanager
Last

Next topic

Deploy oblogproxy
Next
What is on this page
Prerequisites
Procedure
Configuration file example
Related operations