<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Mike Desouza&#039;s Blog</title>
	<atom:link href="http://mdesouza.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mdesouza.wordpress.com</link>
	<description>some personal stuff</description>
	<lastBuildDate>Thu, 26 Jan 2012 12:30:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mdesouza.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/b2ec3bb77ee14d01da04ba37043e578a?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Mike Desouza&#039;s Blog</title>
		<link>http://mdesouza.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mdesouza.wordpress.com/osd.xml" title="Mike Desouza&#039;s Blog" />
	<atom:link rel='hub' href='http://mdesouza.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Modifying VIP address or VIP hostname in Oracle RAC</title>
		<link>http://mdesouza.wordpress.com/2012/01/26/modifying-vip-address-or-vip-hostname-in-oracle-rac/</link>
		<comments>http://mdesouza.wordpress.com/2012/01/26/modifying-vip-address-or-vip-hostname-in-oracle-rac/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 12:30:35 +0000</pubDate>
		<dc:creator>mikey</dc:creator>
				<category><![CDATA[Oracle Rac]]></category>

		<guid isPermaLink="false">http://mdesouza.wordpress.com/?p=794</guid>
		<description><![CDATA[check the current settings Stop Instance,ASM,Nodeapps resources Verify the VIP Address is no longer running by using below command Modify VIP Address or VIP hostname on nodeapps by using srvctl command (Run as root) Modify VIP hostname from ”davis-vip” to “davis-v” Verify the change by running below command Start all resources &#160; &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=794&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>check the current settings</p>
<p><pre class="brush: plain;">

# srvctl config nodeapps -a

Network exists: 1/10.1.223.0/255.255.255.0/lan0, type static
VIP exists: /cruz-vip/10.1.223.73/10.1.223.0/255.255.255.0/lan0, hosting node cruz
VIP exists: /davis-vip/10.1.223.72/10.1.223.0/255.255.255.0/lan0, hosting node davis

</pre></p>
<p>Stop Instance,ASM,Nodeapps resources</p>
<p><pre class="brush: plain;">

$srvctl stop instance -d romeo -i romeo2
$srvctl stop asm -n romeo1
$srvctl stop nodeapps -n romeo1
</pre></p>
<p>Verify the VIP Address is no longer running by using below command</p>
<p><pre class="brush: plain;">

crsctl status  resource  -t

</pre></p>
<p>Modify VIP Address or VIP hostname on nodeapps by using srvctl command (Run as root)</p>
<p><pre class="brush: plain;">

#srvctl modify nodeapps -n [-o ] [-A ]
Where
-n &lt; node_name&gt; - Node name.
-o - Oracle Home for the cluster software (CRS-Home).
-A The node level VIP address (/netmask[/if1[|if2|...]]).

Example:- Modify the VIP Address to 10.1.223.72

#srvctl modify nodeapps -n davis -A 10.1.223.72/255.255.255.0/eth0
</pre></p>
<p>Modify VIP hostname from ”davis-vip” to “davis-v”</p>
<p><pre class="brush: plain;">
#srvctl modify nodeapps -n  -A davis-v/255.255.255.0/eth0
</pre></p>
<p>Verify the change by running below command</p>
<p><pre class="brush: plain;">
$srvctl config nodeapps -n davis –a
</pre></p>
<p>Start all resources<br />
<pre class="brush: plain;">

$srvctl start nodeapps -n davis
$srvctl start asm -n davis

$srvctl start instance -d romeo –i romeo1
</pre></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdesouza.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdesouza.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdesouza.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdesouza.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdesouza.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdesouza.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdesouza.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdesouza.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdesouza.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdesouza.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdesouza.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdesouza.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdesouza.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdesouza.wordpress.com/794/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=794&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdesouza.wordpress.com/2012/01/26/modifying-vip-address-or-vip-hostname-in-oracle-rac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/45e3b751417852a3040ca49ac6f518d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikey</media:title>
		</media:content>
	</item>
		<item>
		<title>Restoring OCR and Voting Disk on shared storage 11gr2</title>
		<link>http://mdesouza.wordpress.com/2012/01/25/restoring-ocr-and-voting-disk-on-shared-storage-11gr2/</link>
		<comments>http://mdesouza.wordpress.com/2012/01/25/restoring-ocr-and-voting-disk-on-shared-storage-11gr2/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 17:45:31 +0000</pubDate>
		<dc:creator>mikey</dc:creator>
				<category><![CDATA[Oracle Rac]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mdesouza.wordpress.com/?p=786</guid>
		<description><![CDATA[RESTORING OCR 1. List the nodes in your cluster by running the following command as root on one node: cruz:# ./olsnodes davis cruz 2. Stop Oracle Clusterware by running the following command as root on all of the nodes: # crsctl stop crs If the preceding command returns any error due to OCR corruption, stop [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=786&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration:underline;"><strong>RESTORING OCR </strong></span></p>
<p>1. List the nodes in your cluster by running the following command as root on one node:<br />
cruz:# ./olsnodes<br />
davis<br />
cruz</p>
<p>2. Stop Oracle Clusterware by running the following command as root on all of the nodes:<br />
# crsctl stop crs</p>
<p>If the preceding command returns any error due to OCR corruption, stop Oracle Clusterware by running the following command as root on all of the nodes:<br />
# crsctl stop crs -f</p>
<p>3. Run the following command to list the backup files:</p>
<p><pre class="brush: plain;">
ocrconfig -showbackup

cruz:# ./ocrconfig -showbackup
davis     2012/01/25 15:49:11     /u01/app/11.2.0.2/grid/cdata/ractestscan/backup00.ocr
davis     2012/01/25 11:49:09     /u01/app/11.2.0.2/grid/cdata/ractestscan/backup01.ocr
davis     2012/01/25 07:49:07     /u01/app/11.2.0.2/grid/cdata/ractestscan/backup02.ocr
davis     2012/01/24 11:49:00     /u01/app/11.2.0.2/grid/cdata/ractestscan/day.ocr
davis     2012/01/18 03:48:04     /u01/app/11.2.0.2/grid/cdata/ractestscan/week.ocr
</pre></p>
<p>4. If you are restoring OCR to a cluster file system or network file system, then run the following command as root to restore OCR</p>
<p># ocrconfig -restore /u01/app/11.2.0.2/grid/cdata/ractestscan/backup00.ocr</p>
<p>5. Begin to start Oracle Clusterware by running the following command as root on all of the nodes:<br />
# crsctl start crs</p>
<p>6. Verify OCR integrity of all of the cluster nodes that are configured as part of your cluster by running the following CVU command:</p>
<p># cluvfy comp ocr -n all -verbose</p>
<p><strong><span style="text-decoration:underline;">RESTORING VOTING DISK</span></strong></p>
<p>1.  Make sure that the OCR is restored and valid using ocrcheck<br />
2. Run the following command as root from only one node to start the Oracle Clusterware stack in exclusive mode, which does not require voting files to be present or usable:<br />
# crsctl start crs -excl</p>
<p>3. Run the crsctl query css votedisk command to retrieve the list of voting files currently defined, similar to the following:</p>
<p>## STATE File Universal Id File Name Disk group<br />
&#8211; &#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212;<br />
1. ONLINE a9f61832112b4f33bf98988caac790f6 (/u02/ocr/vdsk) []<br />
Located 1 voting disk(s).</p>
<p>4. run the following command using the File Universal Identifier (FUID) obtained in the previous step:</p>
<p>$ crsctl delete css votedisk FUID</p>
<p>5.  Add a voting disk, as follows:</p>
<p>$ crsctl add css votedisk path_to_voting_disk</p>
<p>6. Stop the Oracle Clusterware stack as root:<br />
# crsctl stop crs<br />
If the Oracle Clusterware stack is running in exclusive mode, then use the -f option to force the shutdown of the stack.</p>
<p>7. Restart the Oracle Clusterware stack in normal mode as root:<br />
# crsctl start crs</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdesouza.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdesouza.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdesouza.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdesouza.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdesouza.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdesouza.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdesouza.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdesouza.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdesouza.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdesouza.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdesouza.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdesouza.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdesouza.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdesouza.wordpress.com/786/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=786&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdesouza.wordpress.com/2012/01/25/restoring-ocr-and-voting-disk-on-shared-storage-11gr2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/45e3b751417852a3040ca49ac6f518d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikey</media:title>
		</media:content>
	</item>
		<item>
		<title>11gR2 Target Database or Repository Producing Several TNS-12599</title>
		<link>http://mdesouza.wordpress.com/2012/01/25/11gr2-target-database-or-repository-producing-several-tns-12599/</link>
		<comments>http://mdesouza.wordpress.com/2012/01/25/11gr2-target-database-or-repository-producing-several-tns-12599/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 14:37:57 +0000</pubDate>
		<dc:creator>mikey</dc:creator>
				<category><![CDATA[Grid]]></category>

		<guid isPermaLink="false">http://mdesouza.wordpress.com/?p=779</guid>
		<description><![CDATA[Workaround: on the target database side, set SQLNET.ENCRYPTION_TYPES_SERVER= (3DES168)  in sqlnet.ora Patches for bug 9953045 and  bug 12360281 fix this problem. - bug 9953045   is to fix the issue for repository connection made from OMS - bug 12360281 is to fix target database connections made from OMS Download patches from Oracle p9953045_111010_Generic.zip p12360281_111010_Generic.zip<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=779&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><pre class="brush: plain;">

***********************************************************************
NI cryptographic checksum mismatch error: 12599.

VERSION INFORMATION:
TNS for Linux: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
Time: 14-JUL-2010 11:39:22
Tracing not turned on.
Tns error struct:
ns main err code: 12599

TNS-12599: TNS:cryptographic checksum mismatch
ns secondary err code: 2526
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Wed Jul 14 11:48:14 2010
***********************************************************************
</pre></p>
<p>Workaround:</p>
<p>on the target database side, set SQLNET.ENCRYPTION_TYPES_SERVER= (3DES168)  in sqlnet.ora</p>
<p>Patches for bug 9953045 and  bug 12360281 fix this problem.</p>
<p>- bug 9953045   is to fix the issue for repository connection made from OMS<br />
- bug 12360281 is to fix target database connections made from OMS</p>
<p>Download patches from Oracle</p>
<p>p9953045_111010_Generic.zip</p>
<p>p12360281_111010_Generic.zip</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdesouza.wordpress.com/779/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdesouza.wordpress.com/779/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdesouza.wordpress.com/779/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdesouza.wordpress.com/779/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdesouza.wordpress.com/779/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdesouza.wordpress.com/779/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdesouza.wordpress.com/779/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdesouza.wordpress.com/779/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdesouza.wordpress.com/779/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdesouza.wordpress.com/779/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdesouza.wordpress.com/779/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdesouza.wordpress.com/779/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdesouza.wordpress.com/779/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdesouza.wordpress.com/779/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=779&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdesouza.wordpress.com/2012/01/25/11gr2-target-database-or-repository-producing-several-tns-12599/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/45e3b751417852a3040ca49ac6f518d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikey</media:title>
		</media:content>
	</item>
		<item>
		<title>11gR2 Rac fix the &#8220;ORACLE_BASE not set in environment&#8221; error in alertlog</title>
		<link>http://mdesouza.wordpress.com/2012/01/25/11gr2-rac-fix-the-oracle_base-not-set-in-environment-error/</link>
		<comments>http://mdesouza.wordpress.com/2012/01/25/11gr2-rac-fix-the-oracle_base-not-set-in-environment-error/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 12:41:08 +0000</pubDate>
		<dc:creator>mikey</dc:creator>
				<category><![CDATA[Oracle Rac]]></category>

		<guid isPermaLink="false">http://mdesouza.wordpress.com/?p=772</guid>
		<description><![CDATA[The following error was reported in the alert log during instance startup after recovering from a pmon crash in a RAC environment to fix the error run the following command using srvctl srvctl setenv database -d romeo -t &#8220;ORACLE_BASE=/u01/app/oracle&#8221; Once that was executed, I bounced this particular instance using: srvctl stop instance -d romeo -i romeo2 srvctl [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=772&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The following error was reported in the alert log during instance startup after recovering from a pmon crash in a RAC environment</p>
<p><pre class="brush: plain;">
Starting background process RSMN
Fri Dec 16 16:55:40 2011
RSMN started with pid=28, OS id=24795
ORACLE_BASE not set in environment. It is recommended
that ORACLE_BASE be set in the environment
Fri Dec 16 16:55:40 2011
ALTER DATABASE MOUNT /* db agent *//* {4:8516:36317} */
</pre></p>
<p>to fix the error run the following command using srvctl</p>
<p>srvctl setenv database -d romeo -t &#8220;ORACLE_BASE=/u01/app/oracle&#8221;</p>
<p>Once that was executed, I bounced this particular instance using:</p>
<p>srvctl stop instance -d romeo -i romeo2<br />
srvctl start instance -d romeo -i romeo2</p>
<p>this resolved the issue</p>
<p><pre class="brush: plain;">
Starting background process RSMN
Wed Jan 25 12:39:47 2012
RSMN started with pid=28, OS id=16293
ORACLE_BASE from environment = /u01/app/oracle
Wed Jan 25 12:39:48 2012
ALTER DATABASE MOUNT /* db agent *//* {2:43873:47317} */
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdesouza.wordpress.com/772/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdesouza.wordpress.com/772/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdesouza.wordpress.com/772/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdesouza.wordpress.com/772/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdesouza.wordpress.com/772/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdesouza.wordpress.com/772/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdesouza.wordpress.com/772/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdesouza.wordpress.com/772/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdesouza.wordpress.com/772/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdesouza.wordpress.com/772/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdesouza.wordpress.com/772/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdesouza.wordpress.com/772/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdesouza.wordpress.com/772/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdesouza.wordpress.com/772/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=772&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdesouza.wordpress.com/2012/01/25/11gr2-rac-fix-the-oracle_base-not-set-in-environment-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/45e3b751417852a3040ca49ac6f518d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikey</media:title>
		</media:content>
	</item>
		<item>
		<title>Duplicate RAC database to another new RAC system</title>
		<link>http://mdesouza.wordpress.com/2012/01/20/duplicate-rac-database-to-another-new-rac-system/</link>
		<comments>http://mdesouza.wordpress.com/2012/01/20/duplicate-rac-database-to-another-new-rac-system/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 10:43:20 +0000</pubDate>
		<dc:creator>mikey</dc:creator>
				<category><![CDATA[Oracle Rac]]></category>

		<guid isPermaLink="false">http://mdesouza.wordpress.com/?p=760</guid>
		<description><![CDATA[Source 4 nodes Oracle 11.2.0.2 on HP-UX 11.31 hostA1 hostB1 hhostC1 hostD1 database romeo Target 4 nodes Oracle 11.2.0.2 on HP-UX 11.31  hostA2 hostB2 hostC2 hostD2  database Juliet 1. On the source host, backup the source using RMAN. Sample here is shown using control file to disk. $ORACLE_HOME/bin/rman oracle@sausalito:/u01/app/oracle/product/11.2.0/db_1/dbs &#62; rman target / catalog rman/rman@rmancpr [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=760&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration:underline;"><strong>Source</strong></span></p>
<p>4 nodes Oracle 11.2.0.2 on HP-UX 11.31 hostA1 hostB1 hhostC1 hostD1 database romeo</p>
<p><span style="text-decoration:underline;"><strong>Target</strong></span></p>
<p>4 nodes Oracle 11.2.0.2 on HP-UX 11.31  hostA2 hostB2 hostC2 hostD2  database Juliet</p>
<p><strong>1. On the source host, backup the source using RMAN. Sample here is shown using control file to disk.</strong></p>
<p>$ORACLE_HOME/bin/rman</p>
<p>oracle@sausalito:/u01/app/oracle/product/11.2.0/db_1/dbs &gt; rman target / catalog rman/rman@rmancpr</p>
<p>Recovery Manager: Release 11.2.0.2.0 &#8211; Production on Fri Jan 20 09:08:25 2012</p>
<p>Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.</p>
<p>connected to target database: ROMEO(DBID=498205723)</p>
<p>connected to recovery catalog database</p>
<p>run {<br />
backup format ‘/u1/df_%t_%s_%p’ database<br />
include current controlfile<br />
plus archivelog;<br />
release channel d1;<br />
}</p>
<p><strong>2.  Copy all the backupset files to one of the target hosts to the same location of backup</strong></p>
<p>$scp /rmanbackup/oradata/romeo/df*   hostA2: /rmanbackup/oradata/romeo/</p>
<p> Create a pfile from the source database and move it to the target system</p>
<p>SQL&gt; create pfile=’/tmp/initjuliet.ora’ from spfile ;</p>
<p>Move initjuliet.ora to the target system $ORACLE_HOME/dbs</p>
<p><strong>3. Edit initjuliet.ora  and change</strong></p>
<p>*.cluster_database=false</p>
<p>And any references of romeo to Juliet</p>
<p>Add convert name if names or paths are different</p>
<p>*.db_file_name_convert = (&#8216;/u02/oradata/romeo&#8217;,'/u02/oradata/juliet&#8217;)</p>
<p>*.log_file_name_convert= (&#8216;/u02/oradata/romeo&#8217;,'/u02/oradata/juliet&#8217;)</p>
<p>Create a password file using orapwd on the target host</p>
<p>orapwd file=orapwjuliet password=xxxxxxxx</p>
<p><strong>4. On the target host create a TNSNAME alias pointing to the source database</strong></p>
<p>ROMEO =</p>
<p>  (DESCRIPTION =</p>
<p>    (ADDRESS = (PROTOCOL = TCP)(HOST = maverick)(PORT = 1521))</p>
<p>    (CONNECT_DATA =</p>
<p>      (SERVER = DEDICATED)</p>
<p>      (SERVICE_NAME = romeo)</p>
<p>    )</p>
<p>  )</p>
<p><strong>5. Startup the Juliet instance in nomount  mode</strong></p>
<p><strong>6. Start the rman duplicate</strong></p>
<p> rman target sys/xxxxxxx@romeo auxiliary /  catalog rman/rman@rmancpr</p>
<p> RMAN&gt; run {</p>
<p>allocate channel D1 device type disk;</p>
<p>allocate auxiliary channel D2 device type disk;</p>
<p>DUPLICATE TARGET DATABASE TO juliet;</p>
<p>}</p>
<p>If successfully you should see the following extract at the end</p>
<p><pre class="brush: plain;"> 

datafile 2 switched to datafile copy

input datafile copy RECID=1 STAMP=772991657 file name=/u03/oradata/dupdb/sysaux01.dbf

datafile 3 switched to datafile copy

input datafile copy RECID=2 STAMP=772991657 file name=/u03/oradata/dupdb/undotbs01.dbf

datafile 4 switched to datafile copy

input datafile copy RECID=3 STAMP=772991657 file name=/u03/oradata/dupdb/users01.dbf

datafile 5 switched to datafile copy

input datafile copy RECID=4 STAMP=772991657 file name=/u03/oradata/dupdb/undotbs02.dbf

datafile 6 switched to datafile copy

input datafile copy RECID=5 STAMP=772991657 file name=/u03/oradata/dupdb/undotbs03.dbf

datafile 7 switched to datafile copy

input datafile copy RECID=6 STAMP=772991657 file name=/u03/oradata/dupdb/undotbs04.dbf

 contents of Memory Script:

{

   Alter clone database open resetlogs;

}

executing Memory Script

 database opened

Finished Duplicate Db at 19-JAN-2012 15:54:40

released channel: D1

released channel: D2

</pre></p>
<p><strong>7. Add a new temporary file into the temporary table space</strong></p>
<p> alter tablespace temp add tempfile &#8216;/u02/oradata/dupdb/temp01.dbf&#8217; size 2048m reuse ;</p>
<p><strong>8. Make the database RAC aware</strong></p>
<p>Each node of the cluster has its own oracle home n u01 and shared filesystem u02 and u03  and therefore needed to make the following changes enable RAC</p>
<p>Shutdown database on hostA2 and move the spfile from $ORACLE_HOME/dbs to /u03/oradata/Juliet</p>
<p>This is shared storage which all the 4 hosts can access</p>
<p>srvctl modify database -d juliet -o /u01/app/oracle/product/11.2.0/db_1 -p /u03/oradata/dupdb/spfilejuliet.ora</p>
<p>srvctl add instance -d julite -i juliet1 –n hostA2</p>
<p>srvctl add instance -d julite -i juliet2 –n hostB2</p>
<p>srvctl add instance -d julite -i juliet3 –n hostC2<em></em></p>
<p>srvctl add instance -d julite -i juliet4 –n hostD2</p>
<p>move the password file from hostA2  $ORACLE_HOME/dbs  to /u03/oradata/Juliet</p>
<p>create links  from each host  to the password file in  /u03/oradata/Juliet</p>
<p>hostA2 : $ORACLE_HOME/dbs ln –s /u03/oradata/Juliet/orapwjuliet  orapwdupdb1</p>
<p>hostB2 : $ORACLE_HOME/dbs ln –s /u03/oradata/Juliet/orapwjuliet  orapwdupdb2</p>
<p>hostC2 : $ORACLE_HOME/dbs ln –s /u03/oradata/Juliet/orapwjuliet  orapwdupdb3</p>
<p>hostD2 : $ORACLE_HOME/dbs ln –s /u03/oradata/Juliet/orapwjuliet  orapwdupdb4</p>
<p>on each host create the following init.ora </p>
<p>hostA2  initjuliet1.ora   containing SPFILE=&#8217;/u03/oradata/dupdb/spfiledupdb.ora&#8217;</p>
<p>hostB2  initjuliet1.ora   containing SPFILE=&#8217;/u03/oradata/dupdb/spfiledupdb.ora&#8217;</p>
<p>hostC2  initjuliet1.ora   containing SPFILE=&#8217;/u03/oradata/dupdb/spfiledupdb.ora&#8217;</p>
<p>hostD2  initjuliet1.ora   containing SPFILE=&#8217;/u03/oradata/dupdb/spfiledupdb.ora&#8217;</p>
<p>add the following entries on each host /etc/oratab</p>
<p><span style="text-decoration:underline;">hostA2         </span></p>
<p>juliet1:/u01/app/oracle/product/11.2.0/db_1:N     </p>
<p><span style="text-decoration:underline;">hostB2</span></p>
<p>juliet2:/u01/app/oracle/product/11.2.0/db_1:N     </p>
<p><span style="text-decoration:underline;">hostC2</span></p>
<p>juliet3:/u01/app/oracle/product/11.2.0/db_1:N     </p>
<p><span style="text-decoration:underline;">hostD2</span></p>
<p>juliet4:/u01/app/oracle/product/11.2.0/db_1:N     </p>
<p>On hostA2 where the database was created</p>
<p>Mount the database</p>
<p>Export ORACLE_SID=juliet1</p>
<p>SQL&gt; connect / as sysdba</p>
<p>SQL&gt; startup mount</p>
<p>SQL&gt; alter system set cluster_database=TRUE scope=spfile sid=’*’</p>
<p>SQL&gt; shutdown immediate</p>
<p>Start up instances or databases using srvctl</p>
<p>srvctl start instance –d Juliet –I juliet1</p>
<p>Srvctl start instance –d Juliet –I juliet2</p>
<p>Srvctl start instance –d Juliet –I juliet3</p>
<p>Srvctl start instance –d Juliet –I juliet4</p>
<p>9   <strong>Add the database to OEM</strong></p>
<p> You might get the following issues in OEM</p>
<p> Service romeoXDB and romeo  and any services that existed in romeo is down alert in GRID Control</p>
<p> Refer to the following article for a resolution and how to avoid the problem</p>
<p> <a href="http://managingoracle.blogspot.com/2011/01/service-xdb-is-down-alert-in-grid.html"><span style="color:#800080;">http://managingoracle.blogspot.com/2011/01/service-xdb-is-down-alert-in-grid.html</span></a></p>
<p> To resolve the problem  if  the services are not relevant  delete them</p>
<p> SQL&gt; exec dbms_service.delete_service(‘romeoXDB’) ;</p>
<p>SQL&gt; exec dbms_service.delete_service(‘romeo’) ;</p>
<p><span style="text-decoration:underline;"><strong>useful web links </strong></span></p>
<p><a href="http://oraexplorer.com/2007/11/rman-duplicate/">http://oraexplorer.com/2007/11/rman-duplicate/</a></p>
<p><a href="http://www.colestock.com/blogs/2007/09/how-to-duplicate-rac-database-using.html">http://www.colestock.com/blogs/2007/09/how-to-duplicate-rac-database-using.html</a></p>
<p><a href="http://www.oracleracexpert.com/2009/12/duplicate-rac-database-using-rman.html">http://www.oracleracexpert.com/2009/12/duplicate-rac-database-using-rman.html</a></p>
<p><a href="http://surachartopun.com/2009/11/duplicate-without-connection-to-target.html">http://surachartopun.com/2009/11/duplicate-without-connection-to-target.html</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdesouza.wordpress.com/760/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdesouza.wordpress.com/760/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdesouza.wordpress.com/760/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdesouza.wordpress.com/760/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdesouza.wordpress.com/760/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdesouza.wordpress.com/760/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdesouza.wordpress.com/760/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdesouza.wordpress.com/760/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdesouza.wordpress.com/760/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdesouza.wordpress.com/760/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdesouza.wordpress.com/760/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdesouza.wordpress.com/760/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdesouza.wordpress.com/760/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdesouza.wordpress.com/760/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=760&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdesouza.wordpress.com/2012/01/20/duplicate-rac-database-to-another-new-rac-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/45e3b751417852a3040ca49ac6f518d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikey</media:title>
		</media:content>
	</item>
		<item>
		<title>EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet</title>
		<link>http://mdesouza.wordpress.com/2011/12/14/emd-upload-error-uploadxmlfiles-skipped-oms-version-not-checked-yet/</link>
		<comments>http://mdesouza.wordpress.com/2011/12/14/emd-upload-error-uploadxmlfiles-skipped-oms-version-not-checked-yet/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 11:41:10 +0000</pubDate>
		<dc:creator>mikey</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://mdesouza.wordpress.com/?p=753</guid>
		<description><![CDATA[if you encounter the following status to fix it do the following - emctl stop agent - delete all files in $AGENT_HOME/sysman/emd/upload and $AGENT_HOME/sysman/emd/state - emctl clearstate agent (this should delete all state files but sometimes it is not enough, but I experienced that it is better to use this command after deletion of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=753&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>if you encounter the following status</p>
<p><pre class="brush: plain;">

C:\Documents and Settings\SYSMAN&gt;emctl status agent
Oracle Enterprise Manager 10g Release 10.2.0.2.0.
Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.


Agent Version : 10.2.0.2.0
OMS Version : 10.2.0.2.0
Protocol Version : 10.2.0.2.0
Agent Home : D:\oracle\agent10g
Agent binaries : D:\oracle\agent10g
Agent Process ID : 4008
Agent URL : &lt;a href=&quot;http://usnapipca20.nalco.one.net:3872/emd/main/&quot;&gt;http://USNAPIPCA20.Nalco.One.Net:3872/emd/main/&lt;/a&gt;
Repository URL : &lt;a href=&quot;http://usnapoems11.nalco.one.net:1159/em/upload/&quot;&gt;http://usnapoems11.nalco.one.net:1159/em/upload/&lt;/a&gt;
Started at : 2007-06-07 13:55:38
Started by user : SYSTEM
Last Reload : 2007-06-07 13:57:53
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 173
Size of XML files pending upload(MB) : 30.52
Available disk space on upload filesystem : 11.07%
Last attempted heartbeat to OMS : 2007-06-07 17:12:30
Last successful heartbeat to OMS : unknown

Agent is Running and Ready

</pre></p>
<p>to fix it do the following</p>
<p>- emctl stop agent<br />
- delete all files in $AGENT_HOME/sysman/emd/upload and $AGENT_HOME/sysman/emd/state<br />
- emctl clearstate agent (this should delete all state files but sometimes it is not enough, but I experienced that it is better to use this command after deletion of the files)<br />
- emctl secure agent (and specify the password on demand)<br />
- emctl start agent</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdesouza.wordpress.com/753/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdesouza.wordpress.com/753/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdesouza.wordpress.com/753/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdesouza.wordpress.com/753/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdesouza.wordpress.com/753/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdesouza.wordpress.com/753/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdesouza.wordpress.com/753/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdesouza.wordpress.com/753/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdesouza.wordpress.com/753/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdesouza.wordpress.com/753/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdesouza.wordpress.com/753/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdesouza.wordpress.com/753/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdesouza.wordpress.com/753/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdesouza.wordpress.com/753/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=753&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdesouza.wordpress.com/2011/12/14/emd-upload-error-uploadxmlfiles-skipped-oms-version-not-checked-yet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/45e3b751417852a3040ca49ac6f518d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikey</media:title>
		</media:content>
	</item>
		<item>
		<title>Collection status : Disabled by Upload Manager</title>
		<link>http://mdesouza.wordpress.com/2011/11/23/collection-status-disabled-by-upload-manager/</link>
		<comments>http://mdesouza.wordpress.com/2011/11/23/collection-status-disabled-by-upload-manager/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 12:11:42 +0000</pubDate>
		<dc:creator>mikey</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://mdesouza.wordpress.com/2011/11/23/collection-status-disabled-by-upload-manager/</guid>
		<description><![CDATA[When querying the status of the agent i noticed the collection status  showing Disabled by upload manager oracle@sausalito:/u01/app/oracle/product/11.2.0/agent/agent11g &#62; emctl status agent Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0 Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Agent Version     : 11.1.0.1.0 OMS Version       : 11.1.0.1.0 Protocol Version  : 11.1.0.0.0 Agent Home        [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=750&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When querying the status of the agent i noticed the collection status  showing Disabled by upload manager</p>
<p>oracle@sausalito:/u01/app/oracle/product/11.2.0/agent/agent11g &gt; emctl status agent<br />
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0<br />
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Agent Version     : 11.1.0.1.0<br />
OMS Version       : 11.1.0.1.0<br />
Protocol Version  : 11.1.0.0.0<br />
Agent Home        : /u01/app/oracle/product/11.2.0/agent/agent11g/sausalito.cpp-group.com<br />
Agent binaries    : /u01/app/oracle/product/11.2.0/agent/agent11g<br />
Agent Process ID  : 24039<br />
Parent Process ID : 24033<br />
Agent URL         : https://sausalito.cpp-group.com:3872/emd/main<br />
Repository URL    : https://uk-yo-dbmon01.cpp-group.com:4900/em/upload<br />
Started at        : 2011-11-23 11:16:23<br />
Started by user   : oracle<br />
Last Reload       : 2011-11-23 11:16:23<br />
Last successful upload                       : (none)<br />
Last attempted upload                        : (none)<br />
Total Megabytes of XML files uploaded so far :     0.00<br />
Number of XML files pending upload           :      210<br />
Size of XML files pending upload(MB)         :    50.52<br />
Available disk space on upload filesystem    :    60.23%<br />
<strong>Collection Status                            : Disabled by Upload Manager</strong><br />
Last successful heartbeat to OMS             : 2011-11-23 11:37:37<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Agent is Running and Ready</p>
<p>When I tried to upload manually i received the following message</p>
<p>oracle@sausalito:/u01/app/oracle/product/11.2.0/agent/agent11g/sysman/emd &gt; emctl upload agent<br />
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0<br />
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
EMD upload error: Failed to upload file A0000005.xml: HTTP error.<br />
Response received: ERROR-400|Data will be rejected for upload from agent &#8216;https://sausalito.cpp-group.com:3872/emd/main&#8217;, max size limit for direct load exceeded [8324170/5242880]</p>
<p>To fix the problem i  removed the file from $AGENT_HOME//u01/app/oracle/product/11.2.0/agent/agent11g/sausalito.iii-group.com/sysman/emd/upload</p>
<p>I then restarted the agent</p>
<p>oracle@sausalito:/u01/app/oracle/product/11.2.0/agent/agent11g/sausalito.cpp-group.com/sysman/emd/upload &gt; emctl status agent<br />
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0<br />
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Agent Version     : 11.1.0.1.0<br />
OMS Version       : 11.1.0.1.0<br />
Protocol Version  : 11.1.0.0.0<br />
Agent Home        : /u01/app/oracle/product/11.2.0/agent/agent11g/sausalito.cpp-group.com<br />
Agent binaries    : /u01/app/oracle/product/11.2.0/agent/agent11g<br />
Agent Process ID  : 27951<br />
Parent Process ID : 27945<br />
Agent URL         : https://sausalito.cpp-group.com:3872/emd/main<br />
Repository URL    : https://uk-yo-dbmon01.cpp-group.com:4900/em/upload<br />
Started at        : 2011-11-23 11:58:22<br />
Started by user   : oracle<br />
Last Reload       : 2011-11-23 11:58:22<br />
Last successful upload                       : 2011-11-23 11:59:02<br />
Total Megabytes of XML files uploaded so far :     0.48<br />
Number of XML files pending upload           :        3<br />
Size of XML files pending upload(MB)         :     1.18<br />
Available disk space on upload filesystem    :    60.27%<br />
Last successful heartbeat to OMS             : 2011-11-23 11:58:36<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Agent is Running and Ready</p>
<p>Also refer to the following document from metalink , should should resolve the problem from happening again</p>
<p>Agent Upload to OMS Fails with &#8220;ERROR-400|Data will be rejected for upload from agent &#8230; max size limit for direct load exceeded&#8221; [<strong>ID 359097.1</strong>]</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdesouza.wordpress.com/750/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdesouza.wordpress.com/750/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdesouza.wordpress.com/750/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdesouza.wordpress.com/750/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdesouza.wordpress.com/750/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdesouza.wordpress.com/750/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdesouza.wordpress.com/750/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdesouza.wordpress.com/750/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdesouza.wordpress.com/750/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdesouza.wordpress.com/750/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdesouza.wordpress.com/750/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdesouza.wordpress.com/750/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdesouza.wordpress.com/750/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdesouza.wordpress.com/750/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=750&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdesouza.wordpress.com/2011/11/23/collection-status-disabled-by-upload-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/45e3b751417852a3040ca49ac6f518d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikey</media:title>
		</media:content>
	</item>
		<item>
		<title>Sync your standby database with primary using RMAN if gap is excessive</title>
		<link>http://mdesouza.wordpress.com/2011/10/14/sync-your-standby-database-with-primary-using-rman-if-gap-is-excessive/</link>
		<comments>http://mdesouza.wordpress.com/2011/10/14/sync-your-standby-database-with-primary-using-rman-if-gap-is-excessive/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 11:32:23 +0000</pubDate>
		<dc:creator>mikey</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://mdesouza.wordpress.com/?p=700</guid>
		<description><![CDATA[Useful document by Girish B. Wankhede and Ajinkya S. Halwalkar recover standby database<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=700&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Useful document by Girish B. Wankhede and Ajinkya S. Halwalkar</p>
<p><a href="http://mdesouza.files.wordpress.com/2011/10/recover-standby-database.pdf">recover standby database</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdesouza.wordpress.com/700/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdesouza.wordpress.com/700/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdesouza.wordpress.com/700/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdesouza.wordpress.com/700/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdesouza.wordpress.com/700/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdesouza.wordpress.com/700/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdesouza.wordpress.com/700/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdesouza.wordpress.com/700/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdesouza.wordpress.com/700/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdesouza.wordpress.com/700/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdesouza.wordpress.com/700/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdesouza.wordpress.com/700/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdesouza.wordpress.com/700/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdesouza.wordpress.com/700/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=700&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdesouza.wordpress.com/2011/10/14/sync-your-standby-database-with-primary-using-rman-if-gap-is-excessive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/45e3b751417852a3040ca49ac6f518d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikey</media:title>
		</media:content>
	</item>
		<item>
		<title>Recreate oraInventory (Central Inventory) in Real Application Clusters.</title>
		<link>http://mdesouza.wordpress.com/2011/10/10/recreate-orainventory-central-inventory-in-real-application-clusters/</link>
		<comments>http://mdesouza.wordpress.com/2011/10/10/recreate-orainventory-central-inventory-in-real-application-clusters/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 16:04:42 +0000</pubDate>
		<dc:creator>mikey</dc:creator>
				<category><![CDATA[Oracle Rac]]></category>

		<guid isPermaLink="false">http://mdesouza.wordpress.com/?p=694</guid>
		<description><![CDATA[When you execute opatch lsinventory -detail , the product and components within the Oracle Home are not listed. The cause could be missing or corrupted Oracle home inventory  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=694&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When you execute opatch lsinventory -detail , the product and components within the Oracle Home are not listed. The cause could be missing or corrupted Oracle home inventory  </p>
<p><pre class="brush: plain;">

1-Locate the central inventory
cat /etc/oraInst.loc or /var/opt/oracle/oraInst.loc (Platform specific)

2-Take a back up of central inventory or rename in all the nodes.
mv oraInventory oraInventory.orig

3-cd $ORACLE_HOME/oui/bin

4-Execute runInstaller with attachHome option for OraCrsHome.

./runInstaller -silent -ignoreSysPrereqs -attachHome ORACLE_HOME=&quot;&lt;10g Ora_Crs_Home Path&gt;&quot; ORACLE_HOME_NAME=&quot;&lt;Name of oracleCRSHome&gt;&quot; LOCAL_NODE='node1' CLUSTER_NODES=node1,node2 CRS=true

for ex:
./runInstaller -silent -ignoreSysPrereqs -attachHome ORACLE_HOME=&quot;/u01/app/oracle/product/10.2.0/crs_1&quot; ORACLE_HOME_NAME=&quot;OraCrs10g_home&quot; LOCAL_NODE='rac1' CLUSTER_NODES=rac1,rac2 CRS=true

5-Execute runInstaller with attachHome option for OraDbHome
./runInstaller -silent -ignoreSysPrereqs -attachHome ORACLE_HOME=&quot;&lt;10g Oracle_Home Path&gt;&quot; ORACLE_HOME_NAME=&quot;&lt;Name of oracleHome&gt;&quot; LOCAL_NODE='node1' CLUSTER_NODES=node1,node2

for ex:
./runInstaller -silent -ignoreSysPrereqs -attachHome ORACLE_HOME=&quot;/u01/app/oracle/product/10.2.0/db_1&quot; ORACLE_HOME_NAME=&quot;OraDb10g_home1&quot; LOCAL_NODE='rac1' CLUSTER_NODES=rac1,rac2 
6-Verify the inventory creation in all the nodes.

7-Verify and compare XML files size inside oraInventory/ContentsXML across all the nodes.

</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdesouza.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdesouza.wordpress.com/694/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdesouza.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdesouza.wordpress.com/694/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdesouza.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdesouza.wordpress.com/694/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdesouza.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdesouza.wordpress.com/694/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdesouza.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdesouza.wordpress.com/694/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdesouza.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdesouza.wordpress.com/694/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdesouza.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdesouza.wordpress.com/694/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=694&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdesouza.wordpress.com/2011/10/10/recreate-orainventory-central-inventory-in-real-application-clusters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/45e3b751417852a3040ca49ac6f518d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikey</media:title>
		</media:content>
	</item>
		<item>
		<title>Upgrading a database manually from 11.2.0.2 to 11.2.0.3 linux</title>
		<link>http://mdesouza.wordpress.com/2011/09/28/upgrading-a-database-manually-from-11-2-0-2-to-11-2-0-3-linux/</link>
		<comments>http://mdesouza.wordpress.com/2011/09/28/upgrading-a-database-manually-from-11-2-0-2-to-11-2-0-3-linux/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 09:45:58 +0000</pubDate>
		<dc:creator>mikey</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://mdesouza.wordpress.com/?p=672</guid>
		<description><![CDATA[Steps for upgrading a database manually backup up the database Prepare the new oracle home Copy the spfile and password file from $OLD_ORACLE_HOME/dbs to $NEW_ORACLE_HOME If you are upgrading a cluster database , then set the CLUSTER_DATABASE initialization parameter to false Upgrade the database 1. Shutdown the instance SQL&#62; SHUTDOWN IMMEDIATE ; 2. Amend the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=672&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration:underline;"><strong>Steps for upgrading a database manually</strong></span></p>
<p>backup up the database</p>
<p><pre class="brush: plain;">
rman &quot;target / nocatalog&quot;
RUN
{
ALLOCATE CHANNEL chan_name TYPE DISK;
BACKUP DATABASE FORMAT 'some_backup_directory%U' TAG before_upgrade;
BACKUP CURRENT CONTROLFILE FORMAT 'controlfile location and name';
}
</pre></p>
<p><span style="text-decoration:underline;"><strong>Prepare the new oracle home</strong></span></p>
<p>Copy the spfile and password file from $OLD_ORACLE_HOME/dbs to $NEW_ORACLE_HOME</p>
<p>If you are upgrading a cluster database , then set the CLUSTER_DATABASE initialization parameter to false</p>
<p><span style="text-decoration:underline;"><strong>Upgrade the database</strong></span></p>
<p>1. Shutdown the instance</p>
<p>SQL&gt; SHUTDOWN IMMEDIATE ;</p>
<p>2. Amend the entry in /etc/oratab for the database you are upgrading to point to the new home<br />
RMANCATPR:/u01/app/oracle/product/11.2.0.3/db_1:N</p>
<p>3. The following environment variables point to the Oracle Database 11g Release 2 (11.2.0.3) directories:<br />
ORACLE_HOME<br />
PATH</p>
<p>4. Log in to the system as the owner of the Oracle Database 11g Release 2 (11.2.0.3) Oracle home directory</p>
<p>5. At a system prompt, change to the <code>ORACLE_HOME/rdbms/admi</code>n directory</p>
<p>6. Start SQL*Plus.</p>
<p>7. Connect to the database instance as a user with <code>SYSDBA</code> privileges.</p>
<p>8. Start the instance by issuing the following command:</p>
<p>SQL&gt; STARTUP UPGRADE</p>
<p>9. Set the system to spool results to a log file for later verification of success:<br />
SQL&gt; spool /tmp/upgrade.log</p>
<p>10. Run the Pre-Upgrade Information Tool by executing the <code>utlu112i.sql</code> script:<br />
SQL&gt; @utlu112i.sql</p>
<p>11. Run the <code>catupgrd.sql</code> script:<br />
SQL&gt; @catupgrd.sql</p>
<p>12. Restart the instance to reinitialize the system parameters for normal operation.<br />
SQL&gt; STARTUP</p>
<p>13. Run utlu112s.sql, the Post-Upgrade Status Tool, which provides a summary of the upgrade at the end of the spool log.<br />
Run utlu112s.sql to display the results of the upgrade as follows:<br />
SQL&gt; @utlu112s.sql</p>
<p>14. Run catuppst.sql, located in the ORACLE_HOME/rdbms/admin directory, to perform upgrade actions that do not require<br />
the database to be in UPGRADE mode:<br />
SQL&gt; @rdbms/admin/catuppst.sql</p>
<p>15. Run utlrp.sql to recompile any remaining stored PL/SQL and Java code.<br />
SQL&gt; @utlrp.sql</p>
<p>Verify that all expected packages and classes are valid:<br />
SQL&gt; SELECT count(*) FROM dba_invalid_objects;<br />
SQL&gt; SELECT distinct object_name FROM dba_invalid_objects;</p>
<p>16. Exit SQL*Plus.</p>
<p>17. If you are upgrading a cluster database from releases 10.2, 11.1, or 11.2.0.1, then upgrade the database configuration in Oracle Clusterware using the following command:</p>
<p>$ srvctl upgrade database -d db-unique-name -o oraclehome<br />
where db-unique-name is the database name assigned to it (not the instance name), and oraclehome is the Oracle home location in which the database is being upgraded.</p>
<p><span style="text-decoration:underline;"><strong>Rerunning the Upgrade</strong></span></p>
<p>You can rerun the upgrade with the catupgrd.sql script as described in the following steps.</p>
<p>To rerun the upgrade</p>
<p>1.Shut down the database as follows:</p>
<p>SQL&gt; SHUTDOWN IMMEDIATE<br />
2.Restart the database in UPGRADE mode:</p>
<p>SQL&gt; STARTUP UPGRADE<br />
3.Set the system to spool results to a log file for later verification of success:</p>
<p>SQL&gt; SPOOL upgrade.log<br />
4.Rerun catupgrd.sql:</p>
<p>SQL&gt; @catupgrd.sql<br />
Note:</p>
<p>You can rerun the catupgrd.sql script as many times as necessary. The first time you run the script, there should be no error messages returned. If you rerun the script, then the ORA-00001 message is displayed. You can safely ignore this message.<br />
5.Rerun utlu112s.sql:</p>
<p>SQL&gt; @utlu112s.sql</p>
<p>&nbsp;</p>
<p>&nbsp;<br />
<span style="text-decoration:underline;"><strong>Cancelling the Upgrade</strong></span></p>
<p>If you completed the steps in &#8220;Backing Up the Database&#8221; to back up your database,<br />
then the easiest way to cancel the upgrade is to restore that backup as described in the following procedure.</p>
<p>To cancel the upgrade by restoring the previous backup</p>
<p>1.Log in to the system as the owner of the Oracle home directory of the previous release.</p>
<p>2.Sign on to RMAN:</p>
<p>rman &#8220;target / nocatalog&#8221;<br />
3.Issue the following RMAN commands:</p>
<p>STARTUP NOMOUNT<br />
RUN<br />
{<br />
    RESTORE CONTROLFILE FROM &#8216;save_controlfile_location&#8217;;<br />
    ALTER DATABASE MOUNT;<br />
    RESTORE DATABASE FROM TAG before_upgrade<br />
    ALTER DATABASE OPEN RESETLOGS;<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdesouza.wordpress.com/672/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdesouza.wordpress.com/672/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdesouza.wordpress.com/672/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdesouza.wordpress.com/672/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdesouza.wordpress.com/672/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdesouza.wordpress.com/672/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdesouza.wordpress.com/672/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdesouza.wordpress.com/672/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdesouza.wordpress.com/672/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdesouza.wordpress.com/672/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdesouza.wordpress.com/672/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdesouza.wordpress.com/672/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdesouza.wordpress.com/672/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdesouza.wordpress.com/672/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdesouza.wordpress.com&amp;blog=9005860&amp;post=672&amp;subd=mdesouza&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdesouza.wordpress.com/2011/09/28/upgrading-a-database-manually-from-11-2-0-2-to-11-2-0-3-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/45e3b751417852a3040ca49ac6f518d5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikey</media:title>
		</media:content>
	</item>
	</channel>
</rss>
