<div dir="ltr">i fired up a multimaster galera cluster.<div>i would now add it into pacemaker to let it mange and monitor the status.</div><div>reading the galera resource documentation seems is only support master slave replica, is it true?</div><div>also mysql resource seems to support master slave replica and externally managed replica (MM galera?) using clone.</div><div>my question is how mysql agent can figure out who is the most advanced node in case of shutdown of the entire cluster.</div><div><br></div><div>i wonder if it should be better move to a master slave replica configuration.</div><div>seems there is not enough documentation about how to build a mysql cluster using pacemaker on the web :/ </div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mar 12 set 2023 alle ore 10:28 Damiano Giuliani <<a href="mailto:damianogiuliani87@gmail.com">damianogiuliani87@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">thanks Ken,<div><br></div><div>could you point me in th right direction for a guide or some already working configuration?</div><div><br></div><div>Thanks</div><div><br></div><div>Damiano</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 11 set 2023 alle ore 16:26 Ken Gaillot <<a href="mailto:kgaillot@redhat.com" target="_blank">kgaillot@redhat.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, 2023-09-07 at 10:27 +0100, Antony Stone wrote:<br>
> On Wednesday 06 September 2023 at 17:01:24, Damiano Giuliani wrote:<br>
> <br>
> > Everything is clear now.<br>
> > So the point is to use pacemaker and create the floating vip and<br>
> > bind it to<br>
> > sqlproxy to health check and route the traffic to the available and<br>
> > healthy<br>
> > galera nodes.<br>
> <br>
> Good summary.<br>
> <br>
> > It could be useful let pacemaker manage also galera services?<br>
> <br>
> No; MySQL / Galera needs to be running on all nodes all the<br>
> time.  Pacemaker <br>
> is for managing resources which move between nodes.<br>
<br>
It's still helpful to configure galera as a clone in the cluster. That<br>
way, Pacemaker can monitor it and restart it on errors, it will respect<br>
things like maintenance mode and standby, and it can be used in<br>
ordering constraints with other resources, as well as advanced features<br>
such as node utilization.<br>
<br>
> <br>
> If you want something that ensures processes are running on<br>
> machines, <br>
> irrespective of where the floating IP is, look at monit - it's very<br>
> simple, <br>
> easy to configure and knows how to manage resources which should run<br>
> all the <br>
> time.<br>
> <br>
> > Do you have any guide that pack this everything together?<br>
> <br>
> No; I've largely made this stuff up myself as I've needed it.<br>
> <br>
> <br>
> Antony.<br>
> <br>
-- <br>
Ken Gaillot <<a href="mailto:kgaillot@redhat.com" target="_blank">kgaillot@redhat.com</a>><br>
<br>
_______________________________________________<br>
Manage your subscription:<br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/" rel="noreferrer" target="_blank">https://www.clusterlabs.org/</a><br>
</blockquote></div>
</blockquote></div>