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 Database

SQL - V4.2.0

    Download PDF

    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 Database
    3. SQL
    4. V4.2.0
    iconOceanBase Database
    SQL - V 4.2.0
    SQL
    KV
    • V 4.4.2
    • V 4.3.5
    • V 4.3.3
    • V 4.3.1
    • V 4.3.0
    • V 4.2.5
    • V 4.2.2
    • V 4.2.1
    • V 4.2.0
    • V 4.1.0
    • V 4.0.0
    • V 3.1.4 and earlier

    Add a server

    Last Updated:2025-12-04 02:47:57  Updated
    share
    What is on this page
    Prerequisites
    Procedure
    Next steps
    References

    folded

    share

    This topic describes how to add a server to an OAT resource pool.

    Note

    The steps outlined in this topic are for OAT V4.1.2. The interface of a different OAT version may be different. Please refer to the interface of the product you are using.

    Prerequisites

    You have installed OAT. For more information, see Deploy OAT.

    Procedure

    1. Log in to OAT.

    2. In the left-side navigation pane, click Server to go to the Server Management page. In the upper-right corner of the page, click Add Server.

    3. On the Add Server page, enter the basic information of the server.

      The following table describes the parameters:

      Parameter Description
      Server IP The external IP address of the server to be added.
      SSH Port The SSH port of the server to be added.
      IDC The IDC to which the server to be added belongs.
      Credential The access credentials of the server to be added. Currently, username and password and key are supported.
      Description (Optional) The comment on the server, which is useful for better host management.
    4. On the Add Server page, perform initial configuration.

      The following table describes the parameters:

      Parameter Description
      Purpose The purpose of the server.
      OS Owner The operating system user for installing and running OBServer and OB services. Custom users are supported.
      User Password The password corresponding to the OS owner user.
      User UID:GID The UID and GID of the OS owner user.
      Docker Root Dir The root directory for storing Docker data.
      • Clock Synchronization (Optional): By default, clock synchronization is disabled. If clock synchronization is enabled, specify the following parameters:

        Notice

        Clock source synchronization is required between the server where the OceanBase cluster is deployed and the server where OCP is deployed.

        Parameter Description
        Clock Source IP Address The IP address of the clock source.
        minpoll: The minimum time interval in seconds for the chrony client to request time synchronization from the clock source.
        maxpoll: The maximum time interval in seconds for the chrony client to request time synchronization from the clock source.
        maxslewrate: The maximum adjustment rate in PPM (10−6) for the chrony client's clock.
        Serve as a secondary clock source (Optional) After this parameter is set, the server can serve as a clock source for external clients that meet the allowlist criteria but not the blacklist criteria.
      • Automatic Synchronization to OCP (Optional): By default, automatic synchronization is disabled. If automatic synchronization is enabled, select the OCP that has been installed. If no OCP is available for selection, the option will be grayed out. After you complete the initialization setup of the server in OAT, the system automatically calls the API of the OCP to add the server to the specified OCP for future use.

        Notice

        • The OCPs listed here are from those installed in Product Services > Products > OCP. For more information, see Deploy OCP.
        • Before you use OCP to deploy an OceanBase cluster, add the server where you want to deploy the OceanBase cluster to the OCP resource pool.

      • Disk Initialization (Optional): To ensure the stability of OceanBase Database and related product services, it is generally recommended to configure the service directories on independent disks. After you select a disk for initialization, the system will automatically use lvm to create a corresponding vg, and a corresponding lv will be mounted to the specified mount directory.

        • Select Disk or Partition: The system automatically recognizes the unmounted disk devices and you can select the devices to mount. Multiple devices can be selected.
        • Mount Purpose: The options are Software Installation Path, Data Disk Path, Log Disk Path, and Docker Root Dir. You can select the appropriate option based on your business requirements.
        • Mount Point: You can specify the mount path based on your business requirements.
        • Space (/GB): You can specify the space size based on your business requirements. The unit is GB.
    5. Click OK.

      • If you enable the disk initialization feature, a dialog box displaying the check items will appear when you submit the request. After the check items are verified, click OK to add the server.

      • If you disable the disk initialization feature, you can directly submit the request and then perform the initialization operation.

    After the server is successfully submitted, you can view it in the server list in the server management page. The status of the server is Initializing. On the Server Management page, you can find the added server and click Actions in the View Tasks column to view the task progress. If there are many servers, you can search for the target server by IP address at the top of the page.

    If an error occurs during the task execution and the error does not affect your business, you can view the log information and manually set the failed task to success.

    Next steps

    After the server is added, you can deploy OCP as needed:

    • Deploy OCP

    After OCP is deployed and the server is added, you can deploy an OceanBase cluster as needed:

    • Deploy an OceanBase cluster with OCP
    • Deploy an OceanBase cluster with one replica using OCP
    • Deploy an OceanBase cluster with three replicas using OCP

    References

    • For more information about how to add servers, see Add servers.
    • For more information about how to maintain servers, see Maintain servers.

    Previous topic

    Deploy OAT
    Last

    Next topic

    Overview
    Next
    What is on this page
    Prerequisites
    Procedure
    Next steps
    References