Email to friend
Your name: *
Your email: *
Friend's email: *
Comment:


Persistent IP (pi) SLB Definition

This SLB method tie to the source IP of the client to the real server processing the request. An example application for this metric is when doing e-commerce transactions and a specific server needs to maintain state about the client’s transaction. Keep in mind that if a large ISP deploys a Mega-Proxy, that one real server could service thousands of requests. (A Mega-Proxy is used to proxy all client requests from a single IP.)

slb group method <group_name> pi <hash_bits> [rr, sr, lc]
hash_bits - Number of IP bits to be hashed (1 - 32) when creating a hash table. (Default value is 32)
[rr, sr, lc] - Method to use when choosing the first server (rr, sr, lc). (Default value is rr)

 

Persistent IP (PI):
Hash the client IP into a rang of number "greater than the total Real Service available" and use the Real Service base on the result the hashed value. If the entry is blank, the client will be Round Robin among the available Real Services to set up a new persistence for that client. Therefore, adding or removing members from the Group will not disrupt existing persistence.The new added service will not get hit until " slb group flush" command is entered. However, the existing connections and persistency will be affected by the command.