<div dir="auto">Thanks for helping really appreciate.<div dir="auto"><br></div><div dir="auto">What I miss is how my application can support the connection on a multi master where 3 ips are available simultaneously.</div><div dir="auto"><br></div><div dir="auto">JDBCmysql driver or similar support a list name/ip of clustered nodes?</div><div dir="auto">Galera provide a unique cluster ip?</div><div dir="auto"><br></div><div dir="auto">Whats the point to create another cluster(pacemaker) for the VIP alongside galera?</div><div dir="auto"><br></div><div dir="auto">Thanks for the time you spent</div><div dir="auto"><br></div><div dir="auto">Thanks</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 6, 2023, 2:12 PM Antony Stone <<a href="mailto:Antony.Stone@ha.open.source.it" target="_blank" rel="noreferrer">Antony.Stone@ha.open.source.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wednesday 06 September 2023 at 12:50:40, Damiano Giuliani wrote:<br>
<br>
> Looking at some Galera cluster designs on web seems a couple of server<br>
> proxy are placed in front.<br>
<br>
You can certainly do it that way, although some people simply have a floating <br>
virtual IP across the 3 nodes, and clients connect to whichever (permanently <br>
running) MySQL instance has the VIP at the time.<br>
<br>
> If I would have only 3 nodes where I clustered MySQL with galera how then I<br>
> have to point my application to the right nodes?<br>
<br>
Galera is a "write anywhere, read anywhere" replication system. You do not <br>
get a "cluster master" which all clients have to write to (or read from), so <br>
clients can simply connect to any node they like.<br>
<br>
If you're familiar with standard MySQL master-slave replication, and you know <br>
this can be set up in a master-master configuration, simply regard Galera as <br>
the same outcome but for any number of modes.<br>
<br>
One way to ensure that all clients connect to the same node at any given time <br>
is to use pacemaker or similar to run a floating virtual IP between the nodes. <br>
Clients connect to the VIP, and reach either MySQL itself, or the proxy (which <br>
is running on all 3 nodes, same as MySQL is), and the proxy connects to the <br>
real IPs of the 3 nodes.<br>
<br>
<br>
Antony.<br>
<br>
-- <br>
+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++<br>
<br>
Please reply to the list;<br>
please *don't* CC me.<br>
_______________________________________________<br>
Manage your subscription:<br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/" rel="noreferrer noreferrer noreferrer" target="_blank">https://www.clusterlabs.org/</a><br>
</blockquote></div>