Setting the availability criteria
Perform this task to set the criteria (lower percentage and higher percentage) to determine whether a server farm is available. This helps implement traffic switchover between the master and backup server farms.
When the number of available real servers to the total number of real servers in the master server farm is smaller than the lower percentage, traffic is switched to the backup server farm.
When the number of available real servers to the total number of real servers in the master server farm is greater than the upper percentage, traffic is switched back to the master server farm.
To set the availability criteria for a server farm:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter server farm view. | server-farm server-farm-name | N/A |
3. Set the criteria to determine whether the server farm is available. | activate lower lower-percentage upper upper-percentage | By default, when a minimum of one real server is available, the server farm is available. |