How does RAC determine which instance number to run on which node

Good afternoon
I am trying to script a process and I need to identify how RAC decides which node runs which instance. Is it the first one of the pair added to the cluster that runs node 1 or is there some other piece of information that I need to work this out
This is on Redhat Linux with 10.2.0.3 for CRS, ASM and databases
Cheers
Peter

Before "you" start an instance you set env variable ORACLE_SID. This identifies an instance. When you go into sqlplus and issue STARTUP, Oracle starts the instance named by the sid. Thus the instance running on the server is controlled by you. This changes as noted below.
If you were using a non-Oracle tool to start instances, such as Veritas, then you would see it start the instance you coded into the tool. It would not randomly pick an instance. It looks in the Veritas config file and sees that you always want instance 1 on this node and instance 2 on that node.
That said, you can make Oracle more random or "grid" like. 10g RAC done Oracle's way likes to bounce around between primary and secondary nodes. To see which instances are running on a node you can "ps -ef | grep pmon". Alternatively, use sqlplus to look in the database: view gv$instance gives you each instance name paired with the name of the host it is currently running on. There is one line of output per instance currently running.
-Mark

Similar Messages

  • TS4006 How do i determine the imei number of a device in find my phone? Please help

    Helllo,
    How do i determine the imei number a device listed on my 'Find my iPhone' account? 

    If you do not have the iPhone, does that mean it has been lost or stolen?  The only good the IMEI number will do in that case is to notify the carrier and see if they can blacklist the iPhone so it cannot be used.  Or, to file an insurance claim.  You cannot search or track based on the IMEI number.

  • I have two copies of CS6 and I need to find out which serial number is installed on which computer. How do I find the serial number once it's installed on a computer?

    I have two copies of CS6 and I need to find out which serial number is installed on which computer. How do I find the serial number once it's installed on a computer?

    if they're pcs, Belarc Advisor - Free Personal PC Audit, for software, hardware and security configuration information on your computer.…

  • In InDesign, how does one determine the pixel size of a text box? Specifically, we need to write text to specifications of 600 pixel width, and have no idea a) how to scale a text box to specific pixel width, b) how to

    This may be a basic question... but in InDesign, how does one determine the pixel size of a text box? Specifically, we need to write text to specifications of 600 pixel width, and have no idea a) how to scale a text box to specific pixel width, b) how to determine what word count we can fit in, and c) how to do it in a table? Thanks!

    Set your ruler increments to pixels Preferences>Units & Increments. You can fill the text box with placeholder text Type>Fill with Placeholder text and get a word count from the Info panel with Show Options turned on from the flyout.
    From the Transform panel you can set a text box's width and height

  • How does vendor determine if no info record is maintained for the material

    how does vendor determine if no info record is maintained for the material

    Hi
    If you have to determine a vendor, the minimum requirement is Info record. Beyond that, you can ofcourse maintain Source Lists, Quota Arrangements but Info record is bare minimum for automatic determination of vendor.
    Otherwise, you have to maintain the vendor manually in th Purchasing docs.
    Tcodes for Info record are ME11, ME12, and ME13.
    Hope this clarifies.
    Thanks

  • How does SharePoint determine files are duplicates in search results?

    In the search results, some files are grouped as duplicates (a hyperlink view duplicates appears under the search result).
    How does SharePoint determines that 2 files are duplicates?
    How does SharePoint determines the one that is shown in the search result (the 'main' file)?
    Can we influence both?
    Patrik | My Blog

    I don't know if this helps, but I've been looking into the same problem that's come to light a few times during troubleshooting customised deployments of SharePoint recently.  This is my understanding so far (paraphrased from http://blogs.technet.com/harikumh/archive/2008/11/14/some-interesting-facts-about-sharepoint-2007-search.aspx):
    Document similarity or matching for the purposes of identifying duplicates is based only on a hash of the content of the document.  None of the file properties are used in calculating the hash (i.e. things like filename, author, create and modify dates are not used).  The SQL table MSSDuplicateHashes in the SSP’s search database holds all the 64bit hashes necessary to determine if one document is a near-duplicate of another against each indexed document.  This table is read while doing a search to determine duplicates if removal of duplicates is enabled.
    Steve

  • How does a parent block phone number of unwanted friends of teenage daughter?

    How does a parent block phone number of her teenage daughter's friends who use free phone number app to get new phone number every time we block it?

    As the number keeps changing you can't block them, but your carrier may offer a parental control option that blocks ALL incoming calls except for a list of allowed numbers. Contact the carrier.

  • How does the author increase the number of response

    how does the author increase the number of responses

    Hi,
    Could you please clarify your question?
    Do you want to manually add response into Response table? Or it already reached your quota? 
    Thanks,
    Ying

  • Unable to shut down imac. dialogue - The Finder can't quit because some operations are still in progress. How do I determine what operations are still running?

    I have an iMac (Mid 2007) Intel with Mac OS Lion 10.7.4  For some reason I am unable to shut down my computer.  The dialogue box says The Finder can’t quit because some operations are still in progress. How do I determine what operations are still running?  I have no clue?  Obviously not a sophisticated user.

    Thank You!  Solved my problem.  Have a great week.

  • How does TimeMachine determine which backup to link to?

    We have 4 Macs, each having a Time Machine backup file on an external Time Capsule.
    How does the Time Machine on each Mac know which file on that Time Capsule it links to?
    Is it done via the file name, meta-data in the backup file, some other method?
    Ideas?
    Thanks
    -Mike

    Before "you" start an instance you set env variable ORACLE_SID. This identifies an instance. When you go into sqlplus and issue STARTUP, Oracle starts the instance named by the sid. Thus the instance running on the server is controlled by you. This changes as noted below.
    If you were using a non-Oracle tool to start instances, such as Veritas, then you would see it start the instance you coded into the tool. It would not randomly pick an instance. It looks in the Veritas config file and sees that you always want instance 1 on this node and instance 2 on that node.
    That said, you can make Oracle more random or "grid" like. 10g RAC done Oracle's way likes to bounce around between primary and secondary nodes. To see which instances are running on a node you can "ps -ef | grep pmon". Alternatively, use sqlplus to look in the database: view gv$instance gives you each instance name paired with the name of the host it is currently running on. There is one line of output per instance currently running.
    -Mark

  • How does EWA determines...?

    Hello my friends!
    I would appreciate your help with the following question.
    How does the EWA report determines the following values, that means what does it check from the monitored system to get
    values for the following:
    - Avg. Availability per week
    - Avg. DB request time in dialog task
    - Avg. DB request time in updated task
    Thanks in advance and best regards.

    Hi,
    - Avg. Availability per week
    I'm not sure, but I think this is from the availability file stored in work directory of the instance. It is not using CCMSPING or other CCMS functions, this is why availability in EWA is often not correct (e.g. if you have a network failure). Also not sure, but I think the KPI Report within solman uses CCMSPING for availability.
    - Avg. DB request time in dialog task
    From workload stats - same value as in transaction st03n
    - Avg. DB request time in updated task
    From workload stats - same value as in transaction st03n
    Regards,
    Frank

  • How  does systemn determin pricing procedure of billing type

    How does system determinate pricing procedure of F2???????????????????
    By doc.pric.proc? but in IMG, it is empty!!!
    and I don't think it is reference sales order's pricing procedure
    because if you use OR + TAN, the reference document of billing is delivery order!!!!!!

    Hi zhang
    In pricing procedure determination OVKK , whatever DuPP you maintain that is linked to Billing document
    In VOV8 we can see the CuPP  of the document . so if the DuPP is linked to CuPP in OVKK then the same pricing procedure will be flowing to billing document also  . Apart from that in VOV8 also make sure that , in billing data you are maintaining the billing  type
    Regards
    Srinath

  • What exactly are Upcoming Songs & how does iTunes determine them?

    I've never really bothered with Party Shuffle before but it always bugged me when it gave the message about Upcoming Songs. I mean, what is an upcoming song? How does iTunes decide it's upcoming?
    Regards,
    spriter

    Upcoming Songs are tracks in Party Shuffle that have not yet been played. You can set how many upcoming songs are visible, but this setting does not determine how many upcoming songs there are.
    Party Shuffle is like selecting Shuffle for the Library or any playlist except that you can alter the results. You can add or delete tracks and you can manually reorder the upcoming tracks in Party Shuffle. You can also tell Party Shuffle to play higher rated songs more often.
    Regular shuffle stops once every track in the playlist has been played, but Party Shuffle will continue playing, adding repeat tracks when needed.

  • How can I determine the device number from the task ID

    I'm using 'Port Config' to initialize my DIO port for a NI-DAQ 6052E. Port Config returns a task id and it would be very useful if I could determine what device number I have based on the task id.

    Hello,
    Thank you for contacting National Instruments.
    It is not possible to determine the device number programmatically from the task id. This would be slightly redundant since you must supply a device number when you Port Config executes. You could simply create a local variable of the Device Number control that is connected to the Port Config.vi if you need to use the device number elsewhere in your VI. Simply right-click on the Device number control and select Create >> Local Variable. Then right click on the local variable and select change to read. This will allow you to read the value of the device number you provided anywhere in your VI.
    If you would rather determine the actual device that is being used rather than the device number, yo
    u can use the Get DAQ Device Info.vi. I have attached a simple example program that demonstrates how to use the VI.
    Regards,
    Bill B
    Applications Engineer
    National Instruments
    Attachments:
    Write_to_1_Dig_Port_(E).vi ‏58 KB

  • How does iMatch determine when to "match" and when to upload?

    Does anyone know how iTunes Match determines a match?
    I have songs purchased from non-iTunes sources and, even though they are available in iTunes, iMatch is uploading them instead of "matching" them. Any idea why? Is there something I can change in the song info to make them match? Genre maybe? The artist, album, and song names match as best as I can determine, but maybe iTunes Match is expecting them to be slightly different, like capitalization differences or something? Anyone know?

    I'm very interested in this as well. I have dozens of ripped CDs that are also available on iTunes, but they didn't match. In some cases, it was one or two songs. In others, it was the whole album. For example, Beggars Banquest by the Rolling Stones did not get matches. U2's War was mostly matched, but a couple of songs were not. "Drowning Man" from War is 4:15 on the CD but 4:14 on iTunes. Is it as simple as that? I would think Match would work more from a signature (like the app Stanza) versus length and such. Those are too easy to get wrong.

Maybe you are looking for

  • XML Load- Error

    Dear All, I tried to load a screen using  an xml of type embedded in an user defined menu.  I got error message as "object reference not set" i got this error in the second  line   strResource = System.Reflection.Assembly.GetExecutingAssembly().GetNa

  • Field BSEG-DMBTR. does not exist in the screen SAPMF05A 0302

    Hi Gurus, I am facing an error when uploading document in background through SM35(batch session) 1. 1. If i try to post the document in the forground system gives same message but on pressing enter it goes to next line item and ultimately posts the d

  • Error starting X

    Hi, I have an ASUS X53TA notebook with dual GPU when I try to execute startx I have some blocking errors: [ 1753.842] X.Org X Server 1.12.3 Release Date: 2012-07-09 [ 1753.843] X Protocol Version 11, Revision 0 [ 1753.843] Build Operating System: Lin

  • Adobe RoboHelp 6 is released!

    Our long wait has ended and much sooner than expected! Here's the main product page http://www.adobe.com/products/robohelp/ Here's the FAQ with a feature list and prices, etc. http://www.adobe.com/products/robohelp/productinfo/faq/ I also see new art

  • Customer Master using LSMW standard batch

    Hi All,           I am uploading the customer master data using LSMW standard batch input method. When i process the session created using this i am getting an error that input data that "No batch input data for screen SAPMF02D 0310". This is happeni