<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Dave,<br>
<br>
Yes, it is normal that one among the replica pair will be active
and participate in syncing, If active node goes down then other
node will become active.<br>
<br>
--<br>
regards<br>
Aravinda<br>
<a class="moz-txt-link-freetext" href="http://aravindavk.in">http://aravindavk.in</a><br>
<br>
On 12/14/2014 10:30 PM, David Gibbons wrote:<br>
</div>
<blockquote
cite="mid:CAJ9CW+7zbLPJF=r=u_DTwaq0N_Rs-_PJeaacWDaZ5FKGzbVEVQ@mail.gmail.com"
type="cite">
<div dir="ltr">Thank you for the advice. After re-compiling
gluster with the xml option, I was able to get geo-replication
started!
<div><br>
</div>
<div>Is this output normal? This is a 2x2 distributed/replicated
volume:</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">]#
gluster volume geo-rep shares gfs-a-bkp::bkpshares status</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">MASTER
NODE MASTER VOL MASTER BRICK
SLAVE STATUS CHECKPOINT
STATUS CRAWL STATUS</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">----------------------------------------------------------------------------------------------------------------------------------------------------</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">gfs-a-2
shares
/mnt/a-2-shares-brick-1/brick gfs-a-bkp::bkpshares
Active N/A Hybrid Crawl</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">gfs-a-2
shares
/mnt/a-2-shares-brick-2/brick gfs-a-bkp::bkpshares
Active N/A Hybrid Crawl</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">gfs-a-2
shares
/mnt/a-2-shares-brick-3/brick gfs-a-bkp::bkpshares
Active N/A Hybrid Crawl</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">gfs-a-2
shares
/mnt/a-2-shares-brick-4/brick gfs-a-bkp::bkpshares
Active N/A Hybrid Crawl</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">gfs-a-3
shares
/mnt/a-3-shares-brick-1/brick gfs-a-bkp::bkpshares
Passive N/A N/A</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">gfs-a-3
shares
/mnt/a-3-shares-brick-2/brick gfs-a-bkp::bkpshares
Passive N/A N/A</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">gfs-a-3
shares
/mnt/a-3-shares-brick-3/brick gfs-a-bkp::bkpshares
Passive N/A N/A</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">gfs-a-3
shares
/mnt/a-3-shares-brick-4/brick gfs-a-bkp::bkpshares
Passive N/A N/A</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">gfs-a-4
shares
/mnt/a-4-shares-brick-1/brick gfs-a-bkp::bkpshares
Passive N/A N/A</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">gfs-a-4
shares
/mnt/a-4-shares-brick-2/brick gfs-a-bkp::bkpshares
Passive N/A N/A</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">gfs-a-4
shares
/mnt/a-4-shares-brick-3/brick gfs-a-bkp::bkpshares
Passive N/A N/A</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">gfs-a-4
shares
/mnt/a-4-shares-brick-4/brick gfs-a-bkp::bkpshares
Passive N/A N/A</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">gfs-a-1
shares
/mnt/a-1-shares-brick-1/brick gfs-a-bkp::bkpshares
Active N/A Hybrid Crawl</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">gfs-a-1
shares
/mnt/a-1-shares-brick-2/brick gfs-a-bkp::bkpshares
Active N/A Hybrid Crawl</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">gfs-a-1
shares
/mnt/a-1-shares-brick-3/brick gfs-a-bkp::bkpshares
Active N/A Hybrid Crawl</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">gfs-a-1
shares
/mnt/a-1-shares-brick-4/brick gfs-a-bkp::bkpshares
Active N/A Hybrid Crawl</blockquote>
</blockquote>
<div><br>
</div>
<div>What I mean to say is, is it normal for two of the nodes to
be in active mode and two of the nodes to be in passive mode?
I'm thinking the answer is yes due to the
distributed/replicated nature, but would like some
confirmation of that.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Dave </div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Dec 11, 2014 at 12:19 PM,
Aravinda <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:avishwan@redhat.com" target="_blank">avishwan@redhat.com</a>></span>
wrote:
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Geo-replication depends on the xml output of Gluster
Cli commands. For example, before connecting to slave
nodes it gets the nodes list from both master and slave
using gluster volume info and status commands with
--xml.<br>
<br>
The Python tracebacks you are seeing in logs are due to
inability to parse the output of gluster commands when
xml is not supported.<br>
<br>
--<br>
regards<span class="HOEnZb"><font color="#888888"><br>
Aravinda<br>
<a moz-do-not-send="true"
href="http://aravindavk.in" target="_blank">http://aravindavk.in</a></font></span>
<div>
<div class="h5"><br>
<br>
<br>
On 12/11/2014 07:56 PM, David Gibbons wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>Thanks for the feedback, answers inline
below:</div>
<div> </div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Have you followed all the upgrade steps
w.r.t geo-rep<br>
mentioned in the following link?<br>
</blockquote>
<div><br>
</div>
<div>I didn't upgrade geo-rep, I disconnected
the old replicated server and started from
scratch. So everything with regard to
geo-rep is fresh/brand-new.</div>
<div> </div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">2.
Does the output of command 'gluster vol info
<vol-name> --xml' proper ?<br>
Please paste the output.<span><br>
</span></blockquote>
<div><br>
</div>
<div>I do not have gluster compiled with xml.
Perhaps that is the problem. Here is the
output of the command you referenced:</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">XML
output not supported. Ignoring '--xml'
option<br>
</blockquote>
<div><br>
</div>
<div>This is my config summary:</div>
<div><br>
</div>
<div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">GlusterFS
configure summary<br>
===========================<br>
FUSE client : yes<br>
Infiniband verbs : no<br>
epoll IO multiplex : yes<br>
argp-standalone : no<br>
fusermount : yes<br>
readline : no<br>
georeplication : yes<br>
Linux-AIO : no<br>
Enable Debug : no<br>
systemtap : no<br>
Block Device xlator : no<br>
glupy : no<br>
Use syslog : yes<br>
XML output : no<br>
QEMU Block formats : no<br>
Encryption xlator : no</blockquote>
</div>
<div><br>
</div>
<div>Am I missing something that is require
for geo-replication? I've found the
documentation for those of us who are
building the binaries to be a bit lacking
with regard to dependencies within the
project.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Dave</div>
<div><br>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<span class="">
<pre>_______________________________________________
Gluster-users mailing list
<a moz-do-not-send="true" href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a moz-do-not-send="true" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
</span></blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
</body>
</html>