Hi, I have 2 set of servers and each set contains 2 servers. I have setup n-way multi master replication per set. FirstMaster-1 ß
à FirstMaster-2 – set1 SecondMaster-1 ß
à SecondMaster-2 – set2 There is no replication between set1 and set2. Set 2 is inside a service network so in order to setup replication on set 2 I am trying to setup proxy on FirstMaster-1 which will point to SecondMaster-1 and FirstMaster-2 which will point
to SecondMaster-2. I tried to google it but I didn’t find any body doing it for version 2.4.23. I am able to setup a standalone proxy and configure it but I want to do it on the master servers itself.
I am trying to setup proxy for the tree Cn=Manager, dc=my-domain,dc=com on both first masters but in order to do that I have to create a ldap database with the same suffix and rootDN correct? In order to setup replication for ldap database.
Ldap throws error saying “dc=my-domain,dc=com” is already defined. FirstMaster-1 : olcDatabase={3}ldap.ldif dn: olcDatabase={3}ldap objectClass: olcDatabaseConfig objectClass: olcLDAPConfig olcDatabase: {3}ldap olcSuffix: dc=my-domain,dc=com olcRootDN: cn=ldap olcSyncUseSubentry: FALSE olcMonitoring: TRUE structuralObjectClass: olcLDAPConfig entryUUID: 633dcaac-1eb1-1031-884a-f7149142768b creatorsName: cn=config createTimestamp: 20120419212135Z entryCSN: 20120419212135.686069Z#000000#001#000000 modifiersName: cn=config modifyTimestamp: 20120419212135Z olcSyncrepl: rid=000 provider=ldap://FirstMaster-1:389 binddn="cn=Manager,dc=my-domain,dc=com" bindmethod=simple credentials="secret" searchbase="dc=my-domain,dc=com" filter="(objectClass=*)" scope=sub schemachecking=off type=refreshAndPersist retry="5 5 300 5" timeout=1 olcDbURI: ldap://SecondMaster-1.eng.qpass.net:389 olcDbACLBind: bindmethod=simple timeout=0 network-timeout=0 binddn="cn=Manager,dc=my-domain,dc=com" credentials="secret" The above configuration is giving me errors when I try to reload it saying the “dc=my-domain,dc=com” is already used by the preceding database (bdb) then how do I setup the proxy on the master itself? Your help is appreciated. Thanks. Bhargav.
|