Forum Discussion

gost2307_337235's avatar
gost2307_337235
Icon for Nimbostratus rankNimbostratus
Nov 22, 2018

Active standby pool members

I'm currently using Priority Group Activation method to accomplish my first objective and it's been working great. However, I have more requirements than just active standby real servers.

 

My Requirements, 1. Primary and standby, all traffic goes to primary. 2. When primary fails, I want my existing connections also switch to standby. 3. When primary fails then later comes back, I want my traffic (new and existing) go back to primary. 4. When the both nodes are down, I want all the existing and new connections should drop.

 

Is there possible to define this scenario through iRule, if yes please give an idea about code.

 

Thanks in advance.

 

  • I you want to create an Active-Standby scenario, you should use priority groups. Also, If you want to persist the connection (not give back connections to the primary node after raising active) you should use Universal persistence (or destination persistence, depends on you requirements).

     

    You can follow this topic -> https://devcentral.f5.com/codeshare/single-node-persistence

     

    I had a similar proposal here. I have already complete those requirements using VIP-tarjeting-VIP. I will explain how to do it when I get a gap of time :-).

     

    KR, Dario.