[Gluster-users] Problem with glusterd init.d stop

Emir Imamagic eimamagi at srce.hr
Mon Nov 11 11:34:17 UTC 2013


Hello,

I was just thinking of doing something similar on my cluster. Thanks for 
the patch.

Cheers
emir

On 11.11.2013. 12:24, Heiko L. wrote:
>
>>
>> Is there some other mechanism to gracefully stop all daemons started by
>> a given glusterd?
>
>
> On my Testbed (glusterfs-nfs, solaris) i use following patch:
>
> $ diff 130517.glusterfs-3.3.1.rcfile_sol.glusterd  130526.glusterfs-3.3.1.rcfile_sol.glusterd
> 52a53,56
>>        ## kill glusterfsd glusterfs
>>         for pid in `ps -ef | grep /usr/local/sbin/gluster | grep -v grep | grep -v "$0" | awk '{print $2}'`; do
>>          echo "kill $pid"; kill -15 $pid
>>         done
>
>
>
> Heiko
>
> [1] http://www2.fh-lausitz.de/launic/comp/sol/130430.osol.diag_make_glusterfs/130526.glusterfs-3.3.1.rcfile_sol.glusterd
>   (based on debian)
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>


-- 
Emir Imamagic
SRCE - University of Zagreb University Computing Centre, www.srce.unizg.hr
Emir.Imamagic at srce.hr, tel: +385 1 616 5809, fax: +385 1 616 5559



More information about the Gluster-users mailing list