[Gluster-users] geo-replication loops

Rahul C S rahul at gluster.com
Thu Jan 5 17:50:04 UTC 2012


Yes,

Currently, you can have 1 master & multiple slaves, but not multiple
masters sinking over each other because there are marker translators which
set extended attributes & so there is a chance of that getting corrupt.

Frankly for your requirements, you need to wait for the active/active
configuration to come in. ;-)


On Thu, Jan 5, 2012 at 3:17 PM, Giovanni Toraldo <gt at libersoft.it> wrote:

> Hi Rahul,
>
> thanks for your reply.
>
> 2012/1/5 Rahul C S <rahul at gluster.com>:
> > What I understand from the scenario you are talking about is that you
> want
> > to achieve active/active geo-replication which is a proposed feature
> > internally & will be coming soon. :-)
>
> That's great to hear!
>
> I tried to configure a bidirectional geo-replication between 3
> different nodes and this fail after starting the first backward
> geo-replication with:
>
> [2012-01-03 22:10:05.286315] I [gsyncd:289:main_i] <top>: syncing:
> gluster://localhost:sam
> ba-core-volume -> ssh://samba-ext2.local:/srv/gluster
> [2012-01-03 22:10:10.127707] E [syncdutils:133:log_raise_exception]
> <top>: FAIL:
> Traceback (most recent call last):
>  File "/usr/lib/glusterfs/glusterfs/python/syncdaemon/gsyncd.py",
> line 105, in main
>    main_i()
>  File "/usr/lib/glusterfs/glusterfs/python/syncdaemon/gsyncd.py",
> line 299, in main_i
>    local.service_loop(*[r for r in [remote] if r])
>  File "/usr/lib/glusterfs/glusterfs/python/syncdaemon/resource.py",
> line 401, in service_
> loop
>    GMaster(self, args[0]).crawl_loop()
>  File "/usr/lib/glusterfs/glusterfs/python/syncdaemon/master.py",
> line 113, in crawl_loop
>    self.crawl()
>  File "/usr/lib/glusterfs/glusterfs/python/syncdaemon/master.py",
> line 173, in crawl
>    volinfo_sys = self.get_sys_volinfo()
>  File "/usr/lib/glusterfs/glusterfs/python/syncdaemon/master.py",
> line 27, in get_sys_vol
> info
>    raise RuntimeError("cannot work with multiple foreign masters")
> RuntimeError: cannot work with multiple foreign masters
>
> Is this the expected error when trying to use master/master
> geo-replication with GlusterFS 3.2.5?
>
> Thanks!
>
> --
> Giovanni Toraldo - LiberSoft
> http://www.libersoft.it
>



-- 
Regards,
Rahul C S
Engineer @ Gluster.
Ph: +919591407901
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120105/10614966/attachment.html>


More information about the Gluster-users mailing list