Gionatan Danti
2019-Jul-16  14:32 UTC
[Gluster-users] Graceful gluster server retire/poweroff
On 16/07/2019 15:27, Ravishankar N wrote:> Yes, if you simply pkill the gluster brick processes of the node before > switching it off, you won't observe the hang on the clients because they > will receive the disconnect notification immediately. But before that, > you would need to check if there are no pending heals etc. You can use > the script [1] which does all these checks in the graceful mode.Hi Ravi, thanks for your reply. I tried killing the glusterfsd process and I confirm that the client does not see any pause, indeed. I was thinking that during the shutdown procedure systemd would kill the processes by itself; which it *does*, but only if the glusterfsd.service is enabled/started. By default, the systemd service installed on CentOS 7 + Gluster 6.0 SIG does not start glusterfsd.service and so, in the shutdown phase, it does not stop it. Thanks very much for your information. -- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti at assyoma.it - info at assyoma.it GPG public key ID: FF5F32A8
Strahil Nikolov
2019-Jul-17  15:20 UTC
[Gluster-users] Graceful gluster server retire/poweroff
Hi Ravi,
Can you clarify which script do you use ?Usually I rely on oVirt to shutdown the
system properly , but sometimes I have used
'/usr/share/glusterfs/scripts/stop-all-gluster-processes.sh' which kills
everything (including fuse mounts).
Best Regards,Strahil Nikolov?
    ? ???????, 16 ??? 2019 ?., 17:32:44 ?. ???????+3, Gionatan Danti <g.danti
at assyoma.it> ??????:
 
 On 16/07/2019 15:27, Ravishankar N wrote:> Yes, if you simply pkill the gluster brick processes of the node before 
> switching it off, you won't observe the hang on the clients because
they
> will receive the disconnect notification immediately. But before that, 
> you would need to check if there are no pending heals etc. You can use 
> the script [1] which does all these checks in the graceful mode.
Hi Ravi,
thanks for your reply. I tried killing the glusterfsd process and I 
confirm that the client does not see any pause, indeed.
I was thinking that during the shutdown procedure systemd would kill the 
processes by itself; which it *does*, but only if the glusterfsd.service 
is enabled/started.
By default, the systemd service installed on CentOS 7 + Gluster 6.0 SIG 
does not start glusterfsd.service and so, in the shutdown phase, it does 
not stop it.
Thanks very much for your information.
-- 
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti at assyoma.it - info at assyoma.it
GPG public key ID: FF5F32A8
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.gluster.org/pipermail/gluster-users/attachments/20190717/9b0ae087/attachment.html>