Forum Discussion

marzubus_58520's avatar
marzubus_58520
Icon for Nimbostratus rankNimbostratus
Jul 31, 2009

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

1 Reply

  • 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