Forum Discussion
Srecko_M__12636
Nov 29, 2013Nimbostratus
Persistence mirroring with irules
Hi,
we are using iRules to direct traffic to a different pool, when traffic comes to the same VIP, but to a different HTTP host.
For example:
when HTTP_REQUEST {
switch [string tolower ...
nitass_89166
Noctilucent
Will the record persist, in case you change the hostname? Another persistence record should be created, imho.
yes
active:
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) show ltm persistence persist-records all-properties
Sys::Persistent Connections
source-address - 172.28.20.111:80 - 200.200.200.101:80
------------------------------------------------------
TMM 1
Mode source-address
Value 172.28.20.17
Age (sec.) 3
Virtual Name /Common/bar
Virtual Addr 172.28.20.111:80
Node Addr 200.200.200.101:80
Pool Name /Common/foo
Client Addr 172.28.20.17
Owner entry
source-address - 172.28.20.111:80 - 200.200.200.111:80
------------------------------------------------------
TMM 1
Mode source-address
Value 172.28.20.17
Age (sec.) 1266
Virtual Name /Common/bar
Virtual Addr 172.28.20.111:80
Node Addr 200.200.200.111:80
Pool Name /Common/qux
Client Addr 172.28.20.17
Owner entry
Total records returned: 2
standby:
root@(ve11b)(cfg-sync In Sync)(Standby)(/Common)(tmos) show ltm persistence persist-records all-properties
Sys::Persistent Connections
source-address - 172.28.20.111:80 - 200.200.200.101:80
------------------------------------------------------
TMM 1
Mode source-address
Value 172.28.20.17
Age (sec.) 0
Virtual Name /Common/bar
Virtual Addr 172.28.20.111:80
Node Addr 200.200.200.101:80
Pool Name /Common/foo
Client Addr 172.28.20.17
Owner entry
source-address - 172.28.20.111:80 - 200.200.200.111:80
------------------------------------------------------
TMM 1
Mode source-address
Value 172.28.20.17
Age (sec.) 0
Virtual Name /Common/bar
Virtual Addr 172.28.20.111:80
Node Addr 200.200.200.111:80
Pool Name /Common/qux
Client Addr 172.28.20.17
Owner entry
Total records returned: 2
Dec 02, 2013
Thanks! :)
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