[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: replication refint



sorry wrong diagrams


2013/12/17 Artur Nike <opalsie@gmail.com>
sorry wrong diagrams

Muniek


2013/12/17 Artur Nike <opalsie@gmail.com>
Hi All,

debian wheezy, OpenLDAP 2.4.31, muti-master replication

Small question whether referential integrity (multiple-captains) are replicated?
It seems to me that, yes, but the change (removal), entry on one of the servers does not call the bonds on the other. can by example: in annex replikat_refint.html



...sorry for the little technical diagram but I just had libre-office.

Can anyone have any suggestions or experience with this problem.
For all, thank you in advance.

Muniek


- no title specified
ÂÂÂÂ
ÂÂÂÂ

MULTI-MASTER-REPLICATION

Â

overlay refint

Â

overlay refint

Â

Server 1

Â

Server 2

Â
ÂÂÂÂ

dn: cn=criter-replik,ou=criteria,dc=domain

ÂÂÂ

changetype: add

ÂÂÂ

objectClass: Criterion

ÂÂÂ

objectClass: top

ÂÂÂ

cc: GB

ÂÂÂ

ip-network: 10.10.10.10/27

ÂÂÂ

ip-network: 192.168.56.12/27

ÂÂÂ

asn: 55345

ÂÂÂ

fqdn: hack.org

ÂÂÂ

cn: criter-replica

ÂÂÂ
ÂÂÂÂ

dn: cn=subsrc12,cn=src1,ou=sources,dc=domain

Â

dn: cn=criter-replik,ou=criteria,dc=domain

Â

changetype: modify

Â

changetype: add

Â

delete: inclusion-criteria-refint

Â

objectClass: Criterion

Replicate OK

inclusion-criteria-refint: cn=crit-replica,ou=criteria,dc=domain

Â

objectClass: top

Â
ÂÂ

cc: GB

Â
ÂÂ

ip-network: 10.10.10.10/27

Â
ÂÂ

ip-network: 192.168.56.12/27

Â
ÂÂ

asn: 55345

Â
ÂÂ

fqdn: hack.org

Â
ÂÂ

cn: criter-replica

Â
ÂÂÂÂ
ÂÂ

dn: cn=subsrc12,cn=src1,ou=sources,dc=domain

Â
ÂÂ

changetype: modify

Replicate OK

ÂÂ

delete: inclusion-criteria-refint

Â
ÂÂ

inclusion-criteria-refint: cn=crit-replica,ou=criteria,dc=domain

Â
ÂÂÂÂ
ÂÂÂÂ
ÂÂ

But I rename(or delete) entry rdn=crit-replica on server 2

Â
ÂÂÂÂ
ÂÂ

dn: cn=crit_replica,ou=criteria,dc=domain

Â
ÂÂ

changetype: moddn

Â
ÂÂ

newrdn: cn=crit_replica_change_name

Â
ÂÂ

deleteoldrdn: 1

Â
ÂÂ

newsuperior: ou=criteria,dc=domain

Â

Replicate OK

ÂÂÂ

dn: cn=crit_replica_change_name,ou=criteria,dc=domain

Â

this causes referalintegrity (refint)

Â

objectClass: Criterion

Â

and entry cn=subsrc12,cn=src1,ou=sources,dc=domain renamed dn inclusion-criteria-refint, its OK

Â

objectClass: top

ÂÂÂ

cn: crit_replica_change_name

Â

dn: cn=subsrc12,cn=src1,ou=sources,dc=domain

Â

asn: 1234

Â

objectClass: Subsource

Â

asn: 12345

Â

objectClass: top

Â

cc: PL

Â

cn: subsrc12

Â

fqdn: hack.pl

Â

inclusion-criteria-refint: cn=crit_change_name,ou=criteria,dc=domain

Â

ip-network: 192.168.56.22/28

ÂÂÂ
ÂÂÂÂ

but refint on server 1 (or replicate) dont working (the name in symetric object dont renamed)

ÂÂÂ

zostaje old Âcn=crit_replica

ÂÂÂ

dn: cn=subsrc11,cn=src1,ou=sources,dc=domain

ÂÂÂ

objectClass: Subsource

ÂÂÂ

objectClass: top

ÂÂÂ

cn: subsrc11

Replicate WRONG

ÂÂ

inclusion-criteria-refint: cn=crit_replica,ou=criteria,dc=domain

ÂÂÂ
ÂÂÂÂ
ÂÂÂÂ