Tnsping/tnsnames question

Hi everyone,
I am having some trouble reaching a DB using tnsping utility on Solaris 5.10.
I have no issue connecting to this db (db1) using other PC's, but something about this configuration is messing it up. I should mention that there are currently 4 oracle installs on this machine, 9.2.0.8, 10.2.0.3, 10.2.0.4, and 11g (the most recent install).
It seems from the below that since the 11g install, tnsping & sqlplus are trying to use the 11g files, so I updated the tnsnames and sqlnet files.
here is the feedback from tnsping:
tnsping db1Used parameter files:
/opt/oracle/product/11g/11.1.0.6/network/admin/sqlnet.ora
TNS-03505: Failed to resolve name
sqlnet.ora
/admin$ pwd/opt/oracle/product/11g/11.1.0.6/network/admin
/admin$ cat sqlnet.ora# sqlnet.ora Network Configuration File: c:\apps\oracle\client\10.2.0\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT, LDAP)
tnsnames.ora
/admin$ cat tnsnames.ora# tnsnames.ora Network Configuration File: /opt/oracle/product/11g/11.1.0.6/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_aduh12 =
  (ADDRESS = (PROTOCOL = TCP)(Host = fyr21.us.xyz.com)(Port = 1524))
db1 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = au101.ips.xyz.com)(PORT = 1521))
    (CONNECT_DATA =
      (SID = db1)
aduh12 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(Host = bsel71.us.xyz.com)(Port = 1524))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = aduh12.us.xyz.com)
  )Any ideas why this does not work as expected? Any help would be appreciated. Thanks!

That's right :)
This machine does run several instances, but db1 is a remote service. I can tnsping from my windows laptop without trouble:
D:\Users\a275tet\My Documents\Rotation 4\Oracle\PERL>tnsping db1
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 05-AUG-2
008 15:13:09
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
D:\oracle\product\10.2.0\db_3\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = au101.ips.xyz.com)(PORT = 1521)) (CONNECT_DATA = (SID = db1)))
OK (220 msec)
I am trying to run some scripts on this server which will reach out and interface with the db1 database. They run fine on my local pc, but something is mixed up with the tns file on this server, even though I copied the same entry from my local tns file.

Similar Messages

  • Urgent: How to restore a database to another machine without backup files

    I am a beginner with Oracle and need to solve a tough problem.
    I have all the files of a database on a hard disk without previously backed up. I don't have the old machine right now, I only have the hard disk from the old machine, and the new machine. There is an Oracle 9i database on the harddisk, and we need make the database work.
    I've already installed the Oracle 9i on the computer(Win XP), put the files to the right folder, modified the listener.ora and tnsnames.ora, then I added the database from:
    OEM -> Navigator -> Add database to tree -> Add selected databases from your local tnsnames.ora file ...
    When I tried to connect to the database, I got the error:
    ORA-12500: TNS: listener failed to start a dedicated server process.
    The setting in my tnsnames.ora and listener.ora are all correct. tnsping <tnsname> is OK. Besides, the default database installed by the ORACLE software works fine.
    Both the old machine and the new machine are Window XP. Both the old database and the new database are ORACLE 9i.
    Any idea on how to mannually make it work? Thank you inadvance!
    Lihua

    Lihua,
    Since you didn't create the DB with DBCA, you will need to manually create a SID.
    From a command window type
    ORADIM -NEW -SID mydb
    Replace mydb with the DBNAME specified in your init.ora and listener.ora files.
    This will create and start the service. The service should now be available as a windows service in the computer management area...
    From a COMMAND window type
    set oracle_sid=mydb
    sqlplus /nolog
    connect / as sysdba
    startup
    If you have all the files in the correct location the DB should start. You should then be able to connect with the database manager. Good Luck.
    --Paul

  • Could not connect to Oracle Server...

    Hi All. I set up a Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 on a Win XP Pro machine (say Machine A). When I tried to connect to the database using SQL*Plus from another machine (say Machine B) its throwing error...
    ORA-12170: TNS: Connect timeout occurred
    When I tried to telnet by IP...its saying
    Connecting To xx.xx.xx.xx...Could not open connection to the host, on port 23: Connect failed
    But its pinging successfully to this IP.
    I have added a TNS entry to the Machine B tns.ora.
    Please let me know what to do next?
    I'm able to connect to database form Machine A through SQL*Plus.

    >> Connecting To xx.xx.xx.xx...Could not open connection to the host, on port 23: Connect failed
    What command did you try check this??
    Did you try to telnet as follows
    telnet ip database_port i.e. telnet xxx.xxx.xxx.xxx 1521
    >> I have added a TNS entry to the Machine B tns.ora.
    Are you able to tnsping the tns service?
    c:\>tnsping <tnsnames entry>
    Regards,
    Sabdar Syed.

  • Unable to import metadata using OBI 11g Admin tool

    Hello folks,
    I am new to OBI. I am trying to build a RPD. For that purpose I am trying to import some tables from database but I am unable to. I created DSN and also tried using OCI but no help. The OBI Admin tool client and database is installed under other user's account. Is that the reason I am unable to import tables?
    I am getting this error:
    Internal Error-Unable to initialize NLS during driver load - When I try to use ODBC &
    Connection failed --When I try to use OCI.
    Can someone shed some light on this issue.
    Thanks,
    Edited by: 950330 on Jan 21, 2013 11:17 AM

    Use Call Interface: Default (OCI 10g/11g)
    Data source Name->hostname:port/ServiceName or TNS name
    like
    localhost:1521/XE
    make sure you able to ping connect the database using tnsentry or
    tnsping <tnsname>
    from command prompt.
    Let me know for issues if helps pls mark
    Edited by: Srini VEERAVALLI on Jan 21, 2013 1:17 PM

  • Constructing a correct jdbc connection string

    I am not particularly fluent in JDBC URL construction and though I have come up with many variations, I have so far failed to come up with the single variation that will work for my database :-)
    I am running Oracle 10 and I have a connection to the target database in SqlDeveloper. Opening the properties of my existing connection, I observe that the type is TNS. Looking up the network alias specified in my tnsnames.ora I was then able to get the hostname, the service name, and the port (1521), and I observed that it said "Server=DEDICATED" though I don't appreciate the significance of that last item.
    So I tried IBM's jdbctest tool (among others) with a JDBC URL of:
    jdbc:oracle:thin:<username>/<pwd>@<hostname>:1521:<servicename>
    and with the ojdbc14.jar driver, received this error:
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    I also tried "telnet <hostname> <port>" because jdbctest suggested it, and I received "Connect failed". jdbctest notes that a refused connection means the port is wrong but says nothing about a failed connection. I saw one reference that said the last component of the string should be <dbname> rather than <servicename>. So where do I check the dbname? And what else am I missing?

    jdbc:oracle:thin:<username>/<pwd>@<hostname>:1521:<servicename><servicename> is SID of databsae running on server and not your tnsname alias.
    Telnet can fail if telnet service is not running.
    Did you tried tnsping
    c:\>tnsping <tnsnames.ora service alias>
    Server=DEDICATED indicates that you want to have dedicated oracle process for your applicaiton unlike shared server process where many users share the same proecss. Shared server connection is typically used for large number of db users conencting concurrently.

  • Connection takes a lot of time

    we have a problem on our database that it takes a lot of time to connect.
    connection done locally (with BEQ protocol).
    the connection is available only after about a minute.
    what could be the reason for it??

    'tnsping' and see what is the response time?
    tnsping TNSNAME
    This problem could be due to NTS defined in the SQLNET.AUTHENTICATION_SERVICES parameter of the SQLNET.ORA
    file.
    Please Edit the SQLNET.ORA file and remove (NTS) from:
    SQLNET.AUTHENTICATION_SERVICES
    Check to see whether or not tracing is enabled on the client side. Verify in the client's SQLNET.ORA file for the TRACE_LEVEL_CLIENT (= off) parameter. If set ON please change to OFF
    Try changing the hostname in the TNSNAMES.ORA file to an ip address so that hostname lookup is not needed.
    SJH
    OCP DBA

  • ORA-12541: TNS:no listener. (HY000)

    Hi,
    I created a DSN A and added the name to my connection pool in OBIEE 10G rpd. When i click on "Test Connection" in the DSN, it connects successfully. However, when i create an ad-hoc report in Answers with a subject area that uses the same connection pool, i get the no listener error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: S1000 code: 12541 message: [Oracle][ODBC][Ora]ORA-12541: TNS:no listener. (HY000)
    What am i doing wrong?

    what I am referring to is the post above which says the following
    If you have Oracle client installed why you need DSN?!!!
    just use hostname:port/Service at connection pool by selecting OCI
    before that using command use tnsping <tnsname> that should return tnsentry if not check setting

  • Question about TNSNAMES and EZCONNECT

    I have 10.2.0.4 EE, RAC + Data Guard. From an app server, I issue the following:
    +$tnsping database1+
    TNS Ping Utility for Solaris: Version 10.2.0.4.0 - Production on 14-JAN-2013 12:37:36
    Copyright (c) 1997,  2007, Oracle.  All rights reserved.
    Used parameter files:
    oracle/product/10.2.0.4/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.19.246.142)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = 172.19.246.143)(PORT = 1521)) (LOAD_BALANCE = no) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DATABASE1)))
    OK (0 msec)
    It said it had used the tnsnames, so I went to take a look at it:
    +$cd /oracle/product/10.2.0.4/network/admin/+
    +$ls+
    samples     shrept.lst  sqlnet.log  sqlnet.ora
    There's no tnsnames.ora. Did Oracle lie to me? :) This is the sqlnet.ora:
    +$cat sqlnet.ora+
    +# sqlnet.ora Network Configuration File: /oracle/product/10.2.0.4/network/admin/sqlnet.ora+
    +# Generated by Oracle configuration tools.+
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    Thanks for your help.

    It said it had used the tnsnames, so I went to take a look at it:
    +$cd /oracle/product/10.2.0.4/network/admin/+
    +$ls+
    samples     shrept.lst  sqlnet.log  sqlnet.ora
    There's no tnsnames.ora. Did Oracle lie to me? :) check TNS_ADMIN OS environment variable

  • 11gR2 Post-Upgrade Questions Regarding tnsnames, listener, pwd, and init

    Hello.
    Am planning on upgrading a significant # of RHEL5 10gR2 RAC and non-RAC DBs to 11gR2 (11.2.0.3.1, specifically). The servers are still not available to me, but I have been poring on the install and upgrade documents as well as referencing several blogs of users who have done them. I have almost literally read the guides verbatim. I will be using the DBUS - not doing a manual upgrade. Since I cannot test of the upgrade yet, I have a few questions related to POST_UPGRADE actions in terms of the listener, tnsnames, password, and init files.
    1.) The upgrade document indicates on p 3-24, "DBUA then proceeds to create new configuration files (parameter and listener files) in the new Oracle home." Will the init file (assuming spfile will be copied as we are using one everywhere now) have deprecated parameters REMOVED after it is copied over to the NEW/TARGET home?
    2.) While the install/upgrade guides do not call for it, several blogs indicate that the tnsnames and password files should be copied over from the old/source DB network/admin location ($TNSNAMES/admin) to the new/target DB /network/admin location. Do I need to do this or with the DBUA also copy them over? If all 4 files (tnsnames/listener/spfile/password) are copied over, I am not sure why the document doesn't indicate this.
    3.) Other than the spfile being copied over and modified, I don't see any difference between the old/source and new/destination copies of the listener, tnsnames, and password file. Do you agree?
    I am just trying to figure out what really need to be copied over and what doesn't in lieu of the DBUA doing it for me.
    Thank you all for your help. If I had HW to test this out, I would do it. In the meantime, I am writing the procedures to do the actual upgrade.
    Matt

    page 3-24 corresponds to following
    http://docs.oracle.com/cd/E11882_01/server.112/e23633/upgrade.htm#CHDDCBHG
    which states
    You must run the Oracle Net Configuration Assistant before running DBUA. See "Configuring the Listener When Upgrading from Oracle9i".
    If you are upgrading an existing Oracle Enterprise Manager Database Control or if you are configuring a new Oracle Enterprise Manager Database Control for the new Oracle Database 11g release, then the listener must be running before upgrading Oracle Enterprise Manager. If DBUA detects that an Oracle Enterprise Manager upgrade or configuration is requested, and DBUA does not see a listener running, then it prompts you and starts the default listener in either of these cases.
    running netca from new home results in creating a new listener.ora file, this could complain that listener is already used if the old listener is running with the same name or port (default 1521) taken.
    I think the "+DBUA reloads the listener.ora file in both the old and new Oracle Database environments.+" which point c in that list has to be taken in context with the two previous points a, b, where the usecase is shown how services , entries are removed from one listener.ora file and added to another. So to make sure those services are started from the "now" correct home those listener.ora are reloaded.
    If you look in the 11.1 upgrade guide this text is written as "DBUA removes the entry of the upgraded database from the old listener.ora file and reloads the listener of the old database." http://docs.oracle.com/cd/B28359_01/server.111/b28300/upgrade.htm#i1011982
    If after the upgrade old oracle home is not used anymore (no database is running out of that) you can ignore the listener.ora on the old home.

  • Basic questions about tnsnames.ora

    I think I am quite confused about tnsnames.ora file (this is about release 9.2).
    - I was told that a tnsnames.ora file is only necessary in the server side when you need to connect to a different remote database, but if I do not have any entry in my server tnsnames.ora then, how can the listener know which services it has to listen to?
    - I do not understand what "Dynamic service registration" is and how it can be used.
    Sorry if the level of these questions is too low for this forum, but I have not found clear answers for them.

    - The listener knows which services it has to listen
    for by
    static registration --> the database definition is in
    listener.ora
    dynamic registration --> the PMON process of the
    database registers itself with the listener,
    submitting the service_name parameter from the spfile
    | init.ora
    Tnsnames.ora is a client thingy, when connecting to
    a remote database, the local database is a client
    for the remote database.
    Hth
    Sybrand Bakker
    Senior Oracle DBAThank you for the answer.
    I made a wrong conclusion, my situation is this (there are 2 database instances in one server and the listener.ora has no list of services, so I must assume both instances are registered dynamically, am I wrong?):
    I wrongly thought that the tnsnames.ora played some role in the server side because after restarting the listener I commented the entries in the server tnsnames.ora and the listener had no service registered, then I uncommented those entries and I saw that then the listener had those services registered. I guess that what it actually happened is that it takes a little time for the listener to register dynamically after it is restarted, can it be the case?
    I have read both init.ora files but I cannot see what parameter is set to register dynamically, maybe it is only defined at spfile level. Can someone tell me what parameters must I look for?
    One more question. I have been asked if a database must be restarted to work ok when the server ip is changed (I suppose it is done without shutting the server down). Does someone know? Should the listener also be rebooted?
    Thanks again.

  • Tnsnames.ora General Question

    We are experiencing a problem that many different users seem to have many different versions of tnsnames.ora. We want to create our "gold" version and ensure that everyone uses the same one. Two questions:
    1. Is the "alias" that you give each connection case sensitive? For instance if I name one connection Prod is that the same as PROD?
    2. At another place I worked I was under the impression that most applications (PL/SQL Developer for sure) uses the Windows PATH environment variable to locate tnsnames.ora by going through all directories listed in the variable and using the first occurrence of tnsnames.ora that it found. Through a little testing and renaming and such I have found that this doesn't appear to be the case. We are using ADI, Discoverer, different development tools, etc and would like to avoid having more than one location where the file is stored. What is the best way around that or is there a way? I assume that it depends somewhat on each application.
    Thanks in advance for the help!

    PL/SQL Developer Help->Support Info TNS Names tab shows that C:\oracle\ora92\network\admin\tnsnames.ora is used as my tnsnames.ora for the application. I don't have an ORA_HOME environment variable. So where is it coming from? The path above is in my PATH variable.
    So it is different for every application?
    I don't have TNS_ADMIN environment variable either.
    Sorry for the dumb questions. I just want to be 100% clear.
    Message was edited by:
    mateoc15

  • Tnsping can't read tnsnames.ora  TNS-12533: TNS:illegal ADDRESS parameters

    Here's my tnsnames.ora. tnsping thinks it's illegal:
    acsplan =
    (DESCRIPTION=ACSPLAN
    (ADDRESS_LIST =
              (ADDRESS=(PROTOCOL=tcp)(HOST=10.101.205.166)(PORT=1521))
    (CONNECT_DATA=(SID=ACSPLAN))
    Why does tnsping think this is illegal?
    Thanks.
    Dean

    Dean Schulze wrote:
    Here's my tnsnames.ora. tnsping thinks it's illegal:
    acsplan =
    (DESCRIPTION=ACSPLAN
    (ADDRESS_LIST =
              (ADDRESS=(PROTOCOL=tcp)(HOST=10.101.205.166)(PORT=1521))
    (CONNECT_DATA=(SID=ACSPLAN))
    Why does tnsping think this is illegal?Does this work?
    acsplan  =
       (DESCRIPTION=
         (ADDRESS_LIST =
              (ADDRESS=(PROTOCOL=tcp)(HOST=10.101.205.166)(PORT=1521))
         (CONNECT_DATA=(SID=ACSPLAN))
       )

  • A question about tnsnames.ora

    I have a question about tnsnames.ora file. I have two address entries in the tnsnames.ora, one is with protocol:ipc, the other is with protocol:tcp. The log file always tells me the hostname is UNKNOWN. I changed the hostname alias into ip address, but the error stills exists. But there isn't any other error of the running of database. Because I don't need to access database from remote client, thus I think if I delete the address entry of the hostname won't interrupt the running of database. So I delete it from the tnsnames.ora file. But the error stills exists. I am not familiar with Oracle. So could anyone help me to solve the problem or give me some ideas about it? Thanks.

    Hi,
    That tnsnames.ora file is the descriptor that resolves the service name to the correct host address. That line ADDRESS is the locator for the listener on the server which then determines if a session is granted or not. You cannot forget the sqlnet.ora file either. This sets the type of connection that the client is going to be involved in: either a HOST,TNSNAMES OR
    ONAMES. You also must check to see if the listener is turned on. This is a common error. But I dont think it is in this case. Judging by the hostname error message Id say you dont have the correct host name. That can be found in the init.ora file under db_name parameter. I suggest that you do some reading on this subject in the networking documentation. It is all very well explained there. There is more to this relationship than I touched upon here.
    Hope this helps.

  • TNSNAMES syntax question: =ON or =YES

    Is there any difference (10g r2.0.3) between FAILOVER=ON and FAILOVER=yes
    or
    LOAD_BALANCE=ON and LOAD_BALANCE=yes ???
    I see oracle documentation specifying =ON as the value for both, but plenty of forum threads and examples with =yes present. Confusing to me while researching as part of troubleshooting.

    Hi,
    Pls see the old thread on same topic.
    Re: RAC TNS Entry for FAILOVER
    Regards,
    Satishbabu Gunukula
    http://oracleracexpert.blogspot.com
    [Block recovery using RMAN|http://oracleracexpert.blogspot.com/2009/08/block-recovery-using-rman.html]

  • NetCA fail to create TNSNAME file

    I installed Oracle11gR2 GRID and RAC on two nodes(windows2008R2): I did some modification for supporting TAF failover.
    when I do "tnsping" I got an error like:
    C:\Users\administrator.QAPF2>tnsping NLQA
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on 16-APR-2
    012 17:04:37
    Copyright (c) 1997, 2011, Oracle. All rights reserved.
    Used parameter files:
    C:\app\11.2.0\grid\NETWORK\ADMIN\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION =
    TNS-12533: TNS:illegal ADDRESS parameters
    From oracle forum, there were many discussions on this error: due to some bad characters in tnsnames.ora file.
    They suggest to use NetCA to create it, I tried as follow but I got another(maybe same) error:
    Connecting...ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    The test did not succeed.
    Current node1 status:
    C:\Users\administrator.QAPF2>srvctl config service -d ORCL -s NLQA
    Service name: NLQA
    Service is enabled
    Server pool: ORCL_NLQA
    Cardinality: 2
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: true
    Failover type: SELECT
    Failover method: BASIC
    TAF failover retries: 180
    TAF failover delay: 5
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: BASIC
    Edition:
    Preferred instances: orcl2,orcl1
    Available instances:
    C:\Users\administrator.QAPF2>srvctl status service -d ORCL -s NLQA
    Service NLQA is running on instance(s) orcl1
    My TNSNAME.ora file:
    NLQA =
    (DESCRIPTION =
    (LOAD_BALANCE = ON)
    (FAILOVER = ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = ORARAC1-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = ORARAC2-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = NLQA)
    (FAILOVER_MODE = (TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 5))
    listener.ora file:
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER))))          # line added by Agent
    LISTENER_SCAN3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3))))          # line added by Agent
    LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2))))          # line added by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1))))          # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON          # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON          # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3=ON          # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON          # line added by Agent
    I can not connect to the OracleRAC server from client. Please help me.
    Thanks

    I started the database. still have the same problem on tnsping.
    I am not clear what is the correct procedure to configure TAF on client side or server.
    I added a service for TAF on the server node1:
    >srvctl add service -d ORCL -s NLQA -q TRUE -m BASIC –P BASIC -e SELECT -r orcl1 -z 180 -w 5 -j LONG
    >srvctl add service -d ORCL -s NLQA –u -r orcl2
    >srvctl start service -d ORCL -s NLQA
    Also, I modified the tnsnames.ora file on server and client(both are same copy) as shown on my first question page.
    question1: I want to support client side failover with TAF, DO I need both as shown above? any more change or addition?
    question2: To support server side failover, shouldn't I modify tnsnames.ora on server side then copy it to the client side?
    Also, what should I add or provide more?
    question3: My client application could not handle FAN(any failover feature: we do not want to change on any client code),
    Could we support the client side TAF with JDBC-OCI and tnsnames.ora? we have been using JDBC thin driver.
    Here are new information after I started the database:
    C:\Users\administrator.QAPF2>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.3.0 - Production on 17-APR-2012 10:14
    :00
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.3.0 - Produ
    ction
    Start Date 16-APR-2012 16:59:19
    Uptime 0 days 17 hr. 14 min. 41 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\app\11.2.0\grid\network\admin\listener.ora
    Listener Log File C:\app\11.2.0\grid\log\diag\tnslsnr\orarac1\listener\a
    lert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\LISTENERipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.23.57.31)(PORT=1521)))
    Services Summary...
    Service "NLQA.qapf2.qalab01.nextlabs.com" has 1 instance(s).
    Instance "orcl1", status READY, has 1 handler(s) for this service...
    Service "orcl.qapf2.qalab01.nextlabs.com" has 1 instance(s).
    Instance "orcl1", status READY, has 1 handler(s) for this service...
    Service "orclXDB.qapf2.qalab01.nextlabs.com" has 1 instance(s).
    Instance "orcl1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\Users\administrator.QAPF2>lsnrctl service
    LSNRCTL for 64-bit Windows: Version 11.2.0.3.0 - Production on 17-APR-2012 10:16
    :40
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    Services Summary...
    Service "NLQA.qapf2.qalab01.nextlabs.com" has 1 instance(s).
    Instance "orcl1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:22 refused:0 state:ready
    LOCAL SERVER
    Service "orcl.qapf2.qalab01.nextlabs.com" has 1 instance(s).
    Instance "orcl1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:22 refused:0 state:ready
    LOCAL SERVER
    Service "orclXDB.qapf2.qalab01.nextlabs.com" has 1 instance(s).
    Instance "orcl1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: ORARAC1, pid: 5724>
    (ADDRESS=(PROTOCOL=tcp)(HOST=orarac1.qapf2.qalab01.nextlabs.com)(PORT=6
    4895))
    The command completed successfully

Maybe you are looking for

  • Trying to connect a second printer (this one wireless) through airport extreme.

    I am such a dufus about anything related to setup!  Can I have two printers on my network, one connected by a cable and one wirelessly?  I just purchased a second printer for my home office so that I can access both printers from my MacBook Air.  The

  • Need Help in Urgent please~

    Hello! Need help please~ I cannot erase and partition disk in disk utility. It always alert message that" Partition Failed with error. Couldn't open device". How can I fix this? Help please~

  • How do I open 3D in my Photoshop CS6?

    I purchased 11/2 years ago. and I am trying to find 3D in the program, But can't seem to find it. Please help

  • Customer sales return for credit

    Hi, What steps do I need to take to process a return from the customer for credit? Please give me step by step instructions and the transaction codes. The returned material is a configurable (make to order) material. How can I tear it down, return th

  • Batch Delete/Removal of CustomObject(x) Records

    There is no batch delete function on CustomObjects. Does anyone know of any clever way to identify, tag, and delete records in these tables? If not, I'm just going to blank out all the fields with an import. Thanks, Mike