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.2.1

  • What's New
  • Product introduction
    • What is OAT?
    • Architecture
    • Concepts
  • Quick start
    • Install OAT
    • Get started with OAT
  • oatcli
  • Upgrade guide
  • User guide
    • Log on to OAT
    • Page layout of the OAT console
    • Servers
      • Add a server
      • Edit a server
      • Perform O&M operations on a server
      • Remove a server
      • Manage credentials
    • Product services
      • Install, upgrade, and uninstall OCP
      • Install, upgrade, and uninstall ODC
      • Install, upgrade, and uninstall OMS
      • Install, Upgrade, Modify, and Uninstall OBSharding
      • Install 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 OBSharding
      • Take over OMS
      • Take over MetaDB
      • Take over OBDNS
      • Take over InfluxDB
      • Take over NLB
      • Manage images
      • Modify the resources of products and components
      • Manage tools
      • Refresh data
      • Container operations
    • System security
      • Task center
      • Package management
      • User management
      • Operation audit
      • System parameter
        • View and modify system parameters
        • OAT configuration parameters
  • FAQ

Download PDF

What's New What is OAT? Architecture Concepts Install OAT Get started with OAT oatcli Upgrade guide Log on to OAT Page layout of the OAT console Add a server Edit a server Perform O&M operations on a server Remove a server Manage credentials Install, upgrade, and uninstall OCP Install, upgrade, and uninstall ODC Install, upgrade, and uninstall OMS Install, Upgrade, Modify, and Uninstall OBSharding Install 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 OBSharding Take over OMS Take over MetaDB Take over OBDNS Take over InfluxDB Take over NLB Manage images Modify the resources of products and components Manage tools Refresh data Container operations Task center Package management User management Operation audit FAQ
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.2.1
iconOceanBase Admin Tool
V 4.2.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

Install, Upgrade, Modify, and Uninstall OBSharding

Last Updated:2026-04-13 08:52:08  Updated
share
What is on this page
Prerequisites
Install OBSharding
Upgrade OBSharding
Modify OBSharding
Uninstall OBSharding
What to do next

folded

share

This topic describes how to install, upgrade, modify, and uninstall OBSharding in the OceanBase Admin Toolkit (OAT) console.

Prerequisites

Before you install OBSharding, make sure that the following conditions are met:

  • You have installed and logged on to OAT. For more information, see Install OAT.
  • You have added a server where OBSharding is to be installed. For more information, see Add a server.
  • The server meets the requirements for installing OBSharding.
  • You have created the MetaDB component for OBSharding. For more information, see Create MetaDB.

Install OBSharding

To install OBSharding, perform the following steps:

  1. In the left-side navigation pane, choose Product Service > Product Management.

  2. On the Product Management page, click Install Product in the upper-right corner, and choose Install OBSharding.

  3. On the Install OBSharding page, configure the parameters.

    The following table describes the basic parameters of OBSharding.

    Parameter Description
    OBSharding Console Image The Docker image of the OBSharding console.
    Product Name The name of the product, which must be unique.
    Server The IP address of the server where OBSharding is to be installed.
    CPU The number of CPU cores on the server available for OBSharding. Default value: 4C.
    Memory The memory on the server available for OBSharding. Default value: 8G.
    HTTP Port The HTTP port number of OBSharding. Default value: 8080.
    Log Directory The log storage path of OBSharding. Default value: /home/admin/logs/sharding_console.

    The following table describes the parameters of the OBSharding server.

    Parameter Description
    OBSharding Server Image The Docker image of the OBSharding server.
    Server The IP address of the server where the OBSharding server is to be installed.
    CPU The number of CPU cores on the server available for OBSharding. Default value: 8C.
    Memory The memory on the server available for OBSharding. Default value: 16G.
    Log Directory The log storage path of OBSharding. Default value: /home/admin/logs/sharding_server.

    The following table describes the MetaDB parameters of OBSharding.

    Parameter Description
    MetaDB Type Select the type of MetaDB.
    Tenant Name The name of the tenant.
    Tenant Password The password of the tenant.
    Tenant CPU The number of CPU cores on the server available for the tenant. Default value: 2C.
    Tenant Memory The memory on the server available for the tenant. Default value: 5G.

    The following table describes the load balancing parameters, which are optional.

    Parameter Description
    Load Balancing Mode Select the load balancing mode.
    MetaDB TCP Proxy IP The proxy IP address or domain name used by the OBSharding console to connect to MetaDB.
    MetaDB TCP Proxy Port The proxy port used by the OBSharding console to connect to MetaDB. Default value: 3306.
    OBSharding Console HTTP Proxy IP The IP address for accessing the OBSharding console.
    OBSharding Console HTTP Proxy Port The port for accessing the OBSharding console. Default value: 80.
  4. After you set the parameters, click Submit.

    You can also click Reset to restore to the default configurations.

Description

If OBSharding V3.2.7 or later is installed, OAT will prompt you to set an initial password for ODC. If a version earlier than OBSharding V3.2.7 is installed, OAT will not display this prompt.

Upgrade OBSharding

To upgrade OBSharding, perform the following steps:

  1. In the left-side navigation pane, choose Product Service > Product Management.

  2. Find the target OBSharding service and click the service name in the Name column to go to the details page.

    You can also search for the required OBSharding service by name at the top of the page.

  3. In the upper-right corner of the details page, click Upgrade.

  4. In the Upgrade dialog box, enter the required information.

    The fields are described as follows:

    Field Description
    Upgrade Method The current version of OAT supports Downtime Upgrade and Grayscale Upgrade. Downtime Upgrade applies to services without business continuity requirements. During the upgrade, OAT disables the old version of OBSharding, and OBSharding cannot provide services to external applications.
    Upgraded Image File The target image file for the upgrade.
  5. Click OK.

Modify OBSharding

You can replace the OBSharding container or migrate the OBSharding container from one server to another.

To modify OBSharding, perform the following steps:

  1. In the left-side navigation pane, choose Product Service > Product Management.

  2. Find the target OBSharding service and click the service name in the Name column to go to the details page.

    You can also search for the required OBSharding service by name at the top of the page.

  3. In the upper-right corner of the details page, click Change.

  4. In the Change dialog box, enter the required information.

    The fields are described as follows:

    Field Description
    Server The IP address of the OBSharding server.
    Port The port number of the OBSharding server.
  5. Click OK.

Uninstall OBSharding

To uninstall OBSharding, perform the following steps:

  1. In the left-side navigation pane, choose Product Service > Product Management.

  2. Find the target OBSharding service and click the service name in the Name column to go to the details page.

    You can also search for the required OBSharding service by name at the top of the page.

  3. In the upper-right corner of the details page, click Uninstall.

  4. In the confirmation dialog box that appears, click Uninstall. OAT displays a message indicating that the service is being uninstalled. OAT also creates an uninstallation task. In the confirmation dialog box that appears, you can click the task ID to view the task progress.

What to do next

After you install OBSharding, you can use the OBSharding proxy service.

Previous topic

Install, upgrade, and uninstall OMS
Last

Next topic

Install and uninstall MetaDB
Next
What is on this page
Prerequisites
Install OBSharding
Upgrade OBSharding
Modify OBSharding
Uninstall OBSharding
What to do next