Freddie Gutierrez
2010-Dec-19 01:00 UTC
[Gluster-users] What does this mean? State: Peer Rejected (Connected)
I have two test servers in replica 2 and both mounted using mount -t glusterfs localhost:/test-volume, they're connected and appear to be replicating files fine in both directions, however this peer status remains on both servers and I don't know what it means or what to do about it - and to feel confident using it in a production environment it's important that I know what to expect from it. I've found so little on this subject via google that I briefly checked the source to see if there were any comments to help me understand it. With no helpful comments there, no answer as of yet on IRC, I've come to the mailing list in hopes some light can be shed on this. Thanks for any help everyone :)
Pranith Kumar. Karampuri
2010-Dec-20 09:56 UTC
[Gluster-users] What does this mean? State: Peer Rejected (Connected)
hi Freddie, A Peer is Rejected during "peer probe" if the two peers have conflicting volumes, i.e. volumes with same name but different contents. Is this what happened to you?. Thanks Pranith. ----- Original Message ----- From: "Freddie Gutierrez" <liquidice at elitecoders.com> To: gluster-users at gluster.org Sent: Sunday, December 19, 2010 6:30:14 AM Subject: [Gluster-users] What does this mean? State: Peer Rejected (Connected) I have two test servers in replica 2 and both mounted using mount -t glusterfs localhost:/test-volume, they're connected and appear to be replicating files fine in both directions, however this peer status remains on both servers and I don't know what it means or what to do about it - and to feel confident using it in a production environment it's important that I know what to expect from it. I've found so little on this subject via google that I briefly checked the source to see if there were any comments to help me understand it. With no helpful comments there, no answer as of yet on IRC, I've come to the mailing list in hopes some light can be shed on this. Thanks for any help everyone :) _______________________________________________ Gluster-users mailing list Gluster-users at gluster.org http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
Pranith Kumar. Karampuri
2010-Dec-21 03:21 UTC
[Gluster-users] What does this mean? State: Peer Rejected (Connected)
Yes probe will automatically happen. Lets say you killed glusterd on one machine and did some configuration on the other machine, when the first glusterd is started again they will go into rejected state because there will be conflicts in the configuration. glusterfs and glusterd are different processes, so there will not be any problem with the replication or any thing that was happening before they went into rejected state. Lets say 192.168.1.2, 192.168.1.3 are two peers in cluster which went into rejected state. If you execute a gluster command on 192.168.1.2 it wont be effective on 192.168.1.3. and vice versa. Pranith. ----- Original Message ----- From: "Freddie Gutierrez" <liquidice at elitecoders.com> To: "Pranith Kumar. Karampuri" <pranithk at gluster.com> Sent: Monday, December 20, 2010 11:40:43 PM Subject: Re: [Gluster-users] What does this mean? State: Peer Rejected (Connected) Does peer probe happen automatically when a gluster daemon is restarted? ... The files appear to be the same, they're replicating, too. On Dec 20, 2010, at 1:56 AM, Pranith Kumar. Karampuri wrote:> hi Freddie, > A Peer is Rejected during "peer probe" if the two peers have conflicting volumes, i.e. volumes with same name but different contents. > Is this what happened to you?. > > Thanks > Pranith. > > ----- Original Message ----- > From: "Freddie Gutierrez" <liquidice at elitecoders.com> > To: gluster-users at gluster.org > Sent: Sunday, December 19, 2010 6:30:14 AM > Subject: [Gluster-users] What does this mean? State: Peer Rejected (Connected) > > I have two test servers in replica 2 and both mounted using mount -t glusterfs localhost:/test-volume, they're connected and appear to be replicating files fine in both directions, however this peer status remains on both servers and I don't know what it means or what to do about it - and to feel confident using it in a production environment it's important that I know what to expect from it. > > > I've found so little on this subject via google that I briefly checked the source to see if there were any comments to help me understand it. With no helpful comments there, no answer as of yet on IRC, I've come to the mailing list in hopes some light can be shed on this. > > > Thanks for any help everyone :) > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users >