11g dataguard client tnsname.ora entry format for switchover and failover

I need format for the tnsnames.ora to use for the enduser when failover or switchover occurs in 11g dataguard.

http://download.oracle.com/docs/cd/B19306_01/network.102/b14213/tnsnames.htm#sthref722

Similar Messages

  • EM doesn't allow creation of tnsnames.ora entry with service name orcl11gr2

    Dear all,
    I'm trying to create a net service name with EM Database Control, via Net Services Administration link. On the service name field, under the 'Edit Net Service Name' screen, I key in orcl11gr2, and it throws the the following error:
    Validation Error
    Examine and correct the following errors, then retry the operation:
    Service Name - Specify a valid service name.
    I wonder what is the extra validation that EM is checking. I assume it's checking the number of characters to be 8 characters or less.
    Also, because of this extra validation that is in EM, all tnsnames.ora entry that have service name = orcl11gr2, I will not be able to use EM to modify them, as I will get the same above error.
    But why does Oracle implements this extra validation, when the same validation is not implemented on other Oracle tools? For instance:
    1. dbca allows me to create a database with instance_name greater than 8 characters, and the outcome of initialization parameters will be as follow:
    db_name=orcl11gr -- truncated to 8 characters
    instance_name=orcl11gr2
    db_unique_name=orcl11gr2
    service_names=orcl11gr2
    2. Oracle Net Manager supports service name of orcl11gr2. The created Net Service Name, I have no problem connecting to the database.
    3. Listener support orcl11gr2 service name
    I'm using Oracle 11g R2 (11.2.0.1.0) for Microsoft Windows (x64), running on Windows 7.

    For your reference, here is the bug numbner: 10278345.
    -Mughees

  • How to configure the client tnsnames.ora parameters with a MTS Server

    i have modified init.ora and start my oracle
    as a MTS instance.
    my client tnsnames.ora is the dedicate server
    model.
    how can i modify it and my clent can use
    MTS server.
    null

    Hi,
    I dont think u will have to configure anything seperatley on the tnsnames.ora file to connect to a MTS Database.
    I Hope i am right.
    Regards,
    Ganesh R

  • Limit on number of TNSNAMES.ORA entries ?

    I am using SQL Dev 1.2.1.32.13 and connect to our databases via entries in TNSNAMES.ORA. Is there some limit on the number of TNSNAMES.ORA entries that SQL Dev can list when using the TNS connection type to create a new connection ? I seem to be able to list 39 of our list of databases in TNSNAMES.ORA. I haven't counted them all but I guess the full list has somewhere in the region of 60/70 entries.
    Chris

    Thanks, the offending bit of TNSNAMES.ORA is shown below, once this was straightened out SQL Dev found all the remaining database entries:
    # ICIS_CST.WORLD =
    ...# (DESCRIPTION =
    .....# (ADDRESS_LIST =
    ........# (ADDRESS =
    ...........# (COMMUNITY = TCP.world)
    ...........# (PROTOCOL = TCP)
    ...........# (HOST = xx.xxxx.xxx.xxx)
    ...........# (PORT = NNNN)
    ...# (CONNECT_DATA =
    .....# (SID = ICISCST)
    (where ... = spaces)
    Corrected version:
    # ICIS_CST.WORLD =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS =
    # (COMMUNITY = TCP.world)
    # (PROTOCOL = TCP)
    # (HOST = xx.xxxx.xxx)
    # (PORT = NNNN)
    # (CONNECT_DATA =
    # (SID = ICISCST)
    Thanks
    Chris
    Message was edited by:
    chrism5

  • Cannot Connect to Two 11g DBs - Same tnsnames.ora different Oracle_Home

    We have two 11g databases on seperate Oracle Homes on the same server. The tnsnames.ora and listener.ora entries for db_2 were combined with those of db_1 in ...../db_1/network/admin. They are:
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    DB1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST=10.200.18.28)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = DB1)
    #DB2 =
    # (DESCRIPTION =
    # (ADDRESS = (PROTOCOL = TCP)(HOST=10.200.18.28)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVER = DEDICATED)
    # (SERVICE_NAME = DB2)
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =10.200.18.28)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = DB1)
    (ORACLE_HOME = /u01/app/oracle/product/11.1.0/DB1)
    #SID_LIST_LISTENER =
    # (SID_LIST =
    # (SID_DESC =
    # (SID_NAME =DB2)
    # (ORACLE_HOME = /u01/app/oracle/product/11.1.0/DB2)
    DB2 is commented out because we coulod not reach either database when it was not. Now we can each one or the other. We were getting
    "ora_12514 TNS:listener could not resolve seervice name given in connect description."
    The problem is that we need to reach each database when connected to the server from eithere the client or server.
    I would appreciate any information, direct experience or pointers to documents.
    Thanks

    You shouldn't need either DB1 or DB2 listed in your listener.ora file. They should automatically register with the listener if it is running on the default port (which yours is).
    If you do want to statically register the instances, the syntax you have in your original post is a little wrong. It should be:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
    (SID_NAME = DB1)
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_2)
    (SID_NAME = DB2)
    All in one variable, not two. Also, the home paths you had in your post were missing the _.
    All that said, it seems to be much preferred to let the instance register itself. If you try the following, does the instance register?
    * remove the SID_LIST_LISTENER configuration for DB1
    * restart the listener
    * connect to DB1 as someone with the DBA role and execute 'alter system register;'
    * check the listener with 'lsnrctl status listener' and see whether the instance registered.
    You should see something like: (notice 'READY' instead of 'UNKNOWN')
    Instance "DB1", status READY, has 1 handler(s) for this service...

  • Oracle client -TNSNAMES.ora

    Hi,
    I am new to db, can any explain the use of oracle client and how to use the TNSNAMES file.
    Thanks,
    VP.

    Oracle client does what a client does in Client-Server architecture. So just read about it.
    A tnsnames.ora file maps net service names to connect descriptors. The net service name thus becomes a (most likely shorter and more readable) alias for the somewhat cumbersome net service name. In the following example, the tex after the equal sign is the connect descriptor while the text before the equal sign (net_service_name) is the net service name.
    A client needs a connect descriptor in order to connect to an Oracle instance.
    net_service_name=
    (DESCRIPTION=
       (ADDRESS=(protocol_address_information))
       (CONNECT_DATA=
         (SERVICE_NAME=service_name)))
    For example:
    ORA10 =
      (DESCRIPTION = (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = somehost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME=ORA10)
      )

  • Developing without  Full client / tnsnames.ora

    I am trying to develop an OCI application using Borland C++ Builder. I want to deploy and develop using Instant Client 10G without tnsnames.ora file. I have 2 PCs - NT4 & XP.
    On the NT4 PC I had installed the full Oracle Client and was using the tnsnames.ora file and things were working fine. I've since uninstalled the full client and am now getting the "ORA-12154: TNS:could not resolve the connect identifier specified" error (using Instant Client)
    The XP box has never had the full client installed, does not have a tnsnames.ora file but works fine using the same code.
    I've been looking through this forum and note Justin Cave's comments that you can deploy but not develop using Instant Client but this seems to work fine on my XP box. (I am an Oracle novice so I could be missing something here).
    I have also checked the FAQ on connection strings and think I have got that correct (same code works on 1 PC and not the other) and don't think I've set the enviroment variables TNS_ADMIN or ORACLE_HOME on either machine.

    Hrm, interesting. It always used to be DBQ but it seems it might have changed to SERVER at some point.
    Anyway, I tried this and it worked fine for me (using 10204)
    TESTFILE.DSN
    ================
    [ODBC]
    DRIVER=Oracle in OraDb10g_home1
    server=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=gdarling-pc2)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))
    TEST.VBS
    ==========
    set con = createobject("adodb.connection")
    con.open "filedsn=testfile;uid=scott;pwd=tiger;"
    set rs = createobject("adodb.recordset")
    rs.open "select user from dual",con
    msgbox rs.fields(0).value
    Note also that unless you really want to create a file dsn, you could also just use a dsnless connection string and pass that directly too:
    set con = createobject("adodb.connection")
    con.open "driver={Oracle in OraDb10g_home1};uid=scott;pwd=tiger;server=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=gdarling-pc2)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))"
    set rs = createobject("adodb.recordset")
    rs.open "select user from dual",con
    msgbox rs.fields(0).value
    Hope it helps,
    Greg

  • Cannot activate my itunes account, it does not recognize any entry format for my phone number.

    this happens when i try to download an app on my new iPad, iTunes requires me to fill out an online form but when enetring the phone number, iTunes doesn`t recognize any entry format.

    In most locations your Apple ID is a valid email address. Did you try entering you most used email address?

  • Best format for UK and USA viewing

    Apologies if this is a stupid question, but I have to film the same 25 minute instruction video for 2 different country viewings, UK and USA. Client has requested that they wish the footage to be viewable EITHER in the maximum amount of players i.e DVD players, PC's and Macs, OR just for PC & Macs.
    Q: would this alter my choice of finished format?
    My plan is to export to DV PAL for the UK and then convert the PAL version to NTSC (as per some previous threads. This I assume would be the normal workflow for the "maximum" viewing option and will play in DVD players and Pc's etc.
    If the content is for viewing on PC & Mac, should I be considering a non region specific format like Quicktime or Window Media Player which will play in UK and USA? or am I being daft?
    Filmed in HDV 1080 on Sony Z1, video with separate VO for UK and USA added after. Lastly re the VO would it be best to convert the video footage to NTSC and add the VO after or VO while it is still in PAL and covert afterwards. ? sorry for the multi questions in one thread, but I am confused by what seems a basic requirement!
    Message was edited by: mr bluefin

    Export your finished PAL master and have it converted to NTSC at a facility. You can do it yourself with a variety of software, but it takes ages and is often poor quality if you don't have much experience.
    Make two DVDSP projects, 1 for PAL, 1 for NTSC and burn standard DVDs from each. You can't have both on the same disc. Don't put region coding on the discs.
    Don't be tempted to increase the bit rate, just because you have the space on the discs - this can cause some players to stutter. Stick with the Compressor default values.
    Computers don't care if a disc is NTSC or PAL.
    Most stand-alone PAL players -but not all, will play NTSC discs.

  • Oracle 11g upgrade: How to update stale statistics for sys and sysman?

    Hi,
    I am in the process of testing Oracle 11g upgrade from Oracle 10.2.0.3. I have run utlu111i.sql on the 10g database.
    The utility utlu111i.sql reports about the stale statistics for SYS and SYSMAN components.
    I executed dbms_stats.gather_dictionary_stats; dbms_stats.gather_schema_stats('SYS'); and dbms_stats.gather_schema_stats('SYSMAN');
    After that the utlu111i.sql still reports the stale statistics for sys and sysman. Does anyone know how to get rid off this warning successfully?
    Thanks,
    Sreekanth

    Does anyone know how to get rid off this warning successfully?Just ignore the warnings. Check The Utlu111i.Sql Pre-Upgrade Script Reports Stale Sys Statistics - 803774.1 from Metalink.

  • Where does one manage date formats for display and input

    the user specification is that dates be displayed as YYYY-MON-DD. Is there a config or properties file which contains the date format for display? Is there a calendar drop-down that can be positioned next to a date input field for a question on a screen?
    Thanks,
    Allan

    Hi Allan,
    Curious why the rule project wasn't created with "English (Canada)" initially? If your project is English (UK) with the default configurations for that locale, then I assume your currency values are appearing in OWD with the GBP symbol (£) instead of a dollar sign ($)?
    As for the impact of switching… I highly recommend getting confirmation from the OPA Dev team before doing it, but in the meantime, if you wanted to experiment on your own with a separate test rulebase (as opposed to whatever formal rulebase you're working on), here are my observations from an initial look… (FYI, I'm an experienced OPA rulie, but I'm non-technical and not in the Dev team, so best to check with them!)
    I poked around the language parser files and saw that English (UK) has an English (UK) verb list, whereas English (Canada) uses the English (US) verb list. The vast majority of verbs are identical in all the variations of English, however, there are a couple which differ. So if you've used any verbs which have a different spelling between the 2 lists, there may be some attribute text to tweak, e.g.
    - English (UK): the person travelled to Australia
    - English (US): the person traveled to Australia
    - English (UK): the person cancelled the reservation
    - English (US): the person canceled the reservation
    I saw some other different files between English (Canada) vs English (UK), but didn't notice anything in them which I'd expect to impact the rulebase.
    As for how it might impact other components:
    * screens file and the properties file – May be some tweaking depending on how you addressed the verb spelling issue above.
    * regression test files – May be some tweaking depending on how you addressed the verb spelling issue above.
    * messages.(locale).properties – The default messages.(locale).properties file appears to be based on the Language setting of the Project. I just tested this and OWD used a different messages.(locale).properties file when I changed the Project Language (OPM | File menu | Project Properties | Common Properties | General | Language).
    * Siebel Connector – don't know what the impact would be.
    OPA Dev team – Can you review what I've said here? And add any relevant further detail?
    Cheers,
    Jasmine

  • SUI file format for California and Ohio

    Hi,
    Please help me on finding SUI file format 2011 for California and Ohio from their state webiste.
    CA - http://www.ca.gov/
    OH - http://ohio.gov/
    Thanks..!!!
    - Rubeena

    Hi,
    Please see below the link for OH SUI format
    http://www.odjfs.state.oh.us/forms/findform.asp?formnum=20125
    regards
    Bhaskar

  • Format for Macintosh and Windows

    Is it possible at all to have my iPod formated for macintosh but still be able to use it as a hard drive on a windows machine?

    Mark, I have some questions about this. I just installed a new unformatted 60GB drive into my old 4G iPod. I am on a Win XP Pro platform so I did not want to use the NTFS formatting option before running Updater. I installed a trial copy of Macdrive, but when I try to Mac format that drive it says "An error occurred while examining Removable Disk (J:): Unspecified error". The LCD says it's in Disk Mode but I don't have the checkmark; it still shows the flashing Do Not Disconnect. If I try to Reset and put it manually into disk mode while it's connected via USB to my computer that doesn't work either. I have do disconnect it. I can then get the checkmarked Disk Mode symbol, but the moment I hook it back up via USB I get the Do Not Disconnect.
    4G   Windows XP Pro  

  • Formatting for mac and windows

    Is it possible to have mi iPod formatted for both mac and windows? If so, how can I do it?
    Thanks

    Now you can be 100% sure, StarDeb!
    As another of the old windows guys, I had the same question when I made the change. Windows format works just swimmingly with Macintosh computers. Can't say the same for the other way around.
    In fact, the iPod I had at the time, a 15 GB 3G (the one with the red buttons, and still the best looking of the lot), is still formatted for windows even though I have not had a Windows computer for several years now.
    So enjoy the Powerbook (just bought a new to me G4 iBook, myself) without fear that the iPod will be a stumbling iBlock.

  • A universal video format for iOS and Android?

    Hello
    I have open the Folio that I have originally made for the iPad on a Samsung Galaxy Tab and I see a lot of differences in the way videos are played.
    It seems that for the iPad I need to always use the H264 codec, but on a Samsung galaxy tablet this is not the good way to do it. After various tests I see that I must use the F4V format (which uses the H264 codec) in Adobe Media Encoder CS5.5
    The problem is that F4V with the H264 codec can't be read on the iPad.
    Thus...
    - Or there is only one method to create video files that can be read on iOS and Android and it would be great if somebody can tell me which app and which presets to use...
    - Or we must always create two different video exports, one for iOS and the other one for Android.
    In DPS' s user manual, this issue is not covered.
    Thank you.

    Branislav Milic wrote:
    Re Up again.
    What do I need to do to have an answer to a basic question and a necessary issue ? To buy and Adobe DPS Pro licence ? ;-)
    Well, you should also know that in addition to getting your questions answered more promptly, Adobe has top secret 'DPS Pro/Enterprise Lounges' in several major cities.  These are not unlike 1st Class Lounges that can be found in airlines.  You get free beer, pretzels, and free wifi.
    Okay, now getting serious:
    1. HAVE YOU TRIED HANDBRAKE TO ENCODE THE VIDEO?  If not, stop whatever you're doing and give it a try.  Conversion software is not all the same.  Adobe's H.264 is better than it's ever been, but it's a pretty well-known fact that Handbrake is the BEST encoder out there for mp4/H.264.  Relying on Adobe to always give you satisfactory results for video conversion is FOLLY. 
    2. I've read in several places the Galaxy has trouble with mp4 files.  There's not a million threads with this news; actually only a handful.  Nonetheless, the news is out there.  I created mp4 files for viewing on a Motorola Xoom and they played FLAWLESSLY.  That's the trouble with the Android platform - every manufacturer is free to mess with the code and put their own wrapper over the OS.  Things get messed up, and consistency of platform becomes a problem.

Maybe you are looking for

  • Error while creating table with clusters

    Hi I tried the following CREATE CLUSTER emp_dept (deptno NUMBER(3))Cluster is created Then i tried to create the table having the above cluster but giving the errors: create table emp10 (ename char(5),deptno number(2) )cluster emp_dept(deptno);The er

  • Profit center and GL number length

    Hi Dave, Ferry and all, Just like cost center I would like to know the digit lenght of profit center and GL account. Can you tell what Table to go or any other tcode to see the specific requirement my company has created for GL's or Profit center

  • Change e-mail body in mail adapter using module.

    Hi All, I am woking with one mail adapter and I prepared one code to change the attachement name and body content. The attachement is working good but the body e-mail is not working. After to check a lot of blog my code now is creating two attachemen

  • Errors in request page in e-service

    Hi we are getting the following errors in request page of E-service. 1--> Request (Click on) Go to Search. Click on "All" Link. In Search Criteria Give Search : Company's Requests And Click on Search button. Error : An error occured .The action that

  • A href in html region

    Hi, In a region source I have the following Link text , but every time I go into the page (in the same application) it asks me for password. How can I avoid this? Thank you