Updated on 2024-03-19 GMT+08:00

Changing the Weights/Ports of Supplementary Network Interfaces

Scenario

You can change the weights specified for supplementary network interfaces 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

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Hover on in the upper left corner to display Service List and choose Networking > Elastic Load Balance.
  4. In the navigation pane on the left, choose Elastic Load Balance > Backend Server Groups.
  5. On the Backend Server Groups page, click the name of the backend server group.
  6. Switch to the Backend Servers tab page and click Supplementary Network Interfaces.
  7. Select the backend servers and click Modify Weight up the backend server list.
  8. In the displayed dialog box, modify weights and 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 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.

  9. Click OK.