Setting a weight and priority
Perform this task to set a weight for the weighted round robin and weighted least connection algorithms of a real server, and the scheduling priority in the server farm for the server.
To set a weight and priority for a real server:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter real server view. | real-server real-server-name | N/A |
3. Set a weight for the real server. | weight weight-value | By default, the weight of the real server is 100. |
4. Set a priority for the real server. | priority priority | By default, the priority of the real server is 4. |