How to change OID 11g LDAP/LDAPS listen port

OID by default listens on two LDAP ports
a) LDAP Port : 3060 (default non-secure port)
b) LDAPS Port : 3131 (default secure port)

  • The port number is configured as attribute (orclnonsslport & orclsslport) of OID instance.
  • These OID Ports can be changed using either EM (Enterprise Manager Fusion Middleware Control), ODSM (Oracle Directory Services Manager), LDAP command, or WLST (WebLogic Scripting Tool) .
  • If you are using LDAP command or ODSM to update port then update OPMN configuration using opmnctl updatecomponentregistration (If you use WLST or EM then updatecomponentregistration is not required)

 

Steps to update OID LDAP(S) Port using EM

1. Check OID port on which OID is currently configured to run using opmnctl status -l

Processes in Instance: asinst_1
———————————+–
ias-component | process-type | pid | status | uid | memused | uptime | ports
———————————+–
ovd1 | OVD | 22966 | Alive | 1529370089 | 762356 | 142:41:33 | ldaps:6082,https:8929,ldap:6081,https:2253
oid1 | oidldapd | 22838 | Alive | 1529376751 | 308252 | 142:41:49 | N/A
oid1 | oidldapd | 22845 | Alive | 1529376374 | 845992 | 142:41:48 | N/A
oid1 | oidmon | 22824 | Alive | 1529370086 | 298084 | 142:41:49 | LDAPS:3091,LDAP:3060
EMAGENT | EMAGENT | 23337 | Alive | 1529370090 | 63824 | 142:41:14 | N/A

2. Chage port from /em (http://webLogicHost:<admin_server_port>/em) -> Identity and Access -> oid1 -> Administration -> Server Properties : under tab General, change port as shown in below screenshot

If there are multiple OID instances then repeat this step for oid2, …, oidN

3. Restart OID using opmnctl stopall; opmnctl startall

4. Check port number using opmnctl status -l

Processes in Instance: asinst_1
———————————+–
ias-component | process-type | pid | status | uid | memused | uptime | ports
———————————+-
ovd1 | OVD | 16451 | Alive | 1529377899 | 761556 | 0:00:23 | https:8929,https:2253,ldaps:6082,ldap:6081
oid1 | oidldapd | 16553 | Alive | 1529377901 | 787180 | 0:00:22 | N/A
oid1 | oidldapd | 16523 | Alive | 1529377900 | 308376 | 0:00:23 | N/A
oid1 | oidmon | 16450 | Alive | 1529377898 | 298084 | 0:00:23 | LDAPS:3091,LDAP:3090
EMAGENT | EMAGENT | 16449 | Alive | 1529377897 | 63824 | 0:00:23 | N/A
5. Change port in application using OID as identity or policy store.

 

References/Related 

Share This Post with Your Friends over Social Media!

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

3 comments
Mahendra says June 7, 2012

Atul,

Can you please explain the 5th point “Change port in application using OID as identity or policy store.”

What application you are referring to?

Reply
Atul Kumar says June 7, 2012

@ Mahendra,
This is for any application using OID LDAPD or LDAPS port like OIM, OAM, EBS , Fusion Applications, WebLogic Server, SOA , WebCenter …..

Reply
dba says February 7, 2013

I have installed on 2(for HA) servers OID 11.1.1.6, then via remtool ldap replication,
the ldap ports were for 1st server the deafault 3060,3131, for the second 389,636, the replica has worked fine.Later I wanted to change the ports on the first node to 389,636, i did that as i made new install of the 11.1.1.6.
But when I configured the replica again with the remtool –paddnode, a saw the old port 3060 from somewhere, my be from ODS schema(bei the second OID install i took “use existing schema” option”.

so now i want to deinstall DB + OID and make new install from scratch.

tnx, DBA

Reply
Add Your Reply