You need to use oat-cli to modify the deployment environment configuration for each server.
Add the admin user
To facilitate subsequent maintenance, you must add an admin user to each server before deployment.
[root@hostname /]# cd /root/t-oceanbase-antman/clonescripts
[root@hostname clonescripts]# ./clone.sh -u
Modify the kernel configurations of the operating system
OCP server
Run the following commands to configure each OceanBase Cloud Platform (OCP) server:
[root@hostname /]# cd /root/t-oceanbase-antman/clonescripts
[root@hostname clonescripts]# ./clone.sh -c -r ocp
OBServer node
Run the following commands to configure each OBServer node:
[root@hostname /]# cd /root/t-oceanbase-antman/clonescripts
[root@hostname clonescripts]# ./clone.sh -c -r ob
Install dependencies
Install dependencies on OCP servers
Run the following commands on each OCP server to install the dependencies:
[root@hostname /]# cd /root/t-oceanbase-antman/clonescripts
[root@hostname clonescripts]# ./clone.sh -m -r ocp
Install dependencies on OBServer nodes
Run the following commands on each OBServer node to install the dependencies:
[root@hostname /]# cd /root/t-oceanbase-antman/clonescripts
[root@hostname clonescripts]# ./clone.sh -m -r ob
Install Docker on OCP and OMS servers
On the OCP and OceanBase Migration Service (OMS) servers, run the following commands to install Docker:
[root@hostname /]# cd /root/t-oceanbase-antman/clonescripts
[root@hostname clonescripts]# ./clone.sh -i