<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 12, 2020, 19:24 Strahil Nikolov <<a href="mailto:hunter86_bg@yahoo.com">hunter86_bg@yahoo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alex,<br>
<br>
I can share that oVirt is using Gluster as a HCI solution and many people are hosting DBs in their Virtual Machines.Yet, oVirt bypasses any file system caches and uses Direct I/O in order to ensure consistency.<br>
<br>
As you will be using pacemaker, drbd is a viable solution that can be controlled easily.<br></blockquote></div></div><div dir="auto">Thank you Strahil. I am using ovirt with glusterfs successfully for the last 5 years and I'm very happy about it. Though the vms gluster volume has sharding enabled by default and I suspect this is different if you run DB directly on top glusterfs. I assume there are optimizations one could apply at gluster volumes (use direct io?, small file workload optimizations, etc) and was hoping that there were success stories of DBs on top glusterfs. I might go with drbd as the latest version is much more scalable and simplified.</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Best Regards,<br>
Strahil Nikolov<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
В понеделник, 12 октомври 2020 г., 12:12:18 Гринуич+3, Alex K <<a href="mailto:rightkicktech@gmail.com" target="_blank" rel="noreferrer">rightkicktech@gmail.com</a>> написа: <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Mon, Oct 12, 2020 at 9:47 AM Diego Zuccato <<a href="mailto:diego.zuccato@unibo.it" target="_blank" rel="noreferrer">diego.zuccato@unibo.it</a>> wrote:<br>
> Il 10/10/20 16:53, Alex K ha scritto:<br>
> <br>
>> Reading from the docs i see that this is not recommended?<br>
> IIUC the risk of having partially-unsynced data is is too high.<br>
> DB replication is not easy to configure because it's hard to do well,<br>
> even active/passive.<br>
> But I can tell you that a 3-node mariadb (galera) cluster is not hard to<br>
> setup. Just follow one of the tutorials. It's nearly as easy as setting<br>
> up a replica3 gluster volume :)<br>
> And "guarantees" consinstency in the DB data.<br>
I see. Since I will not have only mariadb, then I have to setup the same replication for postgresql and later influxdb, which adds into the complexity. <br>
For cluster management I will be using pacemaker/corosync. <br>
<br>
Thanx for your feedback<br>
<br>
> <br>
> -- <br>
> Diego Zuccato<br>
> DIFA - Dip. di Fisica e Astronomia<br>
> Servizi Informatici<br>
> Alma Mater Studiorum - Università di Bologna<br>
> V.le Berti-Pichat 6/2 - 40127 Bologna - Italy<br>
> tel.: +39 051 20 95786<br>
> <br>
________<br>
<br>
<br>
<br>
Community Meeting Calendar:<br>
<br>
Schedule -<br>
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br>
Bridge: <a href="https://bluejeans.com/441850968" rel="noreferrer noreferrer" target="_blank">https://bluejeans.com/441850968</a><br>
<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank" rel="noreferrer">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br>
</blockquote></div></div></div>