[prev in list] [next in list] [prev in thread] [next in thread]
List: fedora-directory-users
Subject: Re: [389-users] MMR referral list questions.
From: Rich Megginson <rmeggins () redhat ! com>
Date: 2011-12-14 21:34:11
Message-ID: 4EE91653.7080101 () redhat ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On 11/18/2011 05:17 PM, Shardul Kerkar wrote:
>
> Hi ,
>
> I am testing MMR on our QA ldap servers using version 1.1.2.
>
> Currently I have setup Master-1 and Master-2 as the two read-write
> suppliers. Hub-1 has replication agreements with Master-1 and
> Master-2. Rep-1 has replication to Hub-1.
>
> Consequently Hub-1 has Master-1 and Master-2 in its referral list.
> Anytime I do a write on rep, the change always takes place on Master-1
> and flows down the tree. Only if I bring Master-1 down, does Master-2
> take over.
>
> How do I tell Hub-1 to distribute writes equally to both Masters.
>
You can't. You'll have to use some sort of external round robin or load
balancer.
>
> Also if I want to intentionally do all changes on Master-2, is there a
> way for Hub to prefer one referral over the other?
>
See
http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/8.2/html-single/Administration_Guide/index.html#Configuring-Replication-Suppliers-cmd
Table 9.2 Replica Attributes
nsds5ReplicaReferral
>
> Thank you,
>
> Shar
>
>
> --
> 389 users mailing list
> 389-users@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users
[Attachment #5 (text/html)]
<!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">
On 11/18/2011 05:17 PM, Shardul Kerkar wrote:
<blockquote
cite="mid:C4C308A12A44EA4FABA72461FCBA807820C765F567@accmail.acc.accessline.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi , <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am testing MMR on our QA ldap servers
using version 1.1.2. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Currently I have setup Master-1 and
Master-2 as the two read-write suppliers. Hub-1 has
replication agreements with Master-1 and Master-2. Rep-1 has
replication to Hub-1. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Consequently Hub-1 has Master-1 and
Master-2 in its referral list. Anytime I do a write on rep,
the change always takes place on Master-1 and flows down the
tree. Only if I bring Master-1 down, does Master-2 take \
over.<o:p></o:p></p> <p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">How do I tell Hub-1 to distribute writes
equally to both Masters.</p>
</div>
</blockquote>
You can't. You'll have to use some sort of external round robin or
load balancer.<br>
<blockquote
cite="mid:C4C308A12A44EA4FABA72461FCBA807820C765F567@accmail.acc.accessline.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal">Also if I want to intentionally do all
changes on Master-2, is there a way for Hub to prefer one
referral over the other? </p>
</div>
</blockquote>
See
<a class="moz-txt-link-freetext" \
href="http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/8.2/html-single/Admin \
istration_Guide/index.html#Configuring-Replication-Suppliers-cmd">http://docs.redhat.c \
om/docs/en-US/Red_Hat_Directory_Server/8.2/html-single/Administration_Guide/index.html#Configuring-Replication-Suppliers-cmd</a><br>
<br>
Table 9.2 Replica Attributes<br>
nsds5ReplicaReferral<br>
<blockquote
cite="mid:C4C308A12A44EA4FABA72461FCBA807820C765F567@accmail.acc.accessline.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Shar<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
389 users mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a> \
<a class="moz-txt-link-freetext" \
href="https://admin.fedoraproject.org/mailman/listinfo/389-users">https://admin.fedoraproject.org/mailman/listinfo/389-users</a></pre>
</blockquote>
<br>
</body>
</html>
[Attachment #6 (text/plain)]
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic