Forum Discussion
tiwang
Nimbostratus
Mar 07, 2014Status flag on virtual server set to green?
hi out there
Probably a simple question but I am out of ideas right now - in the GUI for ltm and various other Things there is often a status flag - either red - blue og green.
On a vs in the ltm th...
tiwang
Nimbostratus
Mar 07, 2014hi patrik yes but if I assign a pool trough a irule - is the status then reflected to the GUI? I had a similar setup with another vs where we assign the pool through a irule
when HTTP_REQUEST { Log debug messages to /var/log/ltm? 1=yes, 0=no. set host_debug 0
Need to force the host header replacement and HTTP:: commands into the clientside context as the HTTP_REQUEST_SEND event is in the serverside context
if {$host_debug}{log local0. "[HTTP::host]: [HTTP::method] request to [HTTP::host][HTTP::uri]"}
Look up the selected server name in the datagroup to get the right pool
set pool_name_value [class match -value [HTTP::host] equals /dk_dmz/DK_AE_IP_pools_dg]
if {$host_debug}{log local0. "[IP::client_addr]:[TCP::client_port]: Looked up [HTTP::host], found: $pool_name_value."}
Check if the lookup returned a value
if {$pool_name_value ne ""}{
Replace pool
pool $pool_name_value
if {$host_debug}{log local0. "[HTTP::host]: Replaced default pool with $pool_name_value."}
}
}
but this is not refelcted here ?
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