For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

JP_124708's avatar
JP_124708
Icon for Nimbostratus rankNimbostratus
Aug 27, 2015

How To Change To Previous Node Despite Persistence

We have an application that uses three servers in a Load Balancing Pool. And, we run with no persistence since the application requires that we switch Nodes with each request. I know that sounds strange, but it's the way the App Developers need it.

 

But, in certain situations, the application needs to send the request to the previously selected node. Specifically, when the application does inquiries (GETs) it needs to always change nodes, but when it does updates (POSTs) it needs to stay with the previously selected node.

 

I do have an iRule set up to select a specific node, but the tricky part is to figure out what the last selected node was. To do this, I set up a Cookie that would track the Node Selected. The challenge is that the client isn't a Web Browser, it's a Java application. I was hoping the application developer could program in to read the Cookie and send it back. So far, he is unwilling to do that.

 

Anybody have any ideas how I could do this? Is there some place in LTM where I could somehow retrieve the last session without relying on a Cookie or some other Header that required the Programmer to send it?

 

2 Replies

  • HTTP is stateless, so you need some form of persistence enabled to be able to track multiple requests over multiple TCP connections. If you can't support cookies,

     

    1. Are source IP addresses unique?

       

    2. Is there anything persistent and unique in the Java client's payload?

       

  • Thanks for the reply. You confirmed that the client needs to provide something that will let me manage the persistence.