Anthony J. Biacco
2011-May-06 18:28 UTC
[Gluster-users] [SPAM?] Do clients need to run glusterd?
Huh, I didn't know this either. I've had it off too on clients. Glad somebody asked. -Tony --------------------------- Manager, IT Operations Format Dynamics, Inc. P: 303-228-7327 F: 303-228-7305 abiacco at formatdynamics.com http://www.formatdynamics.com> -----Original Message----- > From: gluster-users-bounces at gluster.org [mailto:gluster-users- > bounces at gluster.org] On Behalf Of Burnash, James > Sent: Friday, May 06, 2011 12:17 PM > To: 'Joshua Baker-LePain'; gluster-users > Subject: Re: [Gluster-users] [SPAM?] Do clients need to run glusterd? > > Yes, client do need to run glusterd - it serves both the server andthe client.> > James Burnash, Unix Engineering > > -----Original Message----- > From: gluster-users-bounces at gluster.org [mailto:gluster-users- > bounces at gluster.org] On Behalf Of Joshua Baker-LePain > Sent: Friday, May 06, 2011 1:39 PM > To: gluster-users > Subject: [SPAM?] [Gluster-users] Do clients need to run glusterd? > Importance: Low > > The glusterfs-core RPM installs the glusterd daemon and sets it tostart> automatically. I figured this wasn't needed on clients, so I turnedit> off. However, I now see tons of messages like this in the logs of the > servers: > > [2011-05-06 00:03:57.253243] W > [socket.c:1494:__socket_proto_state_machine] 0-socket.management: > reading from socket failed. Error (Transport endpoint is notconnected), peer> (172.19.12.160:1022) > > where 172.19.12.160 is an example client address. The simple testsI've> run seem to work (file creation, can see new files from other clients, > etc). But the warning message gave me pause. > > -- > Joshua Baker-LePain > QB3 Shared Cluster Sysadmin > UCSF > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users > > > DISCLAIMER: > This e-mail, and any attachments thereto, is intended only for use bythe> addressee(s) named herein and may contain legally privileged and/or > confidential information. If you are not the intended recipient ofthis e-mail,> you are hereby notified that any dissemination, distribution orcopying of this> e-mail, and any attachments thereto, is strictly prohibited. If youhave> received this in error, please immediately notify me and permanentlydelete> the original and any copy of any e-mail and any printout thereof.E-mail> transmission cannot be guaranteed to be secure or error-free. Thesender> therefore does not accept liability for any errors or omissions in thecontents> of this message which arise as a result of e-mail transmission. > NOTICE REGARDING PRIVACY AND CONFIDENTIALITY Knight Capital Group > may, at its discretion, monitor and review the content of all e-mail > communications. http://www.knight.com > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
Burnash, James
2011-May-06 18:34 UTC
[Gluster-users] [SPAM?] Do clients need to run glusterd?
I should point out that my statement is true for 3.1.x and later. I don't think it's true for earlier versions. Sorry for the ambiguity. James Burnash, Unix Engineering -----Original Message----- From: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] On Behalf Of Anthony J. Biacco Sent: Friday, May 06, 2011 2:29 PM To: gluster-users Subject: Re: [Gluster-users] [SPAM?] Do clients need to run glusterd? Huh, I didn't know this either. I've had it off too on clients. Glad somebody asked. -Tony --------------------------- Manager, IT Operations Format Dynamics, Inc. P: 303-228-7327 F: 303-228-7305 abiacco at formatdynamics.com http://www.formatdynamics.com> -----Original Message----- > From: gluster-users-bounces at gluster.org [mailto:gluster-users- > bounces at gluster.org] On Behalf Of Burnash, James > Sent: Friday, May 06, 2011 12:17 PM > To: 'Joshua Baker-LePain'; gluster-users > Subject: Re: [Gluster-users] [SPAM?] Do clients need to run glusterd? > > Yes, client do need to run glusterd - it serves both the server andthe client.> > James Burnash, Unix Engineering > > -----Original Message----- > From: gluster-users-bounces at gluster.org [mailto:gluster-users- > bounces at gluster.org] On Behalf Of Joshua Baker-LePain > Sent: Friday, May 06, 2011 1:39 PM > To: gluster-users > Subject: [SPAM?] [Gluster-users] Do clients need to run glusterd? > Importance: Low > > The glusterfs-core RPM installs the glusterd daemon and sets it tostart> automatically. I figured this wasn't needed on clients, so I turnedit> off. However, I now see tons of messages like this in the logs of the > servers: > > [2011-05-06 00:03:57.253243] W > [socket.c:1494:__socket_proto_state_machine] 0-socket.management: > reading from socket failed. Error (Transport endpoint is notconnected), peer> (172.19.12.160:1022) > > where 172.19.12.160 is an example client address. The simple testsI've> run seem to work (file creation, can see new files from other clients, > etc). But the warning message gave me pause. > > -- > Joshua Baker-LePain > QB3 Shared Cluster Sysadmin > UCSF > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users > > > DISCLAIMER: > This e-mail, and any attachments thereto, is intended only for use bythe> addressee(s) named herein and may contain legally privileged and/or > confidential information. If you are not the intended recipient ofthis e-mail,> you are hereby notified that any dissemination, distribution orcopying of this> e-mail, and any attachments thereto, is strictly prohibited. If youhave> received this in error, please immediately notify me and permanentlydelete> the original and any copy of any e-mail and any printout thereof.E-mail> transmission cannot be guaranteed to be secure or error-free. Thesender> therefore does not accept liability for any errors or omissions in thecontents> of this message which arise as a result of e-mail transmission. > NOTICE REGARDING PRIVACY AND CONFIDENTIALITY Knight Capital Group > may, at its discretion, monitor and review the content of all e-mail > communications. http://www.knight.com > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users_______________________________________________ Gluster-users mailing list Gluster-users at gluster.org http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
Anthony J. Biacco
2011-May-06 23:19 UTC
[Gluster-users] [SPAM?] Do clients need to run glusterd?
Ok, then i wouldnt understand why shutting down the daemon via the init script would also kill the clients? Since its possible for the clients to be able to access a redundant server. -Tony -----Original Message----- From: Vikas Gorur <vikas at gluster.com> Sent: May 06, 2011 2:44 PM To: Anthony J. Biacco <abiacco at formatdynamics.com> Cc: Burnash, James <jburnash at knight.com>; gluster-users <gluster-users at gluster.org> Subject: Re: [Gluster-users] [SPAM?] Do clients need to run glusterd? The clients do *not* need to run glusterd. Glusterd is the management daemon, and it needs to run on all the servers. If you shut down the glusterd service, it stops all volumes by killing the GlusterFS processes. This is why you will see your clients return errors. Glusterd interacts with the 'gluster' command-line tool, and is responsible for creating and starting volumes and making changes to volume configuration. It is perfectly okay to run a GlusterFS client on the same machine as the server. The client part of GlusterFS is simply a single GlusterFS process that does the mount through FUSE. It has no interaction with glusterd. ------------------- Vikas Gorur Engineer - Gluster -------------------