I am experiencing some really strange behavior with nway multimaster. Does anyone know why this would be happening?
I have 2 boxes set up to sync, called rsa01, rsa02
If I create ou=groups,dc=comcast,dc=com¹ on rsa02, it will create it on rsa01 If I create cn=test,ou=groups,dc=comcast,dc=com¹ on rsa02 it will NOT create on rsa01 If I delete ou=groups,dc=comcast,dc=com¹ on rsa02, it will delete on rsa01 If I create anything on rsa01, it will NOT create on rsa02
I have the sync set up for searchBase¹ set to dc=comcast,dc=com.
Here is the olcSyncrepl configuration (for both boxes): dn: olcDatabase={1}bdb,cn=config objectClass: olcDatabaseConfig objectClass: olcbdbConfig olcDatabase: {1}bdb olcSuffix: dc=comcast,dc=com olcDbDirectory: /usr/var/openldap-data/ olcRootDN: cn=Manager,dc=comcast,dc=com olcRootPW: {SSHA}kJTEcfOmPf7fKv71AtxDjlUZNPqN9pIT olcLimits: dn.exact="cn=Manager,dc=comcast,dc=com" time.soft=unlimited time.hard=unlimited size.soft=unlimited size.hard=unlimited olcSyncRepl: rid=004 provider=ldap://10.252.152.76 binddn="cn=Manager,dc=comcast,dc=com" bindmethod=simple credentials="test" searchbase="dc=comcast,dc=com" type=refreshOnly interval=00:00:00:10 retry="5 5 300 5" timeout=1 olcSyncRepl: rid=005 provider=ldap://10.252.152.77 binddn="cn=Manager,dc=comcast,dc=com" bindmethod=simple credentials="test" searchbase="dc=comcast,dc=com" type=refreshOnly interval=00:00:00:10 retry="5 5 300 5" timeout=1 olcMirrorMode: TRUE
dn: olcOverlay=syncprov,olcDatabase={1}bdb,cn=config changetype: add objectClass: olcOverlayConfig objectClass: olcSyncProvConfig olcOverlay: syncprov
--On Monday, March 09, 2009 2:23 PM -0600 Mathew Rowley mathew_rowley@cable.comcast.com wrote:
I am experiencing some really strange behavior with nway multimaster. Does anyone know why this would be happening?
I have 2 boxes set up to sync, called rsa01, rsa02
Stop using refreshOnly (refreshAndPersist is what I recommend) or patiently wait for your sync interval to elapse.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
Even with refreshAndPersist¹ I get the same behavior. It seems like it will sync the first thing I add, then nothing more. For example, I added:
dn: dc=comcast,dc=com objectClass: dcObject objectClass: organization dc: comcast o: Comcast Corperation
dn: ou=users,dc=comcast,dc=com objectClass: organizationalUnit ou: users
The sync with this went fine, but then I tried to add:
dn: ou=groups,dc=comcast,dc=com objectClass: organizationalUnit ou: groups
In another transaction, but it only modified the box I pointed the command to, it did not sync...
MAT
On 3/9/09 4:23 PM, "Quanah Gibson-Mount" quanah@zimbra.com wrote:
--On Monday, March 09, 2009 2:23 PM -0600 Mathew Rowley mathew_rowley@cable.comcast.com wrote:
I am experiencing some really strange behavior with nway multimaster. Does anyone know why this would be happening?
I have 2 boxes set up to sync, called rsa01, rsa02
Stop using refreshOnly (refreshAndPersist is what I recommend) or patiently wait for your sync interval to elapse.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc
Zimbra :: the leader in open source messaging and collaboration
--On Monday, March 09, 2009 6:39 PM -0600 Mathew Rowley mathew_rowley@cable.comcast.com wrote:
Even with 'refreshAndPersist' I get the same behavior. It seems like it will sync the first thing I add, then nothing more. For example, I added:
dn: dc=comcast,dc=com objectClass: dcObject objectClass: organization dc: comcast o: Comcast Corperation
dn: ou=users,dc=comcast,dc=com objectClass: organizationalUnit ou: users
The sync with this went fine, but then I tried to add:
dn: ou=groups,dc=comcast,dc=com objectClass: organizationalUnit ou: groups
In another transaction, but it only modified the box I pointed the command to, it did not sync...
Have you enabled sync-level debugging on all the servers?
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
--On Monday, March 09, 2009 6:16 PM -0700 Quanah Gibson-Mount quanah@zimbra.com wrote:
--On Monday, March 09, 2009 6:39 PM -0600 Mathew Rowley mathew_rowley@cable.comcast.com wrote:
Even with 'refreshAndPersist' I get the same behavior. It seems like it will sync the first thing I add, then nothing more. For example, I added:
To finish off this thread, the problem resolved to missing SID's in the two master servers.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org