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 - V2.2.77Enterprise Edition

    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. V2.2.77
    iconOceanBase Database
    SQL - V 2.2.77Enterprise Edition
    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

    Start deployment

    Last Updated:2023-08-18 09:26:34  Updated
    share
    What is on this page
    Installation
    Exception handling

    folded

    share

    Start deployment

    Installation

    1. On the OceanBase Cloud Platform (OCP) server, run the following commands to view the script help information:

      cd /root/t-oceanbase-antman
      ./install.sh -h
      Usage:  ./install.sh [OPTIONS]
      
      Options:
        -h, --help                   Print help and exit
        -d, --debug                  Print debug information
        -V, --version                Print version
        -i, --install-steps string   For example 1,3-5,7-
        -c, --clear-steps string     For example 1,3-5,7-
        -f, --config-file string     Read in a config file
        -l, --load-balance           dns | haproxy
      
      Steps:
          1. ssh authorization
          2. install load balancer (default: dns)
          3. install ob server
          4. init ocp metadb
          5. install temp OCP
          6. install obproxy
          7. install OCP
          8. POSTCHECK
          9. install OMS (optional)
          10. install ODC (optional)
      

      Based on the preceding command output, the OCP installation steps are steps 1 through 8.

    1. Run the following command to install OCP:

      # n-m Perform steps n to m. -c --clear-steps string. -i --install-steps string. -f --config-file string.
      bash install.sh -i 1-8
      

      Note

      After you run the installation command on a server, the installation script automatically installs OCP on the three servers based on the IP addresses and connection information in the configuration file.

    Exception handling

    If an installation step fails, clear the failed step, fix the error based on the log content, and then continue the installation from the current step.

    For example, the installation fails in Step 5. The log content indicates that the configuration file is incorrectly configured. In this case, correct the configuration file and run the following command:

    bash install.sh -c 5 -i 5-
    

    If the log contains the following information, OCP is deployed:

    [2020-02-11 22:53:20.978315] INFO [xxx.xxx.xxx.xxx post_check_ocp_service start]
    [2020-02-11 22:53:20.980821] INFO [Curl xxx.xxx.xxx.xxx -> http://xxx.xxx.xxx.xxx:8080/services?Action=GetObProxyConfig&User_ID=admin&UID=alibaba]
    [2020-02-11 22:53:21.194190] INFO [xxx.xxx.xxx.xxx: post_check_ocp_service done]
    [2020-02-11 22:53:21.201536] INFO [step8: post check done]
    

    Previous topic

    Generate a configuration file
    Last

    Next topic

    Add an OCP configuration file
    Next
    What is on this page
    Installation
    Exception handling