Forum Discussion
ITOPSNetwTeam_6
Nimbostratus
Jul 28, 2017Error page if a FQDN node is unavailable
Hi,
Using an LTM running V11.5.4, I load balance a web application to a FQDN node with an iRule :
when HTTP_REQUEST {
set dest [RESOLV::lookup @8.8.8.8 -a FQDN-of-the-node]
log local0.info "...
JG
Cumulonimbus
Aug 01, 2017Then try the following:
when HTTP_REQUEST {
set dest [RESOLV::lookup @8.8.8.8 -a FQDN-of-the-node]
log local0.info "destination address : $dest"
if { $dest ne "" } {
node $dest
log local0.info "node used : $dest"
} else {
HTTP::fallback "http://host.domain.com/redirect.html"
}
}
.
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