[Freeipa-users] re-initialize replica

Rob Crittenden rcritten at redhat.com
Tue Oct 6 14:22:44 UTC 2015


Andrew E. Bruno wrote:
> On Tue, Oct 06, 2015 at 09:35:08AM -0400, Rob Crittenden wrote:
>> Andrew E. Bruno wrote:
>>> The replica is not showing up when running ipa-replica-manage list.
>>>
>>>   # ipa-replica-manage list
>>>   srv-m14-32.cbls.ccr.buffalo.edu: master
>>>   srv-m14-31-02.cbls.ccr.buffalo.edu: master
>>>
>>>
>>> However, still seeing the ruvs in ldapsearch:
>>>
>>> ldapsearch -Y GSSAPI -b "cn=mapping tree,cn=config" objectClass=nsDS5ReplicationAgreement -LL
>>>
>>>
>>> nsds50ruv: {replica 5 ldap://srv-m14-30.cbls.ccr.buffalo.edu:389} 55afec6b0000
>>>  00050000 55b2aa68000200050000
>>>
>>>
>>> ..
>>>
>>> nsds50ruv: {replica 91 ldap://srv-m14-30.cbls.ccr.buffalo.edu:389} 55afecb0000
>>>  0005b0000 55b13e740000005b0000
>>>
>>>
>>> Should I clean these manually? or can I run: ipa-replica-manage clean-ruv 5
>>>
>>> Thanks again for the all the help.
>>>
>>> --Andrew
>>>
>>>
>>
>> Note that the list of masters comes from entries in IPA, not from
>> replication agreements.
>>
>> ipa-replica-manage list-ruv will show the RUV data in a simpler way.
>>
>> Yeah, I'd use clean-ruv to clean them up.
>>
>> rob
>>
>>
> 
> I get an error trying to clean-ruv:
> 
>   # ipa-replica-manage clean-ruv 5
>   Replica ID 5 not found
> 
> Can these safely be ignored? or will we hit problems when adding the
> replica back in?

ipa-replica-manage list-ruv will show you the current RUV list. If it
isn't there then yeah, you're done.

Having unused RUV in a master causes it to do unnecessary replication
calculations.

rob




More information about the Freeipa-users mailing list