Forum Discussion
questions about irule 'table'
- Are tables synched in a cluster?
- when will it be possible to manipulate the tables (list, flush) from CLI?
- how to flush a table today? VS disable/enable? Thanks
2 Replies
- nitass
Employee
Are tables synched in a cluster?
do you mean between chassis?
if yes, it is synchronized by default (db statemirror.mirrorsessions) but you have to configure "between cluster" network mirroring and also configure mirroring address.
when will it be possible to manipulate the tables (list, flush) from CLI?
no but you can create virtual server and irule which executes table command.
e.g.
when HTTP_REQUEST { set cmd [string map {/ " "} [HTTP::uri]] if { $cmd eq " " } { HTTP::respond 200 content "Usage: /cmd/arg1/arg2/.../argn\r\n" noserver "Connection" "Close" } else { HTTP::respond 200 content [eval $cmd]\r\n noserver "Connection" "Close" } }how to flush a table today? VS disable/enable? Thanks
as above.
- John_Alam_45640Historic F5 Account
Worth mentioning that there are two timers, a no-touch (or idle) timeout and a lifetime, for every table record that you create. When either of these timers expire for a particular record, the record is flushed automatically.
You specify these timers but if you do not, The default is 180 seconds for the no-touch timeout and the default for the lifetime is indefinite.
In other words, if you do not specify either timeout, and you do not touch the record in 180 seconds it will be cleared.
HTH.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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