[Gluster-users] Shutting down a GlusterFS server.

Bobby Jacob bobby.jacob at alshaya.com
Wed Oct 2 09:54:45 UTC 2013


Hi Hoggins,

Thanks. I have set gluster services to start during startup. I believe the self-heal would play the most important role of taking care of the changes in the dead-peer once it comes back up. Any comments or suggestions for the same ?

Thanks & Regards,
Bobby Jacob

-----Original Message-----
From: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] On Behalf Of Hoggins!
Sent: Wednesday, October 02, 2013 12:46 PM
To: gluster-users at gluster.org
Subject: Re: [Gluster-users] Shutting down a GlusterFS server.

Hello Bobby,

I experienced problems shutting down Gluster servers, because the startup scripts (SystemD) did not have dependencies for system shutdown that would stop the Gluster services before anything else. My problems were also related to the fact that my nodes are connected to each other through IPSec links, and during shutdown, the links were cut before the Gluster service was properly shut down. The other node was waiting for the well-known 42 seconds before considering the peer dead, hence not responding to any file request, and hanging all client systems. Not cool.

So the best practice is simply to end the Gluster services before shutting down the server. Everything runs as smooth as it should be, and the clients don't notice any downtime.

Hope this helps.

    Hoggins!


Le 02/10/2013 11:36, Bobby Jacob a écrit :
>
> Hi,
>
>  
>
> I have a 2-node replica volume running with GlusterFS 3.3.2 on Centos 
> 6.4. I want to shut down one of the gluster servers for maintenance.
> Any best practice that is to be followed while turning off a server in 
> terms of services etc.  Or can I just shut down the server. ?
>

_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-users



More information about the Gluster-users mailing list