Forum Discussion
Mark a VS down when 1 pool member is down
Hello Michael,
The GUI catches most syntax issues when you attempt to create the iRule, so I think you're good there. While your iRule is generating a response that should accurately predict whether or not 4 pool members are up, it is not actually disabling that VS, So traffic will continue on to the same VS. Unless of course you have some sort of routed fail-over based on that response; I'll admit that that's outside my wheelhouse and I can't seem to find any documentation on it.
Looking quickly at the source for your code, it looked like most of the solutions revolved around a monitor on GTM specifically checking the response of the VIP, so that if GTM detected that the F5 was down, it would no longer send traffic to that F5. This is why they implemented that response code solution; GTM is no longer sending traffic to a vs based on the response it got from the VS, down or up. Thus, the VS itself would still accept traffic.
So your troubleshooting depends a little on the architecture of your site. If you have just the LTMs, try looking in to commands to disable the pool members/vs. If you're using a GTM, I would double check whatever status monitor you have in place, and make sure it's listening for the right response code at the right uri. Posting a little more information about your issue might also give people more ideas to help you troubleshoot.
Best of luck,
Austin
- emilhag_383852Feb 18, 2019
Nimbostratus
Hello,
Thank you for the responses.
@Jaikumar - the problem with this approach is that member 1.1.1.1:80 needs to go do for all to go down right? If 1.1.1.2:80 goes down it does not trigger the other members and therefore the VS to go down.
@Austin - We have strictly LTM, we have another possible solution with our design that we will test today and if successful I will let you guys know.
- jaikumar_f5Feb 19, 2019
Noctilucent
Updated Emil, take a look in my original ans
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