I am using OID to resolve database service instead of using tnsnames.ora. here , when I use tnsping db_name , then it does not work , but when I use tnsping db_name.domain , then it appears to work. could anybody help me, as how to configure/modify to achieve this. I am fairly new to OID. we already have the OID setup. also , for existing database's , how to use OID to know that this already been added to OID.
ptmdr> tnsping ptmdr.am.elcompanies.net
TNS Ping Utility for Linux: Version 11.2.0.3.0 - Production on 14-OCT-2013 12:34:05
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
/db/ptmsap/oracle/product/11.2.0/network/admin/sqlnet.ora
Used LDAP adapter to resolve the alias
Attempting to contact (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=tbx4new.am.elcompanies.net)(PORT=1921)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVIC
E_NAME=ptmdr)))
OK (0 msec)
++++