11-22-2004 10:25 PM
Can anyone explain the behavior of the maxconn command under vserver? If I have maxconn=1000, what will happen to connection 1001?
Solved! Go to Solution.
11-23-2004 09:38 PM
You may want to try the 'bypass gateway' command introduced in ACNS 5.1. I'm not positive this works with load bypass on the CE, it may only work with authentication and unknown protocol bypass.
If it does work, you can remove the maxconns from your vserver and allow load bypass on the CE to redirect traffic when the CE becomes overloaded.
~Zach
11-23-2004 08:10 AM
In your example, connections above 1000 will be dropped.
Reference:
~Zach
11-23-2004 05:57 PM
I configured the maxconn in the CSM and the limit is frequently exceeded. That means a lot of connections will be dropped. What should I do if I do not want any connections to be dropped? Instead, I want them to be bypassed. The CSM is serving connections to CE7325.
11-23-2004 08:21 PM
Are you trying to protect the CE from being overloaded?
~Zach
11-23-2004 08:58 PM
Yes, I want to protect the CE and do not want connections to be dropped at the same time.
11-23-2004 09:38 PM
You may want to try the 'bypass gateway' command introduced in ACNS 5.1. I'm not positive this works with load bypass on the CE, it may only work with authentication and unknown protocol bypass.
If it does work, you can remove the maxconns from your vserver and allow load bypass on the CE to redirect traffic when the CE becomes overloaded.
~Zach
11-23-2004 10:32 PM
That sounds like a good idea, but I gotta test it before configuring it into the production network.
My current config has 2 serverfarms. One of the serverfarms is a backup to the first one. This backup will kick in when the first serverfarm become unavailable, and traffic to the backup will be bypassed.
Here's some info about the CSM config;
serverfarm BACKUPROUTE
no nat server
no nat client
predictor forward
!
serverfarm BRF-CE-FARM
no nat server
no nat client
predictor hash address destination
real x.x.x.x
maxconns 13000
inservice
real y.y.y.y
maxconns 13000
inservice
!
vserver BRF-CE
virtual 0.0.0.0 0.0.0.0 tcp www
serverfarm BRF-CE-FARM backup BACKUPROUTE
persistent rebalance
inservice
!
Pls correct me if I'm wrong: With the above config, when individual CE reaches the maxconn, traffic will not be sent to BACKUPROUTE. Instead it will be dropped.
11-26-2004 02:44 AM
HI,
from my understanding the backup service will be used if the connections exceed both connection limits. If the connection limit of one CE is exceeded every new connection will be placed to the second CE.
Cheers,
Joerg
11-26-2004 03:23 AM
Hmm... I thought the backup is for serverfarm only. And the maxconn is only applicable to real servers.
11-26-2004 04:07 AM
Yes this i true but if a real is taken "out of service as the max conn is reached and no operational real is remaining than the backup kicks in in my opinion.
Cheers,
Joerg
11-26-2004 04:42 AM
joerg is correct.
This is the way to go.
create a backup serverfarm with predictor forward.
Once all your CE reach maxconn, the backup will be used and traffic will be simply forwarded.
Regards,
Gilles.
11-28-2004 06:40 PM
So in my case, the primary serverfarm has 2 real servers. If the 1st realserver is operational & the 2nd reached Maxconn, the backup will not kick in. At the same time, the 2nd realserver is not serving the additional requests. So, what will happen to these requests?
11-28-2004 11:59 PM
HI,
if your 2nd real reaches the limit and the first has still some connections left until it reaches the MAX-Conn the connections will be places to this real. As soon as both are reaching the limit the backup will kick in.
Cheers,
Joerg
11-29-2004 12:17 AM
Hi Joerg,
If that's the behaviour with the "predictor hash address destination", then that sounds safe, as long as it's not dropping any connections. tq.
11-29-2004 12:37 AM
Hi,
well it's the behaviour of a serverfarm with configured boundaries like maxconnections. The predictor is an "advanced" load balancing mechanism which ensures that certain destianation IP's are forwarded to the same CE. I personally would prefer a predictor hash URL in a caching environment but destination IP should do the job as well... Only if a server moves from IP1 to IP2 (i.e. due to global server loadbalancing) you will store content twice.
In terms of your concern that connections are drop I want to say that no connection is dropped except you backup serverfarm is overloaded...
Kind regards,
Joerg
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