[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Making a full replica: slapd -c "rid=xxx" doesn't seem to work
- To: Jussi Sallinen <jussi@synack.fi>
- Subject: Re: Making a full replica: slapd -c "rid=xxx" doesn't seem to work
- From: Jephte Clain <jephte.clain@univ-reunion.fr>
- Date: Fri, 1 Apr 2016 09:27:56 +0400
- Cc: Antti Marmo <antti@synack.fi>, openldap-technical@openldap.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=univ-reunion-fr.20150623.gappssmtp.com; s=20150623; h=from:subject:to:references:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=WLP54Ne35RgXwfSf8P/IrVoWEb7MyoI48/8mlPUpO+U=; b=a89KyFgbm03H8jBiIMR8xxEyUOns9vd8NpCehonyXX7E+Cg2RLivKX9VY/yOm8R9mB FTp1Nc3VzhGeWfwOSfSm2Ns+90W/8fGg2nl9+v14xFeMZAHrF+xtBB6DHh/q/iyNTr+x CQyoj6xataaJXpsoFUZMNU8fjlMWFzj1bhJwSeG4rhjBk/y2dceCtUQftxGzBymWit99 GjhgJJq/JdbPfcaU4KwFxrczdK/xx8YXkAVC1ufQ1vl6TNymUJS3B1QIrJOV1V8E7XHz m3MBz65uk5hEzC/DljGd2HgR1Xhj84pmTmhCDW6lnrrkshBjDb5oMZ+V1AqSE2bbfyaZ o4+Q==
- In-reply-to: <56FD960F.1010705@synack.fi>
- References: <56FD960F.1010705@synack.fi>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0
Le 01/04/2016 01:26, Jussi Sallinen a écrit :
Hi,
How you managed to get this working or did you come up with a
workaround:
http://www.openldap.org/lists/openldap-technical/201201/msg00205.html
I have a similar situation where I'm doing a reprovision of my 2nd
multimaster replica virtualhost and adding base config etc. with
ldapadd (we build it from scratch with Ansible during reprovisioning).
After the new multimaster replica comes up it has newer timestamps
than the current up & running replica from where this new one is
supposed to replicate everything as we use ldapadd during the
reprovision phase with Ansible.
hello,
after you create the seed replica, you just have to "touch" the master
to ensure the timestamp on the master is newer than on the replica.
As the seed configuration only contains 3 objects: cn=config,
olcDatabase={-1}frontend,cn=config and olcDatabase={0}config,cn=config,
I do it that way:
$ ldapmodify -H ldap://master ...credentials... <<EOF
dn: cn=config
changetype: modify
dn: olcDatabase={-1}frontend,cn=config
changetype: modify
dn: olcDatabase={0}config,cn=config
changetype: modify
EOF
best regards,
Jephté Clain
--
*Jephté CLAIN | Développeur, Intégrateur d'applications*
Service Systèmes d'Information
Direction des Systèmes d'Information <http://dsi.univ-reunion.fr>
Tél: +262 262 93 86 31 <tel:+262262938631> || Gsm: +262 692 29 58 24
<tel:+262692295824>
www.univ-reunion.fr <http://www.univ-reunion.fr> || Facebook
<http://www.facebook.com/pages/Universit%C3%A9-de-La-R%C3%A9union-OFFICIEL/197176816990430>
|| Twitter <http://twitter.com/univ_reunion>