Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

Record pool member / node name or ip address in HTTP Headers

Hi,

I would like to record the pool member name / ip address in the http:response headers for debugging which hosts requests are comming from. Is there any way to do this?

Thanks
Dak
0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER
Hi Dak,

LTM won't know the pool member's name unless you wanted LTM to do a DNS lookup based on server IP. This would be very inefficient though. Here is an example which should insert the pool name, pool member IP:port in a response header.

 
when HTTP_RESPONSE {

# Insert pool name, member IP:port in a header named Pool-Info
HTTP::header insert Pool-Info [LB::server]
}


Aaron
0