<div dir="ltr"><div>It's a given, but test it well before going into production. People have occasionally had problems with corruption when converting to shards.<br></div>In my initial tests, enabling sharding took our I/O down to 15Kbps from 300Mpbs without.<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">data-self-heal-algorithm full<br></blockquote><div>That could be painful. Any particular reason you've chosen full? <br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">All Bricks 1TB SSD</blockquote><div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Image Sizes – Up to 300GB<br></blockquote><div>If your images easily fit within the bricks, why do you need sharding in the first place? It adds an extra layer of complexity & removes the cool feature of having entire files on each brick, making DR & things a lot easier.<br><br></div><div>Doug <br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 January 2017 at 00:11, Gustave Dahl <span dir="ltr"><<a href="mailto:gustave@dahlfamily.net" target="_blank">gustave@dahlfamily.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="#0563C1" vlink="#954F72" lang="EN-US"><div class="m_-7947007372513194894WordSection1"><p class="MsoNormal">I am looking for guidance on the recommend settings as I convert to shards. I have read most of the list back through last year and I think the conclusion I came to was to keep it simple. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">One: It may take months to convert my current VM images to shard’s, do you see any issues with this? My priority is to make sure future images are distributed as shards. <u></u><u></u></p><p class="MsoNormal">Two: Settings, my intent is to set it as follows based on guidance on the Redhat site and what I have been reading here. Do these look okay? Additional suggestions?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Modified Settings<u></u><u></u></p><p class="MsoNormal">=====================<u></u><u></u></p><p class="MsoNormal">features.shard enable<u></u><u></u></p><p class="MsoNormal">features.shard-block-size 512MB<u></u><u></u></p><p class="MsoNormal">data-self-heal-algorithm full<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Current Hardware<u></u><u></u></p><p class="MsoNormal">=====================<u></u><u></u></p><p class="MsoNormal">Hyper-converged. VM’s running Gluster Nodes<u></u><u></u></p><p class="MsoNormal">Currently across three servers. Distributed-Replicate - All Bricks 1TB SSD<u></u><u></u></p><p class="MsoNormal">Network - 10GB Connections<u></u><u></u></p><p class="MsoNormal">Image Sizes – Up to 300GB<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Current Gluster Version<u></u><u></u></p><p class="MsoNormal">=======================<u></u><u></u></p><p class="MsoNormal">3.8.4<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Current Settings<u></u><u></u></p><p class="MsoNormal">=====================<u></u><u></u></p><p class="MsoNormal">Type: Distributed-Replicate<u></u><u></u></p><p class="MsoNormal">Number of Bricks: 4 x 3 = 12<u></u><u></u></p><p class="MsoNormal">Transport-type: tcp<u></u><u></u></p><p class="MsoNormal">Options Reconfigured:<u></u><u></u></p><p class="MsoNormal">cluster.server-quorum-type: server<u></u><u></u></p><p class="MsoNormal">cluster.quorum-type: auto<u></u><u></u></p><p class="MsoNormal">network.remote-dio: enable<u></u><u></u></p><p class="MsoNormal">cluster.eager-lock: enable<u></u><u></u></p><p class="MsoNormal">performance.stat-prefetch: off<u></u><u></u></p><p class="MsoNormal">performance.io-cache: off<u></u><u></u></p><p class="MsoNormal">performance.read-ahead: off<u></u><u></u></p><p class="MsoNormal">performance.quick-read: off<u></u><u></u></p><p class="MsoNormal">server.allow-insecure: on<u></u><u></u></p><p class="MsoNormal">performance.readdir-ahead: on<u></u><u></u></p><p class="MsoNormal">performance.cache-size: 1GB<u></u><u></u></p><p class="MsoNormal">performance.io-thread-count: 64<u></u><u></u></p><p class="MsoNormal">nfs.disable: on<u></u><u></u></p></div></div><br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br></div>