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-boun...@gluster.org 
> [mailto:gluster-users-boun...@gluster.org] On Behalf Of Hoggins!
> Sent: Wednesday, October 02, 2013 12:46 PM
> To: gluster-users@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@gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
> _______________________________________________
> Gluster-users mailing list
> Gluster-users@gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users


-- 
Alan Orth
alan.o...@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++

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

Reply via email to