Forum Discussion

Ecesureshkumar's avatar
Ecesureshkumar
Icon for Nimbostratus rankNimbostratus
Jul 26, 2013

how to create a persistance irule for application

Hi team,

 

 

I am very new to F5 LTM. we have two application servers running the same service and same has been confirgured on the Big IP LTM device. Applications are developed for ecomerce, hence persistance play a main role in this. As of now we tried all default persistance, but we are facing issues on this. Hence we have planned to create an irule for universal persistance. We need input on the following

 

1) On what basis Irule should be configured ?

 

2) How to analyse packets on F5 to create this irule ?

 

If you could help us to achieve this, it would be highly appreciated. Thanks in advance.

 

Regards,

 

Suresh.

 

 

1 Reply

  • As of now we tried all default persistance, but we are facing issues on this.what is the issue?

     

     

    1) On what basis Irule should be configured ?there is example universal persistence irule in askf5 sol. is it somehow helpful?

     

     

    sol7392: Overview of universal persistence

     

    http://support.f5.com/kb/en-us/solutions/public/7000/300/sol7392.html

     

     

    2) How to analyse packets on F5 to create this irule ?usually i capture end-to-end packet (both client-side and server-side). the following is example tcpdump command i use.

     

     

    e.g.

     

    tcpdump -nni 0.0:nnn -s0 -w /var/tmp/output.pcap host x.x.x.x or host y.y.y.y and port zzz

     

    x.x.x.x is virtual server ip

     

    y.y.y.y is pool member ip

     

    zzz is service port number

     

     

    just in case if you have not yet seen this sol. hope it is helpful to understand how connection is created.

     

     

    sol8082: Overview of TCP connection set-up for BIG-IP LTM virtual server types

     

    http://support.f5.com/kb/en-us/solutions/public/8000/000/sol8082.html