Forum Discussion
besogon_9363
Jan 23, 2012Nimbostratus
VIP not to accept connections
Hello,
Can somebody please help me with an iRule that would not accept connections when there no active pool members?
I know this sounds crazy, but the application guys did not want to do a redirect to a different VIP.
Thanks
- George_Watkins_Historic F5 AccountIf the VIP's pool does not have any available members, the end user will receive a TCP reset. There currently is not a method in iRules for dropping connection (ignoring the first SYN) similar to a firewall rule. If all you want is a reset, then your current setup should work.
- George_Watkins_Historic F5 AccountI didn't provide the iRule code because it would be redundant to the default behavior and could make troubleshooting confusing. If you want an iRule that does the same thing, you could do this:
when LB_FAILED { when load balancing fails, send users a TCP reset discard }
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