Connect time failover in Oracle Net Service

I have a problem. This is my tnsnames.ora file. I have 2 identical databases on 2 different servers
(alpha.it.telekom.yu and alphami.it.telekom.yu) with same service name tis.it.telekom.yu.
ALPHA.IT.TELEKOM.YU =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = alpha.it.telekom.yu)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = alphami.it.telekom.yu)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = tis.it.telekom.yu)
I use this net service name when my host alpha.it.telekom.yu is not in function, to bring me to the other host alphami.it.telekom.yu.
But what is my question. I have tested this net service name, it is in function, but my problem is in time i waiting to connect
to second host (it takes to much time) when first host is not available. Is there any parameter to set, so i can solve this problem?
Thanks.

I will try to clarify the problem. The second server (alphami.it.telekom.yu) is on the disaster recovery location and EMC SRDF technology is used to transfer data to this location. Thus, both databases are the same and must have the same service name. Information in tnsnames.ora file, I gave above, is correct by my opinion. I hope you better understand my problem. Thanks.

Similar Messages

  • Need Opinions on Connect-time failover for Oracle Parallel Server

    Has anyone had any experience using the (failover=on) setting in TNSNAMES.ora file?
    Specifically has anyone had any issues using this feature from a JDBC application?
    Horror stories? Good news? Anything?
    Thanx....

    Should I need to put this on Metalink?

  • CONNECT -TIME FAILOVER ERROR IN ORACLE 10G ENTERPRISE MANAGER

    Hi All,
    Please can anyone explain why I am getting this error and how to fix it?
    I was trying this exercise to create a backup LISTENER to support a connect-time failover in Enterprise manager.The steps were .1)I clicked the Listener's link on Database control page.2)Next I clicked the Net Services Administration link.3)I selected listeners from the Administer drop-down list and clicked Go.
    I received the ERROR message that "Listener administration cannot be performed, as this Oracle Home
    "/opt/oracle/DB10g" is not a server installation.
    Is this normal?
    What can I do to fix it?Please help!
    Thanks

    you are trying to start the listener on the machine that has enterprise manager installed.
    Listener executable is available with oracle database software install( enterprise or otherwise).
    You will have to pick the listener on a database software install box to configure it

  • Oracle 10g dataguard Connect-time failover Parameter 15 minutes

    Hello,
    we running a system with DataGuard in Maximum Availability protection mode and one physical Standby Database. There are two connections between primary and standby. I configured listener and tnsnames to perform a Connect-time failover in case one connection is down. In first place it seemed to work fine but since it has happened that the primary always hangs for exactly 15 minutes until the failover is performed. (ALL redologs need archiving)
    I think this must be the default value of a Parameter but reading docs for hours I can't find it.
    Can anybody help me?
    Best regards
    Fritz

    It's like this. The connection failover I'm talking about is only between the primary database and standby database. I have two connections between them. That makes two addresses for the service (servicetostandby) specified in the log_archive_dest used by dataguard. In my case the log_archive_dest Paramater looks like this:
    log_archive_dest_3 = 'SERVICE servicetostandby OPTIONAL LGWR SY
    NC AFFIRM VALID_FOR=(ONLINE_LO
    GFILES,PRIMARY_ROLE) DB_UNIQUE
    NAME=standby REOPEN=10 NETTIME
    OUT=9'
    The tnsnames.ora entry looks like this:
    servicetostandby =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = address1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = address2)(PORT = 1521))
    (FAILOVER=true)
    (LOAD_BALANCE=false)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = standby)
    So if either address1 or address2 is down dataguard should use the other address to connect to the standby database.
    Maybe because of the Maximum Availability protection mode the primary database does not perform if the standby database is not available. I'm not sure about that. But fact is that if I power off the standby database, the primary database hangs only for 9 seconds. That's specified in the net_time_out attribut of the log_archive_dest Parameter. So I'm quite sure that something in the oracle net service causes the problem.
    With the "primary hangs" I mean: After the used connection (say address1) went down the redologfiles of the primary database get filled and then it stops for 15 minutes. The messages in the alert.log:
    Thread 1 cannot allocate new log, sequence 1304
    All online logs needed archiving
    After 15 minutes the connection via address2 is established and everything works fine.
    I hope I made myself clear this time and didn't confuse you totally.
    Edited by: user633694 on Apr 14, 2009 8:13 AM

  • Question on connect time failover ?

    ADDRESSES:
    TCP/IP
    Host : EDTDR6P1.us.oracle.com
    Port : 1521
    Connect-Time Failover and Client Load Balancing
    Configure whether addresses are tried randomly or sequentially during connections to the service. This setting iis applicable only if there are more than one addresses configured.
    -> Try each address, in order, until one succeeds
    -> Try each address, randomly, until one succeeds
    -> Try one address, seleced at random
    -> Use each address, in order, until destination is reached
    -> Use only the first address
    Which two otpions are used to enable the connect-time failover feature ?
    A. Use only the first address.
    B. Try one address, selected at random.
    C. Try each address, in order, until one succeeds.
    C. Try each address, randomly, until one succeeds.
    D. Use each address, in order until destination reached.

    Hi,
    Easy C and D.
    Cheers,
    Francisco Munoz Alvarez
    http://www.oraclenz.com

  • Hibernate vs Oracle Net Services

    Dear All,
    I need to know, what is the best way to connect to oracle, Hibernate or normal oracle net services?
    And what is the advantages and disadvantages of each one?
    if you can give me a comparison from this points of view
    Development, Performance, security

    Tomy3k_Bakr wrote:
    Hi Dear,
    each way of connecting to a database comes to solve a specific problem or to improve a certain area of interest.
    As far as i know, Hibernate moves the over head from the developer to write native SQL. But for example does it supports Load balance and failover since it is using JDBC connection as the underlying connection method. so my question to give a comparison between them which is not a comparison between cars :)
    thx anywayOracle net services are just a pipe. I don't know what Hibernate brings to the table but I do see from a brief on it that it still requires the Oracle jdbc client to be in you CLASSPATH. That tells me that as far a the db is concerned, Hibernate is just another client - not the "either/or" situation your questions seems to assume. Whether it is a good client, or one that is a solution in search of a non-existent problem is another question entirely. If I had to bet, I'd bet that Hibernate was one more of many products written by people who don't understand databases, treat them like data dumps, and re-invent (poorly) solutions that already exist within the rdbms product itself.

  • Configure connect-time failover using GUI

    Any way to configure connect-time failover using GUI
    i can do it by editing Listener.ora
    i have tried "Net Manager" and it did not work
    in ocp studying material , there is an exhibit for that , don't know where is that GUI
    Thanks...

    try this link .
    http://www.lc.leidenuniv.nl/awcourse/oracle/network.920/a96580/advcfg.htm

  • Connect time failover fails with ORA-01033

    Hi,
    I have primary and standby databases configured. I want to configured connect time failover such that when there is role transistion. Clients can connect to DB with out changing anything in thier tns files.
    Here is my configuration.
    hosta primary
    hostb standby
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL=TCP)(HOST=hosta)(PORT=1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /usr/oracle/product/11.2.0.3)
    (SID_NAME = tstxx)
    (SID_DESC =
    (GLOBAL_DBNAME = test1)
    (ORACLE_HOME = /usr/oracle/product/11.2.0.3)
    (SID_NAME = tstxx)
    listener.ora on standby similar expect changes in hostnames.
    Tnsnames.ora client
    ctf =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hostb) (PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = hosta) (PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = test1)
    Notice that I have place hostb address intenally first so that if failover/swichover happens. client connection will not error out
    sqlplus test@ctfSQL*Plus: Release 9.0.1.0.1 - Production on Fri Jun 22 17:38
    (c) Copyright 2001 Oracle Corporation. All rights reserved.
    Enter password:
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    But when I change tnsnames such that hosta comes first then the connection works. as it should
    any help is appreciated!!
    Edited by: user8927749 on Jun 22, 2012 2:58 PM

    Hello;
    I would review this document :
    http://uhesse.com/2009/08/19/connect-time-failover-transparent-application-failover-for-data-guard/
    The ORA-1033 hints you are trying to connect to the database in the wrong role. There's a trigger and some additional work which can prevent this.
    Uwe's document should explain all.
    The "SQL*Plus: Release 9.0.1.0.1 - Production on Fri Jun 22 17:38" is very odd. I would expect you would being using the client on the server is this not the case?
    DBMS_SERVICE lets you define something like this :
    ernie =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary.server)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby.server)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ernie)
    Check out "CREATE_SERVICE Procedure" here :
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_serv.htm
    Best Regards
    mseberg
    Edited by: mseberg on Jun 22, 2012 5:42 PM

  • SQL*NET or Oracle Net Services

    Installed ODAC11.2.0.3 on my machine and able to connect to DB.
    Is Oracle Net Services (http://docs.oracle.com/cd/B28359_01/network.111/b28316/intro.htm) similar to SQL*Net?
    If so, how do you tell the version of Oracle Net Services being installed?
    This link Troubleshooting Oracle Net Services says to check SQLNET.LOG on the server, however, I do not have access to the server. Is there another way to tell which version?
    Thanks.

    OracleNewbie828 wrote:
    Installed ODAC11.2.0.3 on my machine and able to connect to DB.
    Is Oracle Net Services (http://docs.oracle.com/cd/B28359_01/network.111/b28316/intro.htm) similar to SQL*Net?
    Not "similar".  Same.
    If so, how do you tell the version of Oracle Net Services being installed?
    Here's one way:
    C:\Users\estevens\Documents\sql>sqlplus /nolog
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Sep 11 10:36:37 2013
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    SQL>
    This link Troubleshooting Oracle Net Services says to check SQLNET.LOG on the server, however, I do not have access to the server. Is there another way to tell which version?
    Network connections have two sides .. the client and the server.  The two sides do not have to be the same version.  If you don't have access to the server, then you are only concerned with the client.
    SQLNET.LOG only gets written/created in response to a problem.  And it gets written in the "current" directory of the process that had the problem.  So you could have several of them .. or none.
    Thanks.

  • Connect-time failover

    Can anyone clear me the concept of Connect-time failover and other failover's??

    you are trying to start the listener on the machine that has enterprise manager installed.
    Listener executable is available with oracle database software install( enterprise or otherwise).
    You will have to pick the listener on a database software install box to configure it

  • Oracle Net services

    Hi,
    Friends
    Where can i find the major differences between oracle 9i net services and oracle 10g net services.Or where can i find the enhancement in oracle net services for oracle 10g over oracle 9i.
    Regards
    somy

    The New Features Guide for 10gR2 may help. Not sure if it includes the 10gR1 new features over 9i.

  • Problem in oracle net services

    Dear People.
    we are trying to create a physical standby database using DGMGRL CLI .After the configuration is made and while enabling the configuration is made i get this error ORA-16607: one or more databases have failed.When i checked the alert log i get
    Errors in file /oracle1/admin/iasdb/bdump/iasdb_arc1_8538.trc:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    PING[ARC1]: Heartbeat failed to connect to standby '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=inuchn12.ind.rsa-ins.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=iasdb_stand_XPT.ind.rsa-ins.com)(INSTANCE_NAME=iasdb)(SERVER=dedicated)))'. Error is 12514.
    Error 12514 received logging on to the standby
    Mon Sep 27 11:56:56 2010
    Errors in file /oracle1/admin/iasdb/bdump/iasdb_arc1_8538.trc:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    PING[ARC1]: Heartbeat failed to connect to standby '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=inuchn12.ind.rsa-ins.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=iasdb_stand_XPT.ind.rsa-ins.com)(INSTANCE_NAME=iasdb)(SERVER=dedicated)))'. Error is 12514.
    My enviroinment:
    Database: Oracle 10g
    OS:Oracle solaris 10 SPARCFolk kindly help with this.Thanks in advance.
    Regards
    Prasanna.N

    please check the listener.log file and find out for any more errors.
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Cause: The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
    Action: - Wait a moment and try to connect a second time.
    - Check which services are currently known by the listener by executing: lsnrctl services <listener name>
    - Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.
    - If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener.
    - Check for an event in the listener.log file.
    Thanks

  • Configuring Oracle Net Services for Oracle Heterogeneous Services

    In the Oracle 9i Net Services Administrators Guide, it states that 3 parameters need to be included in the listener.ora in order to enable Heterogenous services. Can someone clarify what the Program Name should be set to? I'm not quite sure what is meant by agent executable. I'm trying to create a database link to and MS Access mdb DSn if that makes a difference.
    Cheers

    Richard,
    The program is hsodbc. The listener entry should be something like this:
    (sid_desc =
    (sid_name = gc4excel)
    (Oracle_home= c:\oracle\ora92)
    (program = hsodbc)
    The tnsnames entry should be
    GC4excel =
    (description =
    (address = (protocol = tcp) (host = localhost) (port = 1521))
    (connect_data = ( sid = gc4excel))
    (hs=ok)
    For more information on setting up Generic Connectivity please refer to the Heterogeneous Connectivity Administrator's Guide.
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96544/gencon.htm#1656

  • Need help in setting connection time out in Oracle 9i

    My firewall is causing problems in that it is causing me to have timeout problems when tyring to start my Oracle 9i database.
    The best solution is to reset my connect_timeout taht is to be found in listener.ora. But this has been replaced by initial_retry_timeout (I think) for Oracle 9i.
    initial_retry_timeout is to be found in sqlnet.ora in
    C:\oracle\ora90\networkADMIN\SAMPLE
    it is set to 30
    #name.initial_retry_timeout = 30
    There is another sqlnet.ora file in C:\oracle\ora90\network\ADMIN all these contains is:
    # SQLNET.ORA Network Configuration File: C:\oracle\ora90\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    I added the following line to this file restarted my PC but time out still took 30 secs.
    I dont have much experience of databases apart from writing sql and store procedures.
    So I have no idea apart from pure guess work in trying to sort thsi problem out.
    Thanks for any help.
    Tony
    names.initial_retry_timeout = 5

    You do not indicate whether you are using the Oracle Names server. The names.initial_retry_timeout tells Oracle Net how long to wait, in seconds, for a response from an Oracle Names server before it attempts the next in your preferred list. You indicated, however, that you were having a problem with your firewall. The only connection this setting has with a firewall is that the firewall may be causing the connection to the Oracle Names server to timeout. If that is your problem, then adjust the value of this parameter to increase or decrease the delay before Oracle Net attempts the next server in your preferred list. If, on the other hand, your problem is in connecting to a database, then this parameter will have no effect.
    What I do not understand is how your firewall can cause problems with starting your database. Is this a software firewall running on your PC? If so, what program is it? You should be able to setup a rule in the firewall software to permit the connection.
    Kind Regards,
    Russ Cannon

  • Background running Oracle net services eject CD out of CD writer

    I'm reporting a problem.
    It took me months to finally figure out why my CD was constantly ejecting, thus my automatic backups of my personal files couldn't take place. I didn't realize that even though I shut down the database, there were still 3 active processes running. One of which (Oraclexe.exe) would overun my system for 5-10 minutes taking up 100% CPU usage (that was addressed in another post).
    One of the three net processes sends an eject command to the cd writer or has a interrupt conflict thus ejecting a cd from the cd writer.
    After terminating all ORACLE processes, My CD has not ejected by itself for over two weeks. Thus ORACLE was in conflict with it.
    My system :
    windows2000
    Vexira antivirus
    ZoneAlarm Pro firewall
    512 M ram
    Oracle 10gxe (trial version) (one table created with two records.)
    Dell Latitude CPiR laptop in a docking station (Cdock)
    bill

    "Why do you have to shutdown the database to backup "personal files"? What has this CD and "personal files" backup got to do with net processes and oracle processes?"
    That is a good question I shouldn't have to, that is why I'm reporting the problem.
    I merely have retrospect 7.0 backup scheduled to backup personal files on CD everyevening. When the Oracle net processess are running the CD gets ejected at totally random times, thus when the backup starts it can't because the cd is ejected. They have nothing to do with each other in theory hence there is a conflict somewhere.
    I was merely experimenting with oracle and created two tables with two records in them back in Novemeber when I first downloaded the program. Thus I shutdown the database when not in use since I'm not using it. I was unaware of three other oracle networking processes that were still running in the background. These would grab 100% cpu usage at intervals and increase their memory usage from 27M to 152M. This was perplexing since I don't have anything in my database except two records since I haven't completed the project yet. When I shut down those last remaining processess, the CD has not ejected at random times, and my retrospect backup program scheduler has been able to backup files regularly again.
    Hope that explains it better.
    bill

Maybe you are looking for

  • Help! Swing freezes

    Hello, I developed several applications using Java V1.4.0. All apps were running at its best. Now I switched over to Java V1.4.1 and all Apps using Swing components (especially JList, JButton, JTextArea, ...) are freezing now. In Detail: I have an Ap

  • Email as "text only"

    Hello there, I have a simple question, which sofar I found no answer. I would like to be able to send my e-mail as "text-only" on my iPad, just like Mail.App on my Mac. I did not find any settings that let me do that. This is annoying for me, since a

  • WiFi disappears after 10.7.5 update on iMac

    I posted this in the iMac drops wi-fi connection after 10.7.4 update, but it occurs to me that this might be a different problem.  I was having problems with my wifi dropping connection under 10.7.4 just like most of the people in the other thread. 

  • LR cc has disappeared on both my laptop and desktop and reverted back to LR5

    i have the photographers special with PS and LR. any ideas why this has happened

  • Will downloading OSX lion erase Microsoft office '11

    When OSX Lion becomes available for download, will it erase my Microsoft office suite '11. Because I don't have the disc. I just bought a one time user key.