<div dir="ltr"><div>HI Strahil, <br></div><div><br></div><div>Thanx for your feedback. <br></div><div>I had already received your feedback which seems to be very useful. <br></div><div>You had pointed at 
/var/lib/glusterd/groups/db-workload profile which includes recommended gluster volume settings for such work-loads (includes direct IO).</div><div>I will be testing this setup though I expect no issues apart from slower performance then native setup. <br></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 25, 2020 at 9:45 PM 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey Alex,<br>
<br>
sorry for the late reply - seems you went to the SPAM dir.<br>
<br>
I think that a DB with direct I/O won&#39;t have any issues with Gluster.As a second thought , DBs know their data file names , so even 1 file per table will work quite OK. <br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
But you will need a lot of testing before putting something into production.<br>
<br>
<br>
Best Regards,<br>
Strahil Nikolov<br>
<br>
<br>
<br>
<br>
<br>
<br>
В понеделник, 12 октомври 2020 г., 21:10:03 Гринуич+3, Alex K &lt;<a href="mailto:rightkicktech@gmail.com" target="_blank">rightkicktech@gmail.com</a>&gt; написа: <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
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>
&gt; Hi Alex,<br>
&gt; <br>
&gt; 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>
&gt; <br>
&gt; As you will be using pacemaker, drbd is a viable solution that can be controlled easily.<br>
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.<br>
&gt;  <br>
&gt; Best Regards,<br>
&gt; Strahil Nikolov<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; В понеделник, 12 октомври 2020 г., 12:12:18 Гринуич+3, Alex K &lt;<a href="mailto:rightkicktech@gmail.com" target="_blank">rightkicktech@gmail.com</a>&gt; написа: <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; On Mon, Oct 12, 2020 at 9:47 AM Diego Zuccato &lt;<a href="mailto:diego.zuccato@unibo.it" target="_blank">diego.zuccato@unibo.it</a>&gt; wrote:<br>
&gt;&gt; Il 10/10/20 16:53, Alex K ha scritto:<br>
&gt;&gt; <br>
&gt;&gt;&gt; Reading from the docs i see that this is not recommended?<br>
&gt;&gt; IIUC the risk of having partially-unsynced data is is too high.<br>
&gt;&gt; DB replication is not easy to configure because it&#39;s hard to do well,<br>
&gt;&gt; even active/passive.<br>
&gt;&gt; But I can tell you that a 3-node mariadb (galera) cluster is not hard to<br>
&gt;&gt; setup. Just follow one of the tutorials. It&#39;s nearly as easy as setting<br>
&gt;&gt; up a replica3 gluster volume :)<br>
&gt;&gt; And &quot;guarantees&quot; consinstency in the DB data.<br>
&gt; 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>
&gt; For cluster management I will be using pacemaker/corosync. <br>
&gt; <br>
&gt; Thanx for your feedback<br>
&gt; <br>
&gt;&gt;  <br>
&gt;&gt; -- <br>
&gt;&gt; Diego Zuccato<br>
&gt;&gt; DIFA - Dip. di Fisica e Astronomia<br>
&gt;&gt; Servizi Informatici<br>
&gt;&gt; Alma Mater Studiorum - Università di Bologna<br>
&gt;&gt; V.le Berti-Pichat 6/2 - 40127 Bologna - Italy<br>
&gt;&gt; tel.: +39 051 20 95786<br>
&gt;&gt; <br>
&gt; ________<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Community Meeting Calendar:<br>
&gt; <br>
&gt; Schedule -<br>
&gt; Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br>
&gt; Bridge: <a href="https://bluejeans.com/441850968" rel="noreferrer" target="_blank">https://bluejeans.com/441850968</a><br>
&gt; <br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
&gt; <a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt; <br>
</blockquote></div></div>