balancing srcip

Unanswered Question
Feb 21st, 2007

Hi, what's the balancing srcip approch ?

Does it use an algorith based on source ip to identify the destination server ?

The customer need to remain on the same server for various tcp port: what's the best method ?

thank you in advance

greatings

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Gilles Dufour Wed, 02/21/2007 - 09:41

there are 2 ways to sticky to a server based on srcip.

The first method is 'balance srcip' which uses a hash function to obtain a server id.

The advantage is that no database is required. The same ip will always provide the same hash result.

The only problem is if you add/remove servers [or if they go up and down] than the hash algorithm will give different results.

The 2nd option is to use a normal balance method like roundrobin or leastconn and combine it with 'advanced-balance sticky-srcip'.

In this case, a database is created with each entry indicating which server to use for a particular ip.

Gilles.

Actions

This Discussion