|
Posted by on May 22, 2006, 9:38 pm
If you were Registered and logged in, you could reply and use other advanced thread options
hello
could someone explain how the alteon uses the 'hash' metric to load
balance. if using filters to redirect traffic to a real server group
and specifiyng thash 'sip' this tells the alteon to keep the same
source ip to the same real server, how does the alteon do this?
thanks
|
|
Posted by Dophi on May 23, 2006, 5:12 am
There are 2 different kinds "hash" functions on Alteon. One for SLB and
another one for Filter.
1. /cfg/slb/group <group number>/metric hash
a. For Application Redirection, the client destination IP address is
used. All requests for a
specific IP destination address will be sent to the same server. This
is particularly useful
for maximizing successful cache hits.
b. For SLB, the client source IP address is used. All requests from a
specific client will be
sent to the same server. This option is useful for applications where
client information
must be retained between sessions.
2. /cfg/slb/filt <filter number>/adv/thash
Allows you to choose hash parameter to use for filter redirection.
The Default is auto. The sip
option allows you to perform tunable hash on source IP address for this
filter. The option dip
allows you to perform tunable hash on destination IP address for this
filter. The option both
allows you to perform tunable hash on both source IP address and the
destination IP address at the same time. The option sip+sport allows
you to perform tunable hash on both source IP address and source port
at the same time.
So, Alteon uses source IP to calculate each session and redirects it to
a real server. We can't know which sever will be assigned by Alteon on
the first session from a client but can control every session from the
same 24-bit source IP address will be redirected to the same real
server as the first session.
|
|
Posted by on May 23, 2006, 1:48 pm
thanku, what is exactly tunable hash? does the alteon pass the sip
value of the client to the group if you have metric 'hash' specified?
is the purpose so the alteon can create an index for the session (based
on sip) to speed up subsuqent requests from the client with the same
source ip?
thanks
|
|
Posted by Dophi on May 23, 2006, 10:47 pm
As I mentioned above, tunable hash for Alteon is a hash algorithm which
we can change parameters in order to achieve a purpose of redirections
of filters. Compare with the hash function of a real group, the
parameters of tunable hash can be changed. So, it is tunable.
Alteon always keeps source IP of every packets unless you enable proxy
IP function or NAT. No matter what metric you choose, Alteon never
changes the source IP of every packets. It only uses source IP,
destination IP, or source port to make a load balance or redirecting
decision.
Yes, in your case, Alteon uses source IP to make and maintain a session
table to keep load balance function properly.
|
| Similar Threads | Posted | | Alteon AD4 Web Switch | March 9, 2005, 5:59 pm |
| Alteon AD3 and WEBDAV | September 24, 2005, 8:02 pm |
| Alteon tsdump question | April 12, 2005, 4:58 pm |
| Alteon binary images. | May 15, 2005, 7:34 pm |
| Alteon AD4 configuration problem | September 21, 2005, 3:38 pm |
| Alteon config needed | March 7, 2006, 7:09 pm |
| alteon and vrrp failover | April 19, 2006, 12:57 pm |
| alteon sync question | July 13, 2006, 1:38 pm |
| Alteon WebOS Images? | July 19, 2006, 12:37 pm |
| alteon filter question | August 15, 2006, 6:32 pm |
|
|