Forum Discussion
Ulf_Zimmermann_
Nimbostratus
Sep 11, 2009Checking for file from iRule?
I am looking at implementing a downtime pool for something like 50-60 virtual servers at a time. My current idea would involve an iRule always applied to these virtual servers which as the first actio...
The_Bhattman
Nimbostratus
Sep 15, 2009Put in a log statement to see what is contained in the profile.
when HTTP_REQUEST {
log local0. "server SSL profile enabled: [PROFILE::serverssl name]"
if { [PROFILE::exists serverssl] == 1 } {
set downtimepool "Downtime-SSL"
set downtimemember "10.21.67.103"
set downtimeport "16443"
log local0. "Virtual server has SSL server profile"
} else {
set downtimepool "Downtime-NonSSL"
set downtimemember "10.21.67.103"
set downtimeport "16080"
log local0. "Virtual server has no SSL server profile"
k
}
if { ([LB::status pool $downtimepool member $downtimemember $downtimeport] eq "up") and (![IP::addr [IP::client_addr]/16 equals 10.21.0.0]) } {
pool $::downtimepool
log local0. "Sending request to pool $downtimepool"
}
}
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
