Forum Discussion
DarthW_125478
Nimbostratus
Dec 27, 2012iRule to ping host
I'm pretty new to the Big IP load balancers. We have a couple servers on which we have SharePoint sites load balanced. The load balancing appears to work fine. Obviously, I've set up a Virtual Ser...
What_Lies_Bene1
Cirrostratus
Dec 28, 2012Or you could use something a little more complex to send the data in response to a specific request URI:
when LB_SELECTED {
set whichserver [LB::server addr]
}
when HTTP_REQUEST {
if { string tolower [HTTP::uri] equals "/whichserver" } {
HTTP::respond 200 content "Real server IP is: $whichserver" noserver Content-Type
"text/html" Connection "Close"
Stop processing the iRule for this event here
return }
}
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