Note
This topic describes how to quickly deploy OceanBase Cloud Platform (OCP) for experience. For information about how to deploy OCP in the production environment, see Deploy OCP on the GUI.
Prerequisites
Make sure that the following conditions are met:
The user used for deployment must have the permission to execute
sudocommands without using the password.You have installed OceanBase Deployer (obd) V2.4.0 or later (latest version recommended). For more information, see Install obd.
Note
We recommend that you download the OceanBase All in One package for deployment. The package provides all required components of the recommended versions, and the components have passed adaptation tests.
At least 8 vCPUs, 26 GB of memory, and 150 GB of disk space are available on your server.
Ports
2881,2882,2883,2884,2886,8080, and8680are not occupied. They will be used for deployment by default.You have installed the
clockdiffcommand.Your server can connect to the Internet, or the local image repository of obd contains the installation packages required for deployment.
You can run the
obd mirror list localcommand to query the installation packages in the local image repository. If obd is installed by using the OceanBase All in One package, the local image repository contains all installation packages required for deployment by default.
Step 1: Go to the GUI
Run the
obd webcommand on the CLI, and visit the generated URL to go to the obd GUI.[admin@test001 ~]$ obd web start OBD WEB in 0.0.0.0:8680 please open http://10.10.10.1:8680Note
The default port in the URL is
8680. You can use theobd web -p <PORT>command to specify a port.In Alibaba Cloud or other cloud environments, the program may fail to obtain a public IP address but return an intranet IP address. You must use a correct public IP address to access the GUI.
The
obd webcommand is bound to0.0.0.0. In a deployment where multiple network interface cards (NICs) are used, you can access the GUI through any accessible IP address.
On the GUI, click Try Now to go to the Welcome to the OceanBase Deployment Wizard page. On the page, select OceanBase cloud platform, move your pointer on Installation, and then select Use the new OceanBase database to go to the Deployment Wizard page.
Step 2: Configure deployment information
On the Deployment configuration page, specify the OCP cluster name, which must be different from the name of an existing cluster. You can run the obd cluster list command to query the clusters managed by obd.

Step 3: Configure MetaDB information
On the MetaDB Configuration page, configure information about the MetaDB cluster, such as the IP addresses of OBServer nodes, port number, directory, and password.
Configure deployment user information.
In the Deployment user configuration section, configure the user information required for OCP deployment. You only need to specify Username and Password. The specified user must have the permission to execute
sudocommands without using the password. If you have enabled password-free login, the password is not required.
Configure node information.
Specify the IP address of the OCP host in the OCP node configuration section and specify the IP addresses of the OBServer nodes where MetaDB resides in the Database node configuration section.
The IP addresses cannot be
127.0.0.1. After you specify an IP address, you can press Enter to add more IP addresses. By default, three zones are displayed. You can click + Add Zone to add a zone or the Delete icon next to a zone to remove it.
Configure cluster information.
In the Cluster configuration section, specify the password of the
root@sysaccount, directories, and port numbers required for the MetaDB.You can click Randomly generated to generate a random password for the
root@sysaccount. You can modify the default paths displayed on the page. The paths must be absolute paths starting with/. Make sure that the specified paths are empty and you have the read and write permissions on them.
Configure OceanBase Database Proxy (ODP) information.
In the OBProxy configuration section, specify the IP address of the ODP node, port numbers, and installation path. You can specify only one IP address for the ODP node. By default, the installation path of ODP is the
obproxydirectory in the home directory of the deployment user. You can specify a custom path, which must be an absolute path starting with/. You must have the read and write permissions on the specified path.
Click Next Step to go to the OCP Configuration page.
Step 4: Configure OCP information
On the OCP Configuration page, configure information about the OCP service and tenants.
Configure service information.
In the Service configuration section, specify the OCP login password, paths, URL, and port number. You can click Randomly generated to generate a random password for the admin account. You can modify the default paths displayed on the page. The paths must be absolute paths starting with
/. Make sure that the specified paths are empty and you have the read and write permissions on them.
Plan resources.
OCP consumes computing and storage resources to provide services. In the Resource Planning section, you can allocate resources based on the number of hosts to be managed.
You can click Randomly generated to generate random passwords for the root users of the tenants.

Click Next Step to go to the Pre-check page.
Step 5: Perform a pre-check
On the Pre-check page, you can view all configured information. If you find an error, you can click Previous Step to fix it. After you confirm 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 pre-check reports an error and the error can be automatically fixed, you can click Automatic Repair to fix the error. You can also click Learn More to fix the reported error by referring to the error code document. After all the errors are fixed, click Re-check to perform a pre-check again.

After the pre-check is successful, click Deployment in the lower right part of the page.
Step 6: Deploy OCP
obd displays deployment logs during the deployment. You can view detailed logs in the Deployment Logs section.
If the deployment fails, check the logs to identify the causes, and contact OceanBase Technical Support. You can also submit a question in the Q&A section of the OceanBase community forum, and on-duty engineers will help you fix the issue. After you identify the causes and fix the issue, click Re-deploy. In the dialog box that appears, click OK. Then, the system clears the failed OCP installation environment and re-executes the installer.
If the deployment succeeds, click Copy Information to save the OCP URL and login credentials. Then, click Complete to exit.

Note
After OCP is deployed, you can check whether OCP works properly. For more information, see Post-deployment check in the OCP documentation.