Since the OCP service incurs significant computational and storage overhead during operation, resource planning is required based on the scale of the objects to be managed. Note that in a multi-node OCP deployment, you must add multiple servers during the Add Server step, and the configuration of each server node must meet the following requirements.
CPU and memory
The CPU and memory resource configuration for an OCP-Server machine is detailed in the following table. The data below is calculated based on the standard of 10 tenants per cluster. Please calculate and select appropriate CPU and memory according to your actual situation.
Number of Managed Machines |
CPU (Cores) |
Memory (GiB) |
|---|---|---|
| ≤ 20 | 8 | 16 |
| ≤ 50 | 16 | 32 |
| ≤ 200 | 32 | 64 |
| ≤ 400 | 64 | 128 |
Note
Disk capacity
OCP-Server writes files to disk during operation, which consumes disk space. We recommend reserving at least 500 GiB of space for OCP-Server to prevent functionality from being affected due to a full disk.
The disk usage of OCP-Server during operation is shown in the following table.
Category |
Storage Path |
Capacity requirements |
|---|---|---|
| OCP Program | /home/admin/ocp-server/ |
After the OCP program is installed, it occupies approximately 1 GiB of space. The included RPM files consume about 5 GiB. It is recommended to reserve 10 GiB of storage. |
| OCP Main Process Logs | /home/admin/ocp-server/log |
The OCP system parameters define the log file size and the number of files to retain. By default, a single file is 100 MiB, at least 5–10 files are generated per day, and each file is retained for up to 100 days. It is recommended to reserve 100 GiB of space. |
| OCP Task Logs | /home/admin/ocp-server/log/task |
If no capacity limit is set, OCP periodically cleans up task logs, aiming to keep more than 20% of disk space available for log files. During cleanup, log files with older update times are cleared first. A reserve space of 100 GiB is required. |
| Local Caching of OCP Files | /home/admin/data/files/ |
No capacity limit is set. OCP files are mainly installation packages related to OCP management objects, primarily OceanBase installation packages. The average size of an installation package is about 500 MiB. Estimating for 100 installation packages, you need to reserve 100 GiB of space. |
Note
The log retention size for OCP-Server can be configured via OCP system parameters. For details, see Modify system parameters.
