Total Pageviews

Tuesday, September 2, 2014

how to get changelog number in OID

Search Changelog

in order to search changelog in OID run ldapsearch command

 ldapsearch -h <oid_hostname> -p <oid_port> -D “cn=orcladmin” -w <orcladmin_passwd> -b “cn=changelog” -s one  “objectclass=*” changenumber

to get chanlognumber range

ldapsearch -D cn=orcladmin -p port -q -b "cn=changelogs" -s one \
   "(&(objectclass=changeLogEntry)(servername=SUPPLIER_REPLICAID)\
   (changeNumber>=FROMCHGNO)(changeNumber<=TOCHGNO))"



 

No comments:

Post a Comment