Forum Discussion

Akhilesh_128432's avatar
Akhilesh_128432
Icon for Nimbostratus rankNimbostratus
Feb 12, 2016

persistence command

Hi Team,

 

I am trying to find some advance persistence commands for troubleshooting. Right now I am using "b persist show all" but I am not seeing the mode for Cookie, all are showing as mode ssl. is there any other commands I can try?

 

Also I need some commands to get the bigip inserted cookie information and also universal persistence data, is there any way to get that.

 

b persist show all PERSISTENT CONNECTIONS | Mode ssl Value 56be12db17d09495f0402162181e272ea2257994efd672f1a233a8e6666248ed | virtual 10.14.32.147:rcp-config node 10.14.32.149:rcp-config age 294sec | Mode ssl Value 56be12db8b413ee3622b53d892925223eff8f0eefbfafae73310ce6eb6b0fb45 | virtual 10.14.32.147:rcp-config node 10.14.32.149:rcp-config age 293sec | Mode ssl Value 56be12ddc99bdc60c827dd53f40569712093d0d313b0eb70b79d189c141df51b | virtual 10.14.32.147:rcp-config node 10.14.32.149:rcp-config age 171sec

 

3 Replies

  • Hi Akhilesh,

    glad to hear you've switched to the

    [persist cookie]
    mode... 😉

    To answer your question. There is no TMSH or BIGPIPE command to show you the records for the Cookie-based persistence mode. The reason behind is, that cookie persistence don't maintain a session on your F5. The persistence information are directly written into the client side cookie and evaluated by your F5 on every request...

    To see universal persistence data you may issue the command below...

    tmsh show ltm persistence persist-records all-properties

    Cheers, Kai

  • Thanks kai for helping me.

     

    1) Can we enable debug mode for /var/log/ltm- to see more information.

     

    2) As I told already, I am doing a universal persistence for my mobile traffic. The irule will specifically looks for a context id in mobile traffic and then do a persistence based on that. How can i validate this from F5 logs and traffic.

     

  • As far as i know there is no build in debug mode for cookie persistence. But you may try out the Persistence Cookie Logger iRule which can be found on CodeShare...

     

    Warning: The code of this iRule is somewhat outdated and not CMP-aware. So please don't use it in production environments!

     

    https://devcentral.f5.com/codeshare/persistence-cookie-logger

     

    Note: My initial post already contains the TMSH command to anylyse the persistence table records for your universal persistence.

     

    Cheers, Kai