Hi, I have a rather simple setup and I seem to be missing something. The logs say that the machines are connected and talking to each other however: I have the machines configured as on page: http://gluster.org/docs/index.php/Setting_up_AFR_on_two_servers_with_ser ver_side_replication This seems pretty straightforward. However, I'm concerned. I have machine 1 with a /a/foo that is populated. I have machine 2 with a /a/foo that is not populated. Shouldn't this configuration take what is on machine 1 and replicate it to machine 2? The permissions on the directories is 1777. The glusterd comes up and the log says (on each machine) that they are seeing each other.) However, nothing ever replicates. I'm on a FreeBSD 7.1 machine. Compile went fine. Fuse is working. I'm just not seeing activity or replication. Do I need to kick something to get this to work? Thank you, Paul Pathiakis UNIX/Linux Systems Engineer Iron Mountain Digital 120 Turnpike Rd. Southborough, MA 01772 Microsoft - Where do you want to go today? Linux - Where do you want to go tomorrow? FreeBSD - Will you guys come on already? The information contained in this email message and its attachments is intended only for the private and confidential use of the recipient(s) named above, unless the sender expressly agrees otherwise. Transmission of email over the Internet is not a secure communications medium. If you are requesting or have requested the transmittal of personal data, as defined in applicable privacy laws by means of email or in an attachment to email you must select a more secure alternate means of transmittal that supports your obligations to protect such personal data. If the reader of this message is not the intended recipient and/or you have received this email in error, you must take no action based on the information in this email and you are hereby notified that any dissemination, misuse, copying, or disclosure of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by email and delete the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090316/f121718f/attachment.html>
2009/3/16 Pathiakis, Paul <Paul.Pathiakis at ironmountain.com>> Hi, > > > > I have a rather simple setup and I seem to be missing something. > > > > The logs say that the machines are connected and talking to each other > however: > > > > I have the machines configured as on page: > > > > > http://gluster.org/docs/index.php/Setting_up_AFR_on_two_servers_with_server_side_replication > > > > This seems pretty straightforward. However, I?m concerned. > > > > I have machine 1 with a /a/foo that is populated. > > I have machine 2 with a /a/foo that is not populated. > > > > Shouldn?t this configuration take what is on machine 1 and replicate it to > machine 2? > > > > The permissions on the directories is 1777. > > The glusterd comes up and the log says (on each machine) that they are > seeing each other.) > > However, nothing ever replicates. > > > > I?m on a FreeBSD 7.1 machine. > > Compile went fine. Fuse is working. > > > > I?m just not seeing activity or replication. Do I need to kick something > to get this to work? >Did you do an ls -R on the gluster directory? Does that work for you? Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090316/62bbe180/attachment.html>
At 10:34 AM 3/16/2009, Pathiakis, Paul wrote:>Content-class: urn:content-classes:message >Content-Type: multipart/alternative; > boundary="----_=_NextPart_001_01C9A65D.791DF785" >I have machine 1 with a /a/foo that is populated. >I have machine 2 with a /a/foo that is not populated. > >Shouldn''t this configuration take what is on machine 1 and replicate >it to machine 2?no, it shouldn''t. iv you move /a/foo to /a/tmp then move the contents of /a/tmp to /a/foo then it will likely replicate. the files in /a/foo now dont have the extended attributes so gluster doesn''t know what to do with them. you can''t start replication with pre-existing data. The data has to at some point been put into the gluster filesytem by gluster.> >I''m just not seeing activity or replication. Do I need to kick >something to get this to work?I test my replication as follows: echo `hostname` `date` >> /path/to/gluster/mount/glustercheck then run that from the other server tail /path/to/gluster/mount/glustercheck to make sure they are the same on both machines. Keith
At 10:34 AM 3/16/2009, Pathiakis, Paul wrote:>Content-class: urn:content-classes:message >Content-Type: multipart/alternative; > boundary="----_=_NextPart_001_01C9A65D.791DF785" >I have machine 1 with a /a/foo that is populated. >I have machine 2 with a /a/foo that is not populated. > >Shouldn't this configuration take what is on machine 1 and replicate >it to machine 2?no, it shouldn't. iv you move /a/foo to /a/tmp then move the contents of /a/tmp to /a/foo then it will likely replicate. the files in /a/foo now dont have the extended attributes so gluster doesn't know what to do with them. you can't start replication with pre-existing data. The data has to at some point been put into the gluster filesytem by gluster.> >I'm just not seeing activity or replication. Do I need to kick >something to get this to work?I test my replication as follows: echo `hostname` `date` >> /path/to/gluster/mount/glustercheck then run that from the other server tail /path/to/gluster/mount/glustercheck to make sure they are the same on both machines. Keith
-----Original Message----- From: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] On Behalf Of Keith Freedman Sent: Monday, March 16, 2009 1:50 PM To: Pathiakis, Paul; gluster-users at gluster.org Subject: Re: [Gluster-users] AFR simple setup and not working? At 10:34 AM 3/16/2009, Pathiakis, Paul wrote:>Content-class: urn:content-classes:message >Content-Type: multipart/alternative; > boundary="----_=_NextPart_001_01C9A65D.791DF785" >I have machine 1 with a /a/foo that is populated. >I have machine 2 with a /a/foo that is not populated. > >Shouldn't this configuration take what is on machine 1 and replicate >it to machine 2?no, it shouldn't. iv you move /a/foo to /a/tmp then move the contents of /a/tmp to /a/foo then it will likely replicate. the files in /a/foo now dont have the extended attributes so gluster doesn't know what to do with them. you can't start replication with pre-existing data. The data has to at some point been put into the gluster filesytem by gluster.> >I'm just not seeing activity or replication. Do I need to kick >something to get this to work?I test my replication as follows: echo `hostname` `date` >> /path/to/gluster/mount/glustercheck then run that from the other server tail /path/to/gluster/mount/glustercheck to make sure they are the same on both machines. Keith Hi, Nothing. I tried the move /a/foo to /a/tmp. I then tar'd it back. Nothing on the other side. The two machines say that they have a working handshake and they are connected. Is there something better than just --debug? Should I truss the process? Thank you, P. The information contained in this email message and its attachments is intended only for the private and confidential use of the recipient(s) named above, unless the sender expressly agrees otherwise. Transmission of email over the Internet is not a secure communications medium. If you are requesting or have requested the transmittal of personal data, as defined in applicable privacy laws by means of email or in an attachment to email you must select a more secure alternate means of transmittal that supports your obligations to protect such personal data. If the reader of this message is not the intended recipient and/or you have received this email in error, you must take no action based on the information in this email and you are hereby notified that any dissemination, misuse, copying, or disclosure of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by email and delete the original message.