OceanBase Deployer (obd) allows you to view and modify host system parameters since V3.2.0. This topic describes related commands. You can specify the -h or --help option in a command to query its help information. You can also specify the -v or --verbose option to query the execution details of a command that returns an error.
Note
In this topic, target host refers to the host whose system parameters are to be viewed or modified.
obd host precheck
You can run this command to view the system parameters that are recommended to be modified during the deployment of OceanBase Database.
obd host precheck <username> <server ip>
#example
obd host precheck root 10.10.10.1
The username parameter specifies the username of a user on the target host, and server ip specifies the IP address of the target host. At present, only one IP address is supported.
If a password has been configured for the user on the target host and password-free SSH login is not configured between the current obd host and the target host, you must specify the -p or --password option to provide the user password.
obd host init
You can run this command to modify the system parameters queried by the obd host precheck command.
obd host init <username> <server ip>
#example
obd host init root 10.10.10.1
The username parameter specifies the username of a user on the target host, and server ip specifies the IP address of the target host. At present, only one IP address is supported.
If a password has been configured for the user on the target host and password-free SSH login is not configured between the current obd host and the target host, you must specify the -p or --password option to provide the user password.