{"id":3011,"date":"2018-03-23T15:21:49","date_gmt":"2018-03-23T20:21:49","guid":{"rendered":"http:\/\/lisa.rushworth.us\/?p=3011"},"modified":"2018-03-24T17:47:32","modified_gmt":"2018-03-24T22:47:32","slug":"enable-oud-changelog-without-replication-partner","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=3011","title":{"rendered":"Enable OUD Changelog Without Replication Partner"},"content":{"rendered":"<p>Since the Sun Directory Server Enterprise Edition went the way of, well, <em>Sun<\/em>, we&#8217;ve migrated to the Oracle Unified Directory 11g platform for the company&#8217;s pure LDAP directory. There is an Oracle Identity Management application that reads the LDAP changelog to ingest user lockout events. In production, our servers replicate with a couple of partners to provide capacity and high availability. In development \/ sandbox, environments &#8230; not so much. But the IDM platform still needs to read the changelog.<\/p>\n<p><a href=\"https:\/\/docs.oracle.com\/cd\/E22289_01\/html\/821-1273\/using-the-external-change-log.html\" target=\"_blank\" rel=\"noopener\">Oracle&#8217;s documentation<\/a>\u00a0tells me to enable replication &#8230; which, great, I&#8217;ve got to bring up a second, off-port, directory instance and monitor for replication failures\u00a0<em>just<\/em> to get a changelog. The site does say\u00a0&#8220;By using this method, you can conceivably set up replication on a standalone server, which will enable you to have access to an ECL on a standalone server.&#8221; &#8230; conceivably, but it would be nice if they&#8217;d mention\u00a0<em>how<\/em>. Since all of their documentation for using the dsreplication binary includes\u00a0a partner server and\u00a0<em>valid credentials<\/em> over yonder &#8230; that&#8217;s a bit of a bust.<\/p>\n<p>But I&#8217;ve finally worked out a technique for enabling replication\u00a0<em>just<\/em> enough to get the changelog created without having to provide valid credentials on a foreign host with which replication will be established.<\/p>\n<pre>.\/dsconfig -h localhost -p 4444 -D \"cn=directory manager\" -j ~\/pwd.txt -X -n create-replication-server --provider-name 'Multimaster Synchronization' --set replication-port:8989 --set replication-server-id:1 --type generic\r\n\u00a0\r\n\u00a0\r\n.\/dsconfig -h localhost -p 4444 -D \"cn=directory manager\" -j ~\/pwd.txt -X -n create-replication-domain --provider-name 'Multimaster Synchronization' --set base-dn:o=windstream --set replication-server:localhost:8989 --set server-id:1 --type generic --domain-name o=windstream\r\n<\/pre>\n<div>Volia, make changes and we&#8217;ve got\u00a0<em>stuff<\/em> under cn=changelog.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Since the Sun Directory Server Enterprise Edition went the way of, well, Sun, we&#8217;ve migrated to the Oracle Unified Directory 11g platform for the company&#8217;s pure LDAP directory. There is an Oracle Identity Management application that reads the LDAP changelog to ingest user lockout events. In production, our servers replicate with a couple of partners &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[551,552,550],"class_list":["post-3011","post","type-post","status-publish","format-standard","hentry","category-system-administration","tag-changelog","tag-cnchangelog","tag-oracle-unified-directory"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/3011","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3011"}],"version-history":[{"count":4,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/3011\/revisions"}],"predecessor-version":[{"id":3015,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/3011\/revisions\/3015"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3011"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3011"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}