Forum Discussion
HASH Carp Persistence
Hi guys,
I've just configured HASH persistence using CARP Algorithm, as describe in this document:
http://support.f5.com/kb/en-us/solutions/public/11000/300/sol11362.html
I've defined a persistence profile with this options:
Hash Algorithm: CARP
iRule: Select the iRule you created which contains the persist hash command.
Timeout: 0 seconds
This is the iRule:
when CLIENT_ACCEPTED { persist carp [IP::client_addr] }
This Persistence Profile has been applied in a Virtual Server type "Performance Layer (L4)" port UDP.
I've noticed something strange, active connections has increased around 35-40%, is this normal?, using this algorithm active connections have to be higher?
Thanks for your help, Ron
- nitassEmployee
I've noticed something strange, active connections has increased around 35-40%, is this normal?, using this algorithm active connections have to be higher?
i do not think persistence relates to number of active connections.
- Ron79_145050NimbostratusThanks nitass, I don't think that either until now.
- nitass_89166Noctilucent
I've noticed something strange, active connections has increased around 35-40%, is this normal?, using this algorithm active connections have to be higher?
i do not think persistence relates to number of active connections.
- Ron79_145050NimbostratusThanks nitass, I don't think that either until now.
- AneshCirrostratus
Two Questions Q1Can you use this iRule along with Hash persistance for SSL passthrough VIP. Q2.FRom what i understand CARP will have no time out value and will keep the session open as long as the client keeps the session open, Am i correct?
- nitassEmployee
Q1 Can you use this iRule along with Hash persistance for SSL passthrough VIP.
if you persist on layer 4 data such as client ip, it should be okay.
Q2 FRom what i understand CARP will have no time out value and will keep the session open as long as the client keeps the session open, Am i correct?
i understand persistence tells what server bigip has to send traffic to. then connection entry will be created in connection table. persistence does nothing on the entry in the connection table.
- AneshCirrostratus
Thanks Nitass,
"i understand persistence tells what server bigip has to send traffic to. then connection entry will be created in connection table. persistence does nothing on the entry in the connection table."
So will the connection time out after 5 mins if a default tcp profile is applied or will the connection continue to persist to the same server
- nitassEmployee
So will the connection time out after 5 mins if a default tcp profile is applied or will the connection continue to persist to the same server
connection will be reset. anyway, if a new connection is coming and the persistence record is not timeout yet, it will be sent to the same server as long as it matches the persistence record.
• Protocol profile idle timeouts (if the Reset On Timeout setting is enabled) The BIG-IP system tracks connection flows by adding an entry to the connection table. When the connection flow becomes idle, the BIG-IP system starts a timer and closes the connection with a TCP RST packet when the connection reaches the idle session timeout. The TCP RST packet is sent on the client and server side of the connection, and the source IP address of the reset is the relevant virtual server IP address.
sol9812: Overview of BIG-IP TCP RST behavior
http://support.f5.com/kb/en-us/solutions/public/9000/800/sol9812.html - AneshCirrostratus
WOW!!, Thanks for the quick turnaround , Nitass
So if RST on timeout is enabled, The connection will be reset and hence the session will be terminated. But if this setting is disabled, will the user face any impact, since a RST packet is not sent?
- nitassEmployee
But if this setting is disabled, will the user face any impact, since a RST packet is not sent?
if reset on timeout is disabled, tcp reset won't be sent but connection entry is still removed from connection table. so, subsequent packet will be reset anyway (since no entry in connection table) unless loose initiation is enabled.
Enabling the Loose Initiation option allows the system to initialize a connection when it receives any TCP packet, rather than requiring a SYN packet for connection initiation.
sol7595: Overview of IP forwarding virtual servers
http://support.f5.com/kb/en-us/solutions/public/7000/500/sol7595.html - AneshCirrostratus
is loose initiation feature availabe on a standard tcp profile? and with regard to viprions i think fastl4 profile has a bug
http://support.f5.com/kb/en-us/solutions/public/14000/100/sol14187
- nitassEmployee
is loose initiation feature availabe on a standard tcp profile?
no, it is only available on fastl4 profile.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com