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 Deployer

V2.7.0Community Edition

  • What is OBD
  • Quick Start
    • Install and configure OBD
    • Quickly start OceanBase Database
    • Deploy an OceanBase cluster on the GUI
  • OBD Command
    • Quick deployment command
    • Cluster commands
    • Mirror and repository commands
    • Testing commands
    • Tool commands
    • obdiag commands
    • Telemetry commands
  • User Guide
    • Configuration files
    • Deploy through GUI
      • GUI operation overview
      • Deploy OCP through the GUI
    • Deploy through CLI
      • Deploy OceanBase Database on a single OBServer node
      • Deploy OCP Express by using commands
      • Deploy and use Config Server
      • Deploy OBLogProxy by using the CLI
      • Use OCP to take over a cluster deployed by OBD
      • Add GUI-based monitoring for an existing cluster
      • Upgrade OCP Express
      • Upgrade OceanBase Database
      • Physical Standby Database
        • Deploy primary and standby tenants by using OBD
        • Switch the roles of tenants and decouple a standby tenant from the primary tenant
      • Scale out a cluster and change cluster components
  • FAQ
    • FAQ
    • How do I upgrade an OBProxy to obproxy-ce 3.2.3?
  • Mode configuration rules
  • Error codes
  • Release Notes
    • Version rules
    • V2.7
      • OceanBase Deployer V2.7.0
    • V2.6
      • OceanBase Deployer V2.6.2
      • OceanBase Deployer V2.6.1
      • OceanBase Deployer V2.6.0
    • V2.5
      • OceanBase Deployer V2.5.0
    • V2.4
      • OceanBase Deployer V2.4.0
    • V2.3
      • OceanBase Deployer V2.3.1
      • OceanBase Deployer V2.3.0
    • V2.2
      • OceanBase Deployer V2.2.0
    • V2.1
      • OceanBase Deployer V2.1.1
      • OceanBase Deployer V2.1.0
    • V2.0
      • OceanBase Deployer V2.0.1
      • OceanBase Deployer V2.0.0
    • V1.6
      • OceanBase Deployer V1.6.2
      • OceanBase Deployer V1.6.1
      • OceanBase Deployer V1.6.0
    • V1.5
      • OceanBase Deployer V1.5.0
    • V1.4
      • OceanBase Deployer V1.4.0
    • V1.3
      • OceanBase Deployer V1.3.3
      • OceanBase Deployer V1.3.2
      • OceanBase Deployer V1.3.0
    • V1.2
      • OceanBase Deployer V1.2.1
      • OceanBase Deployer V1.2.0

Download PDF

What is OBD Install and configure OBD Quickly start OceanBase Database Deploy an OceanBase cluster on the GUI Quick deployment command Cluster commands Mirror and repository commands Testing commands Tool commands obdiag commands Telemetry commands Configuration files GUI operation overview Deploy OCP through the GUI Deploy OceanBase Database on a single OBServer node Deploy OCP Express by using commands Deploy and use Config Server Deploy OBLogProxy by using the CLI Use OCP to take over a cluster deployed by OBD Add GUI-based monitoring for an existing cluster Upgrade OCP Express Upgrade OceanBase Database Scale out a cluster and change cluster components FAQ How do I upgrade an OBProxy to obproxy-ce 3.2.3? Mode configuration rules Error codes Version rules OceanBase Deployer V2.7.0 OceanBase Deployer V2.6.2 OceanBase Deployer V2.6.1 OceanBase Deployer V2.6.0 OceanBase Deployer V2.5.0 OceanBase Deployer V2.4.0 OceanBase Deployer V2.3.1 OceanBase Deployer V2.3.0 OceanBase Deployer V2.2.0 OceanBase Deployer V2.1.1 OceanBase Deployer V2.1.0 OceanBase Deployer V2.0.1 OceanBase Deployer V2.0.0 OceanBase Deployer V1.6.2 OceanBase Deployer V1.6.1 OceanBase Deployer V1.6.0 OceanBase Deployer V1.5.0 OceanBase Deployer V1.4.0 OceanBase Deployer V1.3.3 OceanBase Deployer V1.3.2 OceanBase Deployer V1.3.0 OceanBase Deployer V1.2.1 OceanBase Deployer V1.2.0
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 Deployer
  3. V2.7.0
iconOceanBase Deployer
V 2.7.0Community Edition
Community Edition
  • V 3.2.1
  • V 3.2.0
  • V 3.1.0
  • V 3.0.0
  • V 2.10.1
  • V 2.10.0
  • V 2.9.0
  • V 2.8.0
  • V 2.7.0
  • V 2.6.0
  • V 2.5.0
  • V 2.4.0
  • V 2.3.1
  • V 2.3.0
  • V 2.2.0
  • V 2.1.0
  • V 2.0.0
  • V 1.6.1

Deploy an OceanBase cluster on the GUI

Last Updated:2025-03-25 02:31:15  Updated
share
What is on this page
Background
Prerequisites
Prepare the software
Online deployment
Offline deployment
Procedure
Related operations
Verify the Java environment
Manage the cluster
Deploy a component of the desired version

folded

share

This topic describes how to use OceanBase Deployer (OBD) to deploy OceanBase Database in an x86-based CentOS Linux 7.9 system on the GUI.

Background

OBD V2.0.0 or later supports GUI-based deployment for OceanBase Database and related components such as OceanBase Agent (OBAgent), OceanBase Database Proxy (ODP), and OceanBase Cloud Platform (OCP) Express. You can easily deploy an OceanBase cluster by following the wizard.

Prerequisites

  • At least 2 vCPUs, 8 GB of memory, and 19 GB of disk space are available for deploying OceanBase Database only.

  • At least 4 vCPUs, 10 GB of memory, and 25 GB of disk space are available for deploying OceanBase Database and all its components. We recommend that more than 16 GB of memory be available.

  • The Java environment has been installed and configured if OCP Express is to be deployed. At present, only Java Development Kit (JDK) 1.8 is supported. For more information, see the How do I configure the Java environment before I deploy OCP Express? section in FAQ.

    Notice

    OBD remotely performs installation and deployment by using the Secure Shell (SSH) protocol. Therefore, you must use SSH to verify whether the Java environment is available. For more information, see Verify the Java environment.

Prepare the software

You can use OBD to deploy OceanBase Database on the GUI in online or offline mode.

  • Online deployment: Make sure that the server where OBD resides can connect to the Internet. In this deployment mode, OBD obtains the installation package from a remote image repository during deployment, without the need for you to deploy and configure the installation package in advance.

  • Offline deployment: The server where OBD resides does not need to connect to the Internet during deployment. In this deployment mode, you must upload the installation package to the local image repository of OBD in advance. If you choose offline deployment, we recommend that you download the all-in-one package of the desired version.

Prepare the software based on the deployment mode.

Online deployment

If you choose online deployment, run the following commands to install OBD on the central control server.

[admin@test001 ~]$ sudo yum install -y yum-utils
[admin@test001 ~]$ sudo yum-config-manager --add-repo https://mirrors.aliyun.com/oceanbase/OceanBase.repo
[admin@test001 ~]$ sudo yum install -y ob-deploy
[admin@test001 ~]$ source /etc/profile.d/obd.sh

Offline deployment

If you choose offline deployment, run the following commands to download and install the all-in-one package.

You can download the latest all-in-one package from OceanBase Download Center and copy the package to the central control server. Run the following commands to decompress and install the package:

[admin@test001 ~]$ tar -xzf oceanbase-all-in-one-*.tar.gz
[admin@test001 ~]$ cd oceanbase-all-in-one/bin/
[admin@test001 bin]$ ./install.sh
[admin@test001 bin]$ source ~/.oceanbase-all-in-one/bin/env.sh

Procedure

  1. Go to the GUI.

    Run the obd web command on the CLI, and click the generated URL to go to the GUI.

    [admin@test001 ~]$ obd web
    start OBD WEB in 0.0.0.0:8680
    please open http://10.10.10.1:8680
    

    Note

    • The default port in the URL is 8680. You can use the obd web -p <PORT> command to specify a port.

    • On Alibaba Cloud or other cloud environments, the program may fail to obtain a public IP address but output an intranet IP address. You must use a correct public IP address to access the GUI.

    • The obd web command is bound to 0.0.0.0, which allows accessing the GUI through any accessible IP address in a multi-network card deployment scenario.

    To change the display language, click the English icon in the upper-right corner of the page and select a language as needed.

    English

    On the GUI, click Try Now to go to the Welcome to the OceanBase Deployment Wizard page. On the displayed Welcome to the OceanBase Deployment Wizard page, click OceanBase and supporting tools, and then click OK in the lower right part of the page.

  2. Configure the deployment information.

    On the Deployment Configuration page, you can configure the cluster name, deployment type, and components to deploy.

    Deployment Configuration

    On the Deployment Configuration page:

    • The default value of Cluster Name is myoceanbase, which can be modified and must not be the same as the name of an existing cluster.

    • By default, all components are deployed, and you can choose whether to deploy specific components by clicking the check box next to the corresponding component under Optional components. Note that selecting OCP Express will automatically select OBAgent, and deselecting OBAgent will automatically deselect OCP Express.

    • Click Learn more in the Description column of a component to view more information about the component.

    • You can click the drop-down list in the Version column of OceanBase Database and select a version. For other components, the latest versions are displayed by default.

    Click Next Step to go to the Node Configuration page.

  3. Configure the node information.

    On the Node Configuration page, configure the database and component nodes, and specify the user information and software installation path.

    Node Configuration

    On the Node Configuration page:

    • By default, three zones are available for the database nodes. You can click + Add Zone to add a zone or click the delete icon to delete a zone.

    • For OCP Express Node, you can select the IP address of an OBServer node from the drop-down list or enter the IP address of a new node. You can select or enter only one IP address.

    • For OBProxy Node, you can select the IP address of an OBServer node or enter the IP address of a new node. You can configure multiple OBProxy nodes.

    • By default, the value of User Name is the user who started the current process and the SSH port is Port 22. You can change the user and SSH port as needed. If password-free access is not configured for the nodes, you must enter the password of the specified user.

    • By default, the value of Software Path is the home directory of the user who performed the deployment. You can change the path as needed.

    Click Next Step to go to the Cluster Configuration page.

  4. Configure the cluster information.

    On the Cluster Configuration page, configure related cluster information, including the password of the administrator user in the sys tenant (root@sys), data directory, log directory, and ports and parameters of OceanBase Database and its components.

    Cluster Configuration

    On the Cluster Configuration page:

    • Valid values of Mode Configuration are Maximum Utilization and Minimum Availability. The Maximum Utilization mode maximizes resource utilization to ensure cluster performance and stability, and is recommended. In the Minimum Availability mode, minimum resources required for the normal running of the cluster are configured. For more information about mode configuration, visit Mode configuration rules.

    • The default password of the root@sys user is a random string automatically generated by OBD, and can be modified. The password must meet the following complexity requirements:

      • It must be 8 to 32 characters in length.

      • It must contain characters of at least three of the following types: digits (0 to 9), uppercase letters (A to Z), lowercase letters (a to z), and special characters. Special characters are ~!@#%^&*_-+=|(){}[]:;,.?/

    • By default, the data directory and log directory of the cluster are in the software path configured on the Node Configuration page. The data and log directories must be absolute paths beginning with /. You can change the data and log directories. Make sure that the specified directories are empty.

    • The default ports are retained for the database and its components. You can change the ports. Make sure that the specified ports range from 1024 to 65535 and are not occupied.

    • Enable More Configurations to view more cluster or component parameters. You can retain the default settings or modify the settings.

    Click Next Step to go to the Pre-check page.

  5. Perform a precheck.

    On the Pre-check page, confirm all the configuration information. If any information is incorrect, you can click Previous Step to modify the information. After you confirm that all the information is correct, click Pre-check.

    If an error is returned, you can click Auto repair to automatically correct the error, or click Learn more to go to the error code document and correct the error based on the reference document. After all the errors are corrected, click Re-check to perform a precheck again.

    Precheck
  6. Deploy OceanBase Database.

    After the precheck is passed, click Deploy to start to deploy OceanBase Database.

    Deploy

    On the deployment page:

    • After the deployment succeeds, you can copy the displayed connection string and use it to connect to OceanBase Database from the CLI.

    • Click the connection string of OCP Express to go to the logon page of OCP Express. Log on with the account and password provided on the deployment page, and then change the password. Then, you can manage the cluster on the GUI.

      Note

      On Alibaba Cloud or other cloud environments, the program may fail to obtain a public IP address but output an intranet IP address. You must use a correct public IP address to access the GUI.

    • In the Deployment Report section, click the Expand icon in front of the corresponding component to view the deployment log on the GUI.

    • In the Deployment Report section, find the target component and click View Details. Then, you can click the Copy icon next to a command to copy the command and run the command on the central control server to view the log location of the component.

  7. Click Finish.

Notice

To deploy multiple clusters, click Finish on the GUI to end the current OBD process and then run theobd web command to start the deployment of another cluster.

Related operations

Verify the Java environment

OBD remotely executes a script to deploy OCP Express. Therefore, you must use SSH to verify the Java environment. You cannot directly run the java -version command on the server where OCP Express is deployed to verify the Java environment.

Note

Interactions between the client and server will initialize the environment variables, but the SSH access mode does not initialize environment variables. As a result, the system prompts that the Java command does not exist or the Java version is wrong when you use SSH.

You can run the following command on any server that has established a network connection with the node where OCP Express resides.

# ocp_express_node_username: the username of the node where OCP Express resides
# ocp_express_node_ip: the IP address of the node where OCP Express resides
[admin@test001 ~]$ ssh <ocp_express_node_username>@<ocp_express_node_ip> 'java -version'

# Command output
openjdk version "1.8.0_xxx" 
OpenJDK Runtime Environment (build 1.8.0_362-b08)
OpenJDK 64-Bit Server VM (build 25.362-b08, mixed mode)

If the required Java environment has been installed but failed the verification, you can resolve the issue in the following ways:

  • Method 1: Specify the java_bin parameter in the More Configurations section.

    As shown in the following figure, set java_bin to the real path of Java, such as /jdk8/bin/java.

    More Settings
  • Method 2: Create a soft link from the executable file of Java to /usr/bin/java.

    [admin@test001 bin]$ pwd
    /jdk8/bin
    [admin@test001 bin]$ ln -s /jdk8/bin/java  /usr/bin/java
    

Manage the cluster

You can run the following commands to manage a cluster deployed by using OBD. For more information, see Cluster commands.

# View the cluster list.
[admin@test001 ~]$ obd cluster list

# View the status of the myoceanbase cluster.
[admin@test001 ~]$ obd cluster display myoceanbase

# Stop the myoceanbase cluster in the running state.
[admin@test001 ~]$ obd cluster stop myoceanbase

# Destroy the myoceanbase cluster.
[admin@test001 ~]$ obd cluster destroy myoceanbase

Deploy a component of the desired version

The all-in-one package is iterated based on OceanBase Database versions. If any component in the package has a later version, you can download the component of the latest version from OceanBase Download Center and then upload it to the local image repository of OBD. OBD will automatically obtain the latest version from the local image repository during deployment.

  1. Go to the directory where the component installation package is located, run the following command to add it to the local image repository.

    [admin@test001 rpm]$ obd mirror clone *.rpm
    
  2. View the list of installation packages in the local image repository.

    [admin@test001 rpm]$ obd mirror list local
    

Previous topic

Quickly start OceanBase Database
Last

Next topic

Quick deployment command
Next
What is on this page
Background
Prerequisites
Prepare the software
Online deployment
Offline deployment
Procedure
Related operations
Verify the Java environment
Manage the cluster
Deploy a component of the desired version