[Gluster-devel] how to stop a gluster server

Steffen Grunewald steffen.grunewald at aei.mpg.de
Thu May 29 07:15:56 UTC 2008


On Tue, May 27, 2008 at 01:18:31PM -0700, Amar S. Tumballi wrote:
> On Tue, May 27, 2008 at 1:11 PM, Shaofeng Yang <syang at incando.com> wrote:
> 
> > Hi,
> >
> > I am wondering how to stop a gluster server.
> > Just kill the pid with [gluster]?  If the client and server running on the
> > same machine, both will show as [gluster] from ps. How to identify which
> > one
> > is the client/server?
> 
> There are already few init.d scripts available in 'extras/init.d' directory
> of source, also you can use  --pidfile option while running glusterfs so you
> can differentiate  client for server. Soon we will be evaluating few more
> init.d scripts we got from community, so you can have more example to look.

Something I'd consider important (since it allows on-the fly reconfiguration)
would be a true "reload" functionality in the init script (config file of
server or client, respective, re-read and changes applied to current setup
of deamon/userspace client). In the traditional manner, this would require
the server/client to handle a SIGHUP. (Actually, the code is already there,
but SIGHUP would "only" rotate the logs.)

Any chance?

Cheers,
 Steffen

-- 
Steffen Grunewald * MPI Grav.Phys.(AEI) * Am Mühlenberg 1, D-14476 Potsdam
Cluster Admin * http://pandora.aei.mpg.de/merlin/ * http://www.aei.mpg.de/
* e-mail: steffen.grunewald(*)aei.mpg.de * +49-331-567-{fon:7233,fax:7298}
No Word/PPT mails - http://www.gnu.org/philosophy/no-word-attachments.html





More information about the Gluster-devel mailing list