Forum Discussion
marzubus_58520
Nimbostratus
Jul 31, 2009Record 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?
...
hoolio
Cirrostratus
Jul 31, 2009Hi 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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects