This topic describes how to scale out an OBProxy cluster.
Scenarios
Add more OBProxies to an OBProxy cluster to reduce the workload of existing OBProxies in the cluster. This improves the reliability of the cluster.
Prerequisites
- You have added the hosts on which you want to deploy new OBProxies to OceanBase Cloud Platform (OCP) for management. For more information, see Add a host.
- The new hosts have netcat (
nc) installed and do not run the obproxy process.
Procedure
Step 1: Add an OBProxy to an OBProxy cluster
- Log on to the OCP console.
- In the left-side navigation pane, click OBProxy. On the page that appears, click the name of the target OBProxy cluster to go to its Overview page.
- Click Add OBProxy. In the dialog box that appears, specify the information about the OBProxy.
- Click OK.
(Optional) Step 2: Switch the traffic
- If your business applications access the OBProxy cluster by using Alibaba Cloud Server Load Balancer (SLB) or OceanBase Load Balancer (OBLB), some of the business traffic is automatically switched to the new OBProxy after it becomes available for load balancing. You do not need to manually switch the business traffic.
- If your business applications use other load balancer instances, such as manually created SLB or F5 instances, you must add the new OBProxy as a backend server of the instances. The business traffic is switched to the new OBProxy for load balancing after your modifications take effect.