<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>
<div>I am trying to configure geo-replication between two gluster volumes.</div>
<div><br>
</div>
<div>The Master is:</div>
<div>
<div>[root@creator images]# gluster volume info</div>
<div>Volume Name: images</div>
<div>Type: Distributed-Replicate</div>
<div>Status: Started</div>
<div>Number of Bricks: 2 x 2 = 4</div>
<div>Transport-type: tcp</div>
<div>Bricks:</div>
<div>Brick1: stor-001:/glusterfs</div>
<div>Brick2: stor-002:/glusterfs</div>
<div>Brick3: stor-003:/glusterfs</div>
<div>Brick4: stor-004:/glusterfs</div>
<div>Options Reconfigured:</div>
<div>geo-replication.indexing: on</div>
</div>
<div><br>
</div>
<div>The slave is:</div>
<div>[root@arcus-0005 newimage]# gluster volume info</div>
<div>
<div>Volume Name: newimages</div>
<div>Type: Distribute</div>
<div>Status: Started</div>
<div>Number of Bricks: 2</div>
<div>Transport-type: tcp</div>
<div>Bricks:</div>
<div>Brick1: stor-005:/zpool01/glshare006-01</div>
<div>Brick2: stor-006:/zpool01/glshare006-01</div>
</div>
<div><br>
</div>
<div>The host named creator (also known as stor-000, where I am starting the replication from) is a peer (glusterd and glusterfs running) but does not provide bricks on the master group. </div>
<div>
<div>[root@creator images]# ps ax | grep gluster</div>
<div> 5958 ? Ssl 5:44 /opt/glusterfs/3.2.2/sbin/glusterd</div>
<div> 6099 ? Ssl 328:43 /opt/glusterfs/3.2.2/sbin/glusterfs --log-level=INFO --volfile-id=/images --volfile-server=stor-000 /var/lib/xen/images</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Here is what I get when trying to start geo-replication:</div>
<div><br>
</div>
<div>
<div>[root@creator ~]# gluster volume geo-replication images stor-005:/newimage start</div>
<div>Starting geo-replication session between images & stor-005:/newimage has been successful</div>
<div>[root@creator ~]# gluster volume geo-replication images stor-005:/newimage status</div>
<div>MASTER SLAVE STATUS </div>
<div>--------------------------------------------------------------------------------</div>
<div>images stor-005:/newimage faulty </div>
<div>[root@creator ~]# gluster volume geo-replication images stor-005:/newimage status</div>
<div>MASTER SLAVE STATUS </div>
<div>--------------------------------------------------------------------------------</div>
<div>images stor-005:/newimage faulty </div>
<div>[root@creator ~]# gluster volume geo-replication images stor-005:/newimage config log-file</div>
<div>/var/log/glusterfs/geo-replication/images/ssh%3A%2F%2Froot%4010.10.10.26%3Afile%3A%2F%2F%2Fnewimage.log</div>
<div>[root@creator ~]# cat /var/log/glusterfs/geo-replication/images/ssh%3A%2F%2Froot%4010.10.10.26%3Afile%3A%2F%2F%2Fnewimage.log</div>
<div>[2011-08-14 11:12:40.211878] I [monitor(monitor):19:set_state] Monitor: new state: starting...</div>
<div>[2011-08-14 11:12:40.261898] I [monitor(monitor):42:monitor] Monitor: ------------------------------------------------------------</div>
<div>[2011-08-14 11:12:40.262080] I [monitor(monitor):43:monitor] Monitor: starting gsyncd worker</div>
<div>[2011-08-14 11:12:40.342614] I [gsyncd:286:main_i] <top>: syncing: gluster://localhost:images -> ssh://stor-005:/newimage</div>
<div>[2011-08-14 11:12:42.869029] E [syncdutils:131:exception] <top>: FAIL: </div>
<div>Traceback (most recent call last):</div>
<div> File "/opt/glusterfs/3.2.2/local/libexec//glusterfs/python/syncdaemon/gsyncd.py", line 102, in main</div>
<div> main_i()</div>
<div> File "/opt/glusterfs/3.2.2/local/libexec//glusterfs/python/syncdaemon/gsyncd.py", line 296, in main_i</div>
<div> local.service_loop(*[r for r in [remote] if r])</div>
<div> File "/opt/glusterfs/3.2.2/local/libexec/glusterfs/python/syncdaemon/resource.py", line 401, in service_loop</div>
<div> GMaster(self, args[0]).crawl_loop()</div>
<div> File "/opt/glusterfs/3.2.2/local/libexec/glusterfs/python/syncdaemon/master.py", line 113, in crawl_loop</div>
<div> self.crawl()</div>
<div> File "/opt/glusterfs/3.2.2/local/libexec/glusterfs/python/syncdaemon/master.py", line 173, in crawl</div>
<div> volinfo_sys = self.get_sys_volinfo()</div>
<div> File "/opt/glusterfs/3.2.2/local/libexec/glusterfs/python/syncdaemon/master.py", line 22, in get_sys_volinfo</div>
<div> fgn_vis, nat_vi = self.master.server.foreign_volume_infos(), \</div>
<div> File "/opt/glusterfs/3.2.2/local/libexec/glusterfs/python/syncdaemon/resource.py", line 330, in foreign_volume_infos</div>
<div> xattr_list = Xattr.llistxattr_buf('.')</div>
<div> File "/opt/glusterfs/3.2.2/local/libexec/glusterfs/python/syncdaemon/libcxattr.py", line 57, in llistxattr_buf</div>
<div> size = cls.llistxattr(path)</div>
<div> File "/opt/glusterfs/3.2.2/local/libexec/glusterfs/python/syncdaemon/libcxattr.py", line 38, in llistxattr</div>
<div> ret = cls._query_xattr(path, siz, 'llistxattr')</div>
<div> File "/opt/glusterfs/3.2.2/local/libexec/glusterfs/python/syncdaemon/libcxattr.py", line 26, in _query_xattr</div>
<div> cls.raise_oserr()</div>
<div> File "/opt/glusterfs/3.2.2/local/libexec/glusterfs/python/syncdaemon/libcxattr.py", line 16, in raise_oserr</div>
<div> raise OSError(errn, os.strerror(errn))</div>
<div>OSError: [Errno 107] Transport endpoint is not connected</div>
</div>
<div><br>
</div>
<div>Please help.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>
<div>
<div>
<div style="font-family: Calibri; font-size: medium; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-family: Helvetica; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
--- <br>
Jojo Colina <br>
Managing Director/CTO </div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<a href="mailto:jojo.colina@arcusit.ph">jojo.colina@arcusit.ph</a><br>
ArcusIT, Inc.<br>
"Your IT, made CloudEASY" </div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<a href="http://www.arcusit.ph/">http://www.arcusit.ph/</a><br>
<br>
1007 Antel Global Corporate Center <br>
Julia Vargas cor. Meralco Avenue <br>
Pasig City, Philippines 1605 <br>
Mobile: +639399371335 <br>
Landline: +6326870422 ext. 103 <br>
<br>
<br>
"entia non sunt multiplicanda praeter necessitatem" -- Ockhams razor <br>
We must not make things more complicated than necessary.</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>