Re: how to stop a gluster server

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

 



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@xxxxxxxxxxx> 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




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

  Powered by Linux