Which file decide instance name in RAC 10g ?

Which file decide instance name in RAC 10g ?
How does RAC know which instance should start from which machine?
Thanks.

The spfile is NOT the correct answer, actually.
1. The instance name for any Oracle instance, whether in a RAC or not, is derived from the value for the ORACLE_SID parameter which is in force at the time the startup command is issued. If you were to:
export ORACLE_SID=SALES
sqlplus / as sysdba
startup...you would just have created an instance called SALES.
2. The spfile (or init.ora if you're not using an spfile) contains a parameter called INSTANCE_NAME. That defaults to whatever ORACLE_SID is set to as an environment variable when the instance is started, hence point 1 above. But you can force an instance to acquire a non-SID name by deliberately setting it to something different. That's unusual to do, though, except in a RAC context where you want to subvert the default load balancing mechanism.
2b. The spfile (or init.ora) also contains a parameter called DB_NAME -but that is the name of the database, not the name of the instance, and is therefore irrelevant for the purposes of working out how instances get their names,
3. Neither of the above answers has got anything to do with RAC knowing what instance runs on which machine. That is the job of the Oracle Cluster Registry file (OCR), for which you have to provide about 100MB of space on a shared hard drive during the RAC installation itself.
You populate that file by running DBCA to create your RAC instances (and DBCA then automatically updates the OCR to record the fact that it created instance X1 on Node A and X2 on Node B, and therefore that's what will happen in the future unless you change things).
Or you can update the OCR yourself by using the SRVCTL utility. You'd do something like: srvctl add instance -d DB1 -i X3 -n C (add an instance called X3 to run on Node C as part of database DB1).
A little more details about the OCR is available in Section 13 of this article, for example: http://www.dizwell.com/prod/node/26?page=0%2C5

Similar Messages

  • Which file decide EM to choose which db(10g) ?

    I have 2 instances on same machine to be managed by em db console, which file decide EM to choose which db(10g)?
    from some document: you can also use DBCA after the installation to configure Database Control for a database.
    but I did not see this option in my 10g DBCA.
    Thanks.

    Don't expect to find a file that configures the so called 'pointer' Enterprise Manager creates a directory where it stores the configuration under a directory named sysman/conf. In your particular case I see you have three instances which have been configured to be managed by Enterprise Manager DB Control Console, the name of your host is m92364 and the three instances are OMFTESET, orcl and TEST. So you only need to change the ORACLE_SID environment variable to 'point' to each oracle Enterprise Manager configuration; actually you don't perform any other task, it is the oemctl command who performs this on your behalf.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • How to change DB & Instance name on RAC

    Hi Experts,
    Can anyone tell me how can i change my database name along with the two instances running on the RAC server?
    Any ideas......
    Regards,
    MB

    You can rename database by creating control file as well , like we use to do in single instance database.
    1) Shutdown node 2
    2) Run following command on node 1
    alter database backup control file to trace ;
    3) shutdown database on node 1
    4) copy trace file created in step 2 to file crctl.sql (say) . Edit crctl.sql and set database name what u want to set.
    5) edit init<sid>.ora and change database name
    6) startup nomount and run crctl.sql
    7) Startup database in both node
    8) Change tnsnames.ora and listener.ora ( if needed)
    9) config srvctl
    srvctl remove database -d <old_database_name>
    srvctl add database -d <new_db_name> -o $ORACLE_HOME
    srvctl add instance -d <new_db_name> -i <instance name on node 1> -n Node1
    srvctl add instance -d <new_db_name> -i <instance name on node 2> -n Node2
    Virag

  • How do we find instance name in ORACLE 10g

    Hi All,
    How do we find SID name in Oracle 10g
    Thanks in advance
    Pandiarajan

    Apology accepted.
    But yes, of course I was harsh (not at you, actually, but at the plonker who thinks he can tell me that 'echo $something' is "not right").
    Do you know how many questions could be answered here if people weren't forever debating perfectly acceptable answers? If people actually stopped to read what had been written before deciding to add their tuppence-worth? If people stopped to think, "well, that's not how I would answer it... but it's good enough".
    I see so many threads here where 58 people dive in to a thread to say, 'Me too'. Another 42 will dive in to say, 'that's not right' when actually it is. And another 137 or so will usually chime in to say nothing very much except to demonstrate that they didn't understand something that was explained a lot earlier on quite clearly. Threads go on and on, when actually all that was sought originally was a simple answer to a technical issue. God knows why it happens.
    I have no problem at all being asked for clarification. I have no problem at all being corrected and having someone point out that actually that parameter doesn't exist, you made a typo, that's not the command to achieve X. When I am technically wrong, I would expect nothing less. But where so much of my time gets wasted is demonstrated in this thread perfectly. I answered the question in one post. It might not have been a perfect answer. There are many different ways of coming up with the answer on Windows, for example, and yet I didn't mention the registry at all or the Control Panel/System applet for checking environment variables once. And yet, despite all of that, in answer 1 there was sufficient information to make the OP happy. But no, that's not enough to shut some people up (and I am again not referring to you at this point).
    I don't know what it is. Some sense of, maybe, in a democracy my opinion is as good as yours even if it's entirely unnecessary, potentially confusing and adds absolutely nothing to the outcome? A desire on the part of some people to boost their post numbers?
    Too right I'm harsh. I am results-driven. I am here because I want to help others. Not because I think my opinions deserve a hearing even though the answer was posted ages ago. When I see something that looks like the opposite of that -grandstanding, look how clever I am, my opinion counts too- yeah, it annoys me somewhat. And largely because I usually end up having to untangle the confusion caused by unnecessary "contributions" from others.

  • How to restore a single instance database to RAC (10g) using RMAN ?

    Hi all,
    I have a single instance database configured using file system in a unique server, so now I need to restore this database using RMAN to a new RAC environment with two nodes and ASM also.
    Does anyone can help with this documentation or a link about any information about this restore using rman ?
    I tryied found on metalink but threres isn´t this specific case. Only how to convert single instance to 10g RAC, but without how to use with rman information.
    System: Windows 2003
    Oracle 10g R2
    Thanks.
    Wander(Brazil)

    Wander(Brazil) wrote:
    Hi all,
    I have a single instance database configured using file system in a unique server, so now I need to restore this database using RMAN to a new RAC environment with two nodes and ASM also.
    In essense you are really doing nothing more than restoring a backup on a new host. If you want a blow by blow detail of how to accomplish it take at http://www.oracledistilled.com/oracle-database/restore-database-to-another-host-using-rman
    In order to write the files to the ASM Disk groups you will use the SET NEWNAME FOR DATAFILE in your restore script. You will also need to create the ORACLE_BASE/admin/<DBSID> structure on all of node. Once you get the database completely restore you will need to edit the SPFILE to include the proper value for the CLUSTER* parameters and each the node specific parameters. Sorry that it is kind of higher level than what you are probably looking for but the link above and what I put here should get you were want to go.

  • Archive log file size is varying in RAC 10g database.

    ---- Environment oracle 10g rac 9 node cluster database, with 3 log groups for each node with 500 mb size for each redo log file.
    Question is why would be the archive log file size is varying, i know when ever there is log file switch the redo log will be archived, So as our redo log file size is of 500 MB
    isn't the archive log file size should be the same as 500 MB?
    Instead we are seeing the archive log file is varying from 20 MB to 500 MB this means the redo log file is not using the entire 500 MB space? What would be causing this to happen? how can we resolve this?
    Some init parameter values.(just for information)
    fast_start_mttr_target ----- 400
    log_checkpoint_timeout ----- 0
    log_checkpoint_interval ----- 0
    fast_start_io_target ----- 0

    There was a similar discussion a few days back,
    log file switch before it filled up
    The guy later claimed it's because their log_buffer size. It's remain a mystery to me still.

  • Tween and getting instance names problems

    Hi, iv got these buttons animated using the inbuilt tween
    function and am coding them like this:
    function navOver(e:MouseEvent):void {
    var page = MovieClip(e.currentTarget).buttonThumb;
    var myTween16:Tween = new Tween(page, "y", Regular.easeOut,
    0, -25, 0.35, true);
    function navOut(e:MouseEvent):void {
    var page = MovieClip(e.currentTarget).buttonThumb;
    var myTween17:Tween = new Tween(page, "y", Regular.easeOut,
    -25, 0, 0.35, true);
    function navClick(e:MouseEvent):void {
    var page = MovieClip(e.currentTarget).buttonThumb;
    page.y = 0;
    button.addEventListener(MouseEvent.ROLL_OVER, navOver);
    button.addEventListener(MouseEvent.ROLL_OUT, navOut);
    button.addEventListener(MouseEvent.MOUSE_DOWN, navClick);
    but if i click on the button before the animation has
    finished it ignores the
    page.y = 0; code and does nothing. how can i fix this?
    also im trying to get the instance name of a mc called
    "home" using this code:
    MovieClip(e.currentTarget) wich gives me the result
    [object button_1]
    and
    MovieClip(e.currentTarget).instanceName returns
    undefined
    neather of which are the instance name.
    i cant hardcode the function because its used on lots of
    different mcs throughtout the flash file
    thanks

    if you want to send the 'page' back to the 0 position, you
    might be better off declaring the tweens outside the method, in
    this way you can control them in 'other' methods that aren't local
    to where the assignment is made, for instance:
    var myTween17:Tween;
    then in the handler navOut, just 'assign' the tween:
    myTween17 = new Tween( .. );
    then in the navClick method you could call:
    myTween17.stop();
    myTween17.rewind();
    and that should reset the clips position to 0
    for your other question use:
    MovieClip(e.currentTarget.name);

  • Trouble referencing instance name from different frame

    Newbie here. All my code is in frame 1 and is working fine except for one onRelease event. In frame 20 (labeled "gameOver") there is a button which has an instance name of btnQuit. I want that button to do something onRelease. The code works fine if I put it inside the button like so: on (release) {......etc. But I would like to have all my code in frame 1 in a timeline called "scripts".
    I think I'm missing something to reference the button's instance name (maybe a "_root", or "this", or some of those things that I don't fully understand).
    Here's the code that works when put in frame 20 inside the button, but not in frame 1 in a different timeline:
    btnQuit.onRelease = function () {
      // Calculate elapsed time
      var now = new Date()
      var elapsedTime = now - startTime; // startTime set beforehand
      var strTime:String = Math.floor(elapsedTime / (1000 * 60 * 60)) + ":" +
       (Math.floor(elapsedTime / (1000 * 60)) % 60) + ":" +
       (Math.floor(elapsedTime / (1000)) % 60);
      // Send data to PHP
      dataOut = new LoadVars();
      if ( finalScore > 89 ) {
        dataOut.passed = '1';
      } else {
        dataOut.passed = '0';
      dataOut.score = finalScore;
      dataOut.time_spent = strTime;
      dataOut.send("lesson.php","_self","POST");

    The button has to be in the presence of the code when the code is executed.  So you either need to have that button in frame 1 or have that code in frame 20.  You could have it in frame 1 and turn it invisible until frame 20 if that is an option.

  • Identical database & instance names in Oracle 11g R2 RAC

    Hi ,
         We are migrating our EBS 11i (11.5.10 CU 2) and oracle 11gr2 (11.2.0.3) database (database only) which is currently on Solaris to Linux. Currently the database is NON-RAC and as a part of the migration we are converting it in to a 5 Node RAC. A lot of third party interfaces connected to this environment are using hard coded database name. Unfortunately due to the project time lines it's impossible to change those applications within the migration timeline. In order to ensure that they don't break we are thinking of keeping one instance name same as database name so those applications can continue to function without any change to their code. We are aware that this would compromise on fail over capabilities for those applications but we are ok with that.
    This what we have in mind: Create 5 PROD instance named as PROD, PROD1,PROD2, PROD3 & PROD4. PROD being the name of the database also. I would like to know:
    1) Is this configuration allowed i.e., is it ok to have one instance with the same name as database?
    2) We will be creating a 5 node Data gaurd environment for this so what will be the impact of such a naming on it?
    3) Since it's an EBS environment will there be any issues with application configuration?   Our application architecture will be as below:
    6 application nodes - Two for concurrent managers, two for forms & web & two external nodes
    The two CM app nodes will be tied to two database instances using Services
    Remaining app nodes will connect to the remaining 3 instances once again using services.
    We will be configuring services using "vip" instead of scan names.
    4) What will be the impact if the node having the instance name same as database name goes down?
    5) Any other areas to worry about with such a configuration say like cluster services, 3rd partyinterfaces/applications?
    Please let me know if you have any idea of such a configuration.
    regards
    pramod

    Brian, rchem & Martin thanks for your responses. Appreciate it much. I was thinking about the service alternative but unfortunately I understand from my customer that their applications have hard coded database (used as a instance name) name. All they are saying is that their applications are using instance name instead of database name without providing much details on how it's being used. I just know that there 180 applications... Oracle & non Oracle based in which the instance name is hard coded, but haven't got answers to my questions on how it's hard coded i.e., is it being pulled from the database using a hard coded query like "select instance_name from v$instance" or is it a part of some variable in the script/application etc., and what it's being used for (later) within the application.  Answers to those question will help in deciding what  should be the right strategy but since I am short of time I thought of this and wanted to know if anybody has implemented or come across a similar architecture.
    I am creating services and using them in my EBS application ifile thereby avoiding SID but agree with you on the node failure part as I haven't tested this new set up yet.
    Martin,
              You are right, they are using the database name as a SID in their application hence the above need.  My cluster version is 11.2.0.4.0 (both Active & Software versions). The source database on solaris is 11.2.0.3 Non RAC, it's going to be upgraded to 11.2.0.4 before conversion/migration hence I have installed & created a 11.2.04 RAC environment as a part of POC/Load testing.
    Regards
    pramod

  • How to Edit the Title (file name) on forms 10g Screen.

    Hi ,
    How can one edit the Title ,and <(file name)> on forms 10g Screen ....
    I tried editing through the forms module preperty palette , but could n't change the Title, or file name on forms menu screen ...
    I guess , the entries are made through some other means...
    Please let me know on how to do this .
    Need a quicker reply ..
    Thanks in Advance
    Sanu

    using the below code too not getting me the new names entered by me ... still the old title names are comingWhat do you mean by new nemes? It will return you the actual file name which is saved in phycical location and form name will return you the module name which displays when you open forms in builder.
    Or you mean something else then its better to provide any example..like what is happening actually with you.
    -Ammad

  • What is the maximum number of characters in an Oracle 10G Instance Name

    All,
    Can I know what is the maximum number of characters in an oracle 10g instance name under AIX? Is it 7 characters or 8 characters?
    regards
    Santhosh

    One should really make the difference between db_name and instance_name: if instance_name default value is db_name it can be different
    (even on a non RAC database).
    For example with Oracle 10.2.0.4 you can create a database named DB78 with instance_name=DB12345678:
    $ uname -a
    Linux lx01.localdomain 2.6.18-92.el5 #1 SMP Fri May 23 22:17:30 EDT 2008 i686 i686 i386 GNU/Linux
    $ ps -fu oracle | grep smon
    oracle    6353     1  0 20:30 ?        00:00:01 ora_smon_DB12345678
    oracle    6412  5596  0 20:37 pts/1    00:00:00 grep smon
    $ export ORACLE_SID=DB12345678
    $ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 8 20:34:26 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> show parameter name
    NAME                                 TYPE        VALUE
    db_file_name_convert                 string
    db_name                              string      DB78
    db_unique_name                       string      DB78
    global_names                         boolean     FALSE
    instance_name                        string      DB12345678
    lock_name_space                      string
    log_file_name_convert                string
    service_names                        string      DB78I would not recommend this practice: but it's interesting to know to avoid confusing between db_name and instance_name.

  • Reducing a SWF file size / creating "instance names" for website loading time improvement

    Im hoping someone clever can help...
    What i have done so far:
    1) Created a flipbook using indesign CS5.5 that contains approx 25
    images (embedded PNG's), these need to be good quality as this is a
    portfolio - I'd also like to keep the 'page curl' effect. This makes the SWF generated cira 25MB.
    2) created a Flash website "wrapper" to hold the above flipbook and add
    features such as "bookmarks", links to other sites and forward/backward
    page navigation buttions.
    The issue we have is that because the flipbook SWF is 25MB the site
    load time is slow.
    What can be done to speed this up without compromising the image
    quality?
    1) Is there a way to make the indesign SWF smaller?
    2) is there a way in indesign to properly give each page an
    "instance name" so that they can be controlled from flash and therefore
    I can load each pages image as and when needed.
    any other ideas?
    (If you'd like to visit the website to view the loading issue http://www.lizblackdesigns.co.uk)
    Thanks
    Liz

    these need to be good quality as this is a portfolio
    The approach to your portfolio website seems very outdated and will not help you in the near future. Flash is being used less and less with the increase in Mobile Devices being used to access the internet - a large chunk of which include Apple's iDevices which don't support Flash. This alone is a reason not to do it, however there are a few other big issues with the method you have chosen.
    There is no "content" on your website for any search engine to find. No text. No meta data. No image alt tags. No titles. Nothing. In other words, your website will not be found by the people you are trying to attract. I would imagine for a portfolio site, you may want to re-think this approach.
    The way the Flash file was created is the worst possible way to add Flash to the web as you have only embedded image files - and this is your entire site?! You could have included some text, which would have been viewable by search engines, and used color shapes to increase quality but lower filesize.
    The filesize meant it took me over 1 minute to get off your home page. The average internet user will leave your site if you do not keep them interested after 5 seconds. In other words, you should have content of interest viewable within 5 seconds of load time.
    If you are set on keeping the Flash setup for your website, re-build using as much text, color shapes and lines as you can (vector work in other words) and do not rasterize/export as image. This will drastically reduce load time and increase quality. You will also want to divide your file into sections and create more than 1 HTML page so that the browser only loads a bit at a time. You might also want to set a maximum size container for the Flash file as on my browser, it looks extremely pixelated and is very large, but unclear.
    I would suggest looking into HTML5 if you are keen to create a website that can be viewed by around 98% of the web surfing people and it will also mean you can use an image slider (or similar) to show good quality images of your work. This will aid your site in being found by search engines but will also allow you to update sections of the site without re-publishing the entire Flash file.
    Rik

  • Need to remove hard coding of instance name in XML Bursting control file

    Hi,
    We are hardcoding the instance name in the control file as <xapi:template type="rtf" location="/app/ebs/atgsidev02/gsidev02comn/java/oracle/apps/xxod/XXARPRST.rtf">
    But gsidev02 is coming from the element 'INSTANCE'.
    So we need to place element 'INSTANCE' in place gsidev02 in the above location
    Can you plz help on this how to solve.
    Thanks,
    Sam

    Sam
    You can remove this hardocding by following line in control file.
    <xapi:template type="XSL-FO" location="xdo://XXOD.XXARPRST.en.US"/>
    In this case i am assuming that while registering template you have specified langugae as 'English' and territory as 'United States', if you have not specified any territory then replace US with 00 for default.
    This is supported in XML pub 5.6.3 patch-set ,so if you have not upgraded to 5.6.3 then this will not work.
    I would suggest that please upgrade it to 5.6.3 ,becuase lots of bugs have been fixed in 5.6.3.
    Hope this helps
    With Best Regards
    Darshan Bhavsar

  • Which one is best option RAC 10g or oracle 11g RAC for certifiction point ?

    hi ,
    which one is best option RAC 10g or oracle 11g RAC for certifiction point of view?
    can any one detail difference between above 2 options?
    Regards,
    A.Anwar

    A. Anwar wrote:
    hi ,
    which one is best option RAC 10g or oracle 11g RAC for certifiction point of view?
    can any one detail difference between above 2 options?The main difference is: Oracle Lifetime Support
    Premier Support Ends
    Oracle 10g R2 - Jul 2010
    Oracle 11g R2 - Jan 2015
    Extended Support Ends
    Oracle 10g R2 - Jul 2013
    Oracle 11g R2 - Jan 2018
    http://www.oracle.com/us/support/library/lifetime-support-technology-069183.pdf
    Oracle 10g R2 is getting unsupported.

  • RAC instance name - Can i choose my OWN?

    Can i choose RAC instance name rather than defined by DBCA?
    for example, i want to name my instance as <DBNAME>_1

    yes you can
    Cheers

Maybe you are looking for

  • IDOC collection

    Hello - Scenario is IDOC to XML to HTTP. IDOCs will be coming into XI and based on the vendors will be routed to various Suppliers. I used BPM to configure the error handling. If i get an IDOC and is successfully sent then i have no problem. Lets say

  • Problem after migrating to new Mac

    Hi, I changed my Mac from an iBook to a new Mac Mini running 10.8.2 I had Dreamweaver installed from the Adobe Creative Suite 3 Design Premium. Version 9.0 Build 3481 Dreamweaver was working fine before I migrated all my files on old Mac to the new o

  • Ldap.ora - xe-client - debian

    Hi, I'm using xe-client on debian, but apparently do not use ldap.ora i have this line in sqlnet.ora NAMES.DIRECTORY_PATH = (LDAP,ONAMES,TNSNAMES) and ldap.ora has been correct it's work fine on red hat with Oracle client 9.2 we have a idea ? Thanks

  • Signature Appearances Available to Multiple IDs?

    My wife and I both need to digitally sign a bank document.  The document requires us to both place full signatures and initial several locations.  Since I received the document in electronic format, I would prefer to electronically sign the documents

  • FlashHelp perfomance issues in Firefox

    RH8 FlashHelp appears to work fine in Internet Explorer. However, when viewing the same project in Firefox, it looks as if everytime you choose a new page from the table of contents the status bar at the bottom of the page processes 15 or 20 times an