Forum Discussion

Björn_Bickelhau's avatar
Björn_Bickelhau
Icon for Nimbostratus rankNimbostratus
Jan 02, 2007

Redirect every second Request

Happy new year!

 

 

Is it possible, to redirect every second request to another serverpool?

 

For example, request 1 goes to pool_1, request 2 to pool_2, request 3 to pool_1 again and so on.

 

How can I manage that?
  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    Hello,

     

     

    You could add the nodes from both pools to one pool and then use the round robin algorithm to do this.

     

     

    Else, you could create two pools and set a counter to round robin between the pools on each request event.

     

     

    Is it HTTP traffic? Does the web application require persistence?

     

     

    Aaron
  • UnRuleY gave an example of round-robin pool assignment in this thread:

     

     

    http://devcentral.f5.com/Default.aspx?tabid=28&view=topic&forumid=5&postid=4002 Click here