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
In general, OCP is deployed in the form of a Docker container. You can deploy ocp-server, ocp-metadb, and ocp-monitordb on the same physical server. ocp-metadb and ocp-monitordb can be tenants in different subclusters of the same OceanBase cluster. Taking the resources required to manage 10 business OBServer nodes as an example, the resources are shown in the following table:
Container type |
Deployed 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 item |
Listening port |
Protocol |
Modification of listening port |
Remarks |
|---|---|---|---|---|
| OCP-Server | 8080 | http | Modify the OCP system parameter server.port and restart OCP for the modification to take effect. |
The web service of OCP-Server listens to port 8080. Generally, other components access OCP-Server through the SLB/DNS address. |
| OceanBase cluster depending on OCP | 2881 | tcp | Not supported | The SQL listening port of the OBServer node. |
| OBProxy | 2883 | tcp | Not supported | The SQL listening port of OBProxy. |
