OceanBase
English日本語简体中文
Docs Home
Products
Integrations
Release Notes

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service
OceanBase DatabaseOceanBase Cloud ToolsConnectors and MiddlewareLifecycle Support Policy

OceanBase Deployer

V2.10.0Community Edition
  • What is obd
  • Quick Start
    • Install obd
    • Quickly deploy OceanBase Database
    • Quickly deploy OCP
    • 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
      • Modify components on the GUI
    • Deploy through CLI
      • Deploy OceanBase Database on a single server
      • Deploy OCP Express by using commands
      • Deploy and use obconfigserver
      • Deploy oblogproxy by using the CLI
      • Deploy OCP by using commands
      • Use OCP to take over a cluster deployed by obd
      • Use obd to take over a cluster
      • 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
      • Performance test
      • Cluster diagnotistics
  • FAQ
    • FAQ
    • How do I upgrade an OBProxy to obproxy-ce 3.2.3?
  • Mode configuration rules
  • Error codes
  • Release Notes
    • Version rules
    • V2.10
      • OceanBase Deployer V2.10.0
    • V2.9
      • OceanBase Deployer V2.9.2
      • OceanBase Deployer V2.9.1
      • OceanBase Deployer V2.9.0
    • V2.8
      • OceanBase Deployer V2.8.0
    • 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

Document Feedback
  1. Documentation Center
  2. OceanBase Deployer
  3. V2.10.0

Quick deployment command

Last Updated:2026-09-04 08:21:29

obd demo
Examples
Specify components
Specify the version of components
Specify the configurations of components

obd demo

With the obd demo command, you can directly deploy and start a specified component on your local computer without loading the configuration file. The fixed name of the cluster deployed is demo. After the deployment, you can run the obd cluster list command to view the cluster in the cluster list. You can also run other cluster commands to manage the cluster, such as obd cluster display demo.

obd demo [-c/--components] 

The following table describes the options in the command.

Option
Required
Data type
Default value
Description
-c/--components No string oceanbase-ce,obproxy-ce,obagent,prometheus,grafana The list of components that are separated with commas (,). You can use this parameter to specify the components to be deployed.

By default, this command deploys the minimum specifications in the home directory of the current user, and the latest versions are deployed by default. Components supported in this command are oceanbase-ce, obproxy-ce, obagent, grafana, prometheus, ob-configserver, and ocp-express.

Note

obd allows you to use the obd demo command to deploy the ocp-express component in V2.8.0 and later and deploy the ob-configserver component in V2.9.0 and later.

Examples

You can select the version and specify the configurations of a component to be deployed.

Specify components

  • Deploy OCP Express

    OCP Express depends on OceanBase Database and OBAgent. When you use the obd demo command to deploy OCP Express, you must also specify oceanbase-ce and obagent in the command.

    obd demo -c oceanbase-ce,obagent,ocp-express
    
  • Deploy obconfigserver only

    obd demo -c ob-configserver
    

Specify the version of components

  • Deploy components of the specified version

    obd demo -c oceanbase-ce,obproxy-ce --oceanbase-ce.version=4.3.2.0
    
  • Deploy components with the specified package hash

    obd demo -c oceanbase-ce,obproxy-ce --oceanbase-ce.package_hash=f38723204d49057d3e062ffad778edc1552a7c114622bf2a86fea769fbd202ea
    

Specify the configurations of components

This section describes how to specify the installation path and port number of a component. For more information about the parameters in the configuration file, see the Parameters section in Configuration files.

Notice

This command supports only level-1 configurations under global that are specified by using options.

  • Specify an installation path for all components to be deployed

    Deploy oceanbase-ce and obproxy-ce in the /data/demo directory and create corresponding working directories for them.

    obd demo -c oceanbase-ce,obproxy-ce --home_path=/data/demo
    
  • Specify an installation path for a specific component to be deployed

    Deploy oceanbase-ce in the home directory and create a working directory for it, and deploy obproxy-ce in the /data/demo/obproxy-ce directory.

    obd demo -c oceanbase-ce,obproxy-ce --obproxy-ce.home_path=/data/demo/
    
  • Specify a port number for a component to be deployed

    obd demo --oceanbase-ce.mysql_port=3881
    

Previous topic

Deploy an OceanBase cluster on the GUI
Last

Next topic

Cluster commands
Next
on this page
obd demo
Examples
Specify components
Specify the version of components
Specify the configurations of components