Parameter | Description | Example |
Name | Listener name. | test-tcp-80 |
Listening protocol and port | Listening protocol: In this case, select TCP .Listening port: The port used to receive requests and forward them to the real server. The port number ranges from 1 to 65535. A listening port must be unique in the same CLB instance. | TCP:80 |
Balancing method | CLB supports two scheduling algorithms for TCP listeners: weighted round robin (WRR) and weighted least connections (WLC). WRR: Requests are distributed to real servers in sequence based on their weights. This algorithm performs scheduling based on the number of new connections. Servers with higher weights are more likely to be scheduled and servers with the same weight process the same number of connections. WLC: Loads of servers are estimated based on the number of active connections to the servers. This algorithm performs scheduling based on server loads and weights. For servers with the same weight, those have less loads are more likely to be scheduled. Note: If WLC is selected, the listener does not support session persistence. | WRR |
Two-way RST | If this option is selected, corresponding operations will send RST packets to both ends (client and server) to close the connection; otherwise, two-way RST packets will not be sent, and the persistent connection will exist until it times out. | Selected |
Parameter | Description | Example |
Session persistence | After session persistence is enabled, a CLB listener will distribute access requests from the same client to the same real server. TCP session persistence is implemented based on the client IP address. The access requests from the same IP address are forwarded to the same real server. Session persistence can be enabled for WRR scheduling but not WLC scheduling. | Enabled |
Hold Time | Session persistence duration. Session persistence is terminated if there are no new requests in the connection within the specified duration. Value range: 30-3600 seconds | 30 seconds |
TCP:80
to view the bound real servers on the right of the listener.
Was this page helpful?