Re: Graceful gluster server retire/poweroff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx> написа:


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@xxxxxxxxxx - info@xxxxxxxxxx
GPG public key ID: FF5F32A8
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux