Forum Discussion
Monitor multiple actions on pool
Hi all,
We have configured two http health monitors for one pool which contains two nodes. The two nodes maintain an individual txt statuspage, indicating their current status with either receive string TSN-200 (OK) and receive disable strings TSN-500 (ERROR) and TSN-503 (MAINTENANCE). We have two health monitors since we can't include two receive disable strings in one health monitor, so we've split TSN-500 and TSN-503 over both.
The current 'action on status down' is set to none, which means that it will drain the node when either 5xx status pops up on the statuspage. However, we would like TSN-500 errors to reject all the current and new connections to the faulty node. TSN-503 status should still drain the node.
Version 13.x
Could anybody assist us in this, or is it simply not possible to leverage different actions for TSN-500 and TSN-503, eventually via other methods like iRules?
Kind regards,
Dave
- nathe
Cirrocumulus
Dave,
the only way i think you could do this is to create two pools, both with the same nodes in, but one group as the TSN-500 disable string and the other pool has TSN-503 one. You then can ensure the Action on Service Down is set to Reject. You would then need an iRule to choose pool based on number of available pool members, or something like that.
Hope this helps,
N
- Hamish
Cirrocumulus
Have you tried an external monitor?
That can be written in perl or something similar. Then you can perform a curl to query the pool member and have as many tests as you like on the response.
H
- Davethoonsen
Altocumulus
Hi guys,
Thanks for the info. I'l look into it and see what fits best.
Cheers!
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