OceanBase logo

OceanBase

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

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

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

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 Binlog Service

V4.0.1

  • Overview
  • Compatibility
  • Deployment guide
  • Parameters
  • Management Command
    • Overview
    • Node management
    • Task management
    • Instance management
    • Session management
    • File management
  • Install obcdc
  • Monitoring and alerting
  • Troubleshooting
  • Release Notes
    • Release notes
    • obbinlog Community Edition V4.0.1

Download PDF

Overview Compatibility Deployment guide Parameters Overview Node management Task management Instance management Session management File management Install obcdc Monitoring and alerting Troubleshooting Release notes obbinlog Community Edition V4.0.1
OceanBase logo

The Unified Distributed Database for the AI Era.

Follow Us
Products
OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
Resources
DocsBlogLive DemosTraining & Certification
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 Binlog Service
  3. V4.0.1
iconOceanBase Binlog Service
V 4.0.1
  • V 4.2.5
  • V 4.2.0

Install obcdc

Last Updated:2025-05-30 08:12:22  Updated
share
What is on this page
Background information
Prerequisites
Procedure

folded

share

This topic describes how to install OceanBase Change Data Capture (obcdc) for the binlog service to adapt to a new OceanBase Database version.

Background information

The release cycle of obbinlog is different from that of OceanBase Database. If a new OceanBase Database version is released but no corresponding new obbinlog version is released, you can install obcdc of the corresponding version for the binlog service to adapt to the new OceanBase Database version.

Prerequisites

You have installed obbinlog.

Procedure

Note

This section describes how to install obcdc V4.2.5 in an x86-based CentOS Linux 7.9 image. The procedure may differ for other environments.

  1. Download the installation package of obcdc.

    Visit OceanBase Download Center and download the obcdc installation package of the required version based on the actual environment. Alternatively, visit the website of open-source images of Alibaba Cloud, go to the corresponding download page based on the actual environment, search for oceanbase-ce-cdc, and then download the installation package of the required version.

  2. Decompress the RPM package.

    [admin@test001 rpm]$ rpm2cpio oceanbase-ce-cdc-4.2.5.0-100010012024110110.el7.x86_64.rpm | cpio -div
    

    After the decompression, the following files appear in the ./home/admin/oceanbase/lib64 directory:

    libobcdc.so -> libobcdc.so.4
    libobcdc.so.4 -> libobcdc.so.4.2.5.0
    libobcdc.so.4.2.5.0
    
  3. Move the files to the corresponding directory of obbinlog.

    Notice

    In the obcdc folder under the installation directory of obbinlog, subfolders are named in the format of obcdc-ce-<version>.x-access, where <version> represents the first three digits of the version number, for example, obcdc-ce-4.2.5.x-access.

    [admin@test001 rpm]$ sudo mv ./home/admin/oceanbase/lib64  /home/ds/oblogproxy/obcdc/obcdc-ce-4.2.5.x-access
    

    In this example, /home/ds/oblogproxy/ is the default installation path of obbinlog. You need to replace it with the actual installation path.

  4. Configure other required dependencies.

    Copy other required dependencies from other directories to the new obcdc directory.

    [admin@test001 obcdc]$ cp -av obcdc-ce-4.2.4.x-access/libaio* obcdc-ce-4.2.5.x-access
    [admin@test001 obcdc]$ cp obcdc-ce-4.2.4.x-access/libobcdcaccess.so obcdc-ce-4.2.5.x-access 
    
  5. Start the binlog server.

    If the binlog server has never been started on the current node, start it based on Step 2 in the Deployment guide topic.

    If the binlog server has already been started on the current node, you need to restart the binlog server for obcdc to take effect. The restart method varies based on the startup method and the value of the supervise_start parameter.

    • Restart by using supervisord

      In a scenario where the binlog server is started by using the env/deploy.sh deployment script and supervise_start is set to true, the script will install supervisord and use it to start the program. In this case, you can run the following command to restart the binlog server:

      [admin@test001 oblogproxy]$ supervisorctl restart binlog
      
    • Restart without using supervisord

      In other scenarios, you can run the following commands to restart the binlog server:

      [admin@test001 oblogproxy]$ sudo ./run.sh stop
      [admin@test001 oblogproxy]$ sudo ./run.sh start
      

Previous topic

File management
Last

Next topic

Monitoring and alerting
Next
What is on this page
Background information
Prerequisites
Procedure