<div dir="ltr">yeah... 600 secs in matter of fact! Don't know why this value is so high.<br clear="all"><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>---</div><div><div><div>Gilberto Nunes Ferreira</div></div><div><span style="font-size:12.8px"><br></span></div><div><br></div></div><div><br></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sex., 17 de jul. de 2020 às 20:17, Artem Russakovskii <<a href="mailto:archon810@gmail.com" target="_blank">archon810@gmail.com</a>> escreveu:<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="ltr">No problem.<div><br></div><div>Oh I also had to set </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">gluster v set VMS network.ping-timeout 5</blockquote><div>because
in case a server went down and started timing out (full shutdown), the default value was so high (I think 60s) that it made all nodes straight up freeze for this long before serving the files.</div><div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br>Sincerely,<br>Artem<br><br>--<br>Founder, <a href="http://www.androidpolice.com" target="_blank">Android Police</a>, <a href="http://www.apkmirror.com/" style="font-size:12.8px" target="_blank">APK Mirror</a><span style="font-size:12.8px">, Illogical Robot LLC</span></div><div dir="ltr"><a href="http://beerpla.net/" target="_blank">beerpla.net</a> | <a href="http://twitter.com/ArtemR" target="_blank">@ArtemR</a><br></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 17, 2020 at 2:39 PM Gilberto Nunes <<a href="mailto:gilberto.nunes32@gmail.com" target="_blank">gilberto.nunes32@gmail.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"><div dir="ltr">Yes Artem! That's it!<div>I used the following commands and everything works as expected with 3 nodes:</div><div><br></div><div>gluster volume create VMS proxmox01:/DATA/vms<br><br>gluster vol start VMS<br>gluster vol status VMS<br><br>gluster peer probe proxmox02<br>gluster volume add-brick VMS replica 2 proxmox02:/DATA/vms<br><br>gluster vol status VMS<br>gluster vol info VMS<br><br>gluster peer probe proxmox03<br>gluster volume add-brick VMS replica 3 proxmox03:/DATA/vms<br><br>gluster vol set VMS cluster.heal-timeout 60<br>gluster volume heal VMS enable<br>gluster vol set VMS cluster.quorum-reads false<br>gluster vol set VMS cluster.quorum-count 1<br></div><div><br></div><div><br></div><div>Thanks for you replay</div><div><br></div><div>Cheers</div><div><br></div><div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>---</div><div><div><div>Gilberto Nunes Ferreira</div></div><div><span style="font-size:12.8px"><br></span></div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sex., 17 de jul. de 2020 às 16:56, Artem Russakovskii <<a href="mailto:archon810@gmail.com" target="_blank">archon810@gmail.com</a>> escreveu:<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="ltr"><div>I had the same requirements (except with 4 servers and no arbiter), and this was the solution:</div><div><br></div><p style="margin:0in;font-family:Calibri;font-size:11pt">gluster v set <span style="font-family:Arial,Helvetica,sans-serif;font-size:small">VMS </span><span style="font-size:11pt">cluster.quorum-count 1</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt">gluster v set <span style="font-family:Arial,Helvetica,sans-serif;font-size:small">VMS</span> cluster.quorum-type fixed</p><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br>Sincerely,<br>Artem<br><br>--<br>Founder, <a href="http://www.androidpolice.com" target="_blank">Android Police</a>, <a href="http://www.apkmirror.com/" style="font-size:12.8px" target="_blank">APK Mirror</a><span style="font-size:12.8px">, Illogical Robot LLC</span></div><div dir="ltr"><a href="http://beerpla.net/" target="_blank">beerpla.net</a> | <a href="http://twitter.com/ArtemR" target="_blank">@ArtemR</a><br></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 17, 2020 at 6:50 AM Gilberto Nunes <<a href="mailto:gilberto.nunes32@gmail.com" target="_blank">gilberto.nunes32@gmail.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"><div dir="ltr">How there<div><br></div><div>I have 3 servers with gluster 7 installed and setting up with replica 3 and arbiter 1.</div><div>Here's the commands I used:</div><div>- First create a simple volume with one server:</div><div>gluster volume create VMS proxmox01:/DATA/vms</div><div>- Then add the second one<br>gluster peer probe proxmox02<br>gluster volume add-brick VMS replica 2 proxmox02:/DATA/vms<br>- And finally and the third:</div><div>gluster peer probe proxmox03</div><div>gluster volume add-brick VMS replica 3 arbiter 1 proxmox03:/DATA/vms<span style="font-family:monospace"><br></span></div><div><br></div><div>But then I decide to test the environment and bring proxmox02 and proxmox03 down and get <span style="color:rgb(0,0,0);font-family:monospace">Transport endpoint is not connected after a few seconds.</span></div><div><span style="color:rgb(0,0,0);font-family:monospace">Is there a way to keep one server up if 2 goes down?</span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">gluster vol info
</span><br> <br>Volume Name: VMS
<br>Type: Replicate
<br>Volume ID: 64735da4-8671-4c5e-b832-d15f5c03e9f0
<br>Status: Started
<br>Snapshot Count: 0
<br>Number of Bricks: 1 x (2 + 1) = 3
<br>Transport-type: tcp
<br>Bricks:
<br>Brick1: proxmox01:/DATA/vms
<br>Brick2: proxmox02:/DATA/vms
<br>Brick3: proxmox03:/DATA/vms (arbiter)
<br>Options Reconfigured:
<br>nfs.disable: on
<br>storage.fips-mode-rchecksum: on
<br>transport.address-family: inet
<br>performance.client-io-threads: off
<br>cluster.self-heal-daemon: enable
<br>cluster.quorum-reads: false
<br>cluster.quorum-count: 1<br>
<br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">gluster vol status
</span><br>Status of volume: VMS
<br>Gluster process TCP Port RDMA Port Online Pid
<br>------------------------------------------------------------------------------
<br>Brick proxmox01:/DATA/vms 49152 0 Y 1526 <br>Self-heal Daemon on localhost N/A N/A Y 1537 <br> <br>Task Status of Volume VMS
<br>------------------------------------------------------------------------------
<br>There are no active volume tasks<br>
<br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Thanks a lot</span></div><div><br></div><div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>---</div><div><div><div>Gilberto Nunes Ferreira</div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">(47) 3025-5907</span><br></div><div><font size="4"><b></b></font></div><div><span style="font-size:12.8px">(47) 99676-7530 - Whatsapp / Telegram</span><br></div><div><p style="font-size:12.8px;margin:0px"></p><p style="font-size:12.8px;margin:0px">Skype: gilberto.nunes36</p><p style="font-size:12.8px;margin:0px"><br></p></div></div><div><br></div></div></div></div></div></div></div></div></div></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>
</blockquote></div>
</blockquote></div>
</blockquote></div>