Command-line Consumer Initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mike,

Thanks for the responses. You mentioned earlier in the
thread I could use mmr.pl to initialize (only) a
consumer. I don't see that option with the tool; only
"create", "remove" and "display". I noticed the create
function calls three other functions,
"config_supplier", "add_rep_agreement", and then
"initialize".
If I want to initialize only, do I need to re-create
the agreements?
I tried modifying it to have an --init option with
only the "initialize($host1, $host2) function being
called, but kept getting the mmr usage, and wasn't
sure if its possible to do an initialize only.


Thanks,
Jim


--- Mike Jackson <mj at sci.fi> wrote:

> Gordon Messmer wrote:
> > Chris St. Pierre wrote:
> > 
> >> You'll want to set up two-way replication
> agreements between each pair
> >> of hosts in your setup.  So if you had A, B, C,
> and D, you'd set up
> >> agreements between A-B, A-C, A-D, B-C, B-D, and
> C-D.
> >>   
> > 
> > 
> > The documentation contradicts you.  Look at the
> second figure in the 
> > "Multi-Master Replication" section of the admin
> manual (hard to see), 
> > and the section "Configuring 4-Way Multi-Master
> Replication" several 
> > pages below it:
> >
>
http://www.redhat.com/docs/manuals/dir-server/ag/7.1/replicat.html#1101818
> > 
> > The admin manual suggests a ring topology (and two
> agreements per set of 
> > peers) for multi-master agreements.  You should
> have agreements between 
> > A->B, A->D, B->A, B->C, C->B, C->D, D->C, and
> D->A.
> 
> Ring-topology survives 1 server failure, but not
> two. You need to 
> understand your high-availability requirements to
> decide which is right 
> for you.
> 
> Full-mesh replication supports 2 servers failing at
> the same time, but 
> increases replication traffic.
> 
> Mininum level of agreements for 4-way MMR:
> 1 <-> 2
> 1 <-> 3
> 2 <-> 4
> 
> 
> Maximum level of agreements (full-mesh) for 4-way
> MMR (each machine 
> replicates to 3 targets):
> 1 <-> 2
> 1 <-> 3
> 1 <-> 4
> 2 <-> 3
> 2 <-> 4
> 3 <-> 4
> 
> Again, it's much easier to visualize when you draw
> numbered boxes on 
> paper and connect the dots :-)
> 
> The systems I design require high-availability for
> writes, so I use 
> full-mesh MMR.
> 
> --
> mike
> 
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
>
https://www.redhat.com/mailman/listinfo/fedora-directory-users
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux