Forum Discussion

sam_111661's avatar
sam_111661
Icon for Nimbostratus rankNimbostratus
Oct 21, 2008

iRule to load balance between 2 pools?

For some reason I can't have all members (running one service) in one pool and so I need to create two pools and load balance (round robin) between them with source persistence. Can this be done using irules?

 

 

thanks in advance

2 Replies

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus
    Well... You can write almost anything with an iRule, so sure why not.

     

     

    But why can't you have all the members in one pool?

     

     

    H
  • OK, the application servers (2 servers) do not support bonding / etherchannel but have two interfaces that can be configured in two different vlans so I'm trying to use bigip to achieve this using priority groups.

     

     

    Since I don't want to have two IP addresses active on the same server, I can't add them all to the same pool and I need to have each server with it's 2 IP addresses in one pool and have each IP in it's own priority group.

     

     

    Now I want RR load balancing between the pools using iRule and was not sure if this is possible