XDB: Utility package to change the HTTP and FTP ports used by XML DB
2008-11-20 07:33
567 查看
Subject: | How to Add LOCAL_LISTENER or REMOTE_LISTENER Entry to OID | |||
Doc ID: | Note:602322.1 | Type: | HOWTO | |
Last Revision Date: | 03-NOV-2008 | Status: | PUBLISHED |
Goal
Solution
Applies to:
Oracle Net Services - Version: 9.2.0.1.0 to 11.1.0.6.0Information in this document applies to any platform.
Goal
How to add LOCAL_LISTENER or REMOTE_LISTENER net service names into OID for LDAP Naming resolution.Solution
Valid LOCAL_LISTENER or REMOTE_LISTENER entries in TNSNAMES.ORA file like following :LOCAL_LISTENER = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = SAMPLE.COM)(PORT = 1525)) )
Can not be seen via in Net Manager GUI tool, so can not be added to OID for LDAP naming, via the wizard.One solution is to add a ldif file
dn: cn=LOCAL_LISTENER,cn=OracleContext,dc=sample,dc=com objectclass: top objectclass: orclNetService cn:LOCAL_LISTENER orclNetDescString: (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = SAMPLE.COM)(PORT =1525))))
And add to OID via ldapadd command
ldapadd -D "cn=orcladmin" -w <Password> -h <OID server> -p <Port#> -v -f <ldif file>
Example
C:/>ldapadd -D "cn=orcladmin" -w welcome1 -h sflood-uk2 -p 389 -v -f test.ldif add objectclass: top orclNetService add cn: LOCAL_LISTENER add orclNetDescString: (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = SAMPLE.COM )(PORT =1525)))) adding new entry cn=LOCAL_LISTENER,cn=OracleContext,dc=sample,dc=com modify complete
At this point, a simple tnsping of the entry should yield OK:
tnsping LOCAL_LISTENER should return:
Used LDAP adapter to resolve the alias.
Then OK
Keywords
LDAP ; REMOTE_LISTENER ; LOCAL_LISTENER ;相关文章推荐
- XDB: Utility package to change the HTTP and FTP ports used by XML DB.
- How to configure XDB for using ftp and http protocols with ASM [ID 357714.1]
- How to configure XDB for using ftp and http protocols with ASM [ID 357714.1]
- How to Change the DBID and the DBNAME by using NID [ID 224266.1]
- mysql workbench 错误 Error Code: 1046. No database selected Select the default DB to be used by doubl
- How to Change the DBID and the DBNAME by using NID [ID 224266.1]
- How to Change the DBID and the DBNAME by using NID [ID 224266.1]
- How to Change the DBID and the DBNAME by using NID [ID 224266.1]
- How to Change the DBID and the DBNAME by using NID [ID 224266.1]
- How to Change the DBID and the DBNAME by using NID [ID 224266.1]
- When the RTP port is set to 8005, why is 8006 used by RTP and 8007 for RTCP for all communications ?
- How to Change the DBID and the DBNAME by using NID [ID 224266.1]
- How to Change the DBID and the DBNAME by using NID
- mysql workbench 错误 No database selected Select the default DB to be used by double-clicking its nam
- How to Change the DBID and the DBNAME by using NID [ID 224266.1]
- workBench Error Code: 1046. No database selected Select the default DB to be used by double-clicking
- How to deinstall and install Oracle XML database (XMLDB/XDB)? 详细
- mysql workbench 错误 No database selected Select the default DB to be used by double-clicking its nam
- How to Change the DBID and the DBNAME by using NID [ID 224266.1]
- How to Change the Icon for a File Type in Windows 7 and Vista(转)