Forum Discussion
Vishnu_Palanis1
Nimbostratus
May 09, 2008Not accept connection for pool if no members are active
How do I tell F5 not to accept connections for a certain pool (or a virtual server) if none of the nodes in the pool are active?
Is this just a configuration or do I have to write an iRule?
I didn't see any configuration setting, so I looked at writing an iRule. I see the event CLIENT_ACCEPTED which is triggered after the connection is accepted. Is there an event that gets triggered before the connection is accepted, so I can 'reject' the connection?
Ideas?
Thanks in advance.
- hoolio
Cirrostratus
I don't believe so. You can check this post (Click here) for details and an example of how to send a TCP RST after the three way handshake is established. - Vishnu_Palanis1
Nimbostratus
Thank you. Wrote this iRule to do what you suggested. - hoolio
Cirrostratus
That looks like a good method to send a reset if the pool doesn't have any members marked up. - Krzysztof_Kozlo
Nimbostratus
If you want to simply ignore connections to downed servers, and don't need any of the more advanced features of the TCP profile, you can use the fastL4 profile. It will ignore SYN packets when all the back-end servers are down.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects