Forum Discussion
Now I catched your point.
Well, there is no way to check pool members IPs during the iRule execution.
But if the loadbalancing decision takes place, you have the chance to figure out the IP using:
https://clouddocs.f5.com/api/irules/LB__server.html
Another chance will be to use a periodic iCall to populate one data-group with the list of all IP used in the ephemeral pool.
Regards,
Dario.
Apr 25, 2021
Sure, but take into account this:
"Note: The results for all query types should be cached according to the Time To Live on the response. Subsequent calls using RESOLV::lookup will use the cache."
Regards,
Dario.