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 Admin Tool

V4.4.1

  • What's New
  • Product Introduction
    • What is OAT?
    • Architecture
    • Glossary
  • Quick Start
    • Install OAT
    • Get started with OAT
  • oatcli
  • Upgrade Guide
  • User Guide
    • Log in to OAT
    • Page layout of the OAT console
    • Servers
      • Add a server
      • Edit a server
      • Maintain a server
      • Remove a server
      • Manage credentials
    • Product services
      • Product service versions that support IPv6
      • Install, upgrade, roll back, and uninstall OCP
      • Install, upgrade, roll back, and uninstall ODC
      • Install, upgrade, and uninstall OMS
      • Install, upgrade, roll back, and uninstall OAS
      • Install, upgrade, roll back, modify, and uninstall OB Sharding
      • Install, upgrade, and uninstall MetaDB
      • Install and uninstall OBDNS
      • Install and uninstall InfluxDB
      • Install and uninstall NLB
      • Install and uninstall OpenSearch
      • Install and uninstall SQLAuditStore
      • Create, upgrade, and uninstall an arbitration service
      • Install and uninstall OBLB
      • Take over OCP
      • Take over ODC
      • Take over OB Sharding
      • Take over OMS
      • Take over MetaDB
      • Take over OBDNS
      • Take over InfluxDB
      • Take over NLB
      • Take over the Arbitration Service
      • Manage images
      • Change resources of services and components
      • Manage tools
      • Refresh data
      • Manage containers
    • Operation and maintenance
      • In-depth inspection
        • Overview
        • Configure inspection items
        • Initiate an in-depth inspection
          • Initiate an in-depth inspection for a single object
          • Initiate a global in-depth inspection
          • Initiate an in-depth inspection for multiple objects
        • View an inspection task
        • Manage an inspection report
          • View an inspection report
          • Download an inspection report
      • High availability testing
        • Create a high availability test
        • View the high availability test
    • System security
      • Use the task center
      • Manage packages
      • Manage users
      • Audit operations
      • System parameters
        • View and modify system parameters
        • OAT configuration parameters
  • FAQ
  • Release Notes
    • OAT V4.4.1
    • OAT V4.4.0
    • OAT V4.3.2
    • OAT V4.3.1
    • OAT V4.3.0

Download PDF

What's New What is OAT? Architecture Glossary Install OAT Get started with OAT oatcli Upgrade Guide Log in to OAT Page layout of the OAT console Add a server Edit a server Maintain a server Remove a server Manage credentials Product service versions that support IPv6 Install, upgrade, roll back, and uninstall OCP Install, upgrade, roll back, and uninstall ODC Install, upgrade, and uninstall OMS Install, upgrade, roll back, and uninstall OAS Install, upgrade, roll back, modify, and uninstall OB Sharding Install, upgrade, and uninstall MetaDB Install and uninstall OBDNS Install and uninstall InfluxDB Install and uninstall NLB Install and uninstall OpenSearch Install and uninstall SQLAuditStore Create, upgrade, and uninstall an arbitration service Install and uninstall OBLB Take over OCP Take over ODC Take over OB Sharding Take over OMS Take over MetaDB Take over OBDNS Take over InfluxDB Take over NLB Take over the Arbitration Service Manage images Change resources of services and components Manage tools Refresh data Manage containers Use the task center Manage packages Manage users Audit operations FAQ OAT V4.4.1 OAT V4.4.0 OAT V4.3.2 OAT V4.3.1 OAT V4.3.0
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 Admin Tool
  3. V4.4.1
iconOceanBase Admin Tool
V 4.4.1
  • V 4.5.0
  • V 4.4.1
  • V 4.4.0
  • V 4.3.2
  • V 4.3.1
  • V 4.3.0
  • V 4.2.1
  • V 4.1.2

Upgrade Guide

Last Updated:2026-04-09 02:22:05  Updated
share
What is on this page
Applicable versions
Considerations
Procedure
OAT V3.2.0 to V4.1.0
The original OAT version is V4.1.1 or later

folded

share

Applicable versions

OceanBase Admin Toolkit (OAT) V3.2.0 and later can be upgraded to V4.3.2.

Considerations

  • OAT of a version earlier than V3.2.0 cannot be upgraded and can only be taken over.
  • To indirectly upgrade an earlier version, you can install a later version of OAT and then take over the products and components managed in the earlier version.
  • OAT V3.2.0 and later support in-place upgrade.
  • Do not perform an upgrade if there are running tasks or tasks that failed but are not discarded.

Procedure

OAT V3.2.0 to V4.1.0

The version of MariaDB in OAT V3.2 and V4.0 is earlier than that in OAT V4.1 and V4.2. In addition, the containers of OAT versions earlier than V4.1 do not catch the SIGTERM signal. Therefore, before you upgrade OAT, you must manually kill the mysqld process in the container of the earlier OAT version and then stop the earlier container. Otherwise, an error may occur.

Take OAT V3.2.0 as an example. Perform the following steps to upgrade OAT:

  1. Load the image of the new version.

    docker load -i oat_xxx_xxxxxxxx_xxx.tgz 
    

    Here, oat_xxx_xxxxxxxx_xxx.tgz is the name of the installation package of the new version.

    Example:

    docker load -i oat_4.3.2_20250605_arm.tgz
    

    The following result is returned:

    Loaded image: xxx/oceanbase/oat:4.3.2_20250605_arm
    

    This image will be used when you start the OAT container in Step 5.

  2. Stop MariaDB in the container.

    1. Query container information.

      docker ps -a
      

      Example:

      docker ps -a
      

      The following result is returned:

      CONTAINER ID        IMAGE                                                         COMMAND                  CREATED             STATUS              PORTS               NAMES
      56204b8e2f55        xxx/oceanbase/oat:3.2.0_20220819_arm   "/oat/distribution/p…"   About an hour ago   Up About an hour                        oat
      
    2. Log in to the oat container.

      docker exec -it <Container name> bash
      

      Example:

      docker exec -it oat bash
      

      The following result is returned:

      [root@xxx oat]#
      
    3. Terminate the running MariaDB service processes. Depending on the MariaDB version, the actual process name may be mariadbd or mysqld.

      pkill mariadbd;
      
      pkill mysqld;
      
    4. Check whether MariaDB is still running and make sure that no MariaDB process is running.

      pgrep 'mariadbd|mysqld'
      

      No output indicates that no MariaDB process is running.

    5. Return to the host.

      Press Enter after you enter exit, or press the shortcut keys Ctrl + D to return to the host.

      Example:

      [root@xxx oat]# exit
      
  3. Query the data mount directory on the host that is specified when you start the container of OAT V3.2.0.

    docker inspect <Container name> -f '{{.Mounts}}'
    

    Example:

    docker inspect oat -f '{{.Mounts}}'
    

    The following result is returned:

    [{bind  /data_dir /data   true rprivate}]
    

    The /data_dir directory on the host corresponds to the /data directory in the container. When you start the OAT V4.3.2 container in Step 5, you must keep /data_dir unchanged.

  4. Stop and delete the OAT V3.2 container.

    docker stop <Container name> && docker rm <Container name>
    

    Example:

    docker stop oat && docker rm oat
    

    The following result is returned:

    oat
    oat
    
  5. Start the container of the target OAT version by using the data mount directory.

    docker run -d --name oat --net host -v <data_dir>:/data --restart on-failure:5 <New image>
    

    Here, <data_dir> is the data mount directory of OAT.

    Example:

    To start the container of OAT V4.3.2 by using the data mount directory:

    docker run -d --name oat --net host -v /data_dir:/data --restart on-failure:5 xxx/oceanbase/oat:4.3.2_20250605_arm
    

    The following result is returned:

    12c9d898449e542718934f74a401724f6c5359206738956c7350168759a7338a
    
  6. View the startup logs.

    docker logs -f oat
    

    After the startup logs stop refreshing, log in to OAT to verify whether the upgrade is successful.

The original OAT version is V4.1.1 or later

You can directly perform an in-place upgrade. Take OAT V4.1.1 as an example. Perform the following steps to upgrade OAT:

  1. Load the image of the new version.

    docker load -i oat_xxx_xxxxxxxx_xxx.tgz 
    

    Here, oat_xxx_xxxxxxxx_xxx.tgz is the name of the installation package of the new version.

    Example:

    docker load -i oat_4.3.2_20250605_arm.tgz
    

    The following result is returned:

    Loaded image: xxx/oceanbase/oat:4.3.2_20250605_arm
    

    This image will be used when you start the OAT container in Step 5.

  2. Query the data mount directory on the host that is specified when you start the container of OAT V4.1.1.

    docker inspect <Container name> -f '{{.Mounts}}'
    

    Example:

    docker inspect oat -f '{{.Mounts}}'
    

    The following result is returned:

    [{bind  /data_dir /data   true rprivate}]
    

    The /data_dir directory on the host corresponds to the /data directory in the container. When you start the container of the new OAT version in Step 5, you must keep /data_dir unchanged.

  3. Stop and delete the OAT V4.1.1 container.

    docker stop <Container name> && docker rm <Container name>
    

    Example:

    docker stop oat && docker rm oat
    

    The following result is returned:

    oat
    oat
    
  4. Start the container of the target OAT version by using the data mount directory.

    docker run -d --name oat --net host -v <data_dir>:/data --restart on-failure:5 <New image>
    

    Here, <data_dir> is the data mount directory of OAT.

    Example:

    To start the container of OAT V4.3.2 by using the data mount directory:

    docker run -d --name oat --net host -v /data_dir:/data --restart on-failure:5 xxx/oceanbase/oat:4.3.2_20250605_arm
    

    The following result is returned:

    12d0bb1685f066a83742e754c4f01a83063b6a5b14d3d5d401cb3a278cd20d3b
    
  5. View the startup logs.

    docker logs -f oat
    

    After the startup logs stop refreshing, log in to OAT to verify whether the upgrade is successful.

Previous topic

oatcli
Last

Next topic

Log in to OAT
Next
What is on this page
Applicable versions
Considerations
Procedure
OAT V3.2.0 to V4.1.0
The original OAT version is V4.1.1 or later