Geoff
2007-Aug-01 02:42 UTC
[Fedora-directory-users] Instructions to add a new multi-master?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000099"> Hi,<br> I have managed to setup a 4 way multi-master FDS environment. If I kill one multi-master the other 3 continue to update. Can someone point me to a document on how to re-introduce a fresh master (ie. re-populate all the data and then re-add it to the multi-master cluster (without an outage))? Or does anyone have some instructions?<br> Thx<br> Geoff<br> <br> <br> </body> </html>
Satish Chetty
2007-Aug-01 05:50 UTC
Re: [Fedora-directory-users] Instructions to add a new multi-master?
Geoff, I think the procedure is the same for addition of one more master. * Remove the replication agreements on the other 3 masters to the now defunct master * Install DS and configure it as a MMR Master with new master id * Choose one master and setup replication agreement with new master. * Initialize the new master * Setup MMR agreements from/to others masters to new master AFAIK, you can have more than 4 masters participating in MMR. -Satish. Geoff wrote:> Hi, > I have managed to setup a 4 way multi-master FDS environment. If I kill > one multi-master the other 3 continue to update. Can someone point me > to a document on how to re-introduce a fresh master (ie. re-populate all > the data and then re-add it to the multi-master cluster (without an > outage))? Or does anyone have some instructions? > Thx > Geoff > > > > ------------------------------------------------------------------------ > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users
mallapadi niranjan
2007-Aug-01 09:18 UTC
Re: [Fedora-directory-users] Instructions to add a new multi-master?
hi satish would it be possible to just install DS and setup the same hostaname and same replica ID, and start the replication. Why should we delete the replication aggreement in other master servers, who had replication agreement with them. Suppose there were more than 4 LDAP server say 6 and all are Master replicating each other, if suddenly any of the master server goes down due to hardware reasons, so just installing os , Directory server and putting the same hostname and replica ID and starting replication , would the above be possible ? again creating replication aggreements in all the system just because of 1 server going down. can there be any other work around regards mallapadi On 8/1/07, Satish Chetty <satish@suburbia.org.au> wrote:> > Geoff, > I think the procedure is the same for addition of one more master. > * Remove the replication agreements on the other 3 masters to the now > defunct master > * Install DS and configure it as a MMR Master with new master id > * Choose one master and setup replication agreement with new master. > * Initialize the new master > * Setup MMR agreements from/to others masters to new master > > AFAIK, you can have more than 4 masters participating in MMR. > > -Satish. > > Geoff wrote: > > Hi, > > I have managed to setup a 4 way multi-master FDS environment. If I kill > > one multi-master the other 3 continue to update. Can someone point me > > to a document on how to re-introduce a fresh master (ie. re-populate all > > the data and then re-add it to the multi-master cluster (without an > > outage))? Or does anyone have some instructions? > > Thx > > Geoff > > > > > > > > ------------------------------------------------------------------------ > > > > -- > > Fedora-directory-users mailing list > > Fedora-directory-users@redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-directory-users > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
David Boreham
2007-Aug-01 14:39 UTC
Re: [Fedora-directory-users] Instructions to add a new multi-master?
mallapadi niranjan wrote:> would it be possible to just install DS and setup the same hostaname > and same replica ID, > and start the replication. Why should we delete the replication > aggreement in other master servers, who had replication agreement with > them.You don''t have to. The way I read your original post, it wasn''t clear that your goal was to deploy a _replacement_ server (it read like you wanted to add a completely new server).> Suppose there were more than 4 LDAP server say 6 and all are Master > replicating each other, if suddenly any of the master server goes down > due to hardware reasons, so just installing os , Directory server and > putting the same hostname and replica ID and starting replication ,You''d need to manually initialize the replica once (replication from the peers will stall until you do this because they''ll detect the RUV reset and refuse to send incremental updates).> would the above be possible ? again creating replication aggreements > in all the system just because of 1 server going down.Yes, this should work just fine.
Geoff
2007-Aug-02 22:21 UTC
Re: [Fedora-directory-users] Instructions to add a new multi-master?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000099">
Correct guys, I did ask how to add a new master and I understand that
you would destroy the existing replication agreements to insert the new
master.<br>
<br>
My test involved setting up 4 way (circular) replication agreements
between 4 DS.<br>
I destroyed one ant the other 3 DS continued to replicate without
issue.<br>
I then rebuilt and added the 4 DS back in to the 4 way (circular)
replication.<br>
It did not rebuild itself to contain all of the information the other 3
DS carried and this is what concerned me.<br>
When I added a record to any of the masters it would replicate around
to all 4DS. <br>
But the dropped and rebuilt master never recovered all the data, just
added the new additions.<br>
<br>
I notice you mention "initialize the replica". It sounds
like a step I
am missing. How does one do that?<br>
<br>
Thanks<br>
Geoff<br>
<br>
David Boreham wrote:
<blockquote cite="mid:46B09B11.8090407@boreham.org"
type="cite">mallapadi
niranjan wrote:
<br>
<blockquote type="cite">would it be possible to just install
DS and
setup the same hostaname and same replica ID,
<br>
and start the replication. Why should we delete the replication
aggreement in other master servers, who had replication agreement with
them.
<br>
</blockquote>
You don''t have to. The way I read your original post, it
wasn''t clear
that your goal was to
<br>
deploy a _replacement_ server (it read like you wanted to add a
completely new server).
<br>
<blockquote type="cite">Suppose there were more than 4 LDAP
server
say 6 and all are Master replicating each other, if suddenly any of the
master server goes down due to hardware reasons, so just installing os
, Directory server and putting the same hostname and replica ID and
starting replication ,
<br>
</blockquote>
You''d need to manually initialize the replica once (replication from
the peers will
<br>
stall until you do this because they''ll detect the RUV reset and refuse
to send incremental updates).
<br>
<blockquote type="cite">would the above be possible ? again
creating
replication aggreements in all the system just because of 1 server
going down.
<br>
</blockquote>
Yes, this should work just fine.
<br>
<br>
<br>
--
<br>
Fedora-directory-users mailing list
<br>
<a class="moz-txt-link-abbreviated"
href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a>
<br>
<a class="moz-txt-link-freetext"
href="https://www.redhat.com/mailman/listinfo/fedora-directory-users">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a>
<br>
<br>
</blockquote>
<br>
</body>
</html>
David Boreham
2007-Aug-03 00:57 UTC
Re: [Fedora-directory-users] Instructions to add a new multi-master?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hmm...what you describe below (new replica only picks up new changes,
not<br>
existing content) is specifically not supposed to happen. The code
doesn''t allow it<br>
so I''m rather baffled as to how you achieved it. Upon initiating each
replication<br>
transfer, the source server inspects the replica update vector supplied
by the<br>
destination server. In the case of a newly installed server, that ruv
will have a<br>
special null value. Receipt of that value causes the source server to
refuse to send<br>
updates. It prints an error message in the log and basically sulks
forever with respect<br>
to that replica. At least that''s how the code is written and
that''s how
it''s always behaved<br>
in my experience.<br>
<br>
You might tell us more about exactly how you are ''dropping and
rebuilding''<br>
the replica -- possibly you are doing something strange that results in
an<br>
inconsistency between the server''s content and its ruv.<br>
<br>
Replica initialization is covered in the docs, here :
<a class="moz-txt-link-freetext"
href="http://www.redhat.com/docs/manuals/dir-server/ag/7.1/replicat.html#1104247">http://www.redhat.com/docs/manuals/dir-server/ag/7.1/replicat.html#1104247</a><br>
<br>
<br>
Geoff wrote:
<blockquote cite="mid:46B25903.3040300@gmail.com"
type="cite">
<meta http-equiv="Context-Type"
content="text/html; charset=ISO-8859-1">
Correct guys, I did ask how to add a new master and I understand that
you would destroy the existing replication agreements to insert the new
master.<br>
<br>
My test involved setting up 4 way (circular) replication agreements
between 4 DS.<br>
I destroyed one ant the other 3 DS continued to replicate without
issue.<br>
I then rebuilt and added the 4 DS back in to the 4 way (circular)
replication.<br>
It did not rebuild itself to contain all of the information the other 3
DS carried and this is what concerned me.<br>
When I added a record to any of the masters it would replicate around
to all 4DS. <br>
But the dropped and rebuilt master never recovered all the data, just
added the new additions.<br>
<br>
I notice you mention "initialize the replica". It sounds
like a step I
am missing. How does one do that?<br>
<br>
Thanks<br>
Geoff<br>
<br>
David Boreham wrote:
<blockquote type="cite"
cite="mid:46B09B11.8090407@boreham.org">mallapadi
niranjan wrote: <br>
<blockquote type="cite">would it be possible to just install
DS and
setup the same hostaname and same replica ID, <br>
and start the replication. Why should we delete the replication
aggreement in other master servers, who had replication agreement with
them. <br>
</blockquote>
You don''t have to. The way I read your original post, it
wasn''t clear
that your goal was to <br>
deploy a _replacement_ server (it read like you wanted to add a
completely new server). <br>
<blockquote type="cite">Suppose there were more than 4 LDAP
server
say 6 and all are Master replicating each other, if suddenly any of the
master server goes down due to hardware reasons, so just installing os
, Directory server and putting the same hostname and replica ID and
starting replication , <br>
</blockquote>
You''d need to manually initialize the replica once (replication from
the peers will <br>
stall until you do this because they''ll detect the RUV reset and refuse
to send incremental updates). <br>
<blockquote type="cite">would the above be possible ? again
creating
replication aggreements in all the system just because of 1 server
going down. <br>
</blockquote>
Yes, this should work just fine. <br>
<br>
<br>
-- <br>
Fedora-directory-users mailing list <br>
<a moz-do-not-send="true"
href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a>
<br>
<a moz-do-not-send="true"
href="https://www.redhat.com/mailman/listinfo/fedora-directory-users">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a>
<br>
<br>
</blockquote>
<br>
<pre wrap="">
<hr size="4" width="90%">
--
Fedora-directory-users mailing list
<a class="moz-txt-link-abbreviated"
href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a>
<a class="moz-txt-link-freetext"
href="https://www.redhat.com/mailman/listinfo/fedora-directory-users">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a>
</pre>
</blockquote>
<br>
</body>
</html>