iRule to select test pool based on cookie/env variable?
we have a virtual server mapping to a pool with one apache web node.
client wants to test the new node via the virtual server.
Can we craft an iRule to direct her session to the new pool/node based on a cookie/env variable she sets beforehand ? (and then reset her session routing back to production after her testing is done?) (I imagine this kind of scheme could also integrate with the app itself so the app say picks up the cookie and announces when its in test mode)
Can someone please point me at an example of this or suggest a better way to do this with our BigIPs? (BIG-IP 10.2.1 Build 511.0 Hotfix HF3)