This topic describes how to upload a software package.
Prerequisites
Make sure that you have the following permissions:
- Resource Permissions: Cluster Maintenance, Tenant Maintenance, OBProxy Maintenance, Arbitration Service Maintenance, Binlog Service Maintenance, or Host Maintenance permission
- Menu Permissions: Permission on the Packages menu of Administration
Procedure
In the left-side navigation pane, choose Administration > Packages to go to the Packages page.
Click Upload. In the panel that appears, click Select a Software Package, select a local package, and click OK.
You can upload an installation package in the
.rpmformat, for example, an OceanBase Database installation package, binlog service installation package, OCP Agent installation package, OBProxy installation package, or backup and restore service installation package.Notice
- You can upload up to 10 packages of the
.rpmortar.gzformat at a time. - If your system version is
debian, we recommend that you use an OCP Agent package with the.tar.gzextension and set the installation directory by using theocp.agent.home.path.prefixsystem parameter. - It is risky to deploy an unofficial package in a production cluster.
- OCP Enterprise Edition verifies the signature of the uploaded package. If the verification fails, the package cannot be uploaded. We recommend that you select another package and upload it again.
- OCP calculates a SHA-256 checksum for each newly uploaded package to verify its integrity.
- You can upload up to 10 packages of the
After the package is uploaded, you can view it in the package list.
Related operations
You can view the package information in the package list, including Package Name, Type, Version, OS, Architecture, Size (MiB), and Uploaded At.
You can filter packages by Type, Version, OS, and Architecture.
You can sort packages by Package Name and Uploaded At.
Related configuration
OCP limits the total number and total capacity of the software packages that it manages. You can adjust the limits by using the following parameters in Administration > Sys Parameters.
Parameter |
Description |
Restart required |
|---|---|---|
ocp.software.package.max-count |
The maximum number of software packages. After the limit is reached, no more software packages can be uploaded or created. The default value is 100. | No |
ocp.software.package.max-total-size-gib |
The maximum total capacity of all registered software packages, in GiB. The default value is 50 GiB. | No |
