Forum Discussion

alipey_3652's avatar
alipey_3652
Icon for Nimbostratus rankNimbostratus
Aug 30, 2010

Node dependency on another node on a different pool

Hi There,

 

 

I have two pools each with two nodes - all mysql servers. Both pools are using an external monitor script with an iRule for Single Node Persistence - The rule looks like this: when CLIENT_ACCEPTED { persist uie 1 }

 

 

The thing is that my nodes in pool number 2 are dependent on nodes in pool number 1:

 

Node1 in pool 2 is dependent on node 1 in pool 1 and node 2 in pool 2 is dependent on node 2 in pool 1.

 

 

So this is the behavior I am looking for: I need a switch over in pool 2, if node 1 in pool 1 fails and the same for node 2. In another word, if node 1 on pool 1 goes down and F5 switches to node 2, I also need my pool number 2 to switch to node 2.

 

 

I hope this is clear.

 

 

Can someone please give me some guidelines in terms of the best way to achieve this?

 

 

Thanks,

 

Ali

 

 

1 Reply

  • Have a look at using alias addresses in your monitors - it'll get you very close I think. If that doesn't do it for you, you'll probably want to use a external monitor so you can have total control over the behaviors you're after. For example, you can use bigpipe or tmsh commands in the script to take the other pool's member down.

     

     

    -Matt