Relation between tnsname.ora, Listner.ora, Init.ora

Hi
Can any body send me link of documentation which tells the relation between
tnsnames.ora, listner.ora, init.ora file.
and any link which tells what is sid, Service_name, db_name and service.
and how to see them all
thanks
Message was edited by:
umesh049

Hi,
Why don't you try Tahiti at http://tahiti.oracle.com/?
Type in tnsnames.ora and you will get a list with - for example - 698 matches for DB 10g. Click on 'Search this library' and proceed from there.
Happy reading,
Guido

Similar Messages

  • Edit init.ora at host or client machine ?

    Hi all,
    i am trying to use UTL_FILE to write errors to a log file if an exception is encountered when running a stored procedure . I call the stored procedure from a client machine
    I have some basic qns:
    1) Can the log file exist on the client server or it has to be on the server machine?
    2)i know i have to edit the init.ora file to include the directory where the file exists. Should i edit the init.ora file on the client or the server?
    I believe if the qn to (1) is server machine, then naturally the ans to (2) should also be server?

    I believe if the qn to (1) is server machine, then naturally the ans to (2) should also be server? Yes,you are right,and don't confuse between server and client,because init.ora always exists on server machine ,and its not part of client installation.
    Kuljeet

  • Unable to find the utl_file_directory option in init.ora

    Hi all these are the contents of init.ora file in nacedell server.i did'nt find any thing as utl_file_directory to update with my directory created through sql*plus using
    command
    create directory dir as 'c:\dir';
    here are the contents of init.ora file
    cat init.ora command is giving contents as
    # $Header: init.ora 06-aug-98.10:24:40 atsukerm Exp $
    # Copyright (c) 1991, 1997, 1998 by Oracle Corporation
    # NAME
    # init.ora
    # FUNCTION
    # NOTES
    # MODIFIED
    # atsukerm 08/06/98 - fix for 8.1.
    # hpiao 06/05/97 - fix for 803
    # glavash 05/12/97 - add oracle_trace_enable comment
    # hpiao 04/22/97 - remove ifile=, events=, etc.
    # alingelb 09/19/94 - remove vms-specific stuff
    # dpawson 07/07/93 - add more comments regarded archive start
    # maporter 10/29/92 - Add vms_sga_use_gblpagfile=TRUE
    # jloaiza 03/07/92 - change ALPHA to BETA
    # danderso 02/26/92 - change db_block_cache_protect to dbblock_cache_p
    # ghallmar 02/03/92 - db_directory -> db_domain
    # maporter 01/12/92 - merge changes from branch 1.8.308.1
    # maporter 12/21/91 - bug 76493: Add control_files parameter
    # wbridge 12/03/91 - use of %c in archive format is discouraged
    # ghallmar 12/02/91 - add global_names=true, db_directory=us.acme.com
    # thayes 11/27/91 - Change default for cache_clone
    # jloaiza 08/13/91 - merge changes from branch 1.7.100.1
    # jloaiza 07/31/91 - add debug stuff
    # rlim 04/29/91 - removal of char_is_varchar2
    # Bridge 03/12/91 - log_allocation no longer exists
    # Wijaya 02/05/91 - remove obsolete parameters
    # Example INIT.ORA file
    # This file is provided by Oracle Corporation to help you customize
    # your RDBMS installation for your site. Important system parameters
    # are discussed, and example settings given.
    # Some parameter settings are generic to any size installation.
    # For parameters that require different values in different size
    # installations, three scenarios have been provided: SMALL, MEDIUM
    # and LARGE. Any parameter that needs to be tuned according to
    # installation size will have three settings, each one commented
    # according to installation size.
    # Use the following table to approximate the SGA size needed for the
    # three scenarious provided in this file:
    # -------Installation/Database Size------
    # SMALL MEDIUM LARGE
    # Block 2K 4500K 6800K 17000K
    # Size 4K 5500K 8800K 21000K
    # To set up a database that multiple instances will be using, place
    # all instance-specific parameters in one file, and then have all
    # of these files point to a master file using the IFILE command.
    # This way, when you change a public
    # parameter, it will automatically change on all instances. This is
    # necessary, since all instances must run with the same value for many
    # parameters. For example, if you choose to use private rollback segments,
    # these must be specified in different files, but since all gc_*
    # parameters must be the same on all instances, they should be in one file.
    # INSTRUCTIONS: Edit this file and the other INIT files it calls for
    # your site, either by using the values provided here or by providing
    # your own. Then place an IFILE= line into each instance-specific
    # INIT file that points at this file.
    # NOTE: Parameter values suggested in this file are based on conservative
    # estimates for computer memory availability. You should adjust values upward
    # for modern machines.
    # You may also consider using Database Configuration Assistant tool (DBCA)
    # to create INIT file and to size your initial set of tablespaces based
    # on the user input.
    # replace DEFAULT with your database name
    db_name=DEFAULT
    db_files = 80 # SMALL
    # db_files = 400 # MEDIUM
    # db_files = 1500 # LARGE
    db_file_multiblock_read_count = 8 # SMALL
    # db_file_multiblock_read_count = 16 # MEDIUM
    # db_file_multiblock_read_count = 32 # LARGE
    db_block_buffers = 100 # SMALL
    # db_block_buffers = 550 # MEDIUM
    # db_block_buffers = 3200 # LARGE
    shared_pool_size = 3500000 # SMALL
    # shared_pool_size = 5000000 # MEDIUM
    # shared_pool_size = 9000000 # LARGE
    log_checkpoint_interval = 10000
    processes = 50 # SMALL
    # processes = 100 # MEDIUM
    # processes = 200 # LARGE
    parallel_max_servers = 5 # SMALL
    # parallel_max_servers = 4 x (number of CPUs) # MEDIUM
    # parallel_max_servers = 4 x (number of CPUs) # LARGE
    log_buffer = 32768 # SMALL
    # log_buffer = 32768 # MEDIUM
    # log_buffer = 163840 # LARGE
    # audit_trail = true # if you want auditing
    # timed_statistics = true # if you want timed statistics
    max_dump_file_size = 10240 # limit trace file size to 5 Meg each
    # Uncommenting the line below will cause automatic archiving if archiving has
    # been enabled using ALTER DATABASE ARCHIVELOG.
    # log_archive_start = true
    # log_archive_dest = disk$rdbms:[oracle.archive]
    # log_archive_format = "T%TS%S.ARC"
    # If using private rollback segments, place lines of the following
    # form in each of your instance-specific init.ora files:
    # rollback_segments = (name1, name2)
    # If using public rollback segments, define how many
    # rollback segments each instance will pick up, using the formula
    # # of rollback segments = transactions / transactions_per_rollback_segment
    # In this example each instance will grab 40/5 = 8:
    # transactions = 40
    # transactions_per_rollback_segment = 5
    # Global Naming -- enforce that a dblink has same name as the db it connects to
    global_names = TRUE
    # Edit and uncomment the following line to provide the suffix that will be
    # appended to the db_name parameter (separated with a dot) and stored as the
    # global database name when a database is created. If your site uses
    # Internet Domain names for e-mail, then the part of your e-mail address after
    # the '@' is a good candidate for this parameter value.
    # db_domain = us.acme.com # global database name is db_name.db_domain
    # FOR DEVELOPMENT ONLY, ALWAYS TRY TO USE SYSTEM BACKING STORE
    # vms_sga_use_gblpagfil = TRUE
    # FOR BETA RELEASE ONLY. Enable debugging modes. Note that these can
    # adversely affect performance. On some non-VMS ports the db_block_cache_*
    # debugging modes have a severe effect on performance.
    #_db_block_cache_protect = true # memory protect buffers
    #event = "10210 trace name context forever, level 2" # data block checking
    #event = "10211 trace name context forever, level 2" # index block checking
    #event = "10235 trace name context forever, level 1" # memory heap checking
    #event = "10049 trace name context forever, level 2" # memory protect cursors
    # define parallel server (multi-instance) parameters
    #ifile = ora_system:initps.ora
    # define two control files by default
    control_files = (ora_control1, ora_control2)
    # Uncomment the following line if you wish to enable the Oracle Trace product
    # to trace server activity. This enables scheduling of server collections
    # from the Oracle Enterprise Manager Console.
    # Also, if the oracle_trace_collection_name parameter is non-null,
    # every session will write to the named collection, as well as enabling you
    # to schedule future collections from the console.
    # oracle_trace_enable = TRUE
    # Uncomment the following line, if you want to use some of the new 8.1
    # features. Please remember that using them may require some downgrade
    # actions if you later decide to move back to 8.0.
    #compatible = 8.1.0
    $

    There are strange things in the file you posted, are you sure that's your init.ora ? where did you find it ?
    Moreover, you use "cat" to list the file, but you name "c:\dir" the directory : what is your OS ?
    Furthermore, if you use directories, then you don't need to set utl_file_dir in init.ora, and directories don't show up within parameters, you can see them by
    SQL> select * from all_directories;

  • Oracle 10g R2 for Windows ignores init.ora and registry values

    Hello,
    I have a strange issue. I try to set some parameters for Oracle but it doesn't seem to work.
    Here the story:
    I created the DB with the DBCA under windows and set my init parameter at frist creation with 3 important values:
    OS_AUTHENT_PREFIX = ""
    REMOTE_OS_AUTHENT=TRUE
    remote_login_passwordfile=EXCLUSIVE
    this values are in the Registry and the init.ora and the init.ora.7192011143454 in ORAHOME_DB/scripts and pfile
    I've now changed these parameters in the init.ora and registry to:
    OS_AUTHENT_PREFIX = ""
    REMOTE_OS_AUTHENT=FALSE
    remote_login_passwordfile=EXCLUSIVE
    and restarted the whole system - after the restart I checked the value for REMOTE_OS_AUTHENT:
    show parameter remote_os_authent
    NAME TYPE VALUE
    remote_os_authent boolean TRUE
    It keeps true. But why it keeps true why I can't change this value anymore after the DBCA?
    Do I miss something?
    Thanks
    Edited by: ioGLNX on 22.08.2011 04:18

    show parameter spfile;
    NAME TYPE VALUE
    spfile string C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SPFILEMACSCURR.ORA
    NAME TYPE VALUE
    I have created a new spfile from my init.ora with:
    create spfile='C:\oracle\product..toMyInstanceDbs\ioglnx.ora' from pfile='C:\pathToPfile\DBHOME\scripts\init.ora'
    So the problems as it seem to me to instrcut oracle to use my new spfile...in Windows.

  • Init.ora setting not effective after shutdown/startup

    Hi there,
    I've set optimizer_features_enable = 8.1.7 (both lower caps and upper caps) in init.ora
    After shutting down oracle and starting up again,
    show parameter opt still shows 9.2.0
    SQL> show parameter opt
    NAME TYPE VALUE
    filesystemio_options string asynch
    object_cache_optimal_size integer 102400
    optimizer_dynamic_sampling integer 1
    optimizer_features_enable string 9.2.0
    optimizer_index_caching integer 0
    optimizer_index_cost_adj integer 100
    optimizer_max_permutations integer 2000
    optimizer_mode string CHOOSE
    I've to change other parameters e.g. shared_pool_size in the same init.ora file and it's effective after shutdown/restart.
    Please advise how to set optimizer_features_enable.

    9.x has something called SPFILE also...
    SQL> show parameter spfile
    If it shows a file name value, something like spfilesid.ora, changes to init.ora would make not much difference :)

  • Init.ora parameter

    Hello,
    I need to change the init.ora file to point to spfile, such as spfile='D:\oracle\product\11.2.0\db_1\database\spfile.ora'
    currently the init.ora has all the variables that spfile has, but we would like to point to spfile from init.ora file.
    for this do I have to restart the database to add the above command to init.ora file?
    what are the other impacts, if I change init.ora to point ot spfile while the DB is online?
    Thanks....

    792290 wrote:
    Hello,
    I need to change the init.ora file to point to spfile, such as spfile='D:\oracle\product\11.2.0\db_1\database\spfile.ora'
    currently the init.ora has all the variables that spfile has, but we would like to point to spfile from init.ora file.
    for this do I have to restart the database to add the above command to init.ora file?
    what are the other impacts, if I change init.ora to point ot spfile while the DB is online?
    Thanks....
    Assuming your pfile is using the default name in the default location ...
    sql> conn / as sysdba
    sql> shutdown immediate
    sql> create spfile from pfile;
    sql> startup;
    sql> show parameter spfile
    done.
    At this point you should be running entirely off the spfile.  The pfile is irrelevant, though as Joel mentioned, it's not a bad thing to recreate it from the spfile occasionally and back it up.
    -- edit several hours later ...
    I should have mentioned that that init file does NOT have an 'ifile' reference to the spfile. 

  • Init.ora - service_names  / tnsnames.ora

    From what I understand - by using the SERVICE_NAMES parameter in the init.ora file , you can specify alias/new instance name for a database , which is automatically detected by the listener. And would not require updates to the TNSNAMES.ORA file.
    So normally and in tnsnames.ora I have a instance called TRN. In the init.ora file I have
    service_names = trn.world,trn_test.world
    But this is not working. I can connect to trn but not trn_test. Is my understanding of this parameter wrong?
    or am I doing something wrong?
    thanks in advance.

    SERVICE_NAMES
    Parameter type
    String
    Syntax
    SERVICE_NAMES =
    db_service_name [, db_service_name [,...] ]
    Default value
    DB_NAME.DB_DOMAIN if defined
    Parameter class
    Dynamic: ALTER SYSTEM
    Range of values
    Any ASCII string or comma-separated list of string names
    SERVICE_NAMES specifies one or more names for the database service to which this instance connects. You can specify multiple service names in order to distinguish among different uses of the same database.
    For example:
    SERVICE_NAMES = sales.acme.com, widgetsales.acme.com
    You can also use service names to identify a single service that is available from two different databases through the use of replication.
    In an Oracle9i Real Application Clusters environment, you must set this parameter for every instance.
    If you do not qualify the names in this parameter with a domain, Oracle qualifies them with the value of the DB_DOMAIN parameter. If DB_DOMAIN is not specified, Oracle uses the domain of your local database as it currently exists in the data dictionary.
    See Also:
    Oracle9i Net Services Administrator's Guide for more information on this parameter and its settings
    "DB_DOMAIN"
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96536/ch1186.htm#REFRN10194
    Joel P�rez

  • Where the init.ora ,   tnsnames.ora,   listener.ora,    sqlnet.ora

    If client-side and server-side software are located in different machines, basically, init.ora and listener.ora are located in the server-side, and tnsnames.ora and sqlnet.ora are located in the client-side, am I right?

    The confusion comes because, as stated earlier by Sanjay, a server could also be a client...
    Here a very simple example on one and only one Windows machine with the same user :
    ---here it is a connection as from client
    E:\apps\oracle\ora1110PE\NETWORK\ADMIN>tnsping demo111p
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.7.0 - Production on 21-JUN-2009 09:36:38
    Copyright (c) 1997, 2008, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = phoenix)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DEMO111P)))
    OK (10 msec)
    E:\apps\oracle\ora1110PE\NETWORK\ADMIN>sqlplus scott/demo111@demo111p
    SQL*Plus: Release 11.1.0.7.0 - Production on Sun Jun 21 09:27:02 2009
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Connected to:
    Personal Oracle Database 11g Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> quit
    Disconnected from Personal Oracle Database 11g Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    --- we remove the sqlnet.ora
    E:\apps\oracle\ora1110PE\NETWORK\ADMIN>rename sqlnet.ora _sqlnet.ora
    ---here it is a connection as from client
    E:\apps\oracle\ora1110PE\NETWORK\ADMIN>tnsping demo111p
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.7.0 - Production on 21-JUN-2009 09:37:30
    Copyright (c) 1997, 2008, Oracle.  All rights reserved.
    Used parameter files:
    TNS-03505: Failed to resolve name
    E:\apps\oracle\ora1110PE\NETWORK\ADMIN>sqlplus scott/demo111@demo111p
    SQL*Plus: Release 11.1.0.7.0 - Production on Sun Jun 21 09:27:11 2009
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Enter user-name:
    ---here it is a connection as from server, still working, in that case it does not use tnsnames/sqlnet
    E:\apps\oracle\ora1110PE\NETWORK\ADMIN>set ORACLE_SID=demo111p
    E:\apps\oracle\ora1110PE\NETWORK\ADMIN>sqlplus scott/demo111
    SQL*Plus: Release 11.1.0.7.0 - Production on Sun Jun 21 09:27:37 2009
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Connected to:
    Personal Oracle Database 11g Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>So, we are on server, the behaviour change depending what we are connecting with (client or server method).
    Nicolas.

  • Best config for init.ora

    Hi,
    I am using
    OS:win 2k8 server 32 bit
    Oracle Database:11g EE 11.2.0.1.0
    RAM: 8GB
    Like to now what is the best config parmaters for a OLTP with maximum of 100 users at the time
    When i use the DBCA command i got the template of init.ora
    where i am not seeing anything for PGA or SGA.
    if i run the
    SQL> show parameter db_cache_size
    NAME                                 TYPE        VALUE
    db_cache_size                        big integer 0
    SQL> show sga
    Total System Global Area  778387456 bytes
    Fixed Size                  1374808 bytes
    Variable Size             486540712 bytes
    Database Buffers          285212672 bytes
    Redo Buffers                5259264 bytes
    SQL> show parameter target
    NAME                                 TYPE        VALUE
    archive_lag_target                   integer     0
    db_flashback_retention_target        integer     1440
    fast_start_io_target                 integer     0
    fast_start_mttr_target               integer     0
    memory_max_target                    big integer 1232M
    memory_target                        big integer 1232M
    parallel_servers_target              integer     16
    pga_aggregate_target                 big integer 0
    sga_target                           big integer 0
    INIT.ORA(DBCA Configuration)
    db_block_size=8192
    open_cursors=300
    db_domain=""
    db_name=mydb
    control_files=
    db_recovery_file_dest=
    db_recovery_file_dest_size=5218762752
    compatible=11.2.0.0.0
    diagnostic_dest=
    memory_target=1287651328
    processes=150
    audit_file_dest=
    audit_trail=db
    remote_login_passwordfile=EXCLUSIVE
    dispatchers="(PROTOCOL=TCP) (SERVICE=MYDBXDB)"
    undo_tablespace=UNDOTBS1
    Is the current setting is good or i need to fine tune my parameters
    Max of 20 million records from max of 100 users per day
    Your suggestions would be helpful for my configutations
    Thanks in advance.

    You cant generalize performance configuration. If it can be oracle would have don it. Fine tuning of parameter values is a on going process. Its not like you set it one and its done. You need to monitor it constantly and tune it on need basis.
    Said that, the first thing that caught me is the setting of SGA_TARGET and PGA_AGGREGATE_TARGET. Both are set to 0 meaning Automated memory management is turned off.
    Run the following two query
    select name
         , value
      from v$parameter
    where upper(name) = 'PGA_AGGREGATE_TARGET'
        or upper(name) = 'WORKAREA_SIZE_POLICY'
        or upper(name) like '%\_AREA\_SIZE' escape '\';
    select name
         , value
      from v$parameter
    where upper(name) in ( 
                              'SGA_TARGET'
                            , 'DB_CACHE_SIZE'
                            , 'SHARED_POOL_SIZE'
                            , 'LARGE_POOL_SIZE'
                            , 'JAVA_POOL_SIZE'
                            , 'STREAMS_POOL_SIZE'
    This will indicate the memory related parameters that are manually set in your environment.

  • Trying to find the init.ora parameter..

    Hi,
    I am trying to locate the init.ora parameter under the Oracle Database. I was under the impression, that it would be present in the same location as tnsnames.ora, but Ican see that it's not.
    Can someone please advise the right location to look for the init.ora parameter file?
    Thank You.

    It is a good practice to let us know the OS and DB version from the start of the thread, so a more accurate answer can be issued sooner.
    From the above post I can see you are on a 10g Windows platform. Since 9i inti.ora is not used as the first option, but the spfile. 10g is the same thing, it can work with a pfile, but must probably you have an spfile.
    Default location for a 10g spfile in a windows platform is here:
    %ORACLE_HOME%\database\spfile%ORACLE_SID%.ora
    In case you are working with a pfile, path is quite the same:
    %ORACLE_HOME%\database\init%ORACLE_SID%.ora
    You can find the path/name of your spfile from an instance parameter inside a SYSDBA session:
    SQL> show parameter spfile
    HR Madrid

  • Init ora file for 2000 server oracle

    i'm running 9.02 on windows 2000. How do i find out which init ora file the start services is picking up. I looked it up in the registry and it wasn't obvious.
    thanks

    Hi,
    All oracle parameters registry related can be found in the book for window. If you don't see the init which is pointing to it is going to the default. Look in ORACLE_HOME\database
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/win.920/a95491/admin.htm#1004903
    Best,
    EA

  • Enabling archive log using init.ora file

    Hi
    I want to convert my database in archive mode using init.ora file.
    so what entries i need to do in it.
    Plz send me some samples .
    thanks

    Please review the contents below;
    When the communication between the client and the server goes awry, this can
    result in ORA-1041 and ORA-3113 errors.
    Oracle Metalink Document: What Does ORA-1041 Mean? :Doc ID: Note:1011305.102
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:1180317337103985812::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,1011305.102,1,1,1,helvetica
    Oracle Metalink Document: ORA-1041 When Trying to Connect as Sysdba to
    Startup Database: Doc ID: Note:552218.1
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:1180317337103985812::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,552218.1,1,1,1,helvetica
    Hope this is useful.
    Adith

  • Can we determine path of my INIT.ORA file from data dictionary views.

    Hello Guru’s
    I am new to oracle, My question is for the sake of my knowledge: I work on oracle 10G.
    Is there any data dictionary view from where I can get the path of my INIT.ORA file.
    Regards,

    NewDay wrote:
    Hello Guru’s
    I am new to oracle, My question is for the sake of my knowledge: I work on oracle 10G.
    Is there any data dictionary view from where I can get the path of my INIT.ORA file.
    AFAIK , its no. You can check the path from the show parameter command like following,
    SQL> show parameter spfile
    NAME                                 TYPE
    VALUE
    spfile                               string
    /u01/app/oracle/product/10.2.0
    /db_1/dbs/spfileorcl.ora
    SQL>HTH
    Aman....

  • Questions on init.ora file

    Hi,
    I have some questions on init.ora file. While checking the init file in my system i found that it defines a spfile in a non default location.
    The parameter names are like
    1) db1.__db_cache_size
    2) *._kgl_large_heap_warning_threshold
    3) *.sga_target
    what do they indicate? I mean what does 'db1.__' , '*._' and '*.' indicate? There are multiple database in the Windows 2003 server and the db version is 10g R1
    Regards,
    SID
    Edited by: SID3 on Jun 29, 2010 5:55 AM
    Edited by: SID3 on Jun 29, 2010 5:56 AM

    SID3 wrote:
    From the discussion i guess the following points
    1) db1._ means they are specific to databases.
    2) *._ and * means they are used accross databases and chaging it in any of the initfile might affect all? I seriously doubt this.You are mistaken when speaking about database. Bear in mind, a database is not an instance.
    * here means this parameter will apply to any instance of that database (if it is in RAC), or to the only one instance of that database (if it is in non-RAC).
    Find out more :
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_2013.htm#i2146449
    Nicolas.

  • How to establish a single init.ora file for 3 node RAC under ASM

    All,
    Our environment is a combination of several different memory sized SUN machines (V880, V490 & 250R).
    Setting up a single init.ora file that encompasses each of the nodes memory into the SGA sizing is our desired setup.
    Though we have established the file, the question is getting each NODE on the RAC to use that single parameter
    file to start its database instead of taking the default init.ora file in the default (asm/dbs) directory.
    As we have performed fail-over testing, upon the restart of instances they have restarted with wrong memory
    definitions that have hung the nodes when it took more memory then what was available and swap space began
    to grow.
    Steps to configure and enable this process is what I am looking for.
    Thanks
    Gerry

    Gerry,
    Here's what we do. Not sure if it is relevant to your situation ...
    (on each node)
    $ cat $ORACLE_HOME/dbs/initrac11d1.ora
    SPFILE='+DATA/rac11d/spfilerac11d.ora'
    (in ASM)
    $ asmcmd
    ASMCMD> ls -la +data/rac11d
    Type Redund Striped Time Sys Name
    Y CONTROLFILE/
    Y DATAFILE/
    Y ONLINELOG/
    Y PARAMETERFILE/
    Y TEMPFILE/
    N spfilerac11d.ora => +DATA/RAC11D/PARAMETERFILE/spfile.267.685170285
    The spfile has all parameters, qualified by node where applicable. For example :
    $ sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.7.0 - Production on Wed May 6 19:00:45 2009
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
    With the Real Application Clusters option
    SQL> create pfile='/tmp/sb.ora' from spfile;
    File created.
    SQL> Disconnected from Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
    With the Real Application Clusters option
    $ cat /tmp/sb.ora
    *.archive_lag_target=1800
    *.audit_file_dest='/var/oracle/admin/rac11d/adump'
    rac11d1.dispatchers='(address=(protocol=tcp)(host=msdbc11-vip)(port=64000))'
    rac11d2.dispatchers='(address=(protocol=tcp)(host=msdbc12-vip)(port=64000))'
    *.global_names=TRUE
    rac11d1.instance_number=1
    rac11d2.instance_number=2
    rac11d1.undo_tablespace='UNDOTBS1'
    rac11d2.undo_tablespace='UNDOTBS2'
    Hope this helps,
    Steve

Maybe you are looking for

  • Help Required in Steps to create Hgrid Region

    Hi Guys I want to create a hgrid region in my oaf for some requirement. can any one please help me to create HGrid or Provide Basic steps. Please maill me the document to [email protected] I Appreciated your people to come out from this issue. Regard

  • Error in beforecommit method jdev 10.1.3.3 & jhs 10.1.3.2

    hi, how are you? i have the case: when i am in one page and press the save button the value of an item in another page should be set to 1 and commits so that this value remains. i want to handle this by writing code to the beforecommit method of enti

  • Read Order BOM Changes

    Hi All, How to read/track the order bom changes (CU51)? I want to track all changes made using CU51 for perticular sales order, like component deletion, change in quantity etc. I checked the tables CDHDR and CDPOS but did not get any information. Ple

  • Production order status, header released, operations created

    Hello, I´m struggling with the following problem on production orders When you look to first line in the header you see that the order is on release. When you go to the operation operation overview the operations are still on created How is this poss

  • FaceTime says "Could not sign in. Check your network connection and try again."

    I can't sign in to FaceTime using a macbook air. I can sign in to iTunes, iCloud (so I know my sign in is correct and works) and others can use facetime on my network.  FaceTime says "Could not sign in. Check your network connection and try again."