[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Mirror to MultiMaster cluster transform
- To: openldap-technical <openldap-technical@openldap.org>
- Subject: Mirror to MultiMaster cluster transform
- From: Andrey Konovalov <mudraia@list.ru>
- Date: Tue, 14 Feb 2012 02:44:49 +0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail; h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From:Date:Message-ID; bh=L/kclPbUc6OdeO2/2aOTMxmjJXsfOH+03PdZ6faz2/w=; b=MY+FrKr1cfVvP9Lvi94gD9/lCsCBBtu7G8klcFY1Z2gchiVvo7X5LxZLB5FXHJjg3BTlM7bd2tC6WHpkEWBUGBSMsQgEote04h04VGBZWFtJsb8mP48TQ7GY/GmaO/In;
- User-agent: Mozilla/5.0 (X11; Linux armv7l; rv:9.0) Gecko/20111229 Thunderbird/9.0
Dear developers and users of OpenLDAP!
I'm wondering to know something awful again :)
Now i have a cluster replicated in Mirror mode (without replication of
cn=config) with configuration like below:
Server0:
dn: cn=config
olcServerID: 1
dn: olcDatabase={1}hdb,cn=config
olcSyncRepl: rid=001 provider=ldap://server1
Server1:
dn: cn=config
olcServerID: 2
dn: olcDatabase={1}hdb,cn=config
olcSyncRepl: rid=001 provider=ldap://server0
And now i want to convert this to multimaster cluster (with possibility
to add other writeable nodes)
So... can i do something like this and get what i desire?
on Server0 and on Server1 do the same:
dn: cn=config
changeType: modify
replace: olcServerID
olcServerID: 1 ldap://server0
olcServerID: 2 ldap://server1
dn: olcDatabase={1}hdb,cn=config
changeType: modify
replace: olcSyncRepl
olcSyncRepl: rid=001 provider=ldap://server0
olcSyncRepl: rid=002 provider=ldap://server1
Am i write and this will lead to cluster transformation from Mirror to
MultiMaster?
Maybe, i have to convert olcDatabase={0}config to mirror/multimaster too?
Thanks a lot!