Hi James,
> On 9 Sep 2015, at 10:26, James Wang <
jwang...@gmail.com> wrote:
>
> Any update about MaxScale single point of failure please?
It may not quite answer your question, but I’ve setup MaxScale in a redundant manner for binlog server usage and it seems to work quite well.
It is _very_ simple. I configure the clients to talk to a "virtual host" in DNS which has 2 ip addresses. e.g.
maxscale-virtual IN A 192.168.1.88 # ip of maxscale1
maxscale-virtual IN A 192.168.1.99 # ip of maxscale2
Clients connect to maxscale-virtual which obviously connects to one of the 2 servers. Observation shows
that if the one of the maxscale servers goes down a reconnection happens almost immediately (this is the slave’s I/O thread
reconnecting to a “master” in my case) to the other server and the downtime is measured in milliseconds.
This obviously assumes that the configuration for the 2 maxscale servers is “identical” and given
the usage I mention this simple setup works remarkably well. I would expect that if the client connection
is configured to automatically reconnect then you should see the same behaviour. I haven’t checked if
this behaviour is due to the MySQL library or the tcp layer but the end result in my case is as described.
Hope this helps.
Simon