Add comment
Name:
Email:
Comment: *
(Use BBcode - No HTML)


SLB Method with Embed Cookie (ec)

Embed cookie allows us to embed a section of a cookie value to the cookie can be sent back to the same server. Unlike rewrite cookie, we will strip out the modifications that the ArrayOS has made in the request. so the backend will see the original cookie:

slb real http "server1" 64.233.161.103 80 1000 tcp 3 3
slb real http "server2" 209.191.93.53 80 1000 tcp 3 3
slb real http "server3" 207.68.173.76 80 1000 tcp 3 3

slb group method "group1" ec "CookieExampleName" rr
slb group member "group1" "server1" 1
slb group member "group1" "server2" 1
slb group member "group1" "server3" 1

slb virtual https "vip1" 10.1.150.100 443

slb policy rcookie "policy1" "vip1" "group1" 0
slb policy default "vip1" "group1"

ssl host virtual "www.website1.com" "vip1"

CookieExampleName=valueabcdefghijk
New cookie will be CookieExampleName=server1!?valueabcdefghijk