Kumar_Annamalai
Jun 25, 2013Nimbostratus
Irule to check the given IP exist in any of the pools, Nodes & to return the status of this IP
Hi All,
I'm a newbie and request your kind help.
I have a requirement that i need to read the cookie value (with the IP address being set ) and then to check whether this IP exist in any of the Pool list and Nodes .
If the IP exist, Need to check the status of the IP (whether it is available / offline / online ) and then to redirect to this IP.
Can anyone suggest me how to check the status using iRule.
Tasks that i tried:
I'm able to get the cookie value and able to redirect to the specific destination.
Also was able to get the member status using iControl but not using the iRule. I'm not sure how to call the iControl inside the IRule File.
Thanking you in advance for your kind reply.
Thanks
Kumar