Re: RAC nodes list?
- From: "Andrew Kerber" <andrew.kerber@xxxxxxxxx>
- To: "Dan Norris" <dannorris@xxxxxxxxxxxxx>
- Date: Fri, 3 Aug 2007 08:21:51 -0500
I had just about decided that. Here is what I am trying to do: My boss has specifically asked that this be table driven, which is why I am looking for the information in the database, but he doesnt want to use dbms_scheduler. We have a large number of crontabs and a lot of different boxes, and he wants those crontabs on cluster boxes to be modified so that we can have the same crontab on each box. Thus, we have to modify the settings to indicate which node and/or instance it should run on, and whether the entry should run if the instance or node is down. Now, its pretty easy to do that in scheduler since you can set the instance affinity, but its more difficult in the crontab. I suspect I will write a system level trigger to keep track of what is up or down, then query that at the start of the execution of each crontab entry. On 8/3/07, Dan Norris <dannorris@xxxxxxxxxxxxx> wrote: > > Hi Andrew, > > I don't think it is possible to get the information you want from the > database since Oracle doesn't know the hostnames for instances that aren't > running. With RAC (I'm not talking about Clusterware), there are no database > configurations that you would use to describe the list of hosts configured > for a particular database. That configuration lies outside the database in > the clusterware configuration (hence the OS commands offered in this > thread). > > Put directly: The database doesn't know how many instances there are > *supposed* to be nor on which hosts those instances may be started until it > actually happens. All the database knows is that it only has X threads of > redo, so only X instances can be started, but it doesn't care (or know) > where those instances will be started (or if they'll ever be started). > > So, if you want to find out which hosts are configured to run an instance > of the ORCL database, you'll have to query the clusterware via the srvctl or > crs_* commands. > > Dan > > ----- Original Message ---- > From: Andrew Kerber <andrew.kerber@xxxxxxxxx> > To: Jay.Caviness@xxxxxxxxxxxx > Cc: oracle-l <oracle-l@xxxxxxxxxxxxx> > Sent: Friday, August 3, 2007 7:20:05 AM > Subject: Re: RAC nodes list? > > gv$instance only shows those nodes that are up. I would like to see both > those are up and those that are supposed to be up. > > On 8/2/07, Caviness, Jay A <Jay.Caviness@xxxxxxxxxxxx > wrote: > > > > You can look at gv$instance which will give you the host name for each > > instance currently on your cluster > > > > > > Thanks, > > > > Jay > > > > Jay Caviness Horizon > > Clinicals – Systems Engineering > > Sr. Systems Engineer - Oracle DBA McKesson Information Solutions > > jay.caviness@xxxxxxxxxxxx 285 Century Place > > 303-926-2444 Louisville, CO > > 80027 > > > > I gotta fever...and the only prescription for it is ... MORE COWBELL! > > > > > > > > > > *From:* oracle-l-bounce@xxxxxxxxxxxxx [mailto: > > oracle-l-bounce@xxxxxxxxxxxxx] *On Behalf Of *Tim Gorman > > *Sent:* Thursday, August 02, 2007 3:25 PM > > *To:* oracle-l > > *Subject:* Re: RAC nodes list? > > > > Query V$THREAD. It may not have all the information you want, but the > > rows are always there even if the instances aren't up... > > > > Tim Gorman > > consultant - Evergreen Database Technologies, Inc. > > P.O. Box 1802, Evergreen CO 80437-1802 > > website = > > http://www.evdbt.com > > email = tim@xxxxxxxxx > > mobile = +1-303-885-4526 > > fax = +1-303-484-3608 > > > > > > > > Kerber, Andrew W. wrote: > > > > Srvctl works within sqlplus? > > > > > > > > I want to get the information w/o going to the os. Someone suggested > > v$thread earlier, and that will get me the instance names, but I would also > > like to get the server names if possible. > > > > > > > > -----Original Message----- > > *From:* oracle-l-bounce@xxxxxxxxxxxxx [ > > mailto:oracle-l-bounce@xxxxxxxxxxxxx <oracle-l-bounce@xxxxxxxxxxxxx>] *On > > Behalf Of *David Sharples > > *Sent:* Thursday, August 02, 2007 1:31 PM > > *To:* andrew.kerber@xxxxxxxxx > > *Cc:* oracle-l > > * Subject:* Re: RAC nodes list? > > > > > > > > use the srvctl command > > > > On 02/08/07, *Andrew Kerber* <andrew.kerber@xxxxxxxxx> wrote: > > > > Does anyone know what table or view will show me what nodes and > > instances are supposed to be in a RAC Cluster, oracle 10.2.0.3? > > gv$instance will give me the instances that are currently up, but I would > > like to be able to query to find out what instances and nodes are supposed > > to be in the cluster. > > > > > > ------------------------------------------------------------------------------ > > NOTICE: This electronic mail message and any attached files are > > confidential. The information is exclusively for the use of the individual > > or entity intended as the recipient. If you are not the intended recipient, > > any use, copying, printing, reviewing, retention, disclosure, distribution > > or forwarding of the message or any attached file is not authorized and is > > strictly prohibited. If you have received this electronic mail message in > > error, please advise the sender by reply electronic mail immediately and > > permanently delete the original transmission, any attachments and any copies > > of this message from your computer system. Thank you. > > > > > > ============================================================================== > > > > -- http://www.freelists.org/webpage/oracle-l > > > > > > -- > Andrew W. Kerber > > 'If at first you dont succeed, dont take up skydiving.' > > -- Andrew W. Kerber 'If at first you dont succeed, dont take up skydiving.'
- Re: RAC nodes list?
- From: Dan Norris
- Re: RAC nodes list?