Forum Discussion
Craig_17766
Nimbostratus
Jul 10, 2013Marking node for maintenance but accessible for testing
Hi all,
We have a website over 3 nodes on a virtual server with source persistency.
We use a monitor to check for a specific html file to pull the node out for maintenance.
The issue I have...
Kevin_Stewart
Employee
Jul 10, 2013Not only that, but you could selectively (and dangerously) point to a specific node in the URI:
URI = /?node-select=172.16.16.1.80 ** notice value equals IP.PORT (172.16.16.1 80)**
when HTTP_REQUEST {
if { ( [IP::client_addr] equals "172.16.32.2" ) and ( [HTTP::uri] starts_with "/?node-select=" ) } {
catch {
scan [lindex [split [HTTP::uri] "="] 1] {%d.%d.%d.%d.%d} ip1 ip2 ip3 ip4 port
node $ip1.$ip2.$ip3.$ip4 $port
HTTP::uri "/"
}
}
}
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