Forum Discussion
PicassoMendez
Nimbostratus
Feb 19, 2015iRule POOLS and defualt persistence set?
Do the POOLs I call in an iRule get default persistence set?
2 Replies
- NikhilB
Employee
No. Can you show us your iRule?
- nitass
Employee
is this what you are asking?
[root@ve11b:Active:In Sync] config tmsh list ltm virtual bar ltm virtual bar { destination 172.28.24.10:80 ip-protocol tcp mask 255.255.255.255 persist { source_addr { default yes } } profiles { fastL4 { } } rules { qux } source 0.0.0.0/0 source-address-translation { type automap } vs-index 6 } [root@ve11b:Active:In Sync] config tmsh list ltm rule qux ltm rule qux { when CLIENT_ACCEPTED { pool foo } } [root@ve11b:Active:In Sync] config curl -I http://172.28.24.10 HTTP/1.1 200 OK Date: Fri, 20 Feb 2015 07:41:29 GMT Server: Apache/2.2.3 (CentOS) Last-Modified: Sun, 09 Feb 2014 08:39:51 GMT ETag: "41879c-59-2a9c23c0" Accept-Ranges: bytes Content-Length: 89 Content-Type: text/html; charset=UTF-8 [root@ve11b:Active:In Sync] config tmsh show ltm persistence persist-records all-properties Sys::Persistent Connections source-address - 172.28.24.10:80 - 200.200.200.101:80 ----------------------------------------------------- TMM 1 Mode source-address Value 172.28.24.12 Age (sec.) 6 Virtual Name /Common/bar Virtual Addr 172.28.24.10:80 Node Addr 200.200.200.101:80 Pool Name /Common/foo Client Addr 172.28.24.12 Owner entry Total records returned: 1
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