[Gluster-users] try to understand how it works...
raghavendra at gluster.com
Sun Dec 27 14:03:06 UTC 2009
Please find the comments inlined below.
On Sun, Dec 27, 2009 at 4:26 PM, David Touzeau <david at touzeau.eu> wrote:
> My english is poor but after several research i will not really
> understand how the replication works.
> I have created 3 clusters server that share 2 directories in
> cluster/replicate mode
> each server mount the pool clusters in /mnt/replicate
> and /mnt/replicate2
> if i add a file in /home/replicate in one node, nothing happen in others
> The file is not added in the desired folder /home/replicate on others
you should not do any filesystem operations on the back-end directory
directly. The correct way of doing it, is to create a file on /mnt/replicate
or /mnt/replicate2 (two mount-points are not necessary for correct working
of replicate, unless you really want two mount points) and checking the
backend directories (ls on both backend directories should show the file
> But if a do an "ls mnt/replicate" in the mounted directory the file is
> correctly added on all nodes.
> did i must cron the "ls" in order to execute the replication ?
No, during normal operation, replicate automatically replicates. Only when
there is a node failure, and when the node comes up you need to execute 'ls
-lR /mnt/replicate" to heal the node which is up now with the node which was
> did the cluster mode is not in "real time" and this is the standard
> procedure ?
> best regards
> Gluster-users mailing list
> Gluster-users at gluster.org
More information about the Gluster-users