If OceanBase Cloud Platform (OCP) is deployed in the three-node mode and the load balancing mode is DNS, perform this procedure. If OCP is deployed in single-node, three-node, or multi-zone mode and the load balancing mode is F5, skip this procedure.
Procedure
Modify the /etc/resolv.conf configuration file of the OBServer. Configure nameserver in the configuration file. Add the first two lines of the following snippet and modify the options line:
nameserver ${ocp01_ip}
nameserver ${ocp02_ip}
options timeout:1 attempts:1
In the preceding snippet, ${ocp01_ip} and ${ocp02_ip} specify the IP addresses of two of the OCP servers.