Priority of nodes in the pool - question
Hello,
I have this setup that i need some advise on.
I have 4 servers that will be connected behind 1 virtual server address. But there is a catch, the back-end servers form a sort of cluster. Every cluster has an active server and a passive server, the goal is that only the active servers will get active connections and then when they are down the passive servers can get connections.
So server1A and 3A should get connections evenly, but when for example server 1A goes down it should fail-save over to 2P. The same goes for 3A, if it fails it should fail-over to 4P A = Active P = Passive
Is this even possible? I do not see the solution for now. I have scenario in mind:
-
1 pool for 1A and 2P and when 1A fails it will switch to 2P. When that pools fails it should go to the next pool with 3A and 4P, is that possible?
-
1 complete pool with the following: connections to 1A and 3A, when they fail connections to 2P and 4P?
Thanks for the help