Referenced pools in iRules show Virtual Server as Up while the pool is Down: Any solution?
I'm faced with a problem where an iRule that was written some time ago is now creating some discomfort during decommission of the Virtual Servers.
I came to understand that any referenced pools within an iRule are being monitored as well, so if the pools within it are up and running, then the Virtual Server is considered as up and running as well.
The issue came up when decommissioning some Virtual Servers, where the pool members had been forced offline, but the Virtual Server was still online and kept responding. By investigating the VS, it had an iRule attached, referencing a specific pool (which of course is online and reachable).
I understand that the behaviour is by-design, as specified in the following KB:
My question is: Is there a possibility to avoid this, meaning to reference a pool within the iRule so that the VS doesn't monitor it and doesn't use such pool for availability? Maybe there's a simpler solution, but at the moment it's eluding me.
Thanks for any inputs you might have.