January 26, 2018 at 10:40 am #20686MatioskiParticipant
I setup 2 OpenDJ servers in multi master configuration and the dn I created is happily replicated using this command:
./dsreplication enable --host1 opendj1.test.com --port1 4444\ --bindDN1 "cn=directory manager" --bindPassword1 opendj --replicationPort1 8989 --host2 opendj2.test.com --port2 4444 --bindDN2 "cn=directory manager" --bindPassword2 opendj --replicationPort2 8989 --adminUID admin --adminPassword password --baseDN "dc=test,dc=com" -X -n
But, when I execute this command on one server:
./dsconfig -p 4444 -h ‘opendj1.test.com’ -D "cn=Directory Manager" -w opendj set-synchronization-provider-prop --provider-name "Multimaster Synchronization" --set enabled:false -X -n
And trying to add and entry on the Directory Server with the replication still enabled, opendj2.test.com, I get this error:
msgID=241 result=53 message="The Replication is configured for suffix dc=test,dc=com but was not able to connect to any Replication Server"
January 30, 2018 at 12:40 pm #20714LudoModerator
- This topic was modified 3 years, 12 months ago by Matioski.
I’m not sure I fully understand your settings and whether replication was working initially, but it is expected that if a directory server cannot connect to any replication server (including it’s own embedded one, that you are nicely shutting down), then it will reject changes (since it cannot store them and guarantee they can be replayed).January 30, 2018 at 12:43 pm #20715MatioskiParticipant
You are right, I found out the problem was on the hosts file, now it is able to reach the embedded one Replication Server.
You must be logged in to reply to this topic.