Forum Discussion
Darthw_20046
Nimbostratus
Jan 31, 2013Ping members of the pool
I'm a noob to the F5 Big IP LTM devices we have. I've set up a SharePoint virtual IP to loadbalance connections to two front-end servers. The developer would like to be able to ping from a client w...
What_Lies_Bene1
Cirrostratus
Jan 31, 2013The iRule solution is unfortunately the only one I believe. <
You could use an iRule that returns this information when you request a certain URL not used by the application;
when LB_SELECTED {
Set variable ‘whichserver’ value to the selected Pool Member IP
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 }
}
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