[Gluster-users] Shutting down a GlusterFS server.

Jan.Dreyer at bertelsmann.de Jan.Dreyer at bertelsmann.de
Mon Oct 14 07:13:51 UTC 2013


Hi,

I'm wondering why gluster has to heal itself in the first place - as the underlying architicutre is a RAID5, that one should repair itself and gluster should not notice a defect - or does "heal" mean "re-sync"?!

Regards
Jan

Von: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] Im Auftrag von Bobby Jacob
Gesendet: Sonntag, 13. Oktober 2013 15:27
An: Alan Orth; gluster-users at gluster.org
Betreff: Re: [Gluster-users] Shutting down a GlusterFS server.

Hi Alan,

Thanks a lot. :) Going through your document, I find that you were not required to any follow any particular procedure for shutting down GlusterFS. Just a normal server reboot and as the glusterd service was started after reboot and it worked.

Do correct me if I'm wrong. !!

Thanks & Regards,
Bobby Jacob
P SAVE TREES. Please don't print this e-mail unless you really need to.

From: gluster-users-bounces at gluster.org<mailto:gluster-users-bounces at gluster.org> [mailto:gluster-users-bounces at gluster.org] On Behalf Of Alan Orth
Sent: Sunday, October 13, 2013 3:54 PM
To: gluster-users at gluster.org<mailto:gluster-users at gluster.org>
Subject: Re: [Gluster-users] Shutting down a GlusterFS server.

Bobby,

I had to shut down a node in a replica the other week to replace a drive in the hardware RAID.  I was surprised with the resilience of my replica!

I documented the procedure here:

http://mjanja.co.ke/2013/09/replacing-failed-drive-in-hardware-raid5-on-glusterfs-replica/

Cheers,

Alan

On 10/02/2013 12:54 PM, Bobby Jacob wrote:

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> [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<mailto: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<mailto:Gluster-users at gluster.org>

http://supercolony.gluster.org/mailman/listinfo/gluster-users

_______________________________________________

Gluster-users mailing list

Gluster-users at gluster.org<mailto:Gluster-users at gluster.org>

http://supercolony.gluster.org/mailman/listinfo/gluster-users





--

Alan Orth

alan.orth at gmail.com<mailto:alan.orth at gmail.com>

http://alaninkenya.org

http://mjanja.co.ke

"I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone." -Bjarne Stroustrup, inventor of C++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20131014/d8eebad7/attachment.html>


More information about the Gluster-users mailing list