Bhargav_Kesavan
Jun 21, 2018Nimbostratus
Is this achievable? Mark a LTM VIP down if one of the Pool is down.
Hi All,
I've an LTM VIP, which has two pools V1, V2.
I've an iRule that directs URLs based on context path to respective Pools.
Currently, even if one pool goes down (underlying member nodes are down), LTM is still up & serves call to other Pool.
Is it possible to mark LTM VIP as down even if one Pool is down?
Because GTM will not mark LTM as down unless all pools under LTM is down & I want LTM to be down even if one Pool in LTM goes down.
We've the below iRule now
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/test/v1/*" { pool BK7-TEST-8080 }
"/example/v2/*" { pool BK7-EXAMPLE-8280 }
}
}