Forum Discussion

Tariq_Sako_9038's avatar
Tariq_Sako_9038
Icon for Nimbostratus rankNimbostratus
Feb 10, 2014

F5 BigIP load balancing inside the session

Hi All, i'm facing an issue on my box! my client opens one session with the server, and within that session i have hundred of sessions exchanged, now the load balance only balance the first actual session! is there anyway that i can let the box understand that there is many other sessions inside the primary session?

 

7 Replies

  • Hi, if I right understand your "hundred sessions within session", you want to direct all sessions from one client to the same node? If yes you need to persistance profile to the virtual server.

     

    Go to: Local Traffic \ Virtual server name \Resources \ Default persistance profile \ choose source_addr

     

    I think source address persistance will be an easy way in your case. About other type of persistance link

     

  • thanks a lot sir for your time to answer this, actually this is not my problem, the problem is that the i want the hundreds sessions to be load balanced! the balancer only see one session!

     

  • well its a custom TCP port.. but inside that original session, the other hundred sessions are opened by and XML code..

     

  • Okay, assuming the internal protocol is HTTP/XML, it's probably also TCP-based. So are these many layer 7 requests inside a single layer TCP session, or multiple (atomic) TCP sessions inside another persistent TCP session? And you've established a TCP session with one server, do you need these internal sessions (layer 4 or 7) to "load balance" to many other servers? Where does the BIG-IP fit into those scenario? Is there any pattern to how the internal sessions should be spread across services, or is it just round robin?

     

  • if it is xml over tcp, have you tried oneconnect profile?

    When a OneConnect profile is enabled for a TCP virtual server that does not have an HTTP profile applied, and a client sends multiple requests within a single connection, the BIG-IP system is able to process each request individually. The BIG-IP system sends the requests to different destination servers as determined by the load balancing method. Without a OneConnect profile enabled for the virtual server, the BIG-IP system performs load-balancing only once for each TCP connection.
    

    sol7208: Overview of the OneConnect profile

    http://support.f5.com/kb/en-us/solutions/public/7000/200/sol7208.html
  • I think what you gentlemen suggested the one-connect profile might work! anyway i dont care how they are spread to the servers, as long as it load balance it, cause once its up and running we are talking about thousands of requests not hundreds only.. i will check that one connect profile and update you soon, thanks a lot everyone for your great support.