Use OAT-CLI to configure the deployment environment

2023-08-18 09:26:34  Updated

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 servers

Run the following commands to configure each OCP server:

[root@hostname /]# cd /root/t-oceanbase-antman/clonescripts
[root@hostname clonescripts]# ./clone.sh -c -r ocp

OBServer

Run the following commands to configure each OBServer:

[root@hostname /]# cd /root/t-oceanbase-antman/clonescripts
[root@hostname clonescripts]# ./clone.sh -c -r ob

Install dependencies

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

OBServer

Run the following commands on each OBServer 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 OMS servers, run the following commands to install Docker:

[root@hostname /]# cd /root/t-oceanbase-antman/clonescripts
[root@hostname clonescripts]# ./clone.sh -i

Contact Us