This topic describes the resources required to deploy OCP on a single node. It helps you get started with OCP. To deploy OCP in the test and production environments, see Deploy a database.
The number of resources estimated for the host is the sum of the resources for the ocp-server tenant, ocp-metadb tenant, ocp-monitordb tenant, sys tenant, and system_memory.
Hardware requirements
The following table lists the minimum hardware requirements for an OCP-Server node.
Hardware |
Minimum requirement |
|---|---|
| CPU | |
| Memory | 64 GiB available |
| NIC | 10 Gbit/s NIC |
Operating system requirements
Server type |
Operating system |
Supported versions |
|---|---|---|
| x86_64 | RHEL | 7.2 and later |
| x86_64 | CentOS | 7.2 and later |
| x86_64 | AliOS | 7.2 and later |
| x86_64 | openSUSE | 12 SP3 and later |
| ARM AArch64 | AliOS | 7.2 and later |
| ARM AArch64 | NeoKylin | 7.6 |
| ARM AArch64 | Huawei EulerOS | 2.0 SP8 |
Examples
Generally, OCP is deployed in the form of a Docker container. You can deploy the ocp-server, ocp-metadb, and ocp-monitordb containers on the same physical server. ocp-metadb and ocp-monitordb can be tenants in a different OceanBase cluster. Taking the resources required to manage 10 business OBServer nodes as an example, the resources are as follows:
Container type |
Deployment content |
CPU (core) |
Memory (GiB) |
|---|---|---|---|
| OCP container | ocp-server | 8 | 16 |
| OceanBase container | ocp-metadb tenant | 4 | 8 |
| OceanBase container | ocp-monitordb tenant | 4 | 16 |
| OceanBase container | sys tenant | 5 | 28 |
| OceanBase container | system_memory | 0 | 0 |
Note
Open ports
Deployment unit |
Listening port |
Protocol |
Modification of listening port |
Remarks |
|---|---|---|---|---|
| OCP-Server | 8080 | http | Modify the OCP system parameter server.port, and it will take effect after restarting. |
The web service of OCP-Server listens to the port. Generally, other components access OCP-Server through the SLB/DNS address. |
| OceanBase cluster on which OCP is dependent | 2881 | tcp | Not supported. | The SQL listening port of the OBServer node. |
| OBProxy | 2883 | tcp | Not supported. | The SQL listening port of OBProxy. |
