In SLB
, a policy
links a virtual service
to a group. Below are slb policy types, according to their priority. (1 = highest priority)
1. redirect
slb policy redirect <policy_name> <virtual_name> <group_name
> <redirected-from-host>
2. static
slb policy static <virtual_name> <real_name
>
3. qos network
slb policy qos network <policy_name> <virtual_name> <group_name> <network_ip> <network_mask> <precedence>
4. persistent url
slb policy persistent url <policy_name> <virtual_name> <group_name > <url_tag> <precedence>
5. rewrite cookie
slb policy rcookie <policy_name> <virtual_name> <group_name> <precedence>
6. insert cookie
slb policy icookie <policy_name> <virtual_name> <group_name> <precedence>
7. persistent cookie
slb policy persistent cookie <policy_name> <virtual_name> <group_name> <cookie_name> <precedence>
8. qos cookie
slb policy qos cookie <policy_name> <virtual_name> <group_name> <cookie_name=cookie_value> <precedence>
9. qos hostname
slb policy qos hostname <policy_name> <virtual_name> <group_name> <hostname> <precedence>
10.qos client port
slb policy qos clientport <policy_name> <virtual_name> <group_name> <network_ip> <network_mask> <precedence>
11. qos url
slb policy qos url <policy_name> <virtual_name> <group_name> <qos_string> <precedence>
12. regex
slb policy regex <policy_name> <virtual_name> <group_name> <regex> <precedence>
13. header
slb policy header <policy_name> <virtual_name> <group_name> <header_name> <header_pattern> <precedence>
14. default
slb policy default <virtual_name> <group_name>
15. backup
slb policy backup <virtual_name> <group_name>
Webui Array OS 6.4 or later: