基于湖库一体架构,统一管理结构化、半结构化与非结构化等多模态数据,一个系统承载事务处理、实时分析与 AI 工作负载。
通过 oat-cli 配置部署环境
更新时间:2023-07-24 17:45:58
您需要使用 oat-cli 修改各服务器的部署环境配置。
添加 admin 用户
为便于后续维护,部署前,您需要为每台服务器添加 admin 用户。
[root@hostname /]# cd /root/t-oceanbase-antman/clonescripts
[root@hostname clonescripts]# ./clone.sh -u
修改操作系统内核配置
OCP 服务器
执行以下命令,对每台 OCP 服务器进行设置。
[root@hostname /]# cd /root/t-oceanbase-antman/clonescripts
[root@hostname clonescripts]# ./clone.sh -c -r ocp
OBServer 节点
执行以下命令,对每台 OBServer 节点进行设置。
[root@hostname /]# cd /root/t-oceanbase-antman/clonescripts
[root@hostname clonescripts]# ./clone.sh -c -r ob
安装依赖包
OCP 服务器安装依赖包
在每台 OCP 服务器执行以下命令,安装依赖包。
[root@hostname /]# cd /root/t-oceanbase-antman/clonescripts
[root@hostname clonescripts]# ./clone.sh -m -r ocp
OBServer 节点安装依赖包
在每台 OBServer 节点执行以下命令,安装依赖包。
[root@hostname /]# cd /root/t-oceanbase-antman/clonescripts
[root@hostname clonescripts]# ./clone.sh -m -r ob
OCP 与 OMS 服务器安装 Docker
在 OCP 与 OMS 服务器上执行以下命令,安装 Docker。
[root@hostname /]# cd /root/t-oceanbase-antman/clonescripts
[root@hostname clonescripts]# ./clone.sh -i