02-22-2012 05:16 PM
There are 2 real servers in a server farm. Is there a way to route a connection from a particular cilent to the a particular real server in the serverfarm through the VIP.
02-23-2012 12:59 AM
Hi,
On which product are you trying to do this? The answer is different on CSS, CSM or ACE
Daniel
02-23-2012 01:03 AM
Cisco ACE
CF
02-23-2012 01:29 AM
On the ACE, there are two possibilities:
If you are using IP stickiness, you can create a static sticky entry. This will force a client to a specific server as long as this server is available. If this server is down, it will send it to a different one. The way to configure this is by using the "static client source x.x.x.x rserver
The second option would be creating a HTTP load-balance class-map with a "match source-address" statement and then send these to a serverfarm composed of only the server you want to use. This approach is more complex to implement and has the drawback that if the server goes down, connections from this client would be dropped. On the other hand, it doesn't need IP stickiness to work.
If you need more details regarding any of the two solutions, just let me know.
Daniel
02-23-2012 02:29 AM
Hi Daniel,
sticky ip-netmask 255.255.255.255 address source TEST
timeout 60
replicate sticky
serverfarm TEST-SF
static client source 1.1.1.1 rserver rs1
Will this config work?
CF
02-23-2012 02:58 AM
Hi
The configuration of the sticky group itself is fine (including the static entry), but you don't configure the serverfarm inside the sticky group.
For more details and examples of how stickiness is configured, please, check the link below:
Daniel
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide