matthew_b_16251
Nov 11, 2015Nimbostratus
Irule to redirect certain device types to a specific pool member
Hi all,
I have a requirement to create an irule that will redirect all traffic connecting with a specific device type header to a specific member in the pool only. All other traffic must be load balanced with source address affinity.
Does the below syntax look correct
when HTTP_REQUEST { if { [HTTP::header exists "X-DeviceKey"] } { node xx.xx.xx.xx 80 } else { persist source_addr } }
Many thanks in advance Matt