HELP! Lost single Master

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

 



John A. Sullivan III wrote:
> On Mon, 2009-05-04 at 08:28 -0600, Rich Megginson wrote:
>   
>> John A. Sullivan III wrote:
>>     
>>> Hello, everyone.  I did something really stupid.  I accidentally
>>> destroyed our Single Master replica server (that's what I get for
>>> resynching a failed RAID1 drive without realizing the drive device names
>>> had changed because of the failed drive!).  Thankfully we were not yet
>>> in production (although very close and thus using lots of data).
>>> However, because we were not yet in production, it was not backed up.
>>>
>>> I'd like to recover the data from the read only replica.  I'm guessing I
>>> can disable replication on the RO server and it will retain the data but
>>> now with write privileges.  I can then rebuild the master, create a
>>> reverse replication agreement to transfer the data back.  Then I can
>>> break that replication agreement, create a new one in the correct
>>> direction, and reinitialize the supplier.
>>>   
>>>       
>> No, it's not that complicated.  The simplest way would be to just use 
>> db2ldif to dump your replica database, then use ldif2db to import it 
>> into the master.  Then reinit your replica from the master.
>>     
> Phew!
>   
>>> However, when I created the replica server, we told it to join an
>>> existing directory server domain.  Is this simply based upon name? In
>>> other words, once I rebuild the main server and configure it using the
>>> same name and address as the original, will the secondary recognize it
>>> as the domain to which it registered or do I really need to destroy all
>>> servers and recreate the entire domain from scratch? Thanks - John
>>>   
>>>       
>> I'm not sure what you mean.
>>     
> When we installed the first server, we told it there was no existing
> directory server instance with which to register.  When we created the
> RO replica server, we told it to register with the existing instance.
>
> How do we handle that now that the original instance has been destroyed?
> What did registering it do? Thanks - John
>   
Ah, ok.  I think you need to run the register-ds-admin.pl command after 
you restore the data on the master, and tell it you want the master to 
be the configuration directory server.

Then you'll have to run setup-ds-admin.pl -u (or possibly 
register-ds-admin.pl) on the replica to register it with the 
configuration directory server.
> <snip>
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3258 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20090504/d347a80c/attachment.bin 


[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