gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] how to stop a gluster server


From: Steffen Grunewald
Subject: Re: [Gluster-devel] how to stop a gluster server
Date: Thu, 29 May 2008 09:15:56 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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 <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]