Is there a command available to view the data held in the persistence table for LTM v11.2.1?
I have recently switched from using a persistence profile that affected all traffic to the VIP to an irule that only sets persistence if the URI matches a key word. After this change it appears that not all connections are getting persistence set.
Philip, try this tmsh command based on maybe client ip address:
“tmsh show /ltm persistence persist-records client-addr %client_IP%”
There are also other switches like:
key Specifies the key to look up in the persist table. It is based on the persist mode. mode Specifies the type of persistence. node-addr Specifies the address of the node with which the client session remains persistent. node-port Specifies the port of the node with which the client session remains persistent. pool Specifies the name of the pool with which the client session remains persistent. virtual Specifies the name of the virtual with which the client session remains persistent.
Philip, try this tmsh command based on maybe client ip address:
“tmsh show /ltm persistence persist-records client-addr %client_IP%”
There are also other switches like:
key Specifies the key to look up in the persist table. It is based on the persist mode. mode Specifies the type of persistence. node-addr Specifies the address of the node with which the client session remains persistent. node-port Specifies the port of the node with which the client session remains persistent. pool Specifies the name of the pool with which the client session remains persistent. virtual Specifies the name of the virtual with which the client session remains persistent.
Is there a help file or guide to list out what is being returned and what options are available?
I’ve used what you listed above to pull the persistence data for one of my pools, but now I’m not sure what the data is being returned. It is showing the type of persistence, the IP/port of the VIP, the IP/port of the node, and then a number.
I suspect the number at the end is the TMM process as it matches up with output in “tmsh show /sys connection cs-client-addr %IP_ADDR%”
Another way to look at persistence is thru the GUI; Statistics ->Module Statistics->Local Traffic. Select “Persistence Records” from Statistics Type drop down, enter pool or client IP in filter.