Forum Discussion
robert_carney
Nimbostratus
May 20, 2016Irule to force node down anytime anther is up
I'm trying to set a Irule for a VIP that has many members that are setup in pairs to mark 1 member down if its partner is up. trying something like
when LB_SELECTED {
if { [LB::status node 1.2.3...
cjunior
Nacreous
May 20, 2016Hi,
If you could treat it as member pool (ip + port), I think you could try priority group or a reverse monitor to standby peer (e.g. where member B is down when specific monitoring to alias A is up).
So, if you really need to do this in an iRule, I think that events HTTP_REQUEST or CLIENT_ACCEPTED are more appropriated to do that since the event LB SELECTED occurs when the member has already been done.
I think too is not needed to down server B even you will check if server A is UP and being direct to him. Was this answer useful?
Respectfully
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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