Jim_Couch_16225
Feb 13, 2015Nimbostratus
iRule - Down node using Response Header
My dev team and I would like to create an iRule that would look at a value in the response header in order to mark a node (in a pool) up or down. They'll use this for maintenance. Basically they'l be setting a value of "out" in a header named "x-node". I'll probably work to write that to the log as well so that during troubleshooting, I'll know why a node was marked down.
I'm very new to iRules but trying to learn. I have googled and searched for basic iRules, the use of curl, and I cant seem to get pointed in the right direction.
Thanks in advance.
Jim