Re: glue entry problem

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

 



>
> You mentioned 2 servers ldap1 and ldap2.  Are they both masters? You put
> "local consumer" to ldap2.  Does that mean ldap2 is a read only replica?

We have two data centers and each data center has an ldap1 and ldap2.  All
4 are masters, but we only ever send updates to DCA-ldap1.  That then
pushes to DCA-ldap2 and to DCB-ldap1.  DCB-ldap1 pushes to DCB-ldap2, so
the ldap2's are really functioning as consumers all the time.

>
> It looks to me ldap1 got broken and ldap2 is still healthy.  You may
> want to make ldap1 in sync with ldap2 and start from there. If ldap2 is
> a master,  you could re-initialize ldap1 from ldap2.
>
> If ldap2 is a read only replica, you could export the contents with
> db2ldif -r -n <your_backend> command line utility on ldap2 and import
> the exported ldif file to ldap1.
>
> Or if you don't mind losing the replication information such as
> tombstones and state info, you could export the contents without "-r" by
> db2ldif on ldap2 and import the ldif file to ldap1, then re-initialize
> ldap2 on ldap1.
>
> Hope you could choose one of the 3 ways and it fixes the problem.

I will give this a shot.  When we tried to initialize these last week the
initialization emptied out the receiving ldap and I believe that was a bug
that is fixed in 1.3.  I recovered by using a backup but I don't want to
try initializing again until we can upgrade to 1.3. Can I still do the
ldif on ldap2, since it is actually a master rather than a read only
replica?

Thanks,
EJ


--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users





[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