Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: missing controlfile when add node

RE: missing controlfile when add node

From: Randy Johnson <randyjo_at_sbcglobal.net>
Date: Wed, 4 Jul 2007 13:11:09 -0500
Message-ID: <001301c7be66$b3192660$6701a8c0@scraunch>


Your first point is spot on. Wish I had thought of it. I second the notion of the device mappings and method of verifying them.  

    -Randy      

Randy Johnson
Sr. Technical Consultant
Enkitec, LLP

Office ..... 817-255-3580
Mobile .... 817-564-6583
Email ..... HYPERLINK

"mailto:randy.johnson_at_enkitec.com"randy.johnson_at_enkitec.com  

From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Dan Norris
Sent: Wednesday, July 04, 2007 11:07 AM
To: ujang.jaenudin_at_gmail.com; oracle-l_at_freelists.org Subject: Re: missing controlfile when add node

Well, this is one case where I think that Oracle is being pretty good about telling you what's happening. I'd start by making sure that your spfile is shared between all instances. That will force the control_files parameter to be the same on all nodes (since it should be *.control_files).

Once you do that, if the problem still exists, then it is probably the case that your devices aren't mapped the same on this new node you're adding. That is /dev/rdsk/c2t0d59s6 isn't the same device from the other RAC nodes. You'll probably need a sysadmin to help determine which devices are which on each node. If you can (without harming data), I usually use dd to make sure that devices are the same on all nodes. That is:

node1$ dd if=/etc/hosts of=/dev/rdsk/c2t0d0s6 bs=4k

then, go to node2 and do:

node2$ dd if=/dev/rdsk/c2t0d0s6 of=/tmp/hosts-from-node1 bs=4k

and verify that /tmp/hosts-from-node1 matches /etc/hosts on node1. Of course, when you're adding a node to an existing cluster, you probably can't do that, but I thought it may be helpful. However, you could do this:

node1$ dd if=/dev/rdsk/c2t0d59s6 of=/tmp/fromnode1.dbf bs=8k count=100 node2$ dd if=/dev/rdsk/c2t0d59s6 of=/tmp/fromnode2.dbf bs=8k count=100

Then, ftp (in binary mode) or scp the files to the same node and do a diff on them. If they're different, then the devices aren't the same one on each node. There should be no harm to the data on this device by doing the dd outlined above, but I'd still do it when the existing RAC instances are shutdown (I wouldn't use abort in this case :).

Dan

all,

does anyone have an experience regarding add nodes in RAC environment and about controlfile wrong?

solaris 5.9
oracle 10.2.0.3

3rd node was added, and try to mount database:

ORA-00203: using the wrong control files ORA-00202: control file: '/dev/rdsk/c2t0d59s6'

--

regards
ujang
--

HYPERLINK "http://www.freelists.org/webpage/oracle-l" \nhttp://www.freelists.org/webpage/oracle-l

No virus found in this incoming message. Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.9.14/885 - Release Date: 7/3/2007 10:02 AM

No virus found in this outgoing message. Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.9.14/885 - Release Date: 7/3/2007 10:02 AM  

--

http://www.freelists.org/webpage/oracle-l Received on Wed Jul 04 2007 - 13:11:09 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US