<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 &lt;<a href="mailto:hunter86_bg@yahoo.com">hunter86_bg@yahoo.com</a>&gt; 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&#39;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 &lt;<a href="mailto:rightkicktech@gmail.com" target="_blank" rel="noreferrer">rightkicktech@gmail.com</a>&gt; написа: <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Mon, Oct 12, 2020 at 9:47 AM Diego Zuccato &lt;<a href="mailto:diego.zuccato@unibo.it" target="_blank" rel="noreferrer">diego.zuccato@unibo.it</a>&gt; wrote:<br>
&gt; Il 10/10/20 16:53, Alex K ha scritto:<br>
&gt; <br>
&gt;&gt; Reading from the docs i see that this is not recommended?<br>
&gt; IIUC the risk of having partially-unsynced data is is too high.<br>
&gt; DB replication is not easy to configure because it&#39;s hard to do well,<br>
&gt; even active/passive.<br>
&gt; But I can tell you that a 3-node mariadb (galera) cluster is not hard to<br>
&gt; setup. Just follow one of the tutorials. It&#39;s nearly as easy as setting<br>
&gt; up a replica3 gluster volume :)<br>
&gt; And &quot;guarantees&quot; 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>
&gt;  <br>
&gt; -- <br>
&gt; Diego Zuccato<br>
&gt; DIFA - Dip. di Fisica e Astronomia<br>
&gt; Servizi Informatici<br>
&gt; Alma Mater Studiorum - Università di Bologna<br>
&gt; V.le Berti-Pichat 6/2 - 40127 Bologna - Italy<br>
&gt; tel.: +39 051 20 95786<br>
&gt; <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>