[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: openldap2.4.16 and BDB4.7 not sync configured as provider/consumer
- To: quanah@zimbra.com
- Subject: Re: openldap2.4.16 and BDB4.7 not sync configured as provider/consumer
- From: Rodrigo Costa <rlvcosta@yahoo.com>
- Date: Thu, 7 May 2009 10:51:07 -0700 (PDT)
- Cc: openldap-software@openldap.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1241718668; bh=1lR6emAonLWZEPRIWL8w/RTunhuxOl4JH1IOTzsFqZE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=SeAPMh+CS1pH3o4x5lzWYzfLWrHlBppdFJW0ybb8Df5JwxlkAk4b8nstU7HZK+ZXUL7ixfpMC+gh0SSh1p6W1qmyTrZHtx7ndy5bGKoqzy3TPUyo44qhr4O8U09SpyXmfX9/dVMjUvIRG7lCV0RsRVeZGSQH/X/1GEo3Y38gfVE=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=GN5CZmQOLrf2AtHH1mc9BmfwHXjqFHBAGmy/Om43UkyLUl5x761yNyDem5A1LsbsnNO5XDtb9stxis51l2g8nk0bR4o7CQQHMAFgCuPhwJ+zo8oX/c5YbPJ6U+LqrGFih0S1SiKKZZj5s23PGynrdJhTjQ3lvkhMb/zn6bdkiE0=;
Quanah,
Thanks a lot!
The replication is just fine after loading the LDIF with operational
attributes. No overload in consumer to sync database now.
Regards,
Rodrigo.
Quanah Gibson-Mount wrote:
> --On Thursday, May 07, 2009 10:36 AM -0700 Rodrigo Costa
> <rlvcosta@yahoo.com> wrote:
>
>>
>> Quanah,
>>
>> My understanding is that attrs doesn't need to exist in config since by
>> default all attributes are shared.
>
> I think that is what I said. You should not specify the attrs= line
> in the syncrepl stanza on the replica, and just use the default. That
> way, the entire database is replicated in full to the replica.
>
>> My original plan was to remove some tasks from the provider, like
>> backup, running a slapcat in the consumer(slave). Based in the
>> requirement to load the consumer(slave) using a master LDIF dump I'm not
>> sure if this is really feasible.
>
> Why is it a requirement to use a master LDIF dump? I never said that.
> What I said, is that you are required to have a fully formed LDIF file
> to load LDAP servers that will be syncing (I.e., an LDIF file with the
> operational attributes, vs a generated LDIF file from a program that
> is missing them.). If you do a slapcat from an existing server, then
> it should be fully formed.
>
>> My idea was :
>> 1)Have a provider/consumer running;
>> 2)Execute LDIF and binary backups in the consumer(slave)
>> 3)In a case of problem in the master just let a HA SW move the master to
>> slave and then load "old master" using the slave LDIF file(recovering
>> procedure).
>>
>> Is this feasible?
>
> Yes, this is pretty standard procedure, minus the binary backups. You
> could of course just set up mirror mode or multi-master, as well...
>
> --Quanah
>
> --
>
> Quanah Gibson-Mount
> Principal Software Engineer
> Zimbra, Inc
> --------------------
> Zimbra :: the leader in open source messaging and collaboration
>
>