Jason_Hook_4092
Apr 12, 2010Nimbostratus
Expose pool member in response
I would like to expose which pool member responded to the request for tracking within TrueSight in front of the VIP.
This is what I feel will work, but I'd like some feedback whether this is clean and if I can add this on to VIPs that already have iRules on them. I don't have much experience with multiple iRules on a VIP and would like to know if this would interfere with others.
LTM v10.0.1
when HTTP_RESPONSE {
Remove header if already existing to keep from getting dups
HTTP::header remove "serverIP"
Insert header with responding server IP
HTTP::header insert "serverIP" [IP::server_addr]
}