OceanBase Cloud Platform (OCP) is an enterprise-level management platform specifically designed for OceanBase database clusters, compatible with all mainstream versions of OceanBase. OCP offers graphical management capabilities for OceanBase clusters, including full lifecycle management of database components and related resources such as hosts, networks, and software packages. It also provides features for fault recovery, performance diagnosis, and monitoring and alerting. The primary goal of OCP is to assist customers in efficiently managing their OceanBase clusters, reducing IT operational costs and user learning curves.
OCP requires two OceanBase MySQL mode connection to store meta and monitor data, we recommend using two separate tenant for that, you can refer to the following document for create oceanbase cluster and create oceanbase tenant
Start ocp-ce container is pretty simple, with some environment values to specify the metadb and monitordb connection and several essential system parameters, simply run the following command to start the ocp-ce container, please change the environment values and image tag according to your environment.
# set environment parameters export OCP_CPU_COUNT=4 export OCP_MEMORY_GB=8 export OCP_METADB_HOST=1.1.1.1 # do not use 127.0.0.1 or localhsot export OCP_METADB_PORT=2881 export OCP_METADB_USER=root@ocp_meta export OCP_METADB_PASSWORD=ocp_meta_password export OCP_METADB_DBNAME=ocp_meta export OCP_MONITORDB_USER=root@ocp_monitor export OCP_MONITORDB_PASSWORD=ocp_monitor_password export OCP_MONITORDB_DBNAME=ocp_monitor export OCP_INITIAL_ADMIN_PASSWORD=initial_password export TAG=latest export OCP_CONFIG_PROPERTIES=`cat << EOF server.port:8080 ocp.site.url:[***] obsdk.ob.connection.mode:direct EOF ` # start ocp container docker run -d --name ocp-421 \ --network host \ --cpu-period *** --cpu-quota ${OCP_CPU_COUNT}00000 --memory=${OCP_MEMORY_GB}G \ -e OCP_METADB_HOST="${OCP_METADB_HOST}" \ -e OCP_METADB_PORT="${OCP_METADB_PORT}" \ -e OCP_METADB_DBNAME="${OCP_METADB_DBNAME}" \ -e OCP_METADB_USER="${OCP_METADB_USER}" \ -e OCP_METADB_PASSWORD="${OCP_METADB_PASSWORD}" \ -e OCP_MONITORDB_DBNAME="${OCP_MONITORDB_DBNAME}" \ -e OCP_MONITORDB_USER="${OCP_MONITORDB_USER}" \ -e OCP_MONITORDB_PASSWORD="${OCP_MONITORDB_PASSWORD}" \ -e OCP_INITIAL_ADMIN_PASSWORD="${OCP_INITIAL_ADMIN_PASSWORD}" \ -e OCP_CONFIG_PROPERTIES="${OCP_CONFIG_PROPERTIES}" \ oceanbase/ocp-ce:${TAG}
| environment variable | description | required |
|---|---|---|
| OCP_METADB_HOST | address of metadb cluster, it can be a proxy's address or an observer's address | yes |
| OCP_METADB_PORT | port of metadb cluster | yes |
| OCP_METADB_DBNAME | database name of metadb | yes |
| OCP_METADB_USER | username of metadb | yes |
| OCP_METADB_PASSWORD | password of metadb user | yes |
| OCP_MONITORDB_DBNAME | database name of monitordb | yes |
| OCP_MONITORDB_USER | username of monitordb | yes |
| OCP_MONITORDB_PASSWORD | password of monitordb user | yes |
| OCP_INITIAL_ADMIN_PASSWORD | the initial password of admin user, it should match the follwing rules: 1. 8 to 32 characters in length 2. contain at least two digits, two uppercase letters, two lowercase letters, and two of the following special characters available characters are: ~!@#%^&*_-+=|(){}[]:;,.?/ if this is not set, you need to set the password at login page using the default password | no |
| OCP_CONFIG_PROPERTIES | ocp system parameters, one parameter in each line, name and value are sepreated by ':' | no |
来自真实用户的反馈,见证轩辕镜像的优质服务
免费版仅支持 Docker Hub 加速,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。
免费版仅支持 docker.io;专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等。
当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。
通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。
先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。
使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
在 Linux 系统配置镜像加速服务
在 Docker Desktop 配置镜像加速
Docker Compose 项目配置加速
Kubernetes 集群配置 Containerd
在宝塔面板一键配置镜像加速
Synology 群晖 NAS 配置加速
飞牛 fnOS 系统配置镜像加速
极空间 NAS 系统配置加速服务
爱快 iKuai 路由系统配置加速
绿联 NAS 系统配置镜像加速
QNAP 威联通 NAS 配置加速
Podman 容器引擎配置加速
HPC 科学计算容器配置加速
ghcr、Quay、nvcr 等镜像仓库
无需登录使用专属域名加速
需要其他帮助?请查看我们的 常见问题 或 官方QQ群: 13763429