Forum Discussion
Venkat_96088
Feb 02, 2012Nimbostratus
tmm error logs related to iRule
Hi,
The below iRule when configured did not give any syntax error. However, in /var/log/ltm tmm err logs are getting generated continuously. Also there are pakcet drops detected in 1.1 and 1...
Venkat_96088
Feb 03, 2012Nimbostratus
Hi Aaron, Thanks for your reply.
This virtual server has 3 virtual server enabled as per the below order, (aslo pls let me know if the ordering right)
demo_redirect
when HTTP_REQUEST {
if { [HTTP::host] starts_with "demo.ssig"} {
HTTP::redirect https://xxxx.com[HTTP::uri] } elseif {
[HTTP::host] starts_with "demo.sbtinvestments"} {
HTTP::redirect https://xxxx.com[HTTP::uri] } elseif {
[HTTP::host] starts_with "demo.mywealth"} {
HTTP::redirect https://xxxx.com[HTTP::uri] }
}
afsdemo_80
when HTTP_REQUEST {
set host [string tolower [HTTP::host]]
if { $host contains "legentclearing" } then {
node x.x.x.x 8003
} elseif { $host contains "sterling" }{
node x.x.x.x 8019
} elseif { $host contains "admin.streamer2" }{
node x.x.x.x 8002
} elseif { $host contains "janney2" }{
node x.x.x.x 9001
}
}
redirect_http2https
when HTTP_REQUEST {
HTTP::redirect https://[HTTP::host][HTTP::uri]
}
It is using the default "http" profile, please find below the output for this
tmsh list ltm profile http http
ltm profile http http {
adaptive-parsing enabled
basic-auth-realm none
compress disabled
compress-allow-http-10 disabled
compress-browser-workarounds disabled
compress-buffer-size 4096
compress-content-type-exclude none
compress-content-type-include { text/ "application/(xml|x-javascript)" }
compress-cpu-saver enabled
compress-gzip-level 1
compress-gzip-memory-level 8k
compress-gzip-window-size 16k
compress-keep-accept-encoding disabled
compress-method-prefer gzip
compress-min-size 1024
compress-uri-exclude none
compress-uri-include none
compress-vary-header enabled
lws-width 80
max-header-size 32768
oneconnect-transformations enabled
pipelining enabled
ramcache disabled
ramcache-aging-rate 9
ramcache-cache-control-mode all
ramcache-insert-age-header enabled
ramcache-max-age 3600
ramcache-max-entries 10000
ramcache-object-max-size 50000
ramcache-object-min-size 500
ramcache-size 100
ramcache-uri-exclude none
ramcache-uri-include none
ramcache-uri-pinned none
response-chunking selective
}
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