Friday, May 31, 2013

Change OID 11g LDAP port

The content of this post is from the following:
http://onlineappsdba.com/index.php/2012/06/06/how-to-change-oid-11g-ldapldaps-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.

No comments:

Post a Comment