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 Cloud Platform

V4.3.0

  • Document Overview
  • Product Introduction
    • What is OceanBase Cloud Platform?
    • Differences between the features of OCP Enterprise Edition and OCP Community Edition
    • System architecture
    • Features
    • Limits
      • System requirements
      • Dependencies
  • Deploy OceanBase Cloud Platform (OCP)
    • Deploy OceanBase Cloud Platform (OCP) Community Edition
      • Installation process
      • Prepare for the installation
      • Overview
      • Post-deployment check
      • Use Docker to deploy OCP
      • Deploy OCP on the GUI
      • Installation planning
        • User planning
        • Host planning
        • Disk and directory planning
        • Port planning
      • Appendix
        • Install Docker
        • Restart OCP
        • FAQ about deployment
        • Uninstall OCP
    • Deploy OceanBase Cloud Platform (OCP) Enterprise Edition
      • Deployment overview
        • Deploy OCP cluster in the High-availability
        • Deploy OCP cluster in the Single-node
      • Prepare the deployment environment
        • Install OAT
        • Add a server
        • Check the environment
      • Deploy OCP
        • Plan resources
          • Planning resources of a single node OCP
            • OCP-Server specifications
            • MetaDB resources
            • MonitorDB resources
            • Host resources
          • Planning resources of a high availability OCP
            • MonitorDB resources
            • Host resources
            • MetaDB resources
            • OCP-Server specifications
        • Deploy OCP
          • Deploying a single point of OCP
            • Prepare installation media
            • Create MetaDB
            • Install OCP
            • Initialize system parameters
          • Deploying a high availability of OCP
            • Create MetaDB
            • Initialize system parameters
            • Register an OCP cluster
            • Prepare installation media
            • Install OCP
        • Check after deployment
      • Deployment FAQ
        • Optimize MonitorDB parameters
        • F5 Big-IP LTM and alert configuration
          • Connect OBProxy to F5 Big-IP LTM
          • Connect OCP-Console to F5 Big-IP LTM
          • Monitor the OCP service health
        • Ubuntu deployment FAQ
        • EulerOS deployment FAQ
        • Client requirements
        • Start and stop OCP
      • Appendix
        • Uninstall OCP
        • Check the NTP offset
  • Upgrade OceanBase Cloud Platform (OCP)
    • Upgrade OceanBase Cloud Platform (OCP) Enterprise Edition
      • Overview
      • Considerations
      • Preparations
      • Upgrade OCP
        • Take over OCP
        • Upgrade OCP
      • Verify after upgrade
        • Verify the cluster feature
        • Verify the tenant feature
        • Verify the host feature
        • Verify the software package feature
        • Verify the OBProxy feature
        • Verify the backup and restore feature
        • Verify the alert feature
        • Verify the task feature
        • Verify the password box feature
      • Appendix
        • Version mapping
        • Change a user's password
    • Upgrade OceanBase Cloud Platform (OCP) Community Edition
      • Post-upgrade check
      • Upgrade OCP on the GUI
      • Upgrade OCP using Docker containers
  • Quick Start
    • OCP operations
    • Log on to the OCP console
    • Upload a software package
    • Add a host
    • Create a cluster
    • Create a tenant
    • Create a user
    • Create an OBProxy cluster
  • Cluster Management
    • Upgrade an OceanBase cluster
    • View the topology of a cluster
    • Overview of cluster tenant management
    • Manage cluster parameter templates
    • Overview
    • Manage clusters
      • Create a standby cluster
      • View the details of a cluster
      • Upgrade a standalone centralized database to a distributed cluster
      • Take over a cluster
      • Restart a cluster
      • Stop a cluster
      • Migrate a cluster
      • Delete a cluster
      • Change the password
      • Enable automatic detection of deadlocks
      • Disable automatic detection of deadlocks
      • Disable SQL collection
      • View the SQL collection history
    • Manage OBServers of a cluster
      • Add an OBServer node
      • Restart a faulty OBServer node
      • Stop an OBServer service
      • Stop the observer process
      • Replace an OBServer node
      • Reinstall an OBServer
      • Delete an OBServer
    • Manage zones of a cluster
      • Add a zone
      • Restart a zone
      • Stop a zone
      • Delete a zone
    • Manage Arbitration Service
      • Arbitration service Overview
      • Create an arbitration service
      • Take over an arbitration service
      • Stop an arbitration service
      • Start an arbitration service
      • Upgrade an arbitration service
      • Restart an arbitration service
      • Migrate an arbitration service
      • Delete an arbitration service
      • Add an arbitration service
      • Replace an arbitration service
      • Remove an arbitration service
    • Manage cluster resource
      • View the unit distribution
      • View resource usage
    • Manage cluster parameters
      • Parameter types
      • View parameters
      • Modify parameters
      • View the history of parameter changes
    • Manage major compaction of a cluster
      • Modify the major compaction settings of a cluster
      • Perform a major compaction
      • View details of major compaction
      • View major freeze statistics
    • Create a cluster
      • Create a distributed cluster
      • Create a standalone centralized database
  • Tenant Management
    • Tenant and resource management
    • Create a primary tenant
    • Modify the allowlist of a tenant
    • View OCP resource unit specifications
    • Manage tenant parameter templates
    • Modify zone priorities
    • Manage databases
    • Manage the resources of a tenant
    • Manage unit specifications
    • View tenant overview information
    • Manage tenants
      • Overview of the Tenant Details page
      • Create a standby tenant
      • Copy a tenant
      • Lock a tenant
      • Delete a tenant
      • Change the password of the sys tenant
      • Configure full link tracking for a tenant
    • Manage major compaction under a tenant
      • Perform a major compaction
      • Modify major compaction settings of a tenant
      • Details of tenant major compaction
    • Manage resource isolation
      • Overview
      • Create a resource group
      • Create a resource isolation plan
      • Enable or disable a resource isolation plan
      • Modify a resource isolation plan
      • Delete a resource isolation plan
      • Modify a resource group
      • Delete a resource group
    • Manage users and permissions under a tenant
      • System privileges in a MySQL tenant
      • Manage users in a MySQL tenant
      • Manage user under an Oracle tenant
        • Create a role under an Oracle tenant
        • Create a user under an Oracle tenant
        • Delete a user under an Oracle tenant
        • User overview under an Oracle tenant
        • Manage roles
        • Manage users
        • Change the password of a user under an Oracle tenant
    • Manage tenant parameters
      • View the parameters
      • Modify a parameter
      • View the parameter modification history
    • Manage replicas of a tenant
      • Edit a tenant replica in a zone
      • Add a replica
      • Delete a tenant replica from a zone
    • Manage topulogy of a tenant
      • View the topology of a tenant
      • View the topology of primary/standby relationships of a tenant
  • OBProxy Management
    • Parameter management
    • Create an OBProxy cluster
    • View details on the OBProxy page
    • Request analysis
    • Client configuration
    • OBProxy parameters descpription
    • OBProxy management overview
    • Manage OBProxy Clusters
      • View details on the Overview page of an OBProxy cluster
      • Add a connectable OceanBase cluster
      • Manage load balancing
      • Change the password of the proxysys user
      • Change the password of the proxyro user
      • Migrate an OBProxy cluster
      • Delete an OBProxy cluster
      • Upgrade an OBProxy cluster
      • Stop or start an ODP cluster
      • Restart an ODP cluster
      • Delete a connected OceanBase cluster
      • Manage the proxyro account
    • Manage OBProxy Servers
      • Stop or start an OBProxy
      • Take over an OBProxy
      • Refresh OBProxy configurations
      • Upgrade an OBProxy
      • Delete an OBProxy
      • Remove an OBProxy
      • Launch an OBProxy
      • Add an OBProxy
      • Restart an OBProxy
  • Host Management
    • Host management operations
    • View details of a host
    • Add a host
    • View the details of tasks on a host
    • Modify a host
    • Restart OCP-Agent
    • Reinstall OCP Agent
    • Remove a host
    • Perform host standardization checks
    • Host standardization check items
    • OCP-Agent processes
    • OCP-Agent O&M Script Instructions
  • Alert Management
    • Overview
    • Alert-related concepts
    • Manage alert rules
      • Create an alert rule
      • Copy an alert rule
      • View an alert rule
      • Edit an alert rule
      • Export alert rule configurations
      • Alert rule groups
      • Delete an alert rule
    • Manage alert templates
      • Create an alert template
      • Set alert objects
      • Export alert templates
      • View an alert template
      • Copy an alert template
      • Edit an alert template
      • Delete an alert template
    • Manage alert channels
      • Create an alert channel
      • View an alert channel
      • Edit an alert channel
      • Copy an alert channel
      • Delete an alert channel
      • Examples of alert channel configuration
      • Examples of alert channel configuration
    • Manage alert push
      • Create an alert push
      • View an alert push
      • Edit an alert push
      • Delete an alert push
    • View alert events
    • Manage blocking conditions
      • Edit an alert blocking condition
      • Create a blocking condition
      • Delete an alert blocking condition
    • OCP alert template tag
    • Optional monitoring metrics for custom alerts
  • Dashboard Management
    • Manage dashboards
    • Monitoring dashboard overview
    • Manage groups
    • Manage charts
  • Performance Monitoring
    • Use the custom monitoring feature
      • View collection items
      • Overview
      • OCP metrics
      • Manage indicator items
        • Create a metric
        • Manage metrics
      • Manage charts
        • Create a chart
        • Manage charts
    • Manage monitoring
      • OCP Overview
      • View database performance
      • View host performance
      • View the performance and SQL monitoring data of a tenant
      • View transaction performance data
      • View storage and cache monitoring data
      • View host resources
      • View host processes
      • View service monitoring data
      • View system monitoring data
      • View performance monitoring
      • Drill-down monitoring
      • Integrate monitoring data to an external time-series system
  • Diagnostics and Tuning
    • SQL Diagnostics
      • SQL Diagnostics Introduction
        • SQL diagnostics overview
        • SQL statement execution statistics
        • SQL execution plans
      • View the OceanBase Autonomy Service page
      • Suspicious SQL diagnostics
      • TopSQL diagnostics
      • View Comparison of Top SQL Statements
      • SlowSQL diagnostics
      • ParallelSQL diagnostics
      • High Risk SQL diagnostics
      • New SQL diagnostics
      • View details of an SQL statement
      • View outlines
      • View the SQL collection enable/disable history
      • View SQL request analysis
      • SQL performance diagnosis related parameter configuration
    • Transaction Diagnostics
      • Diagnostics Transaction
      • Overview of transaction
      • Diagnose XA transactions and suspended transactions
    • Manage sessions
      • Manage the sessions of a tenant
      • View session statistics
      • View the deadlock history
    • View the Optimization Center page
    • View the capacity center
    • View diagnostics reports
      • Performance report
      • Manage ASH report
  • O&M Management
    • Manage Information Collection
      • Download an information collection report
      • Configure information collection items
      • View information collection details
      • Overview
      • Create an information collection task
    • Manage Plans
      • Manage plans
      • Overview
      • View plan execution details
    • Manage Inspection
      • Inspection
      • Configure inspection items
      • Configure Scheduling Rules
        • Configure a scheduling rule for a single object
        • Configure a global scheduling rule
      • Initiate Inspection
        • Initiate an inspection for a single object
        • Initiate a global inspection
      • View an inspection task
      • Manage Inspection reports
        • View an inspection report
        • Download an inspection report
  • Backup and Recovery
    • Overview
    • Backup and recovery guide
    • Initiate a restore task
    • Overview
    • View restore tasks
    • Manage backup and recovery service
      • View services
      • Install a service
      • Add a node
      • Upgrade the version of a service
      • Update service configurations
      • Copy a service
      • Delete a service
      • Stop a service on a node
      • Restart a service on a node
      • View O\&M tasks
      • Uninstall a service on a node
    • Manage backup tasks
      • View second backup tasks
      • View backup tasks
    • Regular backup
      • Manage cluster-level backup strategy
        • Create a cluster-level backup strategy
        • Modify a cluster-level backup strategy
        • Delete a cluster-level backup strategy
        • Pause backup scheduling
        • View a cluster-level backup stategy
      • Manage tenant-level backup strategy
        • Create a tenant-level backup strategy
        • Modify a tenant-level backup strategy
        • Delete a tenant-level backup strategy
        • Pause backup scheduling
        • View a tenant-level backup stategy
    • Regular recovery
      • View sampling strategies
      • View sampling tasks
      • Create a sampling strategy for recovery
    • Backup now
      • Back up a tenant now
      • Back up cluster now
  • Disaster Recovery
    • Switching primary and standby databases
      • Start the original primary cluster in read-only mode after a failover
      • Decouple a standby cluster from the primary cluster
      • Primary/Standby cluster switchover for disaster recovery
      • Routine primary/standby cluster switchover
    • Switching primary and standby tenants
      • Switchover
      • Failover
      • Decouple a standby tenant from its primary tenant
      • Create a standby tenant for a primary tenant managed by another OCP cluster
    • OCP Manage OCP clusters in the multi-cluster mode
      • OCP multi-cluster mode overview
      • Register an OCP cluster
      • View Leader \& Follower Details
      • Manage OCP cluster parameters
      • Switch an OCP cluster in daily maintenance
      • Switch an OCP cluster in a failover
      • Delete a faulty follower OCP cluster
      • Unbind a leader and a follower OCP cluster
      • Enable the OCP multi-cluster mode
  • Log Management
    • Download logs
    • Trace query
    • Query logs
    • Configure trace query parameters
    • About OpenSearch
  • Software Package Management
    • Delete a software package
    • Download a software package
    • Upload a software package
  • System Management
    • Manage password box
      • Create a credential
      • Export a credential
      • Import a credential
      • Verify a credential
      • Edit a credential
      • Delete a credential
      • Batch operations on credentials
    • Manage users
      • Manage a role
        • Role overview
        • Create a role
        • Copy a role
        • View a role
        • Edit a role
        • Delete a role
        • Default OCP roles
      • Manage a user
        • Logon history
        • Delete a user
        • Users overview
        • Change a user password
        • Create a user
        • Edit a user
        • Copy a user
        • View users
    • Manage tags
      • Overview
      • Create a tag
      • Modify objects bound to a tag
      • Edit a tag
      • Delete a tag
    • View Operation Audit
    • Manage system parameters
      • View system parameters
      • Modify system parameters
      • OCP configuration parameters
    • Manage tasks
    • User center management
      • Log off the OCP console
      • Configure personal information
      • Change your logon password
  • SQL Tuning Practices
    • Locate General Abnormal SQL Statements
      • How can I locate SQL statements for full-table scans in a tenant?
      • How can I locate SQL statements with high CPU load in a tenant?
      • How can I locate slow hard-parsed SQL statements in a tenant?
      • How can I locate erroneous SQL statements in a tenant?
      • How can I locate distributed SQL statements in a tenant?
      • How can I locate slow SQL statements that take a long time in a tenant?
      • How can I locate remote SQL statements in a tenant?
    • Customize Abnormal SQL Statement Determining Rules
      • Conditions
      • Custom column rules
    • General SQL Performance Tuning Scenarios
      • Execution Plan Optimization
        • SQL statement performance deterioration caused by plan changes
      • Index Optimization
        • No suitable indexes
        • Inappropriate index of an SQL statement
        • Invalid index of an SQL statement
  • O&M Best practices
    • Send alert messages through email
    • Check the availability of an auto-increment column
    • Check clog synchronization
    • Send alert messages to a Feishu group
    • Integrate OCP monitoring into Prometheus
    • Troubleshoot host issues in an OceanBase cluster
    • Push alert messages through HTTP
    • Perform an inspection in OCP to detect potential risks in an OceanBase cluster
    • Take over OBProxies
    • Configure custom monitoring
    • Send alert messages to a DingTalk group
    • Use the backup and restore module to restore data
    • Monitor the business load of OceanBase Database
    • Upgrade an OceanBase cluster
    • Perform a failover between primary and standby OceanBase clusters for disaster recovery in a scenario with two IDCs
    • Replace an OBProxy
    • Reduce the high availability of OceanBase clusters and tenants
    • Scale out an OceanBase cluster and scale up an OceanBase Database tenant
    • Check the NIC rate
    • Migrate an OceanBase cluster to another IDC
    • Scale in an OceanBase cluster and scale down an OceanBase Database tenant
    • Scale in an OBProxy cluster
    • Expand the high availability of OceanBase clusters and tenants
    • Scale out an OBProxy cluster
    • Send alert messages to a WeChat Enterprise group
    • Move out an OBProxy cluster
    • Back up an OceanBase cluster
    • Migrate a resource unit from an OceanBase Database tenant
    • Delete an OBProxy
    • Perform a failover
    • Decouple a standby tenant from the primary tenant
    • Perform a switchover between primary and standby OceanBase Database tenants in a scenario with two IDCs
    • Use the arbitration service of OceanBase Database to achieve HA in a scenario with two IDCs
  • Reference Guide
    • Alarm reference
      • Alert Reference
      • Application alerts
        • ob_cluster_inspection_not_passed
        • ob_host_tcp_retrans_percent_over_threshold
        • base_backup_too_long_time_no_one_success_task
        • backup_process_dead
        • backup_storage_capacity_over_threshold
        • backup_storage_capacity_timeout_or_interrupted
        • ocp_remote_server_time_diff_too_large
        • monitor_exporter_unavailable
        • host_ntp_offset_too_large
        • host_ntp_service_not_exist
        • host_agent_open_fd_count_over_threshold
        • host_agent_goroutine_count_over_threshold
        • partition_create_failed
        • obagent_dead
        • host_disk_readonly
        • ic_server_connect_failed Inter-Connector
        • Host log alerts
        • base_backup_timeout
        • odp_instance_compress_failed
        • odp_sql_execute_failed
        • odp_sql_query_slow
        • ob_host_invalid_disk_exists
        • ob_host_monitordb_disconnected
        • upgrade_ocp_agent_failed
        • ocp_collect_metric_failure_rate_high
        • host_agent_res_memory_over_threshold
        • ob_host_net_recv_percent_over_threshold
        • vpc_connect_failed
        • ocp_http_request_timeout
        • ob_host_ssd_wear_indicator_over_threshold
        • mgragent_process_stop
        • host_agent_version_not_same
        • agentd_process_stop
        • base_backup_fail
        • ocp_alarm_detect_timeout
        • ob_host_net_send_percent_over_threshold
        • ob_host_cpu_percent_over_threshold
        • monagent_process_stop
        • ocp_meta_db_disconnected
        • ocp_contingency_failed
        • system_obproxy_unavailable
        • node_load1_peak
        • base_secondary_backup_fail
        • ob_host_mem_percent_over_threshold
        • backup_storage_capacity_retry_times_exceeded
        • odp_instance_expanse_failed
        • inc_backup_delay
        • ocp_http_request_too_many_errors_occur
        • ob_cluster_recyclebin_disk_used_over_threshold
        • host_unavailable
      • OceanBase alerts
        • ob_cannot_connected
        • ob_cluster_rs_not_same
        • ob_cluster_status_check_failed
        • ob_cluster_exists_inactive_server
        • ob_cluster_exists_index_fail_table
        • ob_cluster_frozen_version_delta_over_threshold
        • ob_cluster_merge_error
        • ob_cluster_merge_timeout
        • ob_cluster_no_frozen
        • ob_cluster_no_merge
        • ob_cluster_operation_info
        • ob_cluster_sync_failed
        • ob_cpu_assigned_percent_over_threshold
        • ob_cpu_percent_over_threshold
        • ob_host_connection_percent_over_threshold
        • ob_host_disk_readonly
        • ob_tenant_expired_trans_exist
        • ob_host_load1_per_cpu_over_threshold
        • ob_host_partition_count_over_threshold
        • OceanBase log alerts
        • ob_mem_assigned_percent_over_threshold
        • ob_server_sstable_percent_over_threshold
        • ob_tenant_long_trans_exist
        • ob_tenant_operation_info
        • ob_tenant500_mem_hold_over_threshold
        • ob_tenant500_mem_hold_percent_over_threshold
        • tenant_active_memstore_percent_over_threshold
        • tenant_cpu_percent_over_threshold
        • tenant_memstore_percent_over_threshold
        • obproxy_process_dead
        • obproxyd_process_dead
        • obproxy_cannot_connected
        • ob_cluster_sync_delay_time_too_long
        • ob_host_data_disk_percent_over_threshold
        • ob_host_log_disk_percent_over_threshold
        • ob_host_install_disk_percent_over_threshold
        • ob_tenant_exists_expired_xa_trans
        • ob_cluster_active_session_count_over_threshold
        • ob_tenant_active_session_count_over_threshold
        • ob_host_active_session_count_over_threshold
        • ob_tenant_slow_sql_exists
        • ob_tenant_large_trans_exist
        • same_alarm_rule_detect_too_many_targets
        • ob_tenant_expired_trans_exist
        • ob_tenant_long_trans_exist
        • ob_tenant_task_timeout
        • ob_host_task_timeout
        • ob_tenant_log_disk_usage_high
        • ob_tenant_no_compaction
        • ob_tenant_no_frozen
        • ob_tenant_compaction_error
        • host_operation
        • obproxy_host_operation
        • obproxy_cluster_operation
        • ob_host_operation
        • refresh_location_cache_failed
        • ob_tenant_log_stream_degraded
        • arbitration_service_unavailable
        • observer_process_stop
        • obproxyd_process_stop
        • obproxy_process_stop
        • standby_tenant_sync_delay_too_long
        • standby_tenant_sync_status_error
        • obproxy_client_connections_usage_over_threshold
        • ob_tenant_request_queue_over_threshold
        • oas_anomaly_sql_from_anomaly_event_analysis_cpu_percent_high
        • oas_anomaly_sql_from_anomaly_event_analysis_perf_degradation
        • oas_anomaly_sql_from_anomaly_event_analysis_plan_changed
        • oas_anomaly_sql_from_sql_inspection_perf_degradation
        • oas_anomaly_sql_from_sql_inspection_plan_changed
        • os_observer_not_exist
        • refresh_location_cache_failed_by_metric
        • ob_tenant_cpu_usage_over_threshold
        • ob_tenant_partition_replica_absent
        • ob_tenant_partition_leader_absent
        • ob_tenant500_storage_short_meta_mem_hold_high
        • obproxy_core_dump
        • ob_server_cannot_connect_arbitration
        • agent_process_count_abnormal
      • OAS alerts
        • os_cpu_irq_error
        • os_tsar_cpu_sys_abnormal
        • os_observer_fd_usage
        • os_tsar_cpu_util_full
        • os_tsar_cpu_util_hwm
        • os_kernel_io_hang
        • os_tsar_sda_ioawait
        • os_tsar_nvme_ioawait
        • os_tsar_traffic_drop
        • os_tsar_traffic_error
        • os_observer_core_dump
        • os_nic_1000m_full
        • os_nic_1000m_hwm
        • os_tsar_traffic_overload
        • node_file_root_usage
        • node_file_inode_usage
        • os_kernel_ntp_down
        • os_kernel_ntp_delay
        • node_memory_peak
        • os_home_file_usage
        • node_file_data1_usage
        • node_file_datalog1_usage
        • sql_audit_collect_lost_percent_over_threshold
      • Appendix
        • Exception handling for OceanBase cluster compaction
        • Apply throttling to an OceanBase cluster
        • Network troubleshooting
        • Execute the alert clearance plan
    • API Reference
      • Overview
      • API call description
      • Rules for generating a signature by using AK/SK
      • Task return structure
      • Task management
        • Query details about a task
        • Roll back a task
        • Skip a subtask
        • Retry a task
        • Query tasks
        • Query logs of a subtask instance
        • Cancel a subtask
        • Retry a subtask
      • Cluster information
        • Restart a zone in an OceanBase cluster
        • Perform a failover
        • Start an OBServer
        • Delete a zone from an OceanBase cluster
        • Delete multiple OBServers at a time
        • Change the password of an OceanBase cluster
        • Query servers
        • Stop an OceanBase cluster
        • Stop an OBServer
        • Query clusters
        • Restart an OBServer
        • Query servers in a zone
        • Delete an OceanBase cluster
        • Perform a switchover
        • Query parameters of an OceanBase cluster
        • Perform a failover pre-check
        • Stop a zone in an OceanBase cluster
        • Obtain resource statistics of an OceanBase cluster
        • Create an OceanBase cluster
        • Replace an OBServer
        • Perform a switchover pre-check
        • Query zones of an OceanBase cluster
        • Modify parameters of an OceanBase cluster
        • Upgrade an OceanBase cluster
        • Add an OBServer
        • Obtain resource statistics of all OBServer nodes in a cluster
        • Obtain information of resource units
        • Start a zone in an OceanBase cluster
        • Restart an OceanBase cluster
        • Query the parameter metadata of an OceanBase cluster
        • Start an OceanBase cluster
        • Create a zone for an OceanBase cluster
      • Backup and recovery
        • Query backup capabilities of a cluster
        • Create a backup strategy for a cluster
        • Modify the backup strategy of a cluster
        • Delete the backup strategy of a cluster
        • Query the backup strategy of a cluster
        • Query the backup overview of a cluster
        • Query data backup tasks of a cluster
        • Query log backup tasks of a cluster
        • Query recovery tasks of a cluster
        • Immediately back up a cluster
        • Parse cluster backup data
        • Initiate tenant recovery
        • Preview a restore task
        • Add restore resources
        • Clear added restore resources
      • OceanBase user and privilege management
        • Query database user details
        • Query database user details
        • Create a database user
        • Delete a database user
        • Change the password of a database user
        • Lock a database user
        • Unlock a database user
        • Query the database role details
        • Query database role details
        • Create a database role
        • Delete a database role
        • Query database objects
        • Grant global privileges to a user
        • Revoke global privileges of a user
        • Change global privileges of a user
        • Grant global privileges to a role
        • Revoke global privileges of a role
        • Change global privileges of a role
        • Grant roles to a user
        • Revoke roles of a user
        • Change roles of a user
        • Grant roles to a role
        • Revoke roles of a role
        • Change roles of a role
        • Grant database privileges to a user
        • Revoke database privileges of a user
        • Change database privileges of a user
        • Grant object privileges to a user
        • Revoke object privileges of a user
        • Change object privileges of a user
        • Grant object privileges to a role
        • Revoke object privileges of a role
        • Change object privileges of a role
      • OBProxy management
        • Delete an OBProxy
        • Remove a connectable OceanBase cluster from an OBProxy cluster
        • Query the parameter metadata of an OBProxy
        • Query OBProxy clusters
        • Restart an OBProxy
        • Update configurations of an OBProxy cluster
        • Take over an OBProxy
        • Delete an OBProxy cluster
        • Create an OBProxy cluster
        • Upgrade an OBProxy
        • Add a connectable OceanBase cluster for an OBProxy cluster
        • Query details about an OBProxy cluster
        • Query parameters of an OBProxy cluster
        • Add an OBProxy
      • Software packages
        • Delete a software package
        • Query software packages
        • Upload a software package
      • Hosts
        • Query regions
        • Query details about a region
        • Add a region
        • Delete a region
        • Query IDCs
        • Query details about an IDC
        • Add an IDC
        • Delete an IDC
        • Query host types
        • Query details about a host type
        • Add a host type
        • Delete a host type
        • Query hosts
        • Query details about a host
        • Add multiple hosts at a time
        • Delete a host
        • Delete multiple hosts at a time
      • OCP Agent management
        • Restart basic OCP Agent processes on a host
        • Stop OCP Agent processes on a host
        • Batch restart basic OCP Agent processes on a host
        • Query OCP Agent processes on a host
        • Stop basic OCP Agent processes on a host
        • Query OCP Agent details on a host
        • Restart OCP Agent processes on a host
        • Batch stop basic OCP Agent processes on a host
      • Tenant information
        • Query tenants of a cluster
        • Query all tenants
        • Query details about a tenant
        • Create a tenant
        • Create a tenant
        • Delete a tenant
        • Lock a tenant
        • Unlock a tenant
        • Query units of a tenant
        • Delete a unit from a tenant
        • Add a replica for a tenant
        • Delete a replica of a tenant
        • Modify a replica of a tenant
        • Modify zone priorities of a tenant
        • Change the administrator password of a tenant
        • Modify the whitelist of a tenant
        • Query parameters of a tenant
        • Modify parameters of a tenant
        • OceanBase database management
          • Query databases
          • Create a database
          • Modify a database
          • Delete a database
        • Obtain a list of unit specifications
        • Create a resource unit specification
        • Delete a resource unit specification
      • Inspection
        • Query all inspection tasks
        • Query inspection objects
        • View the details of an inspection report
        • Initiate an inspection
      • Alerts
        • Call an alert API
        • Alert events
          • Query the alert event list
          • Query alert events
        • Alert notifications
          • Query alert notifications
      • Performance Report
        • Query snapshots
        • Generate a performance report
        • Query a performance report
      • OCP event history
        • Query event history
      • SQL performance
        • Query performance indicators of an SQL statement
        • Query the performance indicator trend of an SQL statement
        • Query SQL text
        • Query performance indicators of an execution plan
        • Query the performance indicator trend of an execution plan
        • Query the operator structure of an execution plan
      • Health examination
        • Query the basic information of an OCP application
        • Query OCP server time
        • Query OCP application status
      • Monitoring
        • Query the metadata of a monitoring metric
        • Query monitoring data
        • Query monitoring data and group the queried data by tag
    • Metric reference
      • Overview of metrics
      • Monitoring metrics list
      • OceanBase Database tenant
        • QPS
        • Response time
        • Sessions
        • SQL execution plan category
        • SQL execution plan time
        • Wait events
        • Metrics related to time consumption of wait events
        • Request waiting queue
        • Request waiting queue time consuming
        • Request queue size
        • Tenant CPU cost
        • Tenant thread usage
        • memroy usage pecent
        • MemStore usage
        • Rpc package rt
        • RPC packet throughput
        • Cursors
        • Clog synchronization delay
        • DB time metrics
        • Metrics for the SQL execution phase
        • Frontend workload metrics
        • Backend wait event metrics
        • TPS
        • Transaction response time
        • Transaction response time details
        • Number of transaction logs
        • Transaction log volume
        • Time consumed by transaction logs
        • Lock waits
        • Time consumed by lock waits
        • TPS
        • Partitions
        • Number of XA transactions
        • Number of XA statements
        • Average execution duration of XA statements
        • Transaction table read request hits
        • MemStore
        • IOPS
        • IO time-consuming
        • I/O Throughput
        • Cache size
        • Cache hit rates
        • Number of cache requests
        • Frozen MemStores
      • OBProxy cluster
        • TPS
        • QPS
        • Client connections
        • Server connections
        • Average response time for each SQL statement
        • Memory for the obproxy process
        • CPU utilization of the obproxy process
        • Number of file descriptors for the obproxy process
        • Number of threads in the obproxy process
        • Number of error logs
        • Average route table queries per second
        • Average bytes in a network request or response
      • Host
        • Linux system load
        • CPU Utilization
        • I/O usage
        • I/O queue length
        • IOPS
        • Time consumed by I/O operations
        • I/O throughput
        • Network throughput
        • TCP retransmission rate
        • Packet forwarding
        • NTP clock offset
        • Inode usage
        • Memory
        • Memory usage
        • Disk
        • Process resident memory
        • Process CPU utilization
        • Number of process file descriptors
        • Number of process threads
        • Number of OCP-Agent process goroutines
      • OceanBase cluster
        • Time consumed by transaction logs
        • Number of transaction logs
        • Process file descriptors
        • Request queue time
        • TPS
        • Transaction response time
        • I/O Throughput
        • Transaction log volume
        • IOPS
        • QPS
        • Number of process threads
        • Process memory
        • Number of sessions
        • TPS
        • Query response time
        • IO time-consuming
        • sys500 memory occupation
        • Process CPU utilization
        • Error logs
  • FAQ
    • FAQ about deployment
    • FAQ on upgrade
    • FAQ on O&M
      • FAQ on backup and recovery
      • FAQ on the OCP software package
      • FAQ on OceanBase cluster
      • FAQ on OBProxy
      • FAQ on OceanBase tenants
      • FAQ on accounts and passwords
      • FAQ on host management
    • FAQ on monitoring
      • FAQ on monitoring metrics
      • FAQ on SQL monitoring
      • FAQ about resource usage
      • Use OCP-Agent to pull time-series monitoring data
    • FAQ on alerts
    • FAQ on the OCP system
    • OCP multi-cluster FAQ
  • Appendix
    • Install and configure OCI
    • Component listening port list
    • Processes
    • OCP background tasks
    • OCP error codes
    • Tables managed by the daemon
  • Release Notes
    • V4.3
      • OCP V4.3.0

Download PDF

Document Overview What is OceanBase Cloud Platform? Differences between the features of OCP Enterprise Edition and OCP Community Edition System architecture Features System requirements Dependencies Installation process Prepare for the installation Overview Post-deployment check Use Docker to deploy OCP Deploy OCP on the GUI Overview Considerations Preparations Post-upgrade check Upgrade OCP on the GUI Upgrade OCP using Docker containers OCP operations Log on to the OCP console Upload a software package Add a host Create a cluster Create a tenant Create a user Create an OBProxy cluster Upgrade an OceanBase cluster View the topology of a cluster Overview of cluster tenant management Manage cluster parameter templates Overview Create a standby cluster View the details of a cluster Upgrade a standalone centralized database to a distributed cluster Take over a cluster Restart a cluster Stop a cluster Migrate a cluster Delete a cluster Change the password Enable automatic detection of deadlocks Disable automatic detection of deadlocks Disable SQL collection View the SQL collection history Add an OBServer node Restart a faulty OBServer node Stop an OBServer service Stop the observer process Replace an OBServer node Reinstall an OBServerDelete an OBServer Add a zone Restart a zone Stop a zone Delete a zone Arbitration service Overview Create an arbitration service Take over an arbitration service Stop an arbitration service Start an arbitration service Upgrade an arbitration service Restart an arbitration service Migrate an arbitration service Delete an arbitration service Add an arbitration service Replace an arbitration service Remove an arbitration service View the unit distribution View resource usage Parameter types View parameters Modify parameters View the history of parameter changes Modify the major compaction settings of a cluster Perform a major compaction View details of major compaction View major freeze statistics Create a distributed cluster Create a standalone centralized database Tenant and resource management Create a primary tenant Modify the allowlist of a tenantView OCP resource unit specifications Manage tenant parameter templates Modify zone priorities Manage databases Manage the resources of a tenant Manage unit specifications View tenant overview information Overview of the Tenant Details page Create a standby tenant Copy a tenantLock a tenant Delete a tenant Change the password of the sys tenant Configure full link tracking for a tenant Perform a major compaction Modify major compaction settings of a tenant Details of tenant major compaction
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 Cloud Platform
  3. V4.3.0
iconOceanBase Cloud Platform
V 4.3.0
  • V 4.3.6
  • V 4.3.5
  • V 4.3.4
  • V 4.3.3
  • V 4.3.2
  • V 4.3.1
  • V 4.3.0
  • V 4.2.2
  • V 4.0.0 and earlier

Deploy OCP on the GUI

Last Updated:2026-04-14 07:51:05  Updated
share
What is on this page
Prerequisites
(Recommended) Create an OceanBase cluster and use it as MetaDB of OCP
Step 1: Start OBD
Step 2: Go to the OCP deployment wizard page
Step 3: Specify the deployment information
Step 4: Set parameters of MetaDB
Step 5: Set parameters of OCP
Step 6: Perform an environment precheck
Step 7: Deploy OCP
Use an existing OceanBase cluster as MetaDB of OCP
Step 1: Start OBD
Step 2: Go to the OCP deployment wizard page
Step 3: Specify the deployment information
Step 4: Connect to the OceanBase cluster
Step 5: Set parameters of OCP
Step 6: Perform an environment precheck
Step 7: Deploy OCP

folded

share

This topic describes how to deploy OceanBase Cloud Platform (OCP) Community Edition on the GUI of OceanBase Deployer (OBD).

As an essential part of OCP, MetaDB stores metadata and monitoring data that is managed by OCP. OCP-Server manages an OceanBase cluster over its entire lifecycle by calling the data stored in MetaDB. You can use any of the following methods to deploy OCP:

  • (Recommended) Create an OceanBase cluster and use it as MetaDB of OCP.

  • Use an existing OceanBase cluster as MetaDB of OCP.

Prerequisites

  • You can deploy only OCP Community Edition V4.0.3 or later.

  • You have installed and configured a Java environment on by using JDK 1.8, and the build version is at least 161.

  • You have obtained the ocp-all-in-one-4.3.0-YYYYMMDDhhmmss.el7.x86_64.tar.gz software package and uploaded the package to a directory on the OCP host and run the following command to decompress the package. For more information, see Prepare for the installation.

    tar zxf ocp-all-in-one-4.3.0-YYYYMMDDhhmmss.el7.x86_64.tar.gz
    

(Recommended) Create an OceanBase cluster and use it as MetaDB of OCP

Step 1: Start OBD

  1. Log on to the OCP host.

  2. Run the following command to go to the bin directory of the decompressed software package, and start the installer:

    cd ocp-all-in-one/bin && sh install.sh
    
  3. Run the following command to make the environment variables take effect:

    source ~/.oceanbase-all-in-one/bin/env.sh
    
  4. Run the obd web install command, and copy the IP address of the deployment wizard page in the response.

    1

Step 2: Go to the OCP deployment wizard page

  1. Open a browser, visit the IP address copied in Step 1, and click Try Now on the page that appears.

  2. Select OCP and click OK.

  3. Select Create a new OceanBase database MetaDB as OCP and click OK.

Step 3: Specify the deployment information

  1. Specify the name of the OceanBase cluster to be managed.

    The cluster name must be unique. It must start with a letter and end with a letter or digit, and must be 2 to 32 characters in length.

  2. Select the versions of services to be deployed.

    The supported version of OBProxy depends on that of OceanBase Database. For example, if you deploy OceanBase Database V4.1.0 or later, you can deploy only OBProxy V4.1.0 or later.

Step 4: Set parameters of MetaDB

After you create local MetaDB, OCP-Server uses it with higher service reliability.

  1. Set parameters of the deployment user.

    Note

    To avoid conflicts between OS users, we recommend that you create dedicated OS users for MetaDB and OCP.

    Parameter Note
    Username The username of the user of the host OS, who has permissions to run sudo commands. The installer requires this username to automatically configure settings.
    Password The password of the user. If you have enabled password-free logon for the host, skip this parameter.
    SSH Port The SSH port number of the host. Default value: 22. You can specify a custom port number.
    Use the running user If you select this parameter, you can specify a dedicated OS user for OCP. This parameter is optional.
  2. Set parameters of the OCP node.

    Select the host where you want to deploy OCP. You can select multiple hosts.

    Notice

    The IP address of the host cannot be 127.0.0.1.

  3. Set parameters of database nodes.

    Parameter Note
    Zone Name You can retain the default name or define a custom name. The zone name must start with a letter and end with a letter or digit, and must be 2 to 32 characters in length. In an OceanBase cluster that consists of multiple zones, the cluster must have a zone that shares the same region as that of the primary zone.
    OBServer Node Select the OBServer node where you want to deploy MetaDB. You can select multiple OBServer nodes.
    RootServer Node You can select an IP address as the host for RootService. In an OceanBase cluster that has multiple replicas, you must specify a RootServer node for each zone.

    By default, only one zone is added. You can click Add to add more zones. To delete a zone, click the Delete icon after the zone to be deleted.

  4. Set cluster parameters.

    Parameter Description
    root@sys Password This password can be customized or randomly generated. The password must meet the following complexity requirements:
    • It must be 8 to 32 characters in length.
    • It contains at least three of the following character types: digits(0~9), uppercase letters(A~Z), lowercase letters(a~z), and special characters (ie: ~^*{}[]_-+).
    Software Path The installation path of MetaDB. Default value: /deployment user/oceanbase. You can change the value. You must have the read and write permissions on the specified directory.
    Data Path The data storage path of MetaDB. Default value: /data/1. You can change the value. You must have the read and write permissions on the specified directory and make sure that the directory is empty.
    Log Path The log storage path of MetaDB. Default value: /data/log1. You can change the value. You must have the read and write permissions on the specified directory and make sure that the directory is empty.
    SQL Port The SQL port number of MetaDB. Default value: 2881. You can specify a custom port number ranging from 1024 to 65535. Make sure that the specified port is not occupied.
    RPC Port The RPC port number of MetaDB. Default value: 2882. You can specify a custom port number ranging from 1024 to 65535. Make sure that the specified port is not occupied.
    More Configurations Optional. You can click this button to view and set parameters of the OceanBase cluster. You can use the automatically assigned values or specify custom parameter values. For more information about the parameters of an OceanBase cluster, see View parameters.

    Notice

    Make sure that the disk space is sufficient for the specified software path, data path, and log path. Otherwise, the deployment fails.

  5. Set OBProxy parameters.

    Parameter Description
    OBProxy Node The IP address of the server where you want to deploy OBProxy. You can specify only one IP address. In other words, you can deploy only one OBProxy node.
    SQL Port The SQL port of OBProxy. Default value: 2883. You can specify a custom port number ranging from 1024 to 65535. Make sure that the specified port is not occupied.
    Exporter Port Number The listening port of OBProxy Prometheus. Default value: 2884. You can specify a custom port number ranging from 1024 to 65535. Make sure that the specified port is not occupied.
    Software Path The installation path of OBProxy. Default value: /deployment user/obproxy. You can change the value. You must have the read and write permissions on the specified directory.
    More Configurations Optional. You can click this button to set more OBProxy parameters. For more information, see ODP startup parameters.

Step 5: Set parameters of OCP

You specify the OCP and tenant information in this step.

  1. Set parameters of the OCP service.

    Parameter Description
    Admin Password The password for the administrator account of OCP. The password must meet the following complexity requirements:
    • It must be 8 to 32 characters in length.
    • It contains at least three of the following character types: digits(0~9), uppercase letters(A~Z), lowercase letters(a~z), and special characters (ie: ~!@#%^&*_-+=|(){}[]:;,.?/$`'"<>\).
    Software Path The installation path of OCP. Default value: /deployment user/ocp. You can change the value. You must have the read and write permissions on the specified directory, and make sure that the disk space is sufficient for the specified directory.
    Log Path The log storage path of OCP. Default value: /home/deployment user/logs. You can change the value. You must have the read and write permissions on the specified directory, and make sure that the disk space is sufficient for the specified directory.
    Package Path The installation path of OCP Agent. Default value: /home/deployment user/software. You can change the value. You must have the read and write permissions on the specified directory, and make sure that the disk space is sufficient for the specified directory.
    ocp.site.url The URL for accessing the OCP console. The URL must start with HTTP or HTTPS, contain the virtual IP (VIP) address, domain name, and port number, and not end with a forward slash (/). Example value: http://localhost:8080.
    After you enter the URL, click Verify to test the connectivity. If the verification fails, modify the URL as prompted.
    Service Port The listening port of OCP. Default value: 8080. You can specify a custom port number ranging from 1024 to 65535. Make sure that the specified port is not occupied.
  2. Allocate resources.

    OCP consumes large amounts of computing and storage resources to provide services. You can allocate resources based on the number of hosts to be managed. In addition, you must set parameters in the MetaDB Tenant and MonitorDB Tenant sections. This way, the system automatically creates a MetaDB tenant and a MonitorDB tenant to manage the OceanBase cluster over its entire lifecycle.

    1. Specify the number of hosts to be managed.

      The default value is 10. You can change the value as needed.

    2. Specify the memory size.

      By default, 16 GiB of memory is allocated. You must allocate memory resources based on the number of hosts managed by OCP. For more information, see Host planning.

    3. Set parameters of the MetaDB tenant.

      Parameter Description
      Tenant Name The name of the MetaDB tenant. Default value: ocp_meta. You can specify a custom tenant name.
      Password The password of the MetaDB tenant. You can enter a custom password or generate a random password. The password must meet the following complexity requirements:
      • It must be 8 to 32 characters in length.
      • It contains at least three of the following character types: digits(0~9), uppercase letters(A~Z), lowercase letters(a~z), and special characters (ie: ~!@#%^&*_-+=|(){}[]:;,.?/).
      CPU The number of CPU cores allocated to the MetaDB tenant. Default value: 1 vCPU. You can adjust the value as needed.
      Memory The size of memory allocated to the MetaDB tenant. Default value: 2 GiB. You can adjust the value as needed.
    4. Set parameters of the MonitorDB tenant.

      Parameter Description
      Tenant Name The name of the MonitorDB tenant. Default value: ocp_monitor. You can specify a custom tenant name.
      Password The password of the MonitorDB tenant. You can enter a custom password or generate a random password. The password must meet the following complexity requirements:
      • It must be 8 to 32 characters in length.
      • It contains at least three of the following character types: digits(0~9), uppercase letters(A~Z), lowercase letters(a~z), and special characters (ie: ~!@#%^&*_-+=|(){}[]:;,.?/).
      CPU The number of CPU cores allocated to the MonitorDB tenant. Default value: 2 vCPUs. You can adjust the value as needed.
      Memory The size of memory allocated to the MonitorDB tenant. Default value: 4 GiB. You can adjust the value as needed.

Step 6: Perform an environment precheck

Before you start the precheck, you must verify the configuration information.

  • If you find an error, click Previous to fix it.

  • After you verify the information, click Pre-check. Then, the system checks whether your environment meets all the requirements for MetaDB and OCP installation and configuration.

    • If the precheck reports an error, you can fix the error based on the solution provided by OCP. If the error can be automatically fixed, you can click Auto repair to fix it.

      After all errors are fixed, click Re-check to perform a precheck again.

    • If the precheck is passed, click Next.

Step 7: Deploy OCP

You can view detailed installation logs in the Deployment Logs section during the OCP deployment process.

  • If the deployment fails, check the logs to identify the causes, and contact OceanBase Technical Support. After you identify the causes and fix the issue, click Redeploy. Then, the system clears the failed OCP installation environment and re-executes the installer.

  • If the deployment succeeds, click Complete to exit. Before you exit the installer, you can copy the URL, account username, and account password for logging on to the OCP console.

Use an existing OceanBase cluster as MetaDB of OCP

If you have deployed an OceanBase cluster, you can perform the following steps to use it as MetaDB of OCP.

Step 1: Start OBD

  1. Log on to the OCP host.

  2. Run the following command to go to the bin directory of the decompressed software package, and start the installer:

    cd ocp-all-in-one/bin && sh install.sh
    
  3. Run the following command to make the environment variables take effect:

    source ~/.oceanbase-all-in-one/bin/env.sh
    
  4. Run the obd web install command, and copy the IP address of the deployment wizard page in the response.

    1

Step 2: Go to the OCP deployment wizard page

  1. Open a browser, visit the IP address copied in Step 1, and click Try Now on the page that appears.

  2. Select OCP and click OK.

  3. Select Use an existing OceanBase database MetaDB as OCP and click OK.

Step 3: Specify the deployment information

  1. Enter a name for the MetaDB cluster to be managed.

    The cluster name must be unique. It must be 2 to 48 characters in length and can contain uppercase and lowercase letters, digits, and underscores (_). It must start with a letter.

  2. Select the OCP version that you want to deploy.

Step 4: Connect to the OceanBase cluster

OCP executes the installer based on the specified information of MetaDB.

  1. Specify the connection information of the OceanBase cluster.

    OCP uses the OceanBase cluster with the specified connection information as MetaDB to store metadata and monitoring data.

    Parameter Description
    Host IP Address The IP address of the host where the OceanBase cluster is deployed. OCP uses the IP address to connect to the OceanBase cluster that works as MetaDB. You can specify only one host IP address.
    Access Port Number The port number used to access the OceanBase cluster.
    Access Account The account username used to access the OceanBase cluster. You can use only an account of the sys tenant. Default value: root@sys. You can specify a custom account.
    Access Password The password of the specified account.
  2. Make sure that the information is correct and click Next to check whether MetaDB can be connected.

Step 5: Set parameters of OCP

  1. Set parameters of the deployment user.

    Note

    To avoid conflicts between OS users, we recommend that you create dedicated OS users for MetaDB and OCP.

    Parameter Description
    Username The username of the user of the host OS, who has permissions to run sudo commands. The installer requires this username to automatically configure settings.
    Password The password of the specified user. If you have enabled password-free logon for the host, skip this parameter.
    SSH Port The SSH port number of the host. Default value: 22.
    Use the running user If you select this parameter, you can specify a dedicated OS user for OCP. This parameter is optional.
  2. Set parameters of the OCP node.

    Select the host where you want to deploy OCP. You can select multiple hosts.

    Notice

    The IP address of the host cannot be 127.0.0.1.

  3. Set parameters of the OCP service.

    Parameter Description
    Admin Password The password for the administrator account of OCP. The password must meet the following complexity requirements:
    • It must be 8 to 32 characters in length.
    • It contains at least three of the following character types: digits(0~9), uppercase letters(A~Z), lowercase letters(a~z), and special characters (ie: ~!@#%^&*_-+=|(){}[]:;,.?/$`'"<>\).
    Software Path The installation path of OCP. Default value: /home/deployment user/ocp. You can change the value. You must have the read and write permissions on the specified directory, and make sure that the disk space is sufficient for the specified directory.
    Log Path The log storage path of OCP. Default value: /home/deployment user/logs. You can change the value. You must have the read and write permissions on the specified directory, and make sure that the disk space is sufficient for the specified directory.
    Package Path The installation path of OCP Agent. Default value: /home/deployment user/software. You can change the value. You must have the read and write permissions on the specified directory, and make sure that the disk space is sufficient for the specified directory.
    ocp.site.url The URL for accessing the OCP console. The URL must start with HTTP or HTTPS, contain the virtual IP (VIP) address, domain name, and port number, and not end with a forward slash (/). Example value: http://localhost:8080.
    After you enter the URL, click Verify to test the connectivity. If the verification fails, modify the URL as prompted.
    Service Port The service port of OCP. Default value: 8080. You can specify a custom port number ranging from 1024 to 65535. Make sure that the specified port is not occupied.
  4. Allocate resources.

    OCP consumes large amounts of computing and storage resources to provide services. You can allocate resources based on the number of hosts to be managed. In addition, you must set parameters in the MetaDB Tenant and MonitorDB Tenant sections. This way, the system automatically creates a MetaDB tenant and a MonitorDB tenant to manage the OceanBase cluster over its entire lifecycle.

    1. Specify the number of hosts to be managed.

      The default value is 10. You can change the value as needed.

    2. Specify the memory size.

      By default, 16 GiB of memory is allocated. You must allocate memory resources based on the number of hosts managed by OCP. For more information, see Host planning.

    3. Set parameters of the MetaDB tenant.

      Parameter Description
      Tenant Name The name of the MetaDB tenant. Default value: ocp_ meta. You can specify a custom tenant name.
      Password The password of the MetaDB tenant. You can enter a custom password or generate a random password. The password must meet the following complexity requirements:
      • It must be 8 to 32 characters in length.
      • It contains at least three of the following character types: digits(0~9), uppercase letters(A~Z), lowercase letters(a~z), and special characters (ie: ~!@#%^&*_-+=|(){}[]:;,.?/).
      CPU The number of CPU cores allocated to the MetaDB tenant. Default value: 1 vCPU. You can adjust the value as needed.
      Memory The size of memory allocated to the MetaDB tenant. Default value: 2 GiB. You can adjust the value as needed.
    4. Set parameters of the MonitorDB tenant.

      Parameter Description
      Tenant Name The name of the MonitorDB tenant. Default value: ocp_monitor. You can specify a custom tenant name.
      Password The password of the MonitorDB tenant. You can enter a custom password or generate a random password. The password must meet the following complexity requirements:
      • It must be 8 to 32 characters in length.
      • It contains at least three of the following character types: digits(0~9), uppercase letters(A~Z), lowercase letters(a~z), and special characters (ie: ~!@#%^&*_-+=|(){}[]:;,.?/).
      CPU The number of CPU cores allocated to the MonitorDB tenant. Default value: 2 vCPUs. You can adjust the value as needed.
      Memory The size of memory allocated to the MonitorDB tenant. Default value: 4 GiB. You can adjust the value as needed.

Step 6: Perform an environment precheck

Before you start the precheck, you must verify the configuration information.

  • If you find an error, click Previous to fix it.

  • After you verify the information, click Pre-check. Then, the system checks whether your environment meets all the requirements for MetaDB and OCP installation and configuration.

    • If the precheck reports an error, you can fix the error based on the solution provided by OCP. If the error can be automatically fixed, you can click Auto repair to fix it.

      After all errors are fixed, click Re-check to perform a precheck again.

    • If the precheck is passed, click Next.

Step 7: Deploy OCP

You can view detailed logs in the Deployment Logs section during the OCP deployment process.

  • If the deployment fails, check the logs to identify the causes, and contact OceanBase Technical Support. After you identify the causes and fix the issue, click Redeploy. Then, the system clears the failed OCP installation environment and re-executes the installer.

  • If the deployment succeeds, click Complete to exit. Before you exit the installer, you can copy the URL, account username, and account password for logging on to the OCP console.

Previous topic

Prepare for the installation
Last

Next topic

Use Docker to deploy OCP
Next
What is on this page
Prerequisites
(Recommended) Create an OceanBase cluster and use it as MetaDB of OCP
Step 1: Start OBD
Step 2: Go to the OCP deployment wizard page
Step 3: Specify the deployment information
Step 4: Set parameters of MetaDB
Step 5: Set parameters of OCP
Step 6: Perform an environment precheck
Step 7: Deploy OCP
Use an existing OceanBase cluster as MetaDB of OCP
Step 1: Start OBD
Step 2: Go to the OCP deployment wizard page
Step 3: Specify the deployment information
Step 4: Connect to the OceanBase cluster
Step 5: Set parameters of OCP
Step 6: Perform an environment precheck
Step 7: Deploy OCP