Forum Discussion
Interrogate Pool Member Priority Group from iRule
- 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.
I'm building an iRule which will reply to a CDN health check about the health of the service.
The pool in question has two sets of servers, priority 0 and priority 100. App level health checks inform the LTM which members are active. If the servers in one group are active, we consider that datacenter degraded and would like that to be accounted for in the health check.
- PauliusSep 27, 2023MVP
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.
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