[Gluster-users] Problem with glusterd init.d stop
Heiko L.
heikol at fh-lausitz.de
Mon Nov 11 11:24:34 UTC 2013
>
> 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)
More information about the Gluster-users
mailing list