This topic describes how to use OceanBase Admin Toolkit (OAT) to install OceanBase Cloud Platform (OCP).
Note
This topic takes OAT V4.0.0 as an example. The GUI varies with the OAT version.
Prerequisites
Before you install OCP, ensure that:
- You have installed OAT. For more information, see Deploy OAT.
- You have added the server where OCP is to be installed. For more information, see Add a server.
- The server meets the requirements for installing OCP. For more information, see Prepare servers.
- You have created the MetaDB component for OCP. For more information, see Create MetaDB.
Procedure
Log on to the OAT console as an administrator or an O&M engineer.
In the left-side navigation pane, choose Product Service > Service Management.
On the Service Management page, click Install Product in the upper-right corner, and choose Install OCP.
On the Install OCP page, configure the parameters.
The following table describes the basic parameters that you must specify when you deploy 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 another product. Multi-zone Mode When you enable the multi-zone deployment, you must specify the following parameters: - Zone Name: The name of the zone.
- Server: The IP address of the server on which OCP is to be installed.
- OCP Proxy IP: The IP address of the OCP access portal in the zone.
- OCP Proxy Port: The port number of the OCP access portal in the zone. Default value:
80. - MetaDB Proxy IP: The IP address of the MetaDB proxy.
- MetaDB Proxy Port: The port number of the MetaDB proxy. Default value:
2883.
Server The IP address of the server on which OCP is to be installed. CPU The number of CPU cores allocated to OCP. Default value: 8C.Memory The memory allocated to OCP. Default value: 20GB.HTTP Port The HTTP port number of OCP. Default value: 8080.Multi-Cluster Mode Specifies whether to enable the multi-cluster deployment mode. Log Directory The log storage path of OCP. Default value: /home/admin/logs/ocp.The following table describes the MetaDB parameters of OCP.
Parameter Description MetaDB Type Select the type of MetaDB. Select Created MetaDB Select a created MetaDB for OCP. OCP Meta Tenant The dedicated tenant for OCP MetaDB. Tenant Name The name of the MetaDB tenant. Tenant Password The password of the MetaDB tenant. Tenant CPU The number of CPU cores allocated to MetaDB. Default value: 2C.Tenant Memory The memory allocated to MetaDB. Default value: 5GB.OCP Monitor Tenant The dedicated tenant for OCP MonitorDB. Tenant Name The name of the MonitorDB tenant. Tenant Password The password of the MonitorDB tenant. Tenant CPU The number of CPU cores allocated to MonitorDB. Default value: 4C.Tenant Memory The memory allocated to MonitorDB. Default value: 16GB.Take over the MetaDB Cluster You can select this option to take over the MetaDB cluster. You can view the MetaDB cluster on OCP after the takeover. Each MetaDB cluster can be taken over by only one OCP. The following table describes the optional load balancing parameters.
Parameter Description Load Balancing Mode Select the load balancing mode. Select Created OBDNS Select a created OBDNS. HTTP Proxy Domain Name The HTTP proxy domain name that is used to access the OCP console. HTTP Proxy Port The HTTP port number. Default value: 80.After you set the parameters, click Submit.
You can also click Reset to restore the default configurations.
What to do next
For more information about how to verify OCP deployment, see Verify OCP deployment.
More information
For more information about how to create MetaDB, see Create MetaDB.