<div dir="ltr">Hi Alex,<div><br></div><div>I&#39;ve been running databases both directly and indirectly through qemu images vms (managed by oVirt), and since the recent gluster versions (6+, haven&#39;t tested 7-8) I&#39;m generally happy with the stability. I&#39;m running mostly write intensive workloads. </div><div>For mariadb, any gluster volume seems to workfine, i&#39;ve both running shared and none-sharded volumes (using none-sharded for backup slave&#39;s to keep the file&#39;s as a whole). </div><div>For postgresql it&#39;s required to enable the volume option; performance.strict-o-direct: on.  but both shared and none-sharded work in that case too.</div><div>none the less i would advise to run any database with 

strict-o-direct on. </div><div><br></div><div>Best Olaf</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op ma 12 okt. 2020 om 20:10 schreef Alex K &lt;<a href="mailto:rightkicktech@gmail.com">rightkicktech@gmail.com</a>&gt;:<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="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" target="_blank">hunter86_bg@yahoo.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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" rel="noreferrer" target="_blank">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" rel="noreferrer" target="_blank">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" rel="noreferrer" target="_blank">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>
________<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" target="_blank">https://bluejeans.com/441850968</a><br>
<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br>
</blockquote></div>