odsm ldap sync
by vinmansbrew from LinuxQuestions.org on (#509EX)
I tried to post this on oracle forums, but apparently I am not allowed to do so. According to their website when I try to post my question.
Anyways,
Foreword, I am not the ldap admin, I am just trying to help him out. He is quite new, and has not really used ODSM 11g.
Anyways, Oracle Directory Services Manager 11g, running on red hat 6.10.
We have 3 servers set up for this. Two of them perform ldap services, and the 3rd is a load balancer. The load balancer is not the issue. What I would like to know if how I check to see if the 2 ldap servers are syncing successfully?
"one of the servers had rhel updates done, and then was restarted. The startup scripts for reestablishing connections/services was run, and it appeared to look ok. During this time, an error occured:
category=CORE severity=NOTICE msgID=458891 msg=The Directory Server has sent an alert notification generated by class org.opends.server.replication.server.ReplicationServer (alert type org.opends.server.replication.ServerMissingTrimmedChanges, alert ID 15139027): Alert in replication server ldap1:**** with server id 1791: in domain dc=****,dc=***, the remote server ldap://ldap1:****with server id 16840 is missing some changes from directory server id 3869 that have been purged from the changes database because they were too old. This may happen if the remote server has been stopped for too much time or if it is very late replaying the changes. As a consequence, the status of replication should be checked. If the remote server is a directory server and does not catchup to the state of the topology, its backend should be re-initialized. If the remote server is another replication server, potentially many directory servers may lack some changes and their backend should be re-initialized"
This happened probably right after reboot, and has not happened again, as far as I have been informed.
Then later, there was a change to the supervisor controller for the network, which cut network connectivity for a while, during that time, the server got these errors:
"category=SYNC severity=NOTICE msgID=15138913 msg=Replication Heartbeat Monitor for RS ***.***.***.***:**** dc=****,dc=*** in RS 30008 is closing the session because it could not detect a heartbeat"
"category=SYNC severity=SEVERE_ERROR msgID=14942389 msg=Replication Server 30008 ldap2:8989 dc=****,dc=*** has badly disconnected from this replication server 1791"
"category=CORE severity=FATAL_ERROR msgID=327820 msg=An uncaught exception during processing for thread Replication State Saver for server id 8731 and domain cn=admin data has caused it to terminate abnormally. The stack trace for that exception is: java.lang.NullPointerException
org.opends.server.replication.plugin.LDAPReplicationDomain.isModifiedReferralUrls(LDAPReplicationDom ain.java:995)
org.opends.server.replication.plugin.LDAPReplicationDomain.access$700(LDAPReplicationDomain.java:271 )
org.opends.server.replication.plugin.LDAPReplicationDomain$ServerStateFlush.run(LDAPReplicationDomai n.java:594)"
Then a few of these:
"category=SYNC severity=SEVERE_ERROR msgID=14942259 msg=The hostname ldap2.cord.edu could not be resolved as an IP address" ldap1 had the same message.
Now, after the network came back up, the messages stopped.
So, I am assuming that the ldap is happened as normal, as there have been no reports of login issues.
However, I am not sure, nor is the ldap guy, of syncing is taking place as it should.
So, I am just looking for info on how to check this.
Thanks for taking the time to read this.
I've been searching for something on how to check this, but oracle doesn't seem to have the best guides, and as I said, I don't do ldap.


Anyways,
Foreword, I am not the ldap admin, I am just trying to help him out. He is quite new, and has not really used ODSM 11g.
Anyways, Oracle Directory Services Manager 11g, running on red hat 6.10.
We have 3 servers set up for this. Two of them perform ldap services, and the 3rd is a load balancer. The load balancer is not the issue. What I would like to know if how I check to see if the 2 ldap servers are syncing successfully?
"one of the servers had rhel updates done, and then was restarted. The startup scripts for reestablishing connections/services was run, and it appeared to look ok. During this time, an error occured:
category=CORE severity=NOTICE msgID=458891 msg=The Directory Server has sent an alert notification generated by class org.opends.server.replication.server.ReplicationServer (alert type org.opends.server.replication.ServerMissingTrimmedChanges, alert ID 15139027): Alert in replication server ldap1:**** with server id 1791: in domain dc=****,dc=***, the remote server ldap://ldap1:****with server id 16840 is missing some changes from directory server id 3869 that have been purged from the changes database because they were too old. This may happen if the remote server has been stopped for too much time or if it is very late replaying the changes. As a consequence, the status of replication should be checked. If the remote server is a directory server and does not catchup to the state of the topology, its backend should be re-initialized. If the remote server is another replication server, potentially many directory servers may lack some changes and their backend should be re-initialized"
This happened probably right after reboot, and has not happened again, as far as I have been informed.
Then later, there was a change to the supervisor controller for the network, which cut network connectivity for a while, during that time, the server got these errors:
"category=SYNC severity=NOTICE msgID=15138913 msg=Replication Heartbeat Monitor for RS ***.***.***.***:**** dc=****,dc=*** in RS 30008 is closing the session because it could not detect a heartbeat"
"category=SYNC severity=SEVERE_ERROR msgID=14942389 msg=Replication Server 30008 ldap2:8989 dc=****,dc=*** has badly disconnected from this replication server 1791"
"category=CORE severity=FATAL_ERROR msgID=327820 msg=An uncaught exception during processing for thread Replication State Saver for server id 8731 and domain cn=admin data has caused it to terminate abnormally. The stack trace for that exception is: java.lang.NullPointerException
org.opends.server.replication.plugin.LDAPReplicationDomain.isModifiedReferralUrls(LDAPReplicationDom ain.java:995)
org.opends.server.replication.plugin.LDAPReplicationDomain.access$700(LDAPReplicationDomain.java:271 )
org.opends.server.replication.plugin.LDAPReplicationDomain$ServerStateFlush.run(LDAPReplicationDomai n.java:594)"
Then a few of these:
"category=SYNC severity=SEVERE_ERROR msgID=14942259 msg=The hostname ldap2.cord.edu could not be resolved as an IP address" ldap1 had the same message.
Now, after the network came back up, the messages stopped.
So, I am assuming that the ldap is happened as normal, as there have been no reports of login issues.
However, I am not sure, nor is the ldap guy, of syncing is taking place as it should.
So, I am just looking for info on how to check this.
Thanks for taking the time to read this.
I've been searching for something on how to check this, but oracle doesn't seem to have the best guides, and as I said, I don't do ldap.