{"id":2421,"date":"2011-05-03T12:57:56","date_gmt":"2011-05-03T16:57:56","guid":{"rendered":"http:\/\/onlineappsdba.com\/index.php\/2011\/05\/03\/creating-a-new-oidldap-configset\/"},"modified":"2011-05-03T12:57:56","modified_gmt":"2011-05-03T16:57:56","slug":"creating-a-new-oidldap-configset","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2011\/05\/03\/creating-a-new-oidldap-configset\/","title":{"rendered":"Creating a new oidldap configset"},"content":{"rendered":"<p><!--[if !mso]&amp;gt;  v\\:* {behavior:url(#default#VML);} o\\:* {behavior:url(#default#VML);} w\\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);}  &amp;lt;![endif]--><!--[if gte mso 9]&amp;gt;     Normal   0               false   false   false      EN-US   X-NONE   X-NONE                                                                                                     &amp;lt;![endif]--><!--[if gte mso 9]&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                            &amp;lt;![endif]--><!--[if gte mso 10]&amp;gt;   \/* Style Definitions *\/  table.MsoNormalTable \t{mso-style-name:\"Table Normal\"; \tmso-tstyle-rowband-size:0; \tmso-tstyle-colband-size:0; \tmso-style-noshow:yes; \tmso-style-priority:99; \tmso-style-qformat:yes; \tmso-style-parent:\"\"; \tmso-padding-alt:0in 5.4pt 0in 5.4pt; \tmso-para-margin:0in; \tmso-para-margin-bottom:.0001pt; \tmso-pagination:widow-orphan; \tfont-size:10.0pt; \tfont-family:\"Times New Roman\",\"serif\";}  &amp;lt;![endif]--><\/p>\n<p>By default, &#8220;Default Coniguration Set&#8221; used by the oidldapd process this will not be sufficient for a large deployment on a multiprocessor machine.<\/p>\n<p>Two ways we can create a configset<\/p>\n<p>1.\u00a0\u00a0\u00a0 Creating a new oidldap configset using Oracle Directory Manager<\/p>\n<p>2.\u00a0\u00a0\u00a0 Creating a new oidldap configset using ldif file.<\/p>\n<p><strong>Creating a new oidldap configset using Oracle Directory Manager<\/strong><\/p>\n<p>i.\u00a0\u00a0\u00a0\u00a0\u00a0 Launch the Oracle Directory Manager<\/p>\n<p>ii.\u00a0\u00a0\u00a0\u00a0 On the left side of GUI tool, expand Server Management (click on plus)<\/p>\n<p>iii.\u00a0\u00a0\u00a0 Expand Directory Server<\/p>\n<p>iv.\u00a0\u00a0 Highlight Default Configuration Set<\/p>\n<p>v.\u00a0\u00a0\u00a0 Right Click mouse and select CREATE LIKE<\/p>\n<p>vi.\u00a0\u00a0 Set MAX # of DB Connections a value from 1 \u2013 10.<\/p>\n<p>vii.\u00a0 Set Number of Child processes to 4, or equal to number of CPUs (whichever is greater)<\/p>\n<p>viii. Adjust the LDAP Ports To Values of Your Choice<\/p>\n<p>ix.\u00a0\u00a0 Exit the Oracle Directory Manager<\/p>\n<p><strong>Creating a new oidldap configset using ldif file.<\/strong><\/p>\n<p>i.\u00a0\u00a0\u00a0\u00a0\u00a0 Use the ldapsearch utility to dump the default configset to a file.<\/p>\n<p>$Oracle_home\/bin&gt;ldapsearch -p &lt;port&gt; -h &lt;host&gt; -D cn=orcladmin -w &lt;oidpwd&gt; -L \u00a0-b &#8220;cn=configset0,cn=osdldapd,cn=subconfigsubentry&#8221; \u00a0-s base objectclass=* &gt; configset1.ldif<\/p>\n<p>ii.\u00a0\u00a0\u00a0\u00a0 The file: configset1.ldif should look like:<\/p>\n<p>dn: cn=configset0, cn=osdldapd, cn=subconfigsubentry<\/p>\n<p>orclsslenable: 2<\/p>\n<p>orclmaxcc: 2<\/p>\n<p>orclnonsslport: 3060<\/p>\n<p>orclsslport: 3130<\/p>\n<p>orclsaslcipherchoice: RC4-56<\/p>\n<p>orclsaslcipherchoice: DES<\/p>\n<p>orclsaslcipherchoice: 3DES<\/p>\n<p>orclsaslauthenticationmode: 1<\/p>\n<p>orclsaslmechanism: DIGEST-MD5<\/p>\n<p>orclsaslmechanism: EXTERNAL<\/p>\n<p>orclsslversion: 3<\/p>\n<p>orclsslwalleturl: file:<\/p>\n<p>orclserverprocs: 1<\/p>\n<p>orclsslauthentication: 1<\/p>\n<p>orclnormdn: cn=configset0,cn=osdldapd,cn=subconfigsubentry<\/p>\n<p>objectclass: top<\/p>\n<p>objectclass: orclConfigSet<\/p>\n<p>objectclass: orclLDAPSubConfig<\/p>\n<p>cn: configset0<\/p>\n<p>iii.\u00a0\u00a0\u00a0 Edit the file making the following changes (removing lines as necessary):<\/p>\n<p>dn: <strong>cn=configset1<\/strong>, cn=osdldapd, cn=subconfigsubentry &lt;-configset name<\/p>\n<p>objectclass: top<\/p>\n<p>objectclass: orclConfigSet<\/p>\n<p>objectclass: orclLDAPSubConfig<\/p>\n<p><strong>cn: configset1<\/strong>\u00a0 &lt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;Configset name<\/p>\n<p>orclsslenable: 2<\/p>\n<p><strong>orclmaxcc: 5 <\/strong>&lt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;Max process size<\/p>\n<p><strong>orclnonsslport: 389<\/strong>\u00a0 &lt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;Ldap port no<\/p>\n<p><strong>orclsslport: 636<\/strong> &lt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-SSL port no<\/p>\n<p>orclsslwalleturl: file:<\/p>\n<p><strong>orclserverprocs: 4<\/strong>\u00a0 &lt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;server process<\/p>\n<p>orclsslauthentication: 1<\/p>\n<p>orclsslversion: 3<\/p>\n<p>iv.\u00a0\u00a0 Load the new configset.<\/p>\n<p>ldapadd -p &lt;PORT&gt; -h &lt;host&gt; -D cn=orcladmin -w &lt;oidpwd&gt; -f .\/configset1.ldif<\/p>\n<p>After export the new configset1 we need to follow the below steps:<\/p>\n<p>In our case I have two machines sitting in different machine and both are cluster.<\/p>\n<p>1.\u00a0\u00a0\u00a0 Start the oidmon in both node<\/p>\n<p>For Node1:<\/p>\n<p>oidmon connect=idmprod host=hostname start<\/p>\n<p>For Node2:<\/p>\n<p>oidmon connect=idmprod host= hostname start<\/p>\n<p>2.\u00a0\u00a0\u00a0 As Node 2 is started, we&#8217;ll first want to stop it with this command, i.e.:<\/p>\n<p>oidctl connect=idmprod server=oidldapd instance=1 stop<\/p>\n<p>NOTE: Make sure there are no OIDLDAPD processes running at this point. If there are any running out of this Oracle Home, kill them.<\/p>\n<p>3.\u00a0\u00a0\u00a0 Now restart OID on node 2 with the command:<\/p>\n<p>oidctl connect=idmprod host=hostname server=oidldapd instance=1 configset=1 start<\/p>\n<p>4.\u00a0\u00a0\u00a0 For Node 1, first make sure there are no OIDLDAPD processes running at this point. If there are any runnings out of this Oracle Home, kill them.<\/p>\n<p>5.\u00a0\u00a0\u00a0 Then start with this command:<\/p>\n<p>oidctl connect=idmprod host=hostname server=oidldapd instance=1 configset=1 start<\/p>\n<p>This should give us 2 separate entries in the ods.ods_process table and ensure OIDMON is also working for the correct hosts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By default, &#8220;Default Coniguration Set&#8221; used by the oidldapd process this will not be sufficient for a large deployment on [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[42],"tags":[],"class_list":["post-2421","post","type-post","status-publish","format-standard","hentry","category-troubleshooting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Creating a new oidldap configset -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineappsdba.com\/index.php\/2011\/05\/03\/creating-a-new-oidldap-configset\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating a new oidldap configset -\" \/>\n<meta property=\"og:description\" content=\"By default, &#8220;Default Coniguration Set&#8221; used by the oidldapd process this will not be sufficient for a large deployment on [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2011\/05\/03\/creating-a-new-oidldap-configset\/\" \/>\n<meta property=\"article:published_time\" content=\"2011-05-03T16:57:56+00:00\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2011\/05\/03\/creating-a-new-oidldap-configset\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2011\/05\/03\/creating-a-new-oidldap-configset\/\",\"name\":\"Creating a new oidldap configset -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"datePublished\":\"2011-05-03T16:57:56+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2011\/05\/03\/creating-a-new-oidldap-configset\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2011\/05\/03\/creating-a-new-oidldap-configset\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2011\/05\/03\/creating-a-new-oidldap-configset\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating a new oidldap configset\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating a new oidldap configset -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineappsdba.com\/index.php\/2011\/05\/03\/creating-a-new-oidldap-configset\/","og_locale":"en_US","og_type":"article","og_title":"Creating a new oidldap configset -","og_description":"By default, &#8220;Default Coniguration Set&#8221; used by the oidldapd process this will not be sufficient for a large deployment on [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2011\/05\/03\/creating-a-new-oidldap-configset\/","article_published_time":"2011-05-03T16:57:56+00:00","author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2011\/05\/03\/creating-a-new-oidldap-configset\/","url":"https:\/\/onlineappsdba.com\/index.php\/2011\/05\/03\/creating-a-new-oidldap-configset\/","name":"Creating a new oidldap configset -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"datePublished":"2011-05-03T16:57:56+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2011\/05\/03\/creating-a-new-oidldap-configset\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2011\/05\/03\/creating-a-new-oidldap-configset\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2011\/05\/03\/creating-a-new-oidldap-configset\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"Creating a new oidldap configset"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/2421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=2421"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/2421\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=2421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=2421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=2421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}