I have the following iRule tagged to a dev Siebel environment:
when HTTP_RESPONSE {
if { [regsub -all "Siebel" [HTTP::payload] "[LB::server addr] - Siebel" newdata] } {
HTTP::payload replace 0 [HTTP::payload length] $newdata
}
}
That works properly, and the browser title bar changes from “Siebel” to “1.1.1.1 Siebel”. However, if I use the same code and change:
[LB::server addr]
to
[LB::server name]
I now get the browser title bar saying “pool_siebel_dev 1.1.1.1 80”, which is the correct response if I were using [LB::server] (if I do, then I get what I’m expecting).
I get 0 failures or aborts in the irule, it just doesn’t like the “name”.
All of my nodes have names.
All of my nodes were added as IP addresses, not DNS names.
Reverse DNS is fails with dig, works with nslookup/tracepath - I don’t know why this is yet.
I’ve tried all of the above variations to LB::server.
the HTTP profile rechunks all data, but chunking and HTTP/1.1 is required for the application, so forcing it off as many rules do won’t work for me.
If anyone has any ideas, I’d love to hear them. Also, devcentral fails the “LB::server” search as invalid syntax - makes hunting for these problems *very* difficult.
Rob