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

Embed Cookie (ec) SLB Definition
Add comment
Views: 333
Votes: 0
Comments: 0

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 Embed cookie group method
slb group method <gp_name> ec <cookie_name> [first_choice] [Threshold granularity]

<gp_name> SLB group name

<cookie_name> cookie name in which value the real server information needs to be embedded

[first_choice] rr ,lc or sr (optional, default value is "rr")

[Threshold granularity] Threshold granularity if first choice method is lc (optional, default value is 10)

Please notice:
1. “ec” method can be used with default, backup and rcookie policies

2. the first HTTP request without cookie may hit the group associated with the default policy and TM will choose a real service according to [first_choice] method.

3. when TM gets the response from the server with the configured cookie name, a string containing the real server information will be embedded at the head of the cookie value by TM. Then the modified response will be forwarded to the client.

4. subsequent client requests will have the modified cookie value from which TM can know the persistent real service. TM will remove the embedded real service information from the cookie value and forward the request with original cookie value to the server. So only the cookie value between the client and TM is alternated, the cookie value between TM and the real service keeps unchanged.

5. “ec” method supports “graceful shutdown” feature, just like pc , ic and rc method. The following is an example of cookie modifications in HTTP request and response when embed cookie method is used:

Response: “CookieName = black” ==> “CookieName = r1!?black” (real service name is embedded in the response before forwarding to the client)

Request: “CookieName = r1!?black” ==> “CookieName = abcdefghijk” (real service name is removed when forwarding the request to the real server) 

Other questions in this category
How do I configure slb (server load balancing)?
What are the types of real service?
How do I configure health check type?
How do I check for the status of server(s)?
What are slb group method algorithms?
What are slb policies and what are their types?
How do I configure static policy type?
How do I configure default policy type?
How do I configure backup policy type?
SLB Methods in Term OSI Concept
Round Robin (rr) SLB Definition
Shortest Response (sr) SLB Definition
Least Connection (lc) SLB Definition
Persistent IP (pi) SLB Definition
Hash IP (hi) SLB Definition
Consistent Hash IP (chi) SLB Definition
Port Range (port) SLB Definition
L2 MAC-Based SLB Definition
L3 IP-Based SLB Definition
SIP SLB Definition
RTSP SLB Definition
SNMP (snmp) SLB Definition
Persistent Cookie (pc) SLB Definition
Persistent Hostname (ph) SLB Definition
Persistent URL (pu) SLB Definition
Insert Cookie (ic) SLB Definition
Rewrite Cookie (rc) SLB Definition
Hash Cookie (hc) SLB Definition
Hash Header (hh) SLB Definition
Consistent Hash Header (chh) SLB Definition
Hash URL (hashurl) SLB Defnitions
Regular Expresssion (regex) SLB Definition
File Type (filetype) SLB Definition
QoS Cookie (cookie) SLB Definition
QoS Hostname (hostname) SLB Definition
Qos URL (url) SLB Definition
What is the range of ports to be used when connecting to backend servers?
How do I calculate least connection (lc) method threshold granularity and real server weight?
How do I configure Firewall Load Balancing (FWLB)?
How is the "Average Response time" calculated?
APV Deployment guide for SharePoint 2010
How to Decrypt Packet capture with Session keys?
Changes required while using Exchange 2019 as HTTPS Real Server
Windows Authentication Issue