Problem with glusterd init.d stop

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

 



>
> 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)



[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