Restore Master LDAP Server from Secondary???

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

 



On 5/24/07, HAWKER, Dan <Dan.HAWKER at uk4.astrium.eads.net> wrote:
>
>
> Hi All,
>
> I've been happily running FDS (v1.02) for about a year, all fairly good.
>
> I have it configured with a Single Master and one backup/slave server.
> Unfortunately after a series of nasty power failures last weekend, the
> master is no longer working as expected and after using verify-bd.pl it
> seems the database(s) are corrupted.
>
> I have a backup (on tape), however I was wondering if I could use the
> still working (why my users can still auth OK) secondary as a means of
> re-populating the master again.
>
> For instance, can I *upgrade* the slave to a master, and then replicate
> to the *old* master (once I have reinstalled/rebuilt it). Or maybe
> simply dump the slaves data to LDIF and then re-import into the *old*
> master.

I'd do it using LDIF dumps taken with db2ldif on the slave. Restore is
done with ldif2db on the master host. Then check errors logs to see if
you need to reinitialize replication or recreate your changelog.

Cmd-line scripts doc is at:
http://www.redhat.com/docs/manuals/dir-server/cli/scripts.htm#pgfId-18294

> Does that make any sense??? Just wondered if there was a quick way of
> using the secondary to accomplish this, before I start sifting through
> tapes...
>
> TIA
>
> Dan
>
> --
>
> Dan Hawker
> Linux System Administrator
> Astrium
> http://www.astrium.eads.net
>
> --
>
> This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Astrium disclaims any and all liability if this email transmission was virus corrupted, altered or falsified.
> ---------------------------------------------------------------------
> Astrium Limited, Registered in England and Wales No. 2449259
> Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-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