Re: [Gluster-users] Shutting down a GlusterFS server.

2013-10-14 Thread Jan.Dreyer
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-boun...@gluster.org 
[mailto:gluster-users-boun...@gluster.org] Im Auftrag von Bobby Jacob
Gesendet: Sonntag, 13. Oktober 2013 15:27
An: Alan Orth; gluster-users@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-boun...@gluster.orgmailto:gluster-users-boun...@gluster.org 
[mailto:gluster-users-boun...@gluster.org] On Behalf Of Alan Orth
Sent: Sunday, October 13, 2013 3:54 PM
To: gluster-users@gluster.orgmailto:gluster-users@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-boun...@gluster.orgmailto: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.orgmailto: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.orgmailto:Gluster-users@gluster.org

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

___

Gluster-users mailing list

Gluster-users@gluster.orgmailto:Gluster-users@gluster.org

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





--

Alan Orth

alan.o...@gmail.commailto: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

Re: [Gluster-users] Shutting down a GlusterFS server.

2013-10-14 Thread James
On Mon, 2013-10-14 at 07:13 +, jan.dre...@bertelsmann.de wrote:
 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?!
Heal will verify that the files on the brick are up to date when it
comes back online. Like a safety system if something happened when it
was down.


 
 Regards
 Jan



signature.asc
Description: This is a digitally signed message part
___
Gluster-users mailing list
Gluster-users@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] Shutting down a GlusterFS server.

2013-10-13 Thread Alan Orth
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

Re: [Gluster-users] Shutting down a GlusterFS server.

2013-10-13 Thread Bobby Jacob
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-boun...@gluster.org 
[mailto:gluster-users-boun...@gluster.org] On Behalf Of Alan Orth
Sent: Sunday, October 13, 2013 3:54 PM
To: gluster-users@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-boun...@gluster.orgmailto: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.orgmailto: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.orgmailto:Gluster-users@gluster.org

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

___

Gluster-users mailing list

Gluster-users@gluster.orgmailto:Gluster-users@gluster.org

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




--

Alan Orth

alan.o...@gmail.commailto: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

Re: [Gluster-users] Shutting down a GlusterFS server.

2013-10-02 Thread Hoggins!
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