Forum Discussion

danA's avatar
danA
Icon for Altostratus rankAltostratus
Sep 26, 2023
Solved

Interrogate Pool Member Priority Group from iRule

Hi, Is it possible to programatically identifiy the priority group of a pool member from within an iRule? I'd like to be able to combine that information with the results of active_members to be abl...
  • Paulius's avatar
    Paulius
    Sep 27, 2023

    danA Sadly, I'm not aware of a native way of providing the priority group number in an HTTP header field so that the CDN can see this as a degraded virtual server. I believe the better option here would be to have each pool member in each priority group have a unique response to a specific HTTP path so if the CDN sees a certain response it will see it as a degraded VS. For instance priority 0 pool members in path /healthmonitor could have a response string of "Priority 0 active" and then the pool members in 100 could have /healthmonitor with a response of "Priority 100 active" which would then kick off a degraded event from the CDN side of things.