Do the POOLs I call in an iRule get default persistence set?
No. Can you show us your iRule?
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