Changing Backend Server Weights/Ports
Scenario
You can change the weights/ports configured for backend servers based on their capability to process requests.
Constraints and Limitations
- You can set an integer from 0 to 100. If you set the weight of a backend server to 0, new requests will not be routed to this server.
- The weights can only be specified when you select weighted round robin, weighted least connections, or source IP hash as the load balancing algorithm. For more information about load balancing algorithms, see Backend Server Weights.
Procedure
- Log in to the management console.
- In the upper left corner of the page, click and select the desired region and project.
- Hover on in the upper left corner to display Service List and choose Network > Elastic Load Balance.
- In the navigation pane on the left, choose Elastic Load Balance > Backend Server Groups.
- On the Backend Server Groups page, click the name of the backend server group.
- Switch to the Backend Servers tab page and click Backend Servers.
- Select the backend servers and click Modify Port/Weight up above the backend server list.
- In the displayed dialog box, modify weights/ports as you need.
- Modifying ports:
- Changing the port of a single backend server: Set the port in the Backend Port column.
- Changing the ports of multiple backend servers: Set the ports next to Batch Modify Ports and click OK.
- Modifying weights:
- Changing the weight of a single backend server: Set the weight in the New Weight column.
- Changing the weights of multiple backend servers: Set the weight next to Batch Modify Weights and click OK.
You can change the weights of multiple backend servers to 0 so that they will not receive requests from the load balancer.
- Modifying ports:
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.