Hi all,
I need to define a ‘failover’ functionality via irule to a pool with two members.
Within the pool I do have one ‘master’ member and one ‘slave’ member. The master member is initially selected via priority group activation.
In case that this master server is marked as down the slave member will be reselect automatically because of the lower priority. This runs without any rule at all.
But now I need to preserve that the slave member remains selected even the master member is marked up.
Is there any way to set the priority group activation to the slave member via irule, so after master member fails once the slave member becomes higher priority and remains selected ?
The reason for this strange configuration is that these two members are mysql servers nodes in a master master replication and simply checking the port 3306 is not enough as healthcheck to validate the completion of the starting process after the mysl server failed or have been restarted.
I’d be apprecieted for any ideas on this topic
Thanks!