Search:     Advanced search
Browse by category:
Glossary | Ask question



SLB Method with Regular Expression Policy (regex)
Add comment
Views: 312
Votes: 0
Comments: 0

slb real http "server1" 10.3.0.20 80 1000 tcp 3 3
slb real http "server2" 10.3.0.9 80 1000 tcp 3 3

slb group method "group1" rr
slb group method "group2" rr
slb group member "group1" "server1" 1
slb group member "group2" "server2" 1

slb virtual http "vip1" 10.3.19.101 80

slb policy regex "p1" "vip1" "group1" "VID=*2$" 1
slb policy regex "p2" "vip1" "group2" "VID=*3$" 2

test1: send request "GET /index.html?VID=test2", hit policy p1 and group g1
test2: send request "GET /index.html?VID=test3", hit policy p2 and group g2
test3: send request "GET /index.html?VID2=test2", hit no policy
test4: send request "GET /index.html?VID=test345", hit no policy



Other questions in this category
SLB Method with Round Robin (rr)
SLB Method with Least Connections (lc)
SLB Method with Shortest Response Time (sr)
SLB Method with Persistent IP (pi)
SLB Method with Hash IP (hi)
SLB Method with Consistent Hash IP (chi)
SLB Method with Persistent Hostname (ph)
SLB Method with Persistent URL (pu)
SLB Method with Persistent Cookie (pc)
SLB Method with Insert Cookie (ic)
SLB Method with Rewrite Cookie (rc)
SLB Method with Embed Cookie (ec)
SLB Method with Hash Cookie (hc)
SLB Method with Hash Header (hh)
SLB Method with Consistent Hash Header (chh)
SLB Method with Persistent SSL SID (sslsid)
SLB Method with SNMP (snmp)
SLB Method with SIP CallID (sipcid)
SLB Method with SIP UserID (sipuid)
SLB Method with Filetype Policy (filetype) ???
SLB Method with Redirect Policy (redirect)
SLB Method with Static Policy (static)
SLB Method with QoS Clientport Policy (clientport)
SLB Method with QoS Cookie Policy (cookie)
SLB Method with QoS Hostname Policy (hostname)
SLB Method with QoS Network Policy (network)
SLB Method with OoS URL Policy (url)
SLB Method for Hash URL (hashurl) ???
SLB Backup Policy
Configure SLB for Exchange with OWA and Native Protocol
How to configure HTTP to HTTPS rewrite on HTTP Response Body Content?