Forum Discussion

Andrea_Arquint's avatar
Andrea_Arquint
Icon for Nimbostratus rankNimbostratus
Jul 23, 2010

Active/Standby loadbalancing

Hi I have two LTM nodes as pool memebers. How can I configure the lb method that only one (the master) is online and if this box goes on offline mode the other one (the slave) will go online. I know with ratio and priority group are two nodes at minimum needed. But how can this be done with only two pool members? Kind regards

2 Replies

  • Hi bigbrother,

     

     

    Priority group activation will work with two pool members. You don't need to use ratio though for this scenario. If you define one member at a higher priority with priority group activation set to 1 then the higher priority pool member will receive all traffic. If it goes down, then all traffic will be sent to the lower priority member. When the higher priority pool member comes back up, all new connections will do to it. Persistence should ensure that existing sessions would be sent to the previously selected member.

     

     

    If you want clients to stick to the second pool member even after the first one comes back up, you can use a simple iRule to do this:

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/SingleNodePersistence.html

     

     

    Aaron
  • check node persistence https://devcentral.f5.com/wiki/default.aspx/iRules/SingleNodePersistence.html