<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How To Recover From Corrupted OCR Disk</title>
	<atom:link href="http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/feed/" rel="self" type="application/rss+xml" />
	<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/</link>
	<description>Writing About Our Experiences With Oracle Databases</description>
	<lastBuildDate>Thu, 09 Feb 2012 14:27:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Saurabh Sood</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-7991</link>
		<dc:creator>Saurabh Sood</dc:creator>
		<pubDate>Fri, 22 Oct 2010 06:09:41 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-7991</guid>
		<description>Hi Kamal,

I think the above steps should also work, but not sure about the correctness, have you ever tried these?

YOu are correct about the listener configuration, listener is added through netca and is a part of nodeapps.

This also clarifies Nitin&#039;s comment.

Regards,
Saurabh Sood</description>
		<content:encoded><![CDATA[<p>Hi Kamal,</p>
<p>I think the above steps should also work, but not sure about the correctness, have you ever tried these?</p>
<p>YOu are correct about the listener configuration, listener is added through netca and is a part of nodeapps.</p>
<p>This also clarifies Nitin&#8217;s comment.</p>
<p>Regards,<br />
Saurabh Sood</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kamal</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-7909</link>
		<dc:creator>Kamal</dc:creator>
		<pubDate>Wed, 18 Aug 2010 12:36:29 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-7909</guid>
		<description>Hi Saurabh,

Can we shorten all this exercise by following the steps.

1)Stop rdbms/asm/clusterware.
2)mv /etc/oracle to /etc/oracle.bak
3)dd out voting disk and ocr.
4)run root.sh on all nodes.
5)run vipca if required.

Also i dont belive that listener will get added when you run vipca. Nodeapps will only register vip,gsd and ons.
You have to manually add the listener as it has to run from RDBMS/ASM home and not from CRS home.</description>
		<content:encoded><![CDATA[<p>Hi Saurabh,</p>
<p>Can we shorten all this exercise by following the steps.</p>
<p>1)Stop rdbms/asm/clusterware.<br />
2)mv /etc/oracle to /etc/oracle.bak<br />
3)dd out voting disk and ocr.<br />
4)run root.sh on all nodes.<br />
5)run vipca if required.</p>
<p>Also i dont belive that listener will get added when you run vipca. Nodeapps will only register vip,gsd and ons.<br />
You have to manually add the listener as it has to run from RDBMS/ASM home and not from CRS home.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bhallar</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-7790</link>
		<dc:creator>bhallar</dc:creator>
		<pubDate>Tue, 13 Apr 2010 15:13:05 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-7790</guid>
		<description>Jeffery Hunter published the same with some additional info.
http://www.idevelopment.info/data/Oracle/DBA_tip/Oracle10gRAC/CLUSTER_70.shtml</description>
		<content:encoded><![CDATA[<p>Jeffery Hunter published the same with some additional info.<br />
<a href="http://www.idevelopment.info/data/Oracle/DBA_tip/Oracle10gRAC/CLUSTER_70.shtml" rel="nofollow">http://www.idevelopment.info/data/Oracle/DBA_tip/Oracle10gRAC/CLUSTER_70.shtml</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saurabh Sood</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-4728</link>
		<dc:creator>Saurabh Sood</dc:creator>
		<pubDate>Wed, 05 Aug 2009 09:28:52 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-4728</guid>
		<description>:)</description>
		<content:encoded><![CDATA[<p> <img src='http://askdba.org/weblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bassem</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-4724</link>
		<dc:creator>Bassem</dc:creator>
		<pubDate>Wed, 05 Aug 2009 06:30:26 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-4724</guid>
		<description>great effor saurabh , thanks
Bassem</description>
		<content:encoded><![CDATA[<p>great effor saurabh , thanks<br />
Bassem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saurabh Sood</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-4624</link>
		<dc:creator>Saurabh Sood</dc:creator>
		<pubDate>Thu, 30 Jul 2009 15:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-4624</guid>
		<description>Thanks Nitin for your comments.

Amit: Thanks for your comments also.

From 10g onwards listener is added as a nodeapps part. there is one command to configure listener with srvctl that can be seen in the link provided by Amit.
There is no need to run netca again.

With Regards,
Saurabh Sood</description>
		<content:encoded><![CDATA[<p>Thanks Nitin for your comments.</p>
<p>Amit: Thanks for your comments also.</p>
<p>From 10g onwards listener is added as a nodeapps part. there is one command to configure listener with srvctl that can be seen in the link provided by Amit.<br />
There is no need to run netca again.</p>
<p>With Regards,<br />
Saurabh Sood</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-4622</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Thu, 30 Jul 2009 11:39:11 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-4622</guid>
		<description>Hi Nitin,

This note is actually written by Saurabh and not by Emit :)
Listener is registered with nodeapps so you need not register it again. Moreover there is no command like &quot;srvctl add listener&quot; . Refer http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/srvctladmin.htm#i1008403

If required you can change the default port for the listener using netca. 

Regards
Amit</description>
		<content:encoded><![CDATA[<p>Hi Nitin,</p>
<p>This note is actually written by Saurabh and not by Emit <img src='http://askdba.org/weblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Listener is registered with nodeapps so you need not register it again. Moreover there is no command like &#8220;srvctl add listener&#8221; . Refer <a href="http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/srvctladmin.htm#i1008403" rel="nofollow">http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/srvctladmin.htm#i1008403</a></p>
<p>If required you can change the default port for the listener using netca. </p>
<p>Regards<br />
Amit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nitin</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-4604</link>
		<dc:creator>Nitin</dc:creator>
		<pubDate>Wed, 29 Jul 2009 07:27:37 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-4604</guid>
		<description>Hi Emit,

Thanks for a well documented note. I think we are missing the netca step. netca must be used to register the listeners in the CRS. This has to be done after registering the database and instances using SRVCTL. Your thoughts on this please...


Nitin R</description>
		<content:encoded><![CDATA[<p>Hi Emit,</p>
<p>Thanks for a well documented note. I think we are missing the netca step. netca must be used to register the listeners in the CRS. This has to be done after registering the database and instances using SRVCTL. Your thoughts on this please&#8230;</p>
<p>Nitin R</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-2249</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Sun, 29 Mar 2009 03:21:44 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-2249</guid>
		<description>Yes, you can also clean up rac installation and re-install the software. Then you can configure ASM instance and open the database. In fact I used the same approach for a Test cluster environment (in my case i messed up with crs bundle patch and installation got corrupted)</description>
		<content:encoded><![CDATA[<p>Yes, you can also clean up rac installation and re-install the software. Then you can configure ASM instance and open the database. In fact I used the same approach for a Test cluster environment (in my case i messed up with crs bundle patch and installation got corrupted)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ming</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-2238</link>
		<dc:creator>Ming</dc:creator>
		<pubDate>Fri, 27 Mar 2009 14:45:51 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-2238</guid>
		<description>Thanks for note sharing. My question is whether those approaches are certified by Oracle?
I am searching for a &quot;back out&quot; option before upgrading CRS from 10g to 11g and directed to your site. One step further to what you&#039;ve pointed out, as a last resort, I guess we can completely re-install clusterware without losing the existing ASM and database. Would you agree?
Ming</description>
		<content:encoded><![CDATA[<p>Thanks for note sharing. My question is whether those approaches are certified by Oracle?<br />
I am searching for a &#8220;back out&#8221; option before upgrading CRS from 10g to 11g and directed to your site. One step further to what you&#8217;ve pointed out, as a last resort, I guess we can completely re-install clusterware without losing the existing ASM and database. Would you agree?<br />
Ming</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saurabh Sood</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-1199</link>
		<dc:creator>Saurabh Sood</dc:creator>
		<pubDate>Wed, 31 Dec 2008 08:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-1199</guid>
		<description>Hi Suchi,

I don&#039;t think there will be any data loss because we are shutting down all of the databases and the clusterware before performing these steps.
Let me know if you have any queries.

Cheers!!!!
Saurabh Sood</description>
		<content:encoded><![CDATA[<p>Hi Suchi,</p>
<p>I don&#8217;t think there will be any data loss because we are shutting down all of the databases and the clusterware before performing these steps.<br />
Let me know if you have any queries.</p>
<p>Cheers!!!!<br />
Saurabh Sood</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suchi</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-1198</link>
		<dc:creator>suchi</dc:creator>
		<pubDate>Wed, 31 Dec 2008 07:43:25 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-1198</guid>
		<description>Hi,

good content...
As I am new to RAC so don&#039;t have much idea but the way you descired here for OCR recover with this accpetance of loss of our data?or there is no loss...please suggest me.

Thanks,
Suchi</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>good content&#8230;<br />
As I am new to RAC so don&#8217;t have much idea but the way you descired here for OCR recover with this accpetance of loss of our data?or there is no loss&#8230;please suggest me.</p>
<p>Thanks,<br />
Suchi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saurabh Sood</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-658</link>
		<dc:creator>Saurabh Sood</dc:creator>
		<pubDate>Wed, 19 Nov 2008 05:53:46 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-658</guid>
		<description>Emit,

The warning messages are ok, but could you please check whether the &quot;crs&quot; directory is present or not.
$ ls -ltr /informat/u01/app/oracle/product/

You have to make sure that you already ran root.sh on the node from where rac installation was started and after that it is tried on other nodes.

Regards,
Saurabh Sood</description>
		<content:encoded><![CDATA[<p>Emit,</p>
<p>The warning messages are ok, but could you please check whether the &#8220;crs&#8221; directory is present or not.<br />
$ ls -ltr /informat/u01/app/oracle/product/</p>
<p>You have to make sure that you already ran root.sh on the node from where rac installation was started and after that it is tried on other nodes.</p>
<p>Regards,<br />
Saurabh Sood</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emit</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-648</link>
		<dc:creator>Emit</dc:creator>
		<pubDate>Tue, 18 Nov 2008 13:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-648</guid>
		<description>[root@sjum1blnx42 crs]# ./root.sh
/bin/chmod: cannot access `/informat/u01/app/oracle/product/crs/evm/init&#039;: No such file or directory
/bin/chmod: cannot access `/informat/u01/app/oracle/product/crs/css/init&#039;: No such file or directory
/bin/chmod: cannot access `/informat/u01/app/oracle/product/crs/css/log&#039;: No such file or directory
/bin/chmod: cannot access `/informat/u01/app/oracle/product/crs/css/auth&#039;: No such file or directory
WARNING: directory &#039;/informat/u01/app/oracle/product&#039; is not owned by root
WARNING: directory &#039;/informat/u01/app/oracle&#039; is not owned by root
WARNING: directory &#039;/informat/u01/app&#039; is not owned by root
WARNING: directory &#039;/informat/u01&#039; is not owned by root
WARNING: directory &#039;/informat&#039; is not owned by root</description>
		<content:encoded><![CDATA[<p>[root@sjum1blnx42 crs]# ./root.sh<br />
/bin/chmod: cannot access `/informat/u01/app/oracle/product/crs/evm/init&#8217;: No such file or directory<br />
/bin/chmod: cannot access `/informat/u01/app/oracle/product/crs/css/init&#8217;: No such file or directory<br />
/bin/chmod: cannot access `/informat/u01/app/oracle/product/crs/css/log&#8217;: No such file or directory<br />
/bin/chmod: cannot access `/informat/u01/app/oracle/product/crs/css/auth&#8217;: No such file or directory<br />
WARNING: directory &#8216;/informat/u01/app/oracle/product&#8217; is not owned by root<br />
WARNING: directory &#8216;/informat/u01/app/oracle&#8217; is not owned by root<br />
WARNING: directory &#8216;/informat/u01/app&#8217; is not owned by root<br />
WARNING: directory &#8216;/informat/u01&#8242; is not owned by root<br />
WARNING: directory &#8216;/informat&#8217; is not owned by root</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saurabh Sood</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-644</link>
		<dc:creator>Saurabh Sood</dc:creator>
		<pubDate>Tue, 18 Nov 2008 04:15:23 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-644</guid>
		<description>Hi Emit,

Please let us know what is the error that you got while running root.sh on other node.

Regards
Saurabh</description>
		<content:encoded><![CDATA[<p>Hi Emit,</p>
<p>Please let us know what is the error that you got while running root.sh on other node.</p>
<p>Regards<br />
Saurabh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emit</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-573</link>
		<dc:creator>Emit</dc:creator>
		<pubDate>Fri, 14 Nov 2008 18:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-573</guid>
		<description>Friend.

I am facing a corrup OCR, i follow the recomedations below but i am stucked on the next step ==&gt; Run root.sh for the other nodes. 

Looks like the second node do not have the image mount point of the node 1.

Did you have any document to see more in deep. ?

Regards</description>
		<content:encoded><![CDATA[<p>Friend.</p>
<p>I am facing a corrup OCR, i follow the recomedations below but i am stucked on the next step ==&gt; Run root.sh for the other nodes. </p>
<p>Looks like the second node do not have the image mount point of the node 1.</p>
<p>Did you have any document to see more in deep. ?</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saurabh Sood</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-213</link>
		<dc:creator>Saurabh Sood</dc:creator>
		<pubDate>Fri, 12 Sep 2008 15:45:13 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-213</guid>
		<description>Dan,

I have seen many situations where DBAs faced this issue.  You are lucky that your installation have never been through corruption. I did not do anything special to introduce OCR corruption in my system, but still found the cluster in this state.

I completely agree with you that we have automatic backups and mirroring of OCR disk but under certain conditions like : We have recently added node and before next backup (Before 4 hrs) we found OCR corruption, which leaves us with no recent backup or a scenario where some shell scripts wrongly deleted backups.

I have listed down steps to recover when we do not have any backup available and we need to rebuild from scratch, which &quot;as mentioned&quot; requires downtime. In case we have backups available then definitely “ocrconfig -restore” is the way to go!!

Cheers!!!
Saurabh Sood</description>
		<content:encoded><![CDATA[<p>Dan,</p>
<p>I have seen many situations where DBAs faced this issue.  You are lucky that your installation have never been through corruption. I did not do anything special to introduce OCR corruption in my system, but still found the cluster in this state.</p>
<p>I completely agree with you that we have automatic backups and mirroring of OCR disk but under certain conditions like : We have recently added node and before next backup (Before 4 hrs) we found OCR corruption, which leaves us with no recent backup or a scenario where some shell scripts wrongly deleted backups.</p>
<p>I have listed down steps to recover when we do not have any backup available and we need to rebuild from scratch, which &#8220;as mentioned&#8221; requires downtime. In case we have backups available then definitely “ocrconfig -restore” is the way to go!!</p>
<p>Cheers!!!<br />
Saurabh Sood</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Norris</title>
		<link>http://askdba.org/weblog/2008/09/how-to-recover-from-corrupted-ocr-disk/#comment-211</link>
		<dc:creator>Dan Norris</dc:creator>
		<pubDate>Fri, 12 Sep 2008 01:56:42 +0000</pubDate>
		<guid isPermaLink="false">http://askdba.org/weblog/?p=253#comment-211</guid>
		<description>&quot;It is very common where a DBA is left with corrupted OCR disk without having any good backup.&quot;

I think that is a false statement. First, it isn&#039;t common that OCR becomes corrupted. I&#039;ve installed lots of clusters (even a significant number on virtual machines) and I&#039;ve never had an OCR become corrupted unless I was intentionally trying to corrupt it. Secondly, backups are almost always available because Clusterware makes them automatically in $ORA_CRS_HOME/cdata/ and keeps several recent backups while rotating off the oldest ones. This process is described in the 10g R2 Clusterware and RAC deployment and admin guide, chapter 3. 

Your solution is much more drastic than required. The &quot;ocrconfig -restore&quot; command restores the OCR from a backup. I&#039;d think that should be attempted first before blowing away the entire OCR contents and having to rebuild everything from scratch--a much more risky operation than simply restoring it.</description>
		<content:encoded><![CDATA[<p>&#8220;It is very common where a DBA is left with corrupted OCR disk without having any good backup.&#8221;</p>
<p>I think that is a false statement. First, it isn&#8217;t common that OCR becomes corrupted. I&#8217;ve installed lots of clusters (even a significant number on virtual machines) and I&#8217;ve never had an OCR become corrupted unless I was intentionally trying to corrupt it. Secondly, backups are almost always available because Clusterware makes them automatically in $ORA_CRS_HOME/cdata/ and keeps several recent backups while rotating off the oldest ones. This process is described in the 10g R2 Clusterware and RAC deployment and admin guide, chapter 3. </p>
<p>Your solution is much more drastic than required. The &#8220;ocrconfig -restore&#8221; command restores the OCR from a backup. I&#8217;d think that should be attempted first before blowing away the entire OCR contents and having to rebuild everything from scratch&#8211;a much more risky operation than simply restoring it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Served from: askdba.org @ 2012-02-12 16:33:53 by W3 Total Cache -->
