This topic describes how to install OceanBase Cloud Platform (OCP) in OceanBase Admin Toolkit (OAT).
Prerequisites
Before you install OCP, make sure that:
- You have installed and logged on to OAT as a super administrator or an O&M engineer. For more information, see Install OAT.
- You have added the server where OCP is to be installed. For more information, see Add a server.
- Your server meets the installation requirements of OCP. For more information, see OCP server configuration requirements.
- You have created the MetaDB component for OCP. For more information, see Create MetaDB.
Procedure
Log on to OAT.
In the left-side navigation pane, choose Product Service > Service Management.
On the Service Management page, click Install the product in the upper-right corner and then select Installation OCP.

On the Installation OCP page, specify related parameters.
Configure basic information of OCP.
Parameter Description OCP image The Docker image of OCP. Product Name The name of the product, which cannot be the same as that of any other products. Administrator Password Enter a custom password or generate a random password for the admin account of OCP. After OCP is deployed, you can use the password to log on to the OCP console without setting a password to activate the account. Notice
At present, only OceanBase Admin Toolkit (OAT) V4.1.1 supports the configuration of the administrator password during OCP installation.Multi-zone mode Specifies whether to enable multi-zone installation. Notice
When you create a Multi-zone mode cluster, you need to enable this configuration.Zone name The zone name of the specified OCP node such as az1. This parameter is displayed when Multi-zone mode is enabled. The zone names of different OCP nodes are different. Server The server IP address of the specified OCP node. This parameter is displayed only when Multi-zone mode is enabled. OCP proxy IP The IP address for accessing OCP in the specified zone. This parameter is displayed only when Multi-zone mode is enabled. OCP proxy port The port for accessing OCP in the specified zone. Default value: 80. This parameter is displayed only when Multi-zone mode is enabled. MetaDB proxy IP The IP address for accessing MetaDB in the specified zone. This parameter is displayed only when Multi-zone mode is enabled. MetaDB proxy port The port for accessing MetaDB in the specified zone. Default value: 2883. This parameter is displayed only when Multi-zone mode is enabled. CPU The number of CPU cores on each server for OCP. Default value: 8C. Memory The size of memory on each server for OCP. Default value: 20GiB. HTTP Port The HTTP port for OCP. Default value: 8080. Multi-cluster mode Specifies whether to enable the multi-cluster installation mode. Notice
When you create Multi-cluster mode clusters, you need to enable this configuration.Log Directory The log storage path of OCP. Note
- For more information about how to set the CPU and memory size, see the CPU and memory topic in OCP server configuration requirements.
- When you enable Multi-cluster mode and set the cluster type to a primary or backup cluster, make sure that only one primary cluster exists and others are backup clusters.

Configure OCP MetaDB information.
OCP allows you to configure information about the ocp_meta and ocp_monitor tenants for MetaDB in two ways.
If no tenant is created, click the MetaDB created tab and create the ocp_meta and ocp_monitor tenants for MetaDB. For more information about how to plan CPU and memory resources for the tenants, see the CPU and memory topic in MetaDB resources.
Parameter Description Select the created MetaDB Select the MetaDB created for OCP. Take over the MetaDB cluster Specifies whether to take over the MetaDB cluster. After takeover, you can view this MetaDB cluster in OCP. Each MetaDB cluster can be taken over by only one OCP. OCP Meta tenants The dedicated tenant for OCP MetaDB. tenant name The name of the meta tenant. tenant password The password of the meta tenant. Tenant CPU The number of CPU cores on the server for the meta tenant. Default value: 2C. Tenant memory The size of memory on the server for the meta tenant. Default value: 5GiB. OCP Monitor tenants The dedicated tenant for OCP MonitorDB. tenant name The name of the monitor tenant. tenant password The password of the monitor tenant. Tenant CPU The number of CPU cores on the server for the monitor tenant. Default value: 4C. Tenant memory The size of memory on the server for the monitor tenant. Default value: 16GiB. If tenants exist, click the Other OB_MySQL tab and enter the connection information of the ocp_meta and ocp_monitor tenants. If the entered username is not root, the entered user must have the privilege to create database tables.

Optional. Configure load balancing information.
If load balancing needs to be implemented for the MetaDB and OCP nodes, you can configure the proxy IP address.
Parameter Description Load balancing configuration Select a load balancing mode. Valid values: OBDNS created, Other load balancing, Created NLB, and Not used. MetaDB TCP proxy IP The TCP address for connecting to MetaDB. This parameter is displayed when the load balancing mode is set to Other load balancing. MetaDB TCP proxy port The TCP port number for connecting to MetaDB. This parameter is displayed when the load balancing mode is set to Other load balancing. HTTP proxy domain name The HTTP address for accessing the OCP console. This parameter is displayed when the load balancing mode is set to OBDNS created. HTTP proxy port The HTTP port number for accessing the OCP console. This parameter is displayed when the load balancing mode is set to OBDNS created. 
After the configuration is completed, click Submit. For any errors in configurations, click Reset to restore the default configurations.
Choose System and Security > Task list. On the task list page that appears, click the task name to view the task details.