<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 <<a href="mailto:hunter86_bg@yahoo.com">hunter86_bg@yahoo.com</a>> 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'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 <<a href="mailto:rightkicktech@gmail.com" target="_blank">rightkicktech@gmail.com</a>> написа: <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Mon, Oct 12, 2020, 19:24 Strahil Nikolov <<a href="mailto:hunter86_bg@yahoo.com" target="_blank">hunter86_bg@yahoo.com</a>> wrote:<br>
> 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>
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.<br>
> <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">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">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" 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>
> <br>
</blockquote></div></div>