Problem with glusterd init.d stop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux