What are slb group method algorithms?

Below are different SLB group method algorithms.

1. Least Connection (lc)
slb group method <group_name> lc [granularity] [{yes|no}]
Example: slb group method lctest lc 3 yes

[granularity]: how much active connection count for two real services must differ before they are treated as different by the algorithm. This parameter is optional, with a default value of 10.

[{yes|no}]: specifies whether round robin should be performed among the real services. Default is no.


2. Round Robin (rr)
slb group method <group_name> rr


3. Shortest Response (sr)
slb group method <group_name> sr [granularity] [{yes|no}]

[granularity]: how much the response time for two real services must differ before they are treated as different by the algorithm. This parameter is optional, the default value of 100.

[{yes|no}]: specifies whether round robin should be performed among the real services. Default is no.


4. Persistent Cookie (pc)
slb group method <group_name> pc


5. Persistent Hostname (ph)
slb group method <group_name> ph


6. Persistent IP (pi)
slb group method <group_name> pi


7. Persistent URL  (pu)
slb group method <group_name> pu


8. Insert Cookie  (ic)
slb group method <group_name> ic [cookie_name]

    Example: slb group method ictest ic MyArray
    Example: slb group method ictest ic

[cookie_name] parameter is optional. If no cookie name is given, then a random name will be generated and used.


9. Rewrite cookie (rc)
slb group method <group_name> rc cookie_name [off-set] [rr|sr|lc] [threshold]

[off_set] value is the number of protected bytes in a backend server generated cookie. Users must allow at least four (4) bytes of free space within the server cookie value for the Array appliance to perform this task. The default value is zero (0).
[rr|sr|lc] argument can be called the "first choice method". If a client request does not yet have an assigned real service, this method will be used to choose a real service for that client, based on the request properties appropriate to the group method.
[threshold] argument only applies if the "first choice method" is lc, and is the same as the group method lc threshold parameter.


10. Hash Cookie (hc)
slb group method <group_name> hc


11. Hash Header (hh)
slb group method <group_name> hh <header_name>
<header_name>: header name parameter must be a non-standard HTTP header.


12.  SSL Session ID (sslsid)
slb group method <group_name> sslsid [timeout]


13.  Hash IP (hi)
slb group method <group_name> hi [hash_bits]

[hash_bits]: optional field controls how many bits of the source IP are used in generating the hash. The value of <hash_bits> can be any number between 0 and 32 inclusive, with a default of 32.

14.  Consistent Hash IP (chi)
slb group method <group_name> chi [hash_bits]

[hash_bits]: optional field controls how many bits of the source IP are used in generating the hash. The value of <hash_bits> can be any number between 0 and 32 inclusive, with a default of 32.

 

For webui Array OS 6.4 or later: