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

  • 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 OB Sharding
      • Create and uninstall MetaDB
      • Create and uninstall OBDNS
      • Create and uninstall InfluxDB
      • Create and uninstall NLB
      • Create and uninstall OpenSearch
      • 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
      • Modify resources of products and components
      • Manage tools
      • Data refresh
    • System security
      • Task list
      • Package management
      • Manage users
      • Operation audit
  • 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 OB Sharding Create and uninstall MetaDB Create and uninstall OBDNS Create and uninstall InfluxDB Create and uninstall NLB Create and uninstall OpenSearch 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 Modify resources of products and components Manage tools Data refresh Task list Package management Manage users 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.1.2
iconOceanBase Admin Tool
V 4.1.2
  • 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 OB Sharding

Last Updated:2026-04-13 08:27:12  Updated
share
What is on this page
Prerequisites
Install OB Sharding
Upgrade OB Sharding
Modify OB Sharding
Uninstall OB Sharding
What to do next

folded

share

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

Prerequisites

Before you install OB Sharding, make sure the following:

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

Install OB Sharding

To install OB Sharding, perform the following steps:

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

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

  3. On the Install OB Sharding page, set the related parameters.

    The following table describes the basic parameters for OB Sharding.

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

    The following table describes the parameters for OB Sharding Server.

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

    The following table describes the MetaDB parameters for OB Sharding.

    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: 2.
    Tenant Memory The size of memory on the server available for the tenant. Default value: 5 GB.

    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 for the OB Sharding Console to connect to MetaDB.
    MetaDB TCP Proxy Port The proxy port used for the OB Sharding Console to connect to MetaDB. Default value: 3306.
    OB Sharding Console HTTP Proxy IP The IP address for accessing the OB Sharding Console.
    OB Sharding Console HTTP Proxy Port The port for accessing the OB Sharding Console. Default value: 80.
  4. After you set the parameters, click Submit.

    You can also click Reset to restore the default configuration.

Note

If you install OB Sharding version 3.2.7 or later, OAT will prompt you to set an initial password for OB Sharding. If you install OB Sharding version earlier than 3.2.7, OAT will not prompt you.

Upgrade OB Sharding

To upgrade OB Sharding, perform the following steps:

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

  2. Find the target OB Sharding product and click the product name in the Name column to go to the details page.

    If there are too many products, you can search by product 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 following table describes the related fields.

    Field Description
    Upgrade Mode The current version of OAT supports Upgrade with Services Stopped and Grayscale Upgrade. Upgrade with Services Stopped applies to products that do not require business continuity. During the upgrade, OAT disables the old version of OB Sharding, which cannot provide services externally.
    Image File for Upgrade The image file of the target version.
  5. Click OK.

Modify OB Sharding

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

To modify OB Sharding, perform the following steps:

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

  2. Find the target OB Sharding product and click the product name in the Name column to go to the details page.

    If there are too many products, you can search by product name at the top of the page.

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

  4. In the Resource Changes dialog box, enter the required information.

    The following table describes the related fields.

    Field Description
    Server The IP address of the OB Sharding Server.
    Port The port number of the OB Sharding Server.
  5. Click OK.

Uninstall OB Sharding

To uninstall OB Sharding, perform the following steps:

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

  2. Find the target OB Sharding product and click the product name in the Name column to go to the details page.

    If there are too many products, you can search by product 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 will prompt that the OB Sharding product is being uninstalled. At the same time, OAT will create an uninstall task, and you can click on the task ID in the confirmation dialog box to view the execution progress of the current uninstall task.

What to do next

After you install OB Sharding, you can use the OB Sharding proxy service. For more information, see the OB Sharding documentation.

Previous topic

Install, upgrade, and uninstall OMS
Last

Next topic

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