ed_vanpetten
Feb 04, 2010Nimbostratus
Deleting a member from a Pool from an irule
I have an application which uses Cookie Persistence, which means that you can't stop the traffic flow to a pool member without removing the member from the pool - deactivating it doesn't work.
In order to stop the flow of traffic to one pool member at a time, I need to do the same thing from within an irule that a command like "bigpipe pool member delete" does from the command line. And, of course, to re-add the member when I have completed teh things that I need to do with it out of the rotation.
I found the TCL "exec" command, but the irule editor (which rocks, btw) bars its use with 'command is disabled: "exec"'.
Is there any way to either remove a pool member from a pool or to execute the bigpipe command from within an irule to that end?
Thanks in advance for the help.