gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] Introducing a new option to gluster peer command.


From: Nagaprasad Sathyanarayana
Subject: Re: [Gluster-devel] Introducing a new option to gluster peer command.
Date: Tue, 01 Apr 2014 10:31:42 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 04/01/2014 08:23 AM, James wrote:
On Mon, Mar 31, 2014 at 10:29 PM, Nagaprasad Sathyanarayana
<address@hidden> wrote:
In the current design, gluster peer probe does the job of both probing the
server and adding it to trusted pool. Once the server is added to trusted
pool, it can be detached usingpeer detach command.

Wondering if it makes sense to bring in gluster peer attach command to add
the server to trusted pool. The peer probe command will only prove the
server mentioned and tells if it is reachable. It can also be enhanced to do
some diagnostics such as probing specific ports.
Do I understand correctly:

gluster peer attach would attach the probing server into the pool it
is probing, correct?
If so, and if it is already a member of a pool, could you join two
different pools together?
I don't know what the gluster internals implications are, but as long
as I understand this correctly, then I think it would benefit the
management side of glusterfs.

It would certainly make peering more decentralized, as long as double
peering or running a simultaneous peer attach and peer probe don't
cause issues. This last point is very important :)


Cheers,
James
The "gluster peer attach" should work the same way as existing "gluster peer probe". The new "gluster peer probe" shall only probe the peer and not add it to the trusted pool.  When we give peer detach option, I think it would be natural to expect a peer attach command.

Thanks
Naga

reply via email to

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