<html><head></head><body><div class="ydp45265198yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><span>/usr/share/glusterfs/scripts/<span>stop-all-gluster-processes.sh is to stop the processes ? if one of the gluster node volume goes down with some issues, we didn't do reboot or shutdown, in those cases what we need to do. Will the script/systemd service created from script will be able to notify client that this node going down ? </span></span><br></div><div dir="ltr" data-setdir="false"><span><span><br></span></span></div><div dir="ltr" data-setdir="false"><span><span>can someone please share documentation related to it.</span></span></div><div dir="ltr" data-setdir="false"><span><span><br></span></span></div><div dir="ltr" data-setdir="false">kidnly help.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thanks,</div><div dir="ltr" data-setdir="false">Ahemad</div>
</div><div id="yahoo_quoted_2658804623" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Tuesday, 16 June, 2020, 09:11:59 pm IST, ahemad shaik <ahemad_shaik@yahoo.com> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv9184037551"><div><div class="yiv9184037551ydp2841ba97yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div dir="ltr">Hi, </div><div dir="ltr"><br clear="none"></div><div dir="ltr">I see there is a script file in below mentioned path in all nodes using which gluster volume created.</div><div dir="ltr"><span>/usr/share/glusterfs/scripts/<span>stop-all-gluster-processes.sh</span></span></div><div dir="ltr"><span><span><br clear="none"></span></span></div><div dir="ltr">I need to create a system service and when ever there is some server down, we need to call this script or we need to have it run always it will take care when some node is down to make sure that client will not have any issues in accessing mount point ?</div><div dir="ltr"><br clear="none"></div><div dir="ltr">can you please share any documentation on how to use this.That will be great help.</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Thanks,</div><div dir="ltr">Ahemad</div><div dir="ltr"><br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr"><br clear="none"></div><div><br clear="none"></div>
</div><div class="yiv9184037551yqt5698915533" id="yiv9184037551yqt04192"><div class="yiv9184037551yahoo_quoted" id="yiv9184037551yahoo_quoted_3009919201">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Tuesday, 16 June, 2020, 08:59:31 pm IST, Strahil Nikolov <hunter86_bg@yahoo.com> wrote:
</div>
<div><br clear="none"></div>
<div><br clear="none"></div>
<div><div dir="ltr">Hi Ahemad,<br clear="none"><br clear="none">You can simplify it by creating a systemd service that will call the script.<br clear="none"><br clear="none">It was already mentioned in a previous thread (with example), so you can just use it.<br clear="none"><br clear="none">Best Regards,<br clear="none">Strahil Nikolov<br clear="none"><br clear="none">На 16 юни 2020 г. 16:02:07 GMT+03:00, Hu Bert <<a rel="nofollow" shape="rect" ymailto="mailto:revirii@googlemail.com" target="_blank" href="mailto:revirii@googlemail.com">revirii@googlemail.com</a>> написа:<br clear="none">>Hi,<br clear="none">><br clear="none">>if you simply reboot or shutdown one of the gluster nodes, there might<br clear="none">>be a (short or medium) unavailability of the volume on the nodes. To<br clear="none">>avoid this there's script:<br clear="none">><br clear="none">>/usr/share/glusterfs/scripts/stop-all-gluster-processes.sh (path may<br clear="none">>be different depending on distribution)<br clear="none">><br clear="none">>If i remember correctly: this notifies the clients that this node is<br clear="none">>going to be unavailable (please correct me if the details are wrong).<br clear="none">>If i do reboots of one gluster node, i always call this script and<br clear="none">>never have seen unavailability issues on the clients.<br clear="none">><br clear="none">><br clear="none">>Regards,<br clear="none">>Hubert<br clear="none">><br clear="none">>Am Mo., 15. Juni 2020 um 19:36 Uhr schrieb ahemad shaik<br clear="none">><<a rel="nofollow" shape="rect" ymailto="mailto:ahemad_shaik@yahoo.com" target="_blank" href="mailto:ahemad_shaik@yahoo.com">ahemad_shaik@yahoo.com</a>>:<br clear="none">>><br clear="none">>> Hi There,<br clear="none">>><br clear="none">>> I have created 3 replica gluster volume with 3 bricks from 3 nodes.<br clear="none">>><br clear="none">>> "gluster volume create glustervol replica 3 transport tcp node1:/data<br clear="none">>node2:/data node3:/data force"<br clear="none">>><br clear="none">>> mounted on client node using below command.<br clear="none">>><br clear="none">>> "mount -t glusterfs node4:/glustervol /mnt/"<br clear="none">>><br clear="none">>> when any of the node (either node1,node2 or node3) goes down, gluster<br clear="none">>mount/volume (/mnt) not accessible at client (node4).<br clear="none">>><br clear="none">>> purpose of replicated volume is high availability but not able to<br clear="none">>achieve it.<br clear="none">>><br clear="none">>> Is it a bug or i am missing anything.<br clear="none">>><br clear="none">>><br clear="none">>> Any suggestions will be great help!!!<br clear="none">>><br clear="none">>> kindly suggest.<br clear="none">>><br clear="none">>> Thanks,<br clear="none">>> Ahemad<br clear="none">>><br clear="none">>> ________<br clear="none">>><br clear="none">>><br clear="none">>><br clear="none">>> Community Meeting Calendar:<br clear="none">>><br clear="none">>> Schedule -<br clear="none">>> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br clear="none">>> Bridge: <a rel="nofollow" shape="rect" target="_blank" href="https://bluejeans.com/441850968">https://bluejeans.com/441850968</a><br clear="none">>><br clear="none">>> Gluster-users mailing list<br clear="none">>> <a rel="nofollow" shape="rect" ymailto="mailto:Gluster-users@gluster.org" target="_blank" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br clear="none">>> <a rel="nofollow" shape="rect" target="_blank" href="https://lists.gluster.org/mailman/listinfo/gluster-users">https://lists.gluster.org/mailman/listinfo/gluster-users</a><div class="yiv9184037551yqt6271712195" id="yiv9184037551yqtfd38237"><br clear="none">>________<br clear="none">><br clear="none">><br clear="none">><br clear="none">>Community Meeting Calendar:<br clear="none">><br clear="none">>Schedule -<br clear="none">>Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br clear="none">>Bridge: <a rel="nofollow" shape="rect" target="_blank" href="https://bluejeans.com/441850968">https://bluejeans.com/441850968</a><br clear="none">><br clear="none">>Gluster-users mailing list<br clear="none">><a rel="nofollow" shape="rect" ymailto="mailto:Gluster-users@gluster.org" target="_blank" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br clear="none">><a rel="nofollow" shape="rect" target="_blank" href="https://lists.gluster.org/mailman/listinfo/gluster-users">https://lists.gluster.org/mailman/listinfo/gluster-users</a></div></div></div>
</div>
</div></div></div></div></div>
</div>
</div></body></html>