Forum Discussion

Diego_23471's avatar
Diego_23471
Icon for Nimbostratus rankNimbostratus
Oct 14, 2013

Primary/Standby Member or Pool.

Is there a way on LTM to setup a pool where all traffic is sent to just one member, and if that member's health monitor fails, all traffic will be send to just another member permanently ?

 

I am trying to send all MySQL traffic to the master and if the master fails, all traffic will be send to the slave, but never to the master again.

 

P.S: I don't want to use the existing irule to split reads/writes. Want to avoid complexity.

 

3 Replies

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    Yes.

     

    priority groups. Enable priority groups with a minimum number of 1. Then just list poolmembers with priorities. The highest AVAILABLE priority member will get the traffic.

     

    Then enable persistence... When the higher pri poolmember comes back up, the current sessions should stay on the lower priority member.

     

    H

     

  • Thanks for the quick response. I also want to make sure new sessions stay on the lower priority level. Since this is for mysql, I can't have transactions being written to both places randomly.

     

  • uni's avatar
    uni
    Icon for Altostratus rankAltostratus

    Have a look at the manual resume feature.