OceanBase
English日本語简体中文
Docs Home
Products
Integrations
Release Notes

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service
OceanBase DatabaseOceanBase Cloud ToolsConnectors and MiddlewareLifecycle Support Policy

OceanBase Admin Tool

V4.3.0
  • What's New
  • Product introduction
    • What is OAT?
    • Architecture
    • Terms
  • 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
      • Install, upgrade, roll back, and uninstall OCP
      • Install, upgrade, roll back, and uninstall ODC
      • Install, upgrade, and uninstall OMS
      • 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
      • 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
      • 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
    • System security
      • Use the task center
      • Manage packages
      • Manage users
      • Audit operations
      • System parameters
        • View and modify system parameters
        • OAT configuration parameters
  • FAQ

Download PDF

Document Feedback
  1. Documentation Center
  2. OceanBase Admin Tool
  3. V4.3.0

Upgrade guide

Last Updated:2026-09-03 09:50:18

Applicable versions
Considerations
Procedure
OAT V3.2.0 to V4.1.0
OAT V4.1.1 and later

Applicable versions

OceanBase Admin Toolkit (OAT) V3.2.0 and later.

Considerations

  • You cannot upgrade OAT from a version earlier than V3.2.0 to V4.3.0. Services and components managed in OAT of these versions can only be taken over in OAT V4.3.0.
  • You can directly install OAT V4.3.0 to take over the services and components managed in OAT of earlier versions.
  • You can upgrade OAT from V3.2.0 and later to V4.3.0.

Procedure

OAT V3.2.0 to V4.1.0

The version of MariaDB in OAT V3.2 to V4.0 is earlier than that of MariaDB in OAT V4.1 to V4.2, and the OAT container of a version earlier than V4.1 does not catch the SIGTERM signal. Before you upgrade OAT, you must kill the mysqld process in the OAT container of the earlier version and disable the container. Otherwise, an error may occur.

The following example shows how to upgrade OAT from V3.2.0 to V4.3.0:

  1. Load the image of OAT V4.3.0.

    docker load -i <Image of OAT V4.3.0> 
    
  2. Disable MariaDB in the container.

    # Enter the container.
    docker exec -it <Container name> bash 
    # Terminate ongoing MariaDB service processes. The process name may be mariadbd or mysqld, which is affected by the version of MariaDB.
    pkill mariadbd; pkill mysqld;
    # Make sure that no MariaDB service process is running.
    pgrep 'mariadbd|mysqld'
    # Return to the host.
    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}}'
    

    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. The /data_dir directory must be consistent when you start the container of OAT V4.3.0 in Step 5.

  4. Stop and delete the container of OAT V3.2.0.

    docker stop <Container name> && docker rm <Container name>
    
  5. Start the container of OAT V4.3.0 from the data mount directory.

    docker run -d --name oat --net host -v <data_dir>:/data --restart on-failure:5  reg.docker.alibaba-inc.com/oceanbase/oat:4.3.0_20241025_x86
    
  6. Query the startup logs.

    docker logs -f oat
    

    After the refresh of the startup logs stops, log in to OAT to check whether the upgrade is successful.

OAT V4.1.1 and later

You can upgrade OAT from V4.1.1 and later to V4.3.0. The following example shows how to upgrade OAT from V4.1.1 to V4.3.0:

  1. Load the image of OAT V4.3.0.

    docker load -i <Image of OAT V4.3.0>
    
  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}}'
    

    The following result is returned: The /data_dir directory on the host corresponds to the /data directory in the container. The /data_dir directory must be consistent when you start the container of OAT V4.3.0 in Step 4.

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

    docker stop <Container name> && docker rm <Container name>
    
  4. Start the container of OAT V4.3.0 from the data mount directory.

    docker run -d --name oat --net host -v <data_dir>:/data --restart on-failure:5  reg.docker.alibaba-inc.com/oceanbase/oat:4.3.0_20241025_x86
    
  5. Query the startup logs.

    docker logs -f oat
    

    After the refresh of the startup logs stops, log in to OAT to check whether the upgrade is successful.

Previous topic

oatcli
Last

Next topic

Log in to OAT
Next
on this page
Applicable versions
Considerations
Procedure
OAT V3.2.0 to V4.1.0
OAT V4.1.1 and later