Scheduling real servers

Perform this task to specify a scheduling algorithm for a server farm and specify the number of real servers to participate in scheduling. The LB device calculates the real servers to process user requests based on the specified scheduling algorithm.

To schedule real servers:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter server farm view.

server-farm server-farm-name

N/A

3. Specify a scheduling algorithm for the server farm.

predictor hash address { destination | source | source-ip-port } [ mask mask-length ] [ prefix prefix-length ]

predictor { least-connection | random | round-robin | bandwidth [ inbound | outbound ] | max-bandwidth [ inbound | outbound ] }

By default, the scheduling algorithm for the server farm is weighted round robin.

4. Specify the number of real servers to participate in scheduling.

selected-server min min-number max max-number

By default, the real servers with the highest priority participate in scheduling.