<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;AkEDQX84eCp7ImA9WhVTEEQ.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681</id><updated>2012-02-24T16:51:10.130+01:00</updated><category term="space" /><category term="table" /><category term="ORA-27123 shared memory IBM AIX Error 13 Permission Denied" /><category term="oprocd" /><category term="cluster" /><category term="rac" /><category term="reboot" /><category term="reorganize" /><category term="aix" /><category term="stripe" /><category term="RAC startup problem no logging" /><category term="prkp" /><category term="unident of disk asm" /><category term="grid control 11g install aix 5.3" /><category term="asm" /><category term="shrink" /><category term="install oracle agent 11g on aix rac" /><category term="use oracle configuration manager" /><category term="dbca" /><category term="crs" /><category term="monitor" /><category term="Oracle index administration data warehouse" /><category term="resource" /><category term="script" /><category term="performance" /><category term="SAN" /><category term="sga_target asmm amm" /><category term="asm views under the hood" /><title>Managing Oracle</title><subtitle type="html">This blog is about Managing Oracle databases, a day-to-day job for many.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://managingoracle.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>29</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/ManagingOracle" /><feedburner:info uri="managingoracle" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;D0QMQnw9fyp7ImA9WhRaFEs.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-5507406949928951596</id><published>2011-12-29T09:36:00.003+01:00</published><updated>2012-02-17T08:56:23.267+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-17T08:56:23.267+01:00</app:edited><title>Oracle Enterprise Manager Packs Enabled by Default</title><content type="html">When you've installed Oracle Enterprise Manager Grid Control and you have configured Management Agents for database monitoring, all your databases will show up in the Grid Control application.&lt;br /&gt;
&lt;br /&gt;
We have found a 'glitch' in this behaviour that in my opinion is very misleading.&lt;br /&gt;
&lt;br /&gt;
When a database target is added/discovered in Grid Control, all possible Packs are enabled by default.&lt;br /&gt;
This means that if you're running Standard Edition databases, you're violating the SE-license using e.g. the Diagnostic Pack as soon as your database is discovered in Grid Control.&lt;br /&gt;
&lt;br /&gt;
Make sure that you reconfigure the Management Pack Access immediately after a database target is discovered. Pack usage is registered in the database, so when a license check may occur, the usage is shown/seen in the database.&lt;br /&gt;
The "Management Pack Access" option can be found through the "Setup" option in the top-right of the screen.&lt;br /&gt;
&lt;br /&gt;
We have not been able to find a way to disable this behaviour where the packs are enabled by default.&lt;br /&gt;
If anyone has an idea or a tip, please let me know.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-5507406949928951596?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/f8OjSMMm43AVwZ8On6KGoX3tOqA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/f8OjSMMm43AVwZ8On6KGoX3tOqA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/f8OjSMMm43AVwZ8On6KGoX3tOqA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/f8OjSMMm43AVwZ8On6KGoX3tOqA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/UMczDzobF_c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/5507406949928951596/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2011/12/oracle-enterprise-manager-packs-enabled.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/5507406949928951596?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/5507406949928951596?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/UMczDzobF_c/oracle-enterprise-manager-packs-enabled.html" title="Oracle Enterprise Manager Packs Enabled by Default" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2011/12/oracle-enterprise-manager-packs-enabled.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU4BR3s9cSp7ImA9WhRRGEw.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-4679947510206087625</id><published>2011-12-02T08:54:00.001+01:00</published><updated>2011-12-02T09:19:16.569+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-02T09:19:16.569+01:00</app:edited><title>Oracle printing problem</title><content type="html">A printing problem with Oracle ??&lt;br /&gt;
&lt;br /&gt;
Now I must dissapoint you all, if you really have some kind of printing problem related to an Oracle database installation.&lt;br /&gt;
This blog is about something totally different.&lt;br /&gt;
It handles about a printing problem and it is related to Oracle, but it is not technically related to Oracle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The other day I was printing an Oracle manual about ASM, the Oracle 11g Storage Administration Guide. After having printed half of the document, the printer paused for a couple of seconds then went on printing.&lt;br /&gt;
When removing the document I detected that after the point where it had paused, the document was malformed. That is, the characters where unreadable, but the layout of the document was correct.&lt;br /&gt;
The image below shows how one page of the document looked like:&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-fFWKVytCsYE/TtiGdwfvWhI/AAAAAAAAAhw/OfGGNx9Mm98/s1600/ScrambledDoc.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="640" src="http://1.bp.blogspot.com/-fFWKVytCsYE/TtiGdwfvWhI/AAAAAAAAAhw/OfGGNx9Mm98/s640/ScrambledDoc.jpg" width="439" /&gt;&lt;/a&gt;&lt;/div&gt;
At first glance this page looks quite normal.&lt;br /&gt;
However, as said above it contains unreadable information.&lt;br /&gt;
&lt;br /&gt;
But in fact it isn't. It is not quite unreadable.&lt;br /&gt;
It is a very consequent printer hick-up. The printer did something wrong and continued this until the end of the document.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When I reprinted the failed part, I discovered what went wrong.&lt;br /&gt;
&lt;br /&gt;
Because the layout of the document was exactly correct, compared to the same reprinted page, we started looking at the page more carefully.&lt;br /&gt;
&lt;br /&gt;
The first thing we noticed was the page number. On the correctly printerd (original) page this page should have been page "6-7". On the malformed document however, the page number was "7.8"&lt;br /&gt;
&lt;br /&gt;
If you translate this to ASCII table values the correct page number is represented by "36-2D-37". the malformed page number is represented by "37-2E-38".&lt;br /&gt;
&lt;br /&gt;
Here is is quickly seen that all characters in the document have been replaced by the next character in the ASCII table. So an "A" is replaced by a "B" an "M" by an "N" etc..etc..&lt;br /&gt;
Funny to see, is that the layout was preserved and also the character spacing of the document. So however in the malformed document e.g an "n" was printed, it used the character space of the letter that should have been printed, the "m".&lt;br /&gt;
This is clearly seen in the last blue item, starting with "Ben jojt.....", what should have read "Adminis...".&lt;br /&gt;
&lt;br /&gt;
For those who would like to see the original page, I've included it below.&lt;br /&gt;
&lt;br /&gt;
Finally I would like to say, that it is just a printer hick-up, nothing related to Oracle whatsoever, but since I've never seen something strange like this in my whole IT career, I thought it was funny to share.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-ACqwNzMErKc/TtiJ8LKE6PI/AAAAAAAAAh4/shd537I9z2I/s1600/RealPageDoc.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="640" src="http://4.bp.blogspot.com/-ACqwNzMErKc/TtiJ8LKE6PI/AAAAAAAAAh4/shd537I9z2I/s640/RealPageDoc.jpg" width="440" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-4679947510206087625?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/n7k7gf3RP02mvVDlzQIFyOzC5E0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/n7k7gf3RP02mvVDlzQIFyOzC5E0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/n7k7gf3RP02mvVDlzQIFyOzC5E0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/n7k7gf3RP02mvVDlzQIFyOzC5E0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/a7zpq1y2Cxg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/4679947510206087625/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2011/12/oracle-printing-problem.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/4679947510206087625?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/4679947510206087625?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/a7zpq1y2Cxg/oracle-printing-problem.html" title="Oracle printing problem" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-fFWKVytCsYE/TtiGdwfvWhI/AAAAAAAAAhw/OfGGNx9Mm98/s72-c/ScrambledDoc.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2011/12/oracle-printing-problem.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUARXw7eyp7ImA9WhRRFEo.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-3163770999706227168</id><published>2011-11-28T10:01:00.001+01:00</published><updated>2011-11-28T10:40:44.203+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-28T10:40:44.203+01:00</app:edited><title>Tablespace reorganization</title><content type="html">In our datawarehouse we often run into the "problem" that tablespaces contain a lot of free space within the tablespace itself. Most of the time, this is caused by the fact that the warehouse programs first build up new objects and afterwards destroy old objects.&lt;br /&gt;
In the future we might need to have a more definitive solution for this, like converting the tablespaces to one with an uniform size.&lt;br /&gt;
&lt;br /&gt;
However until then I use to do a tablespace reorganization. This means I pick a block_id of the tablespace datafile, somewhere around the point of total usage.&lt;br /&gt;
&lt;br /&gt;
For this procedure to work, you need a tablespace that can temporary store the objects that lie beyond the free space in the tablespace you want to reclaim. This temporary store tablespace should NOT be an oracle temporary tablespace, but just a &lt;b&gt;permanent&lt;/b&gt;&amp;nbsp;tablespace that temporary can hold these objects.&lt;br /&gt;
It is preferred to create a seperate tablespace for this, as this can afterwards be removed again.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;How the reorganizing works:&lt;/b&gt;&lt;br /&gt;
E.g If we have a tablespace of 10Gb in size and its datafile ( let's assume we have a single file ), has 4Gb of free space, I use the following query to determine the upper-bound block_id:&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt;&amp;nbsp;select /*+ rule */&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;max(block_id)*0.7&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from dba_extents a,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;where a.tablespace_name='USERS' ;&lt;br /&gt;
&lt;br /&gt;
If a tablespace has more datafiles, then you need to specify a certain datafile by adding the the file_id column in the query. In that case first look up the datafile number by joining v$tablespace and v$datafile.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After the block_id has been calculated, I use the following complex query to generate table move and index rebuild statements:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;set pages 9999 lines 200&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;accept "Reorg tablespace : " &amp;amp;tabsource;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;accept "Temporary store tablespace (not TEMP) : " &amp;amp;tabtemp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;select distinct cmd from&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;(SELECT &amp;nbsp;/*+ rule */ &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'alter '&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; || DECODE (segment_type&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'TABLE SUBPARTITION', 'TABLE'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'TABLE PARTITION', 'TABLE'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'INDEX', 'INDEX'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'INDEX PARTITION', 'INDEX'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'TABLE','TABLE'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'TABLE' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- TABLE is the default &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;||' '&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;||owner&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;||'.'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| segment_name&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| ' '&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| DECODE (segment_type, 'INDEX', 'REBUILD','INDEX PARTITION','REBUILD','MOVE')&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| ' '&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| DECODE (segment_type&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'TABLE SUBPARTITION', 'SUBPARTITION'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'TABLE PARTITION', 'PARTITION'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'INDEX PARTITION','PARTITION')&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| ' '&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| partition_name&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| ' tablespace '&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| &amp;amp;tabtemp&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| DECODE (segment_type, 'INDEX', ' ONLINE','INDEX PARTITION',' ONLINE')&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| ';' cmd&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; FROM dba_extents&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;WHERE tablespace_name = &amp;amp;tabsource&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;--AND FILE_ID=10&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;AND block_id &amp;gt; [Calulated Block_size]) ;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the above query the use of FILE_ID is commented out. This because we assumed that we have only one datafile. Otherwise enter the file_id that you've found in v$datafile;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The result of this query is a lot of object-rebuild statements, that move tables and tablepartitions to the tablespace defined by &amp;amp;tabtemp. The indexes and index-partitions are online rebuild in the same tablespace.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Remember to SAVE the script, as you need it to move everything back to the original tablespace.&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Run the script outside business hours, as moving table objects will lock the tables, &amp;nbsp;invalidate indexes and all dependent packages/procedures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As soon as the script is finished, purge the tablespace of its 'recyclebin' contents, by issuing as SYS:&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; purge tablespace USERS;&lt;br /&gt;
&lt;br /&gt;
Afterwards the tablespace datafile can be shrunk to the desired size, preferably subtracting the size of the empty space in the beginning from the total datafile size.&lt;br /&gt;
As soon as that is finished, reopen the script you saved, edit it and change back all tablespace names, to the original source tablespace ( in this example USERS ).&lt;br /&gt;
Then rerun the script .&lt;br /&gt;
&lt;br /&gt;
Finally use UTLRP to rebuild all invalidated packages/procedure and indexes. Also, if you created a temporary tablespace for this procedure, drop that again.&lt;br /&gt;
&lt;br /&gt;
In our databases, this procedure usually frees lots of free space. Last week also I was able to return 29Gb of free space back to the OS.&lt;br /&gt;
&lt;br /&gt;
Copyright: This script can be freely used. If you use it as an explanation on your own site/blog, a link to the source (my blog) is appreciated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-3163770999706227168?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wkptyRV41kNIcHAOPlcEt6yxeik/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wkptyRV41kNIcHAOPlcEt6yxeik/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wkptyRV41kNIcHAOPlcEt6yxeik/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wkptyRV41kNIcHAOPlcEt6yxeik/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/SIA5aoZOFDk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/3163770999706227168/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2011/11/tablespace-reorganization.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/3163770999706227168?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/3163770999706227168?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/SIA5aoZOFDk/tablespace-reorganization.html" title="Tablespace reorganization" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2011/11/tablespace-reorganization.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUAQXw6fCp7ImA9WhRTF0s.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-104131573071785138</id><published>2011-11-08T15:40:00.001+01:00</published><updated>2011-11-08T15:40:40.214+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-08T15:40:40.214+01:00</app:edited><title>Which rights are Granted PUBLIC</title><content type="html">During a schema copy action from an old database to a new one, we ran into problems that certain packages where not compiled successfully.&lt;br /&gt;
Some dependencies failed, because the schema user in the new database failed to have execution priviliged on certain SYS packages, like DBMS_LOCK.&lt;br /&gt;
&lt;br /&gt;
The settings of both schema's where identical, so the rights must have been set in the past by using the PUBLIC account.&lt;br /&gt;
For those who don't know, the PUBLIC role is a role used for setting database global rights, which every user is allowed to have.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What I needed was a list of GRANT statements for the PUBLIC user that existed in the "old" database but not (yet) in the "new" database.&lt;br /&gt;
&lt;div&gt;
I started browsing the usual tables like DBA_ROLE_ROLES, DBA_ROLES, DBS_ROLE_PRIVS, but nowhere I could find the right for the PUBLIC role.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
After spending almost an hour on Google, I came accross a set of views called KU$_ROGRANT_VIEW, KU_SYSGRANT_VIEW and KU$_OBJGRANT_VIEW&lt;br /&gt;
&lt;br /&gt;
Especially the last one contained the information I was looking for. This table contains columns like 'GRANTEE', 'OBJ_NUM' and the privilege name 'PRIVNAME'.&lt;br /&gt;
Joining this table with DBA_OBJECTS, using the below query, resulted in -at least- the list with all EXECUTION grants for the PUBLIC role.&lt;br /&gt;
I was looking for these EXECUTION grants, because the uncompilable packages complained about dependencies, not about missing tables.&lt;br /&gt;
&lt;br /&gt;
The statement:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;SQL&amp;gt; SELECT &amp;nbsp; &amp;nbsp;'grant '&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| a.privname&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| ' on '&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| b.owner&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| '.'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| b.object_name&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| ' to '&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| a.grantee&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| ';'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; FROM KU$_OBJGRANT_VIEW a, dba_objects b&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;WHERE &amp;nbsp; &amp;nbsp; grantee = 'PUBLIC'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AND a.obj_num = b.object_id&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AND a.privname='EXECUTE'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AND b.object_name not like '%/%'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;order by b.object_name;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Using this statement on both the "old" and "new" database I was able to create a list of missing GRANT statements (there were 10 of them) that had to be executed on the "new" database.&lt;br /&gt;
&lt;br /&gt;
Afterwards all packages were compiled successfully.&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-104131573071785138?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/swwGjw1vUzvmfbLBcFm4Co-G1GQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/swwGjw1vUzvmfbLBcFm4Co-G1GQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/swwGjw1vUzvmfbLBcFm4Co-G1GQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/swwGjw1vUzvmfbLBcFm4Co-G1GQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/7Ve-YeLDg2g" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/104131573071785138/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2011/11/which-rights-are-granted-public.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/104131573071785138?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/104131573071785138?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/7Ve-YeLDg2g/which-rights-are-granted-public.html" title="Which rights are Granted PUBLIC" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2011/11/which-rights-are-granted-public.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0ICRX47cCp7ImA9WhdUGUo.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-3239187518996253653</id><published>2011-10-07T10:14:00.002+02:00</published><updated>2011-10-07T10:19:24.008+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-07T10:19:24.008+02:00</app:edited><title>Unregister RMAN database directly from catalog DB</title><content type="html">What DBA never moved databases to new hardware ??&lt;br /&gt;
And what DBA never forgot to unregister the database first from the RMAN catalog ??&lt;br /&gt;
&lt;br /&gt;
If you didn't unregister the database after a database move, then at those crucial moments, months or years later, you might end up facing a problem when trying to e.g. restore that database from backup.&lt;br /&gt;
&lt;br /&gt;
Imagine you're in the middle of disaster, the production database server crashed, management is breathing down your neck, and you need to restore this database as soon as possible.&lt;br /&gt;
You prepare a new server, install Oracle on it and immediately start the restore, but then disaster strikes again:&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class="Sql" name="code"&gt;RMAN&amp;gt; run {
2&amp;gt; allocate channel ch0 device type 'sbt';
3&amp;gt; restore controlfile;
4&amp;gt; }&lt;/pre&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;"&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;pre class="Sql" name="code"&gt;allocated channel: ch0
channel ch0: sid=147 instance=hkdrt1 devtype=SBT_TAPE
channel ch0: Veritas NetBackup for Oracle - Release 6.5 (2009050106)

Starting restore at 2009-DEC-03 11:57:20

released channel: ch0
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 12/03/2009 11:57:20
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20005: target database name is ambiguous&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
The restore fails, because RMAN does not know which of the databases known in the recovery catalog with the given SID needs to be restored.&lt;br /&gt;
You should have unregistered the old copy of the database years back, when you moved the database to that "new" server which now is totally dead.&lt;br /&gt;
You should have -maybe- tried a restore back then to make sure it worked !!&lt;br /&gt;
&lt;br /&gt;
But hey, even with the management in your back everything now goes smooth.&lt;br /&gt;
You have this blog guide to follow:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;First of all:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;Following this blog, you are directly administrating the RMAN catalog. Make sure you only follow the below procedure, do not manually delete records from any of the tables, or change any of the data, as you corrupt the catalog in doing so, rendering it totally useless&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to continue?&lt;br /&gt;
&lt;br /&gt;
We are going to use a database package that is installed in this catalog database. The package is called&amp;nbsp;&lt;b&gt;dbms_rcvcat &lt;/b&gt;and it has a procedure &lt;b&gt;unregisterdatabase &lt;/b&gt;that cleans out all information about a database by providing a database key (db_key) and a database id (db_id).&lt;br /&gt;
The statement to do this looks like:&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;SQL&amp;gt; exec dbms_rcvcat.unregisterdatabase(db_key,db_id);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Now we only need to find these db_key and db_id values.&lt;br /&gt;
First connect to the database which contains the RMAN catalog using whatever SQLplus program you like.&lt;br /&gt;
Find in the catalog the list of databases know to the catalog with this SID:&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;SQL&amp;gt; select db_key, db_name,&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;reset_time, dbinc_status&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from dbinc where db_name = 'YOURSID';&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The result is a list of registered databases with this SID name.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table border="1" cellpadding="1" cellspacing="1"&gt;
  &lt;tbody&gt;
&lt;tr&gt;
  &lt;th align="left" bgcolor="#C0C0C0" bordercolor="#FFFFFF"&gt;DB_KEY&lt;/th&gt;
  &lt;th align="left" bgcolor="#C0C0C0" bordercolor="#FFFFFF"&gt;DB_NAME&lt;/th&gt;
  &lt;th align="left" bgcolor="#C0C0C0" bordercolor="#FFFFFF"&gt;RESET_TIME&lt;/th&gt;
  &lt;th align="left" bgcolor="#C0C0C0" bordercolor="#FFFFFF"&gt;DBINC_STATUS&lt;/th&gt;
  &lt;/tr&gt;
&lt;tr&gt;    &lt;td&gt;&lt;div align="right"&gt;
411792&lt;/div&gt;
&lt;/td&gt;
    &lt;td&gt;YOURSID&lt;/td&gt;
    &lt;td&gt;7-11-2002 14:29:22&lt;/td&gt;
    &lt;td&gt;PARENT&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;    &lt;td&gt;&lt;div align="right"&gt;
411792&lt;/div&gt;
&lt;/td&gt;
    &lt;td&gt;YOURSID&lt;/td&gt;
    &lt;td&gt;24-10-2005 13:40:18&lt;/td&gt;
    &lt;td&gt;CURRENT&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;    &lt;td&gt;&lt;div align="right"&gt;
7455112&lt;/div&gt;
&lt;/td&gt;
    &lt;td&gt;YOURSID&lt;/td&gt;
    &lt;td&gt;10-10-2008 21:41:20&lt;/td&gt;
    &lt;td&gt;CURRENT&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
In this example a couple of records are shown for the same SID. If correctly configured a database has only one CURRENT record in the catalog. A CURRENT record represents a database that is - according to the RMAN catalog - currently an active representation of a running database.&lt;br /&gt;
Since however a database can have only one CURRENT incarnation the one with the most recent RESET_TIME is the actual CURRENT database registration.&lt;br /&gt;
A PARENT incarnation is a database incarnation from which the current incarnation branched following an OPEN RESETLOGS operation. It is therefore not always the case that a PARENT incarnation exists.&lt;br /&gt;
&lt;br /&gt;
In the above example the database registration with DB_KEY=7455112 seems to be the actual current database, as this one has the most recent reset_time.&lt;br /&gt;
This means we are going to unregister the database with the db_key equal to 411792;&lt;br /&gt;
&lt;br /&gt;
Now we only need to find the DB_ID that belongs to this database:&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;SQL&amp;gt; select db_key, db_id&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from db where db_key= 411792;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The result will look like:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table border="1" cellpadding="1" cellspacing="1"&gt;
  &lt;tbody&gt;
&lt;tr&gt;
  &lt;th align="left" bgcolor="#C0C0C0" bordercolor="#FFFFFF"&gt;DB_KEY&lt;/th&gt;
  &lt;th align="left" bgcolor="#C0C0C0" bordercolor="#FFFFFF"&gt;DB_ID&lt;/th&gt;
  &lt;/tr&gt;
&lt;tr&gt;    &lt;td&gt;&lt;div align="right"&gt;
411792&lt;/div&gt;
&lt;/td&gt;
    &lt;td&gt;&lt;div align="right"&gt;
412102591&lt;/div&gt;
&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
Now that we know the DB_KEY and the DB_ID, we can use the above mentioned procedure to unregister this database from the catalog:&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;SQL&amp;gt;&amp;nbsp;exec dbms_rcvcat.unregisterdatabase(411792,412102591);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Don't worry, this statement can run for minutes ( up to 10-15 minutes on our system )!!&lt;br /&gt;
&lt;br /&gt;
Afterwards re-run the select from the DBINC table again, and you'll see that the database registration has been removed from the catalog.&lt;br /&gt;
If a PARENT record existed for this DB_KEY, that record has also been deleted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Conclusion:&lt;br /&gt;
&lt;br /&gt;
The above procedure enables you to successfully clean out ( unregister ) databases from the RMAN catalog that do no longer exist.&lt;br /&gt;
This procedure also is a very risky procedure. Especially if one does now know what he is looking at, and expecially if the management team is breathing down your neck.&lt;br /&gt;
If you're in a disaster situation, where an immediate restore of a production environment is wanted, it is not the good time to do these kind of exercises.&lt;br /&gt;
If and when you enter by mistake the DB_KEY and DB_ID of the latest CURRENT incarnation ( the database you need to restore ) and you accidently press [Enter], then immediately start thinking about another job !!&lt;br /&gt;
Any restore of that particular database by means of RMAN then is no longer possible!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-3239187518996253653?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4q6eyBVDylav1AS5Yut0_T5xzaE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4q6eyBVDylav1AS5Yut0_T5xzaE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4q6eyBVDylav1AS5Yut0_T5xzaE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4q6eyBVDylav1AS5Yut0_T5xzaE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/stJTxm1ae4Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/3239187518996253653/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2011/10/unregister-rman-database-directly-from.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/3239187518996253653?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/3239187518996253653?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/stJTxm1ae4Y/unregister-rman-database-directly-from.html" title="Unregister RMAN database directly from catalog DB" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2011/10/unregister-rman-database-directly-from.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04DR3k9fyp7ImA9WhdUEkQ.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-2613536542693920669</id><published>2011-09-29T14:23:00.004+02:00</published><updated>2011-09-29T14:39:36.767+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-29T14:39:36.767+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ORA-27123 shared memory IBM AIX Error 13 Permission Denied" /><title>ORA-27123: Unable to attach a shared memory segment</title><content type="html">This morning we had another brainteaser starting one of our databases.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The situiation was as following:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
We have TEST/DEV server with a single Oracle 9.2.0.8 installation on it, installed as user "oracle"&lt;/div&gt;
&lt;div&gt;
Next to that there are several application users, called appt01, appt02, appt03 and appt04, all using this same ORACLE_HOME for their database.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
All databases were running fine this morning.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
We shutdown the appt01 to install a patch.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
When trying to restart the database, suddenly this error appeared:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;SQL&amp;gt; startup&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;ORA-27123: Unable to attach a shared memory segment&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;IBM AIX RISC System/6000 Error: 13: Permission denied
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using Google and MOS docs (115753.1 &amp;amp;167250.1), all information pointed to the incorrect file permissions of the "oracle" binary where the sticky bit has to be set. However this could be possible, because the patch installation rebuild this binary, it felt as not the correct reason. The file permssions were correct when looking at the file:&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;oracle@devrsv1% cd$ORACLE_HOME&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;oracle@devrsv1% ls -l ./bin/oracle&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;-rwsr-s--x &amp;nbsp; &amp;nbsp;1 oracle &amp;nbsp; dba &amp;nbsp; &amp;nbsp; 70518002 Sep 29 12:09 ./bin/oracle&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Investigating even more it was soon discovered that all other three database were able to stop and restart as expected. They showed no problems at all, even though they use the same ORACLE_HOME and settings.&lt;br /&gt;
&lt;br /&gt;
After hours of searching and looking at the system, I finally turned to the OS.&lt;br /&gt;
Because the error message showed something about shared memory, I started investigating into that direction.&lt;br /&gt;
As user root, we executed:&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;# ipcs -mob&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
This statement usually shows all active shared memory segments, their sizes and the owners of the segments. In our case, only the output header appeared:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;IPC status from /dev/mem as of Thu Sep 29 14:17:01 DFT 2011&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;T &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ID &amp;nbsp; &amp;nbsp; KEY &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MODE &amp;nbsp; &amp;nbsp; &amp;nbsp; OWNER &amp;nbsp; &amp;nbsp;GROUP NATTCH &amp;nbsp; &amp;nbsp; SEGSZ&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
Now this showed that something was really wrong with the OS shared memory administration.&lt;br /&gt;
The other three databases were running, but also from these three no shared memory was shown, not even mentioning the standard OS shared memory pools.&lt;br /&gt;
&lt;br /&gt;
We then decided to restart the complete server. And that solved the problem.&lt;br /&gt;
After the restart all databases started again as expected. Also the shared memory segments were correctly shown.&lt;br /&gt;
So even the error message displayed, usually points into the direction of the 'sticky bit' of the oracle binary, the problem can also be caused by a total shared memory problem of the system, caused by whatever reason.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-2613536542693920669?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HlF6PCjaiLk6sTpY0sQpPQxLz0s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HlF6PCjaiLk6sTpY0sQpPQxLz0s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HlF6PCjaiLk6sTpY0sQpPQxLz0s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HlF6PCjaiLk6sTpY0sQpPQxLz0s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/34M3sKLjO40" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/2613536542693920669/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2011/09/ora-27123-unable-to-attach-shared.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/2613536542693920669?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/2613536542693920669?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/34M3sKLjO40/ora-27123-unable-to-attach-shared.html" title="ORA-27123: Unable to attach a shared memory segment" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2011/09/ora-27123-unable-to-attach-shared.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04NR3s6eip7ImA9WhdUEkQ.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-127368853746502367</id><published>2011-09-28T13:49:00.000+02:00</published><updated>2011-09-29T14:39:56.512+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-29T14:39:56.512+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Oracle index administration data warehouse" /><title>Database Index administration</title><content type="html">I would like to share some PL/SQL code that enables us DBA's to do index maintenance. In our data warehouse there were a couple of procedures that saved very basic index information.&lt;br /&gt;
Then the indexes where dropped and after the warehouse load they were recreated.&lt;br /&gt;
The pitfall of these simple procedures was that they were not able to cope with partitioned indexes and other complex structures. These more complex indexes were rebuild as normal non-partitioned indexes afterwards.&lt;br /&gt;
&lt;br /&gt;
To be able to also rebuild partitioned and other index structures I rewrote the complete procedure, making effective use of the DBMS_METADATA package available in the SYS account.&lt;br /&gt;
&lt;br /&gt;
This DBMS_METADATA package has a function called GET_DDL that is able to return the DDL of any object in the database, like tablespaces, tables, indexes and others.&lt;br /&gt;
If you e.g. would want to know the DDL of the EMP table, simple use the following query:&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;SQL &amp;gt; select dbms_metadata.get_ddl ('TABLE','EMP') from dual;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Ofcourse the above statement needs to be executed as the owner of the table. If you want to execute it as SYS then you must supply the function with the table owner, like:&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;SQL&amp;gt; select sys.dbms_metadata.get_ddl('TABLE','EMP','SCOTT') from dual;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The result is a CLOB variable containing the DDL to (re)create the EMP table of user SCOTT:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp;CREATE TABLE "SCOTT"."EMP"&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp;(&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;"EMPNO" NUMBER(4,0) NOT NULL ENABLE,&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;"ENAME" VARCHAR2(10 CHAR),&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;"JOB" VARCHAR2(9 CHAR),&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;"MGR" NUMBER(4,0),&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;"HIREDATE" DATE,&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;"SAL" NUMBER(7,2),&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;"COMM" NUMBER(7,2),&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;"DEPTNO" NUMBER(2,0),&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt; CONSTRAINT "EMP_VALID_JOB" CHECK (job in ('CLERK','SALESMAN','MANAGER','ANALYST','PRESIDENT')) ENABLE,&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt; PRIMARY KEY ("EMPNO")&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; STORAGE(INITIAL 65536 NEXT 16384 MINEXTENTS 1 MAXEXTENTS 1017&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; PCTINCREASE 50 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; TABLESPACE "SYSTEM" &amp;nbsp;ENABLE&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp;) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; STORAGE(INITIAL 65536 NEXT 16384 MINEXTENTS 1 MAXEXTENTS 1017&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; PCTINCREASE 50 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; TABLESPACE "SYSTEM"&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The procedures I wrote uses a simple table for administration purposes. This table exists of four columns:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;INDEX_NAME of type VARCHAR(30)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;TABLE_NAME of type VARCHAR(30)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;QUERY of type CLOB&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;STMT_ORDER of type NUMBER(3)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The first three column are quite self-explaining. They contain the table_name, and index_name that is being dropped, and of course the query that is needed to recreate the index afterwards.&lt;br /&gt;
The last column STMT_ORDER determines the order of queries. This is important e.g. when creating primary-key indexes with extra constraints. The primary key needs to exist, before a constraint can be added to it.&lt;br /&gt;
&lt;br /&gt;
The DDL structure of this table looks like:&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;CREATE TABLE WBX_DDL_INDEXES&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;(&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp;INDEX_NAME &amp;nbsp; &amp;nbsp; VARCHAR2 (30 CHAR)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;, &amp;nbsp;TABLE_NAME &amp;nbsp; &amp;nbsp; VARCHAR2 (30 CHAR)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;, &amp;nbsp;QUERY &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CLOB&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;, &amp;nbsp;STMT_ORDER &amp;nbsp; &amp;nbsp; NUMBER (3)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;LOB (&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp;QUERY)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp;STORE AS&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp;(&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; TABLESPACE USERS&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ENABLE STORAGE IN ROW&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; CHUNK 16384&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; RETENTION&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; NOCACHE LOGGING)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;TABLESPACE USERS&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;LOGGING&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;NOCOMPRESS&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;NOCACHE&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;NOPARALLEL&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;MONITORING;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;CREATE UNIQUE INDEX WBX_DDL_INDEXES_PK&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp;ON WBX_DDL_INDEXES (INDEX_NAME, TABLE_NAME, STMT_ORDER)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp;NOLOGGING&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp;TABLESPACE TOOLS&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp;NOPARALLEL;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;ALTER TABLE WBX_DDL_INDEXES ADD&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; ( CONSTRAINT WBX_DDL_INDEXES_PK PRIMARY KEY&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (INDEX_NAME, TABLE_NAME, STMT_ORDER)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; USING INDEX WBX_DDL_INDEXES_PK ENABLE VALIDATE);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
There are two procedures written, the first responsible for dropping a given index, the second for recreating it. Note that the procedure take a table_name as argument, where one would maybe expect a table_name, index_name combination.&lt;br /&gt;
However, since we are using this is a large datawarehouse, all indexes of a given table are dropped. We therefore don't need to specify the index_name.&lt;br /&gt;
The "DROP_INDEX" procedure looks like:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt; procedure drop_index&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; (p_table &amp;nbsp; &amp;nbsp; &amp;nbsp;in &amp;nbsp; &amp;nbsp; varchar2&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; )&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp;is&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; q clob;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; l_count number(3);&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; -- Use a cursor with a complex statement to determine all indexes and their types&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; cursor c1(p_table varchar2)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; is&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; select ui.index_name, ui.table_name, ui.index_type, ui.uniqueness, uc.constraint_type&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from user_indexes ui&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; left outer join user_constraints uc&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on ui.index_name=uc.index_name&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; and ui.table_name=uc.table_name&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; where ui.table_name=p_table&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; and ui.index_type &amp;lt;&amp;gt; 'LOB'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; order by uc.constraint_type;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;begin&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; l_count := 1;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; for r1 in c1(p_table)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; loop&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if r1.constraint_type = 'P'&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; then&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; q := sys.dbms_metadata.get_ddl('CONSTRAINT', r1.index_name);&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; begin&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; insert into wbx_ddl_indexes (index_name, table_name, query, stmt_order)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; values ( r1.index_name, p_table, q, l_count);&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exception&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; when dup_val_on_index then&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;null;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; end;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- if the index is a primary key, drop it using an "ALTER TABLE.."&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; execute immediate 'alter table '||p_table||' drop primary key'; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; q := sys.dbms_metadata.get_ddl('INDEX', r1.index_name);&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; begin&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; insert into wbx_ddl_indexes (index_name, table_name, query, stmt_order)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; values ( r1.index_name, p_table, q, l_count);&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exception&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; when dup_val_on_index then&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;null;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; end;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- if the index is a normal index, use the "DROP INDEX" statement&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; execute immediate 'drop index '||r1.index_name;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; end if;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; l_count := l_count+1; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; commit; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;end loop;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;end;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
The "CREATE_INDEX" procedure looks like:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;procedure create_index&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; (p_table &amp;nbsp; &amp;nbsp; &amp;nbsp;in &amp;nbsp; &amp;nbsp; varchar2&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; )&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp;is&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; q clob;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; exec_q varchar2(32767);&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; l_index varchar2(30);&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; l_length number(10);&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; -- Use a cursor to go through all saved index statements&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; cursor c1(l_table varchar2)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; is&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; select index_name, query,stmt_order&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from wbx_ddl_indexes&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; where table_name=l_table&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; order by stmt_order asc;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;begin&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; for r1 in c1(p_table)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; loop&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;begin&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;select index_name&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;into l_index&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from user_indexes where table_name=p_table and index_name=r1.index_name;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;exception&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; when no_data_found then&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- Index does not exist, create it&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; select query into exec_q&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from wbx_ddl_indexes&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; where index_name=r1.index_name&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; and table_name=p_table&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; and stmt_order=r1.stmt_order;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; execute immediate exec_q; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;end;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-- As soon as the index is created, update the administration&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;delete&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from &amp;nbsp; wbx_ddl_indexes &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;where &amp;nbsp;index_name = r1.index_name&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;and table_name=p_table&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;and stmt_order=r1.stmt_order;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; commit;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;&amp;nbsp; &amp;nbsp;end loop;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;end;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is too much to exactly explain the procedure here themselves. Anyone who can read PL/SQL code should be able to understand the procedures.&lt;br /&gt;
&lt;br /&gt;
Feel free however to post questions or send me an Email.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-127368853746502367?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nHcO4iiTHDwfE2HKOZssbmp3qxg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nHcO4iiTHDwfE2HKOZssbmp3qxg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nHcO4iiTHDwfE2HKOZssbmp3qxg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nHcO4iiTHDwfE2HKOZssbmp3qxg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/FY-IrOXiEZg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/127368853746502367/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2011/09/database-index-administration.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/127368853746502367?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/127368853746502367?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/FY-IrOXiEZg/database-index-administration.html" title="Database Index administration" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2011/09/database-index-administration.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUMFR389fCp7ImA9WhdUGEw.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-7051566650021138060</id><published>2011-07-07T16:41:00.012+02:00</published><updated>2011-10-05T14:23:36.164+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-05T14:23:36.164+02:00</app:edited><title>Database SAN interactions</title><content type="html">&lt;div&gt;
I would like to address a problem we are seeing on our systems, that is totally impossible from the viewpoint of SAN engineers.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The situation:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
We have two Oracle databases. &lt;/div&gt;
&lt;div&gt;
The first one is an Oracle 10.2.0.4 databas&lt;/div&gt;
&lt;div&gt;
e, running on a Logical Partition (LPAR) of an IBM pSeries-7 server. The storage of this database is located on an IBM DS6800 SAN box, connected by Fiber cards to this server&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The second database is an Oracle 11.&lt;/div&gt;
&lt;div&gt;
1.0.7.4 two node RAC database, running on two physically seperated IBM pSeries-6 servers. The storage of this database is in ASM, however located on the same IBM DS6800 SAN Storage server.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
So, we have two database, totally physically seperated from each other. The only part they do share is the SAN box. &lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Now the problem:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
If we put load on database 1 ( this is a Datawarehouse database ), database 2 starts suffering from it. Let's have a look the graphs to see what I mean:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The load on database 1:&lt;/div&gt;
&lt;div&gt;
&lt;img height="137" src="https://lh4.googleusercontent.com/--sgVCGs0gEs/ThXIkPqW6XI/AAAAAAAAAbo/xU7YMJqk-G8/s800/Db1.jpg" width="700" /&gt;&lt;/div&gt;
&lt;div&gt;
The effect on database 2:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;img height="137" src="https://lh4.googleusercontent.com/-Dy5c0WVw3qI/ThXJQFgO9II/AAAAAAAAAcA/_xNbYIU0HLI/s800/Db2.jpg" width="700" /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;(Please Note that the graphs are not perfectly aligned in this blog)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The effect is thus that if database 1 is especially busy with LGWR ( system I/O ), database 2 starts to show I/O waits, seen as more and more active sessions with the dark-blue I/O color in Grid Control. The effect stops as soon as database 1 reduces (finishes) its LGWR activity. &lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Another strange effect we've seen is coming from another database "database3". This database is yet on another server (IBM pSeries-5), but also has its database on the same DS6800 storage server.&lt;/div&gt;
&lt;div&gt;
This database, an "old" 9.2.0.8 database, used to do a forced log-switch every 15 minutes, by means of a crontab script. This forced log-switch showed up as spikes in Grid Control of this database ( the orange "commit" color).&lt;/div&gt;
&lt;div&gt;
Again these spikes also reflect themselves as I/O waits on the RAC (database 2). &lt;/div&gt;
&lt;div&gt;
Even if we changed the execute time in the crontab of database 3, the spikes on database 2 moved accordingly. Because the application running on the RAC is our Webshop, suffers badly from these I/O waits, we turned these forced log-switches of.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Now, has anybody of you DBA's or Storage guys out there seen this kind of behaviour. The storage guys here at the company can't believe that database affect each other like this by means of the SAN. The SAN has a huge cache, it is tuned, etc...etc.., so theoretically this kind of behaviour is not possible. &lt;/div&gt;
&lt;div&gt;
In my opinion the LGWR "log-sync" actions cause the storage server to wait for a synchroneous action from the database, thus freezing or delaying all other actions with it.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Any other ideas are welcome. Solutions of course are even more welcome&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add On: As of this week ( oct. 5th 2011 ), the storage of database 2 has been moved to a newly purchased SAN storage, totally isolating it from the other storage ( and thus the othter databases).&lt;br /&gt;
The inheritence effect now is gone !!&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-7051566650021138060?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hWLylP1QJ5NgNFJ7ShDz-Dqm3oQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hWLylP1QJ5NgNFJ7ShDz-Dqm3oQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hWLylP1QJ5NgNFJ7ShDz-Dqm3oQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hWLylP1QJ5NgNFJ7ShDz-Dqm3oQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/H26X2VBGI3k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/7051566650021138060/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2011/07/database-san-interactions.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/7051566650021138060?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/7051566650021138060?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/H26X2VBGI3k/database-san-interactions.html" title="Database SAN interactions" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh4.googleusercontent.com/--sgVCGs0gEs/ThXIkPqW6XI/AAAAAAAAAbo/xU7YMJqk-G8/s72-c/Db1.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2011/07/database-san-interactions.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cCRH44eip7ImA9WhZXFEw.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-7419131772899906553</id><published>2011-05-03T11:12:00.003+02:00</published><updated>2011-05-03T11:31:05.032+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-03T11:31:05.032+02:00</app:edited><title>Grid Control 11g screens freeze</title><content type="html">&lt;span class="Apple-style-span" &gt;Last year we installed Oracle Enterprise Manager Grid Control 11g.&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;The main reason was the fact that we were (still) on version 10.2.0.3 and we experienced some troubles with that version. Also Oracle anounced the problem with this version regarding the end-of-life of the SSL-certificate on Dec 31th 2010.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: georgia; "&gt;The installation went very smoothly. See also my other posts about this subject.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;The only problem we encountered with this new version was that the 'Performance Graphs' froze after a database restart of one of the monitored databases.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;It is expected that there is no response anymore for the graph to build up, after a database shutdown, but you would expect that the graph just shows nothing, but keeps advancing in time. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;This was not the case. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;Also after the target database was restarted, the graph still kept showing the status before the shutdown. Nothing could be done to get over this, except a complete restart of Grid Control. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;After such a complete restart, the graph refreshed and started showing real-time information again. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;We started a Service Request at Oracle Support for this and thanks to DITO ( Demo It To Oracle) we were able to clearly show to Oracle support what happened. With &lt;a href="http://camstudio.org/"&gt;CamStudio&lt;/a&gt; I recorded a complete movie about the problem and send it to Oracle Support. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;They immediately recognized the problem as being &lt;a href="https://support.oracle.com:443/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;amp;id=()),(page=KBNavigator&amp;amp;id=(bmDocDsrc=BUG&amp;amp;bmDocTitle=PERFORMANCE%20CHARTS%20DO%20NOT%20UPDATE%20AFTER%20DATABASE%20IS%20RESTARTED&amp;amp;bmDocType=BUG&amp;amp;viewingMode=1143&amp;amp;from=BOOKMARK&amp;amp;bmDocID=10307099))"&gt;bug 10307099&lt;/a&gt; and supplied a patch for it.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;This solved the problem. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;I was very happy to see the power of &lt;a href="http://camstudio.org/"&gt;CamStudio&lt;/a&gt; to help me in clearly showing/explaining the problem to Oracle Support. This encouraged me to use it in other cases as well. And it is free !!!&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-7419131772899906553?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/S-2wz27AdbzykrU5-_epvtuEQpI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/S-2wz27AdbzykrU5-_epvtuEQpI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/S-2wz27AdbzykrU5-_epvtuEQpI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/S-2wz27AdbzykrU5-_epvtuEQpI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/z-tee2xkjQQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/7419131772899906553/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2011/05/grid-control-11g-screens-freeze.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/7419131772899906553?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/7419131772899906553?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/z-tee2xkjQQ/grid-control-11g-screens-freeze.html" title="Grid Control 11g screens freeze" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2011/05/grid-control-11g-screens-freeze.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEYBSHc5eip7ImA9WhZREE0.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-4308978607235809792</id><published>2011-03-21T10:37:00.004+01:00</published><updated>2011-04-05T14:22:39.922+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-05T14:22:39.922+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="RAC startup problem no logging" /><title>After node restart RAC cluster does not start</title><content type="html">Today we have been very busy trying to figure out why after a system restart the RAC nodes didn't want to start the cluster stack anymore. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The biggest problem we had was there was absolutely no logging at all !!&lt;/div&gt;&lt;div&gt;The system seemed totally not startable.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;All checks to get the cluster online where -in our opinion- successfull. &lt;/div&gt;&lt;div&gt;We were able to create an ocrdump, and query the voting disks.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Finally we started to dig into the processes that were running.&lt;/div&gt;&lt;div&gt;We found a process called:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;/etc/init.cssd startcheck&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This process seemed to hang. Waiting for something.&lt;/div&gt;&lt;div&gt;Looking into the script we read that this function checked for all needed resources to be available, and as long as they were not available, went for a sleep of 60 seconds. &lt;/div&gt;&lt;div&gt;We detected it used the AIX logging system, of which we however did not "catch" the logging messages by means of the syslog.conf file.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After a while we decided to start a "startcheck" of our own, using the debug options op de Korn shell:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: small; "&gt;# ksh -x /etc/init.cssd startcheck&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The result was that it showed that there was some logging in files in /tmp calles cssxxxx where xxxx is a numeric value.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Looking into the last one of these files, it showed that the votingdisks where missing. &lt;/div&gt;&lt;div&gt;This is contradiction to the &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;# $CRS_HOME/bin/crsctl query votedisk&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;which still showed everything was fine with the voting disks. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The real problem was in the fact that the 'crsctl' command, just looks for the device files to be present and to be readable. &lt;/div&gt;&lt;div&gt;If there were/are actually disks attached to these device files was not checked. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It turned out that a major network problem we've had two days earlier disturbed something on the SAN network, making it not possible anymore to connect the logical drives to this server. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What I totally do not like here is the total lack of any logging in the usual logging location of CRS, being $CRS_HOME/log/&lt;nodename&gt;.&lt;/nodename&gt;&lt;/div&gt;&lt;div&gt;Maybe in future releases ( we are using 11.1.0.7) this problem is better handled.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-4308978607235809792?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ReQxwtCKelstUYiBUd0sZUDEThI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ReQxwtCKelstUYiBUd0sZUDEThI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ReQxwtCKelstUYiBUd0sZUDEThI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ReQxwtCKelstUYiBUd0sZUDEThI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/qOQI2FdoWgU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/4308978607235809792/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2011/03/after-node-restart-rac-cluster-does-not.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/4308978607235809792?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/4308978607235809792?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/qOQI2FdoWgU/after-node-restart-rac-cluster-does-not.html" title="After node restart RAC cluster does not start" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2011/03/after-node-restart-rac-cluster-does-not.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEAHQn89fSp7ImA9Wx9WFUw.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-5848482877174749455</id><published>2011-01-20T10:35:00.002+01:00</published><updated>2011-01-20T10:45:33.165+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-20T10:45:33.165+01:00</app:edited><title>Copying Archived Logfile from ASM to a file system</title><content type="html">Following OTN tread http://forums.oracle.com/forums/thread.jspa?threadID=2154801&amp;amp;tstart=0 about copying archived logfiles from ASM to a UNIX filesystem, I am posting a script we used in the past. &lt;div&gt;Nowadays we use RMAN to get the files from ASM directly into a TSM diskpool, but back then we used another method for putting the archived logfiles on backup, which resulted in the need for this script:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;# Script to copy archived logfiles from ASM to a file system on UNIX&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;# In this case all archived logfiles found in v$archived_log are copied to a staging mount point /opt/asmprd/ar01&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;# The username/password used to access the database need to be set before use of this script.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;# For sake of security I removed these lines from this script&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;#&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;# The script needs to be run as owner of the ASM instance&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;#&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;# &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;export ORACLE_SID=WCSPRD&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;export FSFULL=FALSE&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;export ORACLE_BASE=/opt/$LOGNAME/ora&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;export CRS_HOME=/opt/crsprd/ora/11.1.0&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;export ORA_CRS_HOME=$CRS_HOME&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;export ASM_HOME=/opt/asmprd/ora/11.1.0&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;export ORA_ASM_HOME=$ASM_HOME&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;export ORACLE_HOME=$ORACLE_BASE/11.1.0&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$CRS_HOME/lib:$ORACLE_HOME/lib32:$CRS_HOME/lib32&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;export LIBPATH=$LD_LIBRARY_PATH&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;export PATH=$ORACLE_HOME/bin:$CRS_HOME/bin:$PATH&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;export TNS_ADMIN=/opt/oraadmin/network/admin&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;export ORACLE_SID=+ASM&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;export HOST=`hostname`&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;export LOG_FILE=/var/adm/log/StageArchives_${HOST}.log&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;export A_FILE_COPIED=FALSE&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;#&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;# Optionally turn Debug on to see what the script does&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;export Debug=false&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;#&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;# Functions&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;#&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;Log() {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;    echo "`date +%Y/%m/%d` (`date +%H:%M:%S`) : $1" | tee -a $LOG_FILE&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;} #End Log&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;#&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;#&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;Continue()&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   echo "Continue....? [n]\c"; read ans&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   case $ans in&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        y|Y) echo "\n\nContinuing...."&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;             break;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        *) exit 0&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;             break;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   esac&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   unset ans&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;} &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;#&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;#&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;GetArchiveList()&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   echo "set termout off heading off pages 9999 lines 70 feedback off" &gt; /tmp/getArchives.$$.sql&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   echo "column name format A70;" &gt;&gt; /tmp/getArchives.$$.sql&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   echo "spool /tmp/archivelist.lst;" &gt;&gt; /tmp/getArchives.$$.sql&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   echo "select trim(name) from v\$archived_log where deleted='NO' and archived='YES';" &gt;&gt; /tmp/getArchives.$$.sql&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   echo "quit;" &gt;&gt; /tmp/getArchives.$$.sql&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   $ORACLE_HOME/bin/sqlplus -S ${WCSPRD_SYS}@WCSPRD as sysdba @/tmp/getArchives.$$.sql&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   if [ "$Debug" = "true" ]&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   then&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        cat /tmp/getArchives.$$.sql&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        Continue&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   fi&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   rm -f /tmp/getArchives.$$.sql&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;StoreArchivesInFS()&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;  ArchName=$1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;  ArchShortName=`basename $1`&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;  ArchDest=/opt/asmprd/ar01/${ArchShortName}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;  AvailFS=`df -gv /opt/asmprd/ar01 | grep -v Free| awk '{print $5}' | cut -d'%' -f1`&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;  Log "Archiving $ArchDest"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;  if [ "$Debug" = "true" ]&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;  then&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        echo "AvailFS = $AvailFS"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        echo "Commando = $ASM_HOME/bin/asmcmd cp $ArchName $ArchDest" &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        Continue&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;  fi&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;  if [ $AvailFS -lt 90 ]&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;  then &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        echo "$ASM_HOME/bin/asmcmd cp $ArchName $ArchDest"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        $ASM_HOME/bin/asmcmd cp $ArchName $ArchDest &gt;/dev/null 2&gt;&amp;amp;1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        if [ -f "$ArchDest" ]&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        then&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;                export A_FILE_COPIED=TRUE&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;                $ASM_HOME/bin/asmcmd rm $ArchName &gt;/dev/null 2&gt;&amp;amp;1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;                Log "$ArchName has been deleted from ASM."&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        else&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;          echo "ArchDest=$ArchDest"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;          ls -l $ArchDest&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        fi&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;  else &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        export FSFULL=TRUE&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;  fi&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;RmanCrosscheck()&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   # Crosscheck and clean repository&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   #Log "Crosscheck and clean repository"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   $ORACLE_HOME/bin/rman target ${WCSPRD_SYS}@WCSPRD rcvcat ${TSMORA_TSMCAT}@tsmora cmdfile StageArchives.cmd&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;d&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;# Main Program&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;PROG_PID=$$&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;RUNNING=`ps -ef| grep StageArchives.sh | grep -v ${PROG_PID} | grep -v grep | awk '{print $2}'`&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;if [ -n "$RUNNING" ] &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;then&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   Log "Old Running session(s) found with PID(s): $RUNNING "&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   ps -ef| grep ${RUNNING} | grep -v grep &gt;&gt; $LOG_FILE&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   for tpid in $RUNNING&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;     kill $tpid&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;   }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;fi&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;GetArchiveList&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;cat /tmp/archivelist.lst | while read ARCHFILE&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;do&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;  if [ ! "$ARCHFILE" = "" ]&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;  then&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;     StoreArchivesInFS $ARCHFILE&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;     if [ "$FSFULL" = "TRUE" ]&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;     then&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        #&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;        # Insert some action here to clean up the destination file system&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;     fi&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;  fi&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;done&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;#&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;#&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;#&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;#&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;# Use Rman to update the recovery catalog&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;RmanCrosscheck&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;unset FSFULL ARCHFILE&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;#rm -f /tmp/archivelist.lst&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The script contains a call to 'rman' using the command file '&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: small; "&gt;StageArchives.cmd'&lt;/span&gt;&lt;/div&gt;&lt;div&gt;This file looks like:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;allocate channel for maintenance type disk;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;crosscheck archivelog all;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;delete noprompt expired archivelog all;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;quit;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Please note that I am not able to give any support to anyone who wants to use this script.&lt;/div&gt;&lt;div&gt;You are allowed to copy and use it, but for the remainder you're on your own.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Success!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-5848482877174749455?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Mj_T3Bv8yTOge5b8t2ddioXbT34/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Mj_T3Bv8yTOge5b8t2ddioXbT34/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Mj_T3Bv8yTOge5b8t2ddioXbT34/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Mj_T3Bv8yTOge5b8t2ddioXbT34/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/7Usfau2_Dus" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/5848482877174749455/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2011/01/copying-archived-logfile-from-asm-to.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/5848482877174749455?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/5848482877174749455?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/7Usfau2_Dus/copying-archived-logfile-from-asm-to.html" title="Copying Archived Logfile from ASM to a file system" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2011/01/copying-archived-logfile-from-asm-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0ACRnc9eCp7ImA9WhdbFE0.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-5921445195774808299</id><published>2011-01-11T14:09:00.018+01:00</published><updated>2011-10-12T09:49:27.960+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-12T09:49:27.960+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="install oracle agent 11g on aix rac" /><title>Installing Oracle Agent11g</title><content type="html">&lt;div&gt;
In this thread the installation of Oracle's Management Agent 11g for Grid Control 11g is explained. &lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The agent installation is not a manual install anymore. Oracle has decided to only provide in silent installs.&lt;/div&gt;
&lt;div&gt;
The available options are:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
-&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Push install from the OMS server ( requires ssh to be configured on the client )&lt;/div&gt;
&lt;div&gt;
-&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Pull install from the client ( requires wget to be installed ) &lt;/div&gt;
&lt;div&gt;
-&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Silent install from an Agent download.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Unfortunately the first two options are not suitable for AIX servers. With a push install from the OMS server, the push installer tries to start a ssh-session on the server to be installed, using the ssh binary in a Linux style path ( /usr/local/bin/ssh ).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The second installation type is also unfortunately more Linux minded. Wget, the Linux source download tool, is by default not available on AIX.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The last method is the easiest, because no extra software ( ssh, wget) needs to be installed or configured.&lt;/div&gt;
&lt;div&gt;
You can download the Agent11g installer from: &lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href="http://www.oracle.com/technetwork/oem/grid-control/downloads/agentsoft-090381.html"&gt;http://www.oracle.com/technetwork/oem/grid-control/downloads/agentsoft-090381.html&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
After downloading, FTP the agent 11g install file to the client to be installed. &lt;/div&gt;
&lt;div&gt;
Unzip it into a temporary directory.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Create an Installation response file, with the contents like below. A sample configuration file can be found in &lt;unzip&gt;/aix/response.&lt;/unzip&gt;&lt;/div&gt;
&lt;div&gt;
The to be changed values are marked in&lt;span class="Apple-style-span" style="font-weight: bold;"&gt; bold-white&lt;/span&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;####################################################################&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;## copyright (c) 1999, 2010 Oracle. All rights reserved.          ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;##                                                                ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;## Specify values for the variables listed below to customize     ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;## your installation.                                             ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;##                                                                ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;## Each variable is associated with a comment. The comment        ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;## identifies the variable type.                                  ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;##                                                                ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;## Please specify the values in the following format:             ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;##                                                                ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;##         Type         Example                                   ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;##         String       "Sample Value"                            ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;##         Boolean      True or False                             ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;##         Number       1000                                      ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;##         StringList   {"String value 1","String Value 2"}       ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;##                                                                ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;## The values that are given as &lt;value&gt; need to be       ##&lt;/value&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;## specified for a silent installation to be successful.          ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;##                                                                ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;##                                                                ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;## This response file is generated by Oracle Software             ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;## Packager.                                                      ##&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;###################################################################&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;RESPONSEFILE_VERSION=2.2.1.0.0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#################################################################################&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#Inputs for Oracle Configuration Manager&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#################################################################################&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#SECURITY_UPDATES_VIA_MYORACLESUPPORT:&lt;boolean&gt; Whether security updates are reqi-&lt;/boolean&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#        uired via My Oracle Support&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#DECLINE_SECURITY_UPDATES:&lt;boolean&gt; Whether security updates should be declined.&lt;/boolean&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#MYORACLESUPPORT_USERNAME &amp;amp; MYORACLESUPPORT_PASSWORD:&lt;string&gt; User name and passw-&lt;/string&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#        ord for My Oracle Support access, these will be effected only when SECU-&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#        RITY_UPDATES_VIA_MYORACLESUPPORT=true&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#COLLECTOR_SUPPORTHUB_URL:&lt;string&gt; If there is not direct connection and Support&lt;/string&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#        hub is deployed. Need to specify that URL. &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;b&gt;SECURITY_UPDATES_VIA_MYORACLESUPPORT=False&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;b&gt;DECLINE_SECURITY_UPDATES=True&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;################################################################################&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#PARAMETERS FOR SOFTWARE UPDATES &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;################################################################################&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#INSTALL_UPDATES_SELECTION:&lt;string&gt; &lt;/string&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;# Option 1. If you want to skip the software updates, provide &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      INSTALL_UPDATES_SELECTION="skip"&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;# Option 2. If you have already downloaded the updates then provide &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      INSTALL_UPDATES_SELECTION="staged"&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;# If you choose the Option 2 then make sure you also provide STAGE_LOCATION.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#STAGE_LOCATION:&lt;string&gt; Stage location for software updates. It will be effected&lt;/string&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#       only when INSTALL_UPDATES_SELECTION is  set to "staged"&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;INSTALL_UPDATES_SELECTION="skip"&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;STAGE_LOCATION=&lt;value&gt;&lt;/value&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;################################################################################&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#PROXY DETAILS FOR SECURITY UPDATES/ SOFTWARE UPDATES &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;################################################################################&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#PROXY_USER:&lt;string&gt; User name for proxy access.&lt;/string&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#PROXY_PWD:&lt;string&gt; Password for proxy access.&lt;/string&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#PROXY_HOST:&lt;string&gt; Server providing proxy access.&lt;/string&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#PROXY_PORT:&lt;string&gt; Port for proxy access.&lt;/string&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;PROXY_USER=&lt;value&gt;&lt;/value&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;PROXY_PWD=&lt;value&gt;&lt;/value&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;PROXY_HOST=&lt;value&gt;&lt;/value&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;PROXY_PORT=&lt;value&gt;&lt;/value&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;################################################################################&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#Various inputs required for Installation and Configuration&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;################################################################################&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#ORACLE_AGENT_HOME_LOCATION:&lt;string&gt; The location of oracle agent home.&lt;/string&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#Agent home "agent11g" would be created under the directory specified by&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#ORACLE_AGENT_HOME_LOCATION.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;b&gt;ORACLE_AGENT_HOME_LOCATION=/opt/wcst01/ora/&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#DEINSTALL_LIST:&lt;stringlist&gt; List of components to be deinstalled during a &lt;/stringlist&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      deinstall session.The following choices are available. The value should &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      contain only one of these choices.The choices are of the form &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      Internal Name, Version : External name. Please use the internal name and &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      version while specifying the value.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    oracle.sysman.top.agent, 10.2.0.0.0 : Oracle Management Agent 10.2.0.0.0 &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    oracle.sysman.top.em_seed, 10.2.0.0.0 : Oracle Enterprise Manager Repository Database 10.2.0.0.0 &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    oracle.sysman.top.oms, 10.2.0.0.0 : Oracle Enterprise Manager Grid Console 10.2.0.0.0 &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;DEINSTALL_LIST={"oracle.sysman.top.agent","11.1.0.1.0"}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#b_silentInstall:&lt;boolean&gt; The user should not change this value&lt;/boolean&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#CLUSTER_NODES:&lt;stringlist&gt; This variable represents the cluster node names&lt;/stringlist&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#       selected by the user for installation.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;b_silentInstall=true&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;b&gt;CLUSTER_NODES=vtl1h121ps,vtl1h123ps&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#TOPLEVEL_COMPONENT:&lt;stringlist&gt; The top level component to be installed in the &lt;/stringlist&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      current session.Value should contain only one of the following available &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      choices.The choices are of the form Internal Name, Version : External name. &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      Please use the internal name and version while specifying the value.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    oracle.sysman.top.agent, 10.3.0.0.0 : Oracle Management Agent 10.3.0.0.0 &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    Example: TOPLEVEL_COMPONENT = {"oracle.sysman.top.agent","10.3.0.0.0"}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;TOPLEVEL_COMPONENT={"oracle.sysman.top.agent","11.1.0.1.0"}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#SELECTED_LANGUAGES:&lt;stringlist&gt; Languages in which the components will be installed.&lt;/stringlist&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      The following choices are available. The value should contain only one of &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      these choices.The choices are of the form Internal Name : External name. &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      Please use the internal name while specifying the value.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    en,   : English&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    de,   : German&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    es,   : Latin American Spanish&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    es_MX,   : Mexican Spanish&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    es_ES,   : Spanish&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    fr,   : French&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    fr_CA,   : Canadian French&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    it,   : Italian&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    iw,   : Hebrew&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    ja,   : Japanese&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    ko,   : Korean&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    pt_BR,   : Brazilian Portuguese&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    zh_CN,   : Simplified Chinese&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    zh_TW,   : Traditional Chinese&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#Example: SELECTED_LANGUAGES = {"en"}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;SELECTED_LANGUAGES={"en"}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#COMPONENT_LANGUAGES:&lt;stringlist&gt; Languages in which the components will be installed.&lt;/stringlist&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      The following choices are available. The value should contain only one of &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      these choices.The choices are of the form Internal Name : External name. &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      Please use the internal name while specifying the value.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    en,   : English&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    de,   : German&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    es,   : Latin American Spanish&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    es_MX,   : Mexican Spanish&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    es_ES,   : Spanish&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    fr,   : French&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    fr_CA,   : Canadian French&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    it,   : Italian&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    iw,   : Hebrew&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    ja,   : Japanese&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    ko,   : Korean&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    pt_BR,   : Brazilian Portuguese&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    zh_CN,   : Simplified Chinese&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#    zh_TW,   : Traditional Chinese&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#Example: COMPONENT_LANGUAGES = {"en"}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;COMPONENT_LANGUAGES={"en"}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#OMS_HOST:&lt;string&gt; OMS host info required to connect to OMS&lt;/string&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#OMS_PORT:&lt;string&gt; OMS port info required to connect to OMS&lt;/string&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#AGENT_REGISTRATION_PASSWORD:&lt;string&gt; Agent Registration Password needed to &lt;/string&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#     establish a secure connection to the OMS.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;b&gt;OMS_HOST=[Your FQN OMS server]&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;b&gt;OMS_PORT=1159&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;b&gt;#OMS_PORT=4889&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;b&gt;AGENT_REGISTRATION_PASSWORD=[Agent registration password entered during OMS installation]&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#s_agentSrvcName:&lt;string&gt; Sets the agent Service Name and this variable can be&lt;/string&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      used to overrite the agent service name calculated by the install. This is&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      required for only Windows.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      Example: &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      s_agentSrvcName    = "Oracleagent11gAgent"      ;  default value&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#      s_agentSrvcName = "GridAgent"            ;  User specified value &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#s_agentSrvcName=""&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;####################################################################################&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#Please Don't change the values of these variables&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;####################################################################################&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#FROM_LOCATION:&lt;string&gt; Complete path to the products.xml.&lt;/string&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#b_upgrade:&lt;boolean&gt; "whether it is Upgrade or not"&lt;/boolean&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#EM_INSTALL_TYPE:&lt;string&gt; install type&lt;/string&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;#-------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;FROM_LOCATION="[Absolute path to products.xml]"&lt;/span&gt;&lt;/b&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;b_upgrade=false&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;EM_INSTALL_TYPE="AGENT"&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Note that the above response file is from an installation where the to be installed server was a two-node RAC. When provided with the cluster names, the installer is able to install all nodes in one time.&lt;/div&gt;
&lt;div&gt;
When installing a RAC cluster, these options are mandatory. When not, comment out the option "CLUSTER_NODES" &lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Also note that in the above example there are two entries for OMS_PORT. One is commented out. Use port 1159 for SSL communication between the agent and the OMS server. &lt;b&gt;The agent is in that case automatically secured&lt;/b&gt;. Use port 4889 for non-SSL communication.&lt;/div&gt;
&lt;div&gt;
The to be used ports here are the defaults. During the OMS installation, the port list of the OMS server is shown. Make sure you use the ports that match your OMS server.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The last entry that needs some attention is the one at the bottom of the file. However in the example a relative path has been given, the installer needs an absolute path instead.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
When ready, start the installer using the command:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
cp aix/response/additionalAgent.rsp  aix/agent&lt;/div&gt;
&lt;div&gt;
cd aix/agent&lt;/div&gt;
&lt;div&gt;
./runInstaller [-CLUSTER_NAME=&lt;clustername&gt;] -silent -responseFile &lt;absolute&gt;  -noconfig&lt;/absolute&gt;&lt;/clustername&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The &lt;clustername&gt; is the name of the RAC-cluster. &lt;/clustername&gt;&lt;/div&gt;
&lt;div&gt;
This name can be obtained by looking into an OCR-dump file and look for the entry:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;[SYSTEM.css.clustername]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span"&gt;ORATEXT : &lt;clustername&gt;&lt;/clustername&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
How to generate an OCR dump file can be found &lt;a href="http://www.oracle-dba-database-administration.com/ocrdump.html"&gt;here&lt;/a&gt; .&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
When the installation finishes, run the given 'root.sh' script.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
After that the agents need to be configured &lt;b&gt;&lt;span class="Apple-style-span" style="color: lime;"&gt;on each host&lt;/span&gt;&lt;/b&gt; ( in a cluster installation do this host by host )&lt;/div&gt;
&lt;div&gt;
Go to the AGENT_HOME/bin directory and execute:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
./agentca -f -n &lt;rac&gt; -c &lt;racnodes&gt; -i /etc/oraInst.loc&lt;/racnodes&gt;&lt;/rac&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
When installing a non-RAC system, the -n and -c options can be left out. &lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
This finishes the installation of the Oracle Agent 11g on AIX.&lt;/div&gt;
&lt;div&gt;
It might be necessary to 'upload' the first configuration manually, before the agent will appear in the OMS console. Use the following command to do so:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
./emctl upload agent   ( for a RAC do this on each node )&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-5921445195774808299?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/b9ofWVHaENIMny_v_37HIRjXJmM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/b9ofWVHaENIMny_v_37HIRjXJmM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/b9ofWVHaENIMny_v_37HIRjXJmM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/b9ofWVHaENIMny_v_37HIRjXJmM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/U7XMKAw3PnE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/5921445195774808299/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2011/01/installing-oracle-agent11g.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/5921445195774808299?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/5921445195774808299?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/U7XMKAw3PnE/installing-oracle-agent11g.html" title="Installing Oracle Agent11g" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2011/01/installing-oracle-agent11g.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUBSH88cSp7ImA9Wx9XF0k.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-5225348826556153605</id><published>2011-01-11T08:50:00.016+01:00</published><updated>2011-01-11T13:17:39.179+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-11T13:17:39.179+01:00</app:edited><title>Service XDB is down alert in Grid Control</title><content type="html">&lt;b&gt;Problem:&lt;/b&gt;&lt;div&gt;GridControl is reporting the &lt;sid&gt;XDB service as being down for RAC database.&lt;/sid&gt;&lt;/div&gt;&lt;div&gt;In this thread it is investigated why this alert is thrown. We are using a RAC database called RACTST to show all settings and SQL queries.  &lt;/div&gt;&lt;div&gt;It must be said that we haven't seen this alert being thrown for single-server databases. The Metric isn't even available in Grid Control there.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Background:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;When creating a database with 'dbca' one can choose whether to use shared server setup. Even when shared server is disabled during database creation, afterwards the parameter 'dispatchers' is still set. &lt;/div&gt;&lt;div&gt;For anyone who is unfamiliar with the shared server term, consult the Oracle Database Administrators Guide at: &lt;a href="http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/manproc003.htm#i1010000"&gt;&lt;span class="Apple-style-span" &gt;http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/manproc003.htm#i1010000&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;What do we see:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;The default value for the dispatchers parameter looks like:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;dispatchers='(PROTOCOL=TCP) (SERVICE=RACTSTXDB)'&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In this parameter the service 'RACTSTXDB' is configured. This service then is automatically made available. The service availability can be checked by querying the gv$services table:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&gt; select inst_id,name from gv$services where name='RACTSTXDB';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;   INST_ID NAME                                                            &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;---------- ----------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;         1 RACTSTXDB                                                       &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;         2 RACTSTXDB  &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Because this is a 2-node RAC it is clearly shown that the service is available on both nodes.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;When does the alert occur ?&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Most DBA's disable the 'dispatchers' parameter whenever they choose to not use shared servers. Disabling the dispatcher is easily done by resetting the parameter from the spfile:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&gt; alter system reset dispatchers scope=spfile sid='*';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;System altered.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;It is also possible to turn of the dispatchers dynamically afterwards, by per &lt;sid&gt; using: &lt;/sid&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: small; "&gt;SQL&gt; alter system reset dispatchers scope=memory sid='&lt;sid&gt;';&lt;/sid&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;One can also restart the instance(s) to turn of the parameter after the spfile change.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Now wait for approx. 5 minutes, and voila, there is the alert:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, serif; color: rgb(0, 0, 238); -webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://2.bp.blogspot.com/_iaS7LDAH_fg/TSwkpgi1EGI/AAAAAAAAAaw/M7WCY-4xerI/s400/OEMserviceDown.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5560859935424974946" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 349px; height: 75px; " /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, serif; color: rgb(0, 0, 238); -webkit-text-decorations-in-effect: underline; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, serif; "&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_iaS7LDAH_fg/TSwkpgi1EGI/AAAAAAAAAaw/M7WCY-4xerI/s1600/OEMserviceDown.jpg"&gt;&lt;/a&gt;&lt;/span&gt;&lt;a href="http://2.bp.blogspot.com/_iaS7LDAH_fg/TSwkpgi1EGI/AAAAAAAAAaw/M7WCY-4xerI/s1600/OEMserviceDown.jpg"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, serif; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Clicking on the alert shows a bit more detail, about when the alert occured:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;img src="http://4.bp.blogspot.com/_iaS7LDAH_fg/TSwkpy4aexI/AAAAAAAAAa4/qsTCUTOkaOA/s400/OEMserviceDown2.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5560859940347345682" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 332px; height: 188px; " /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;A check in gv$services confirms the service being 'down' ( in fact it is gone):&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: small; "&gt;SQL&gt; select inst_id,name from gv$services where name='RACTSTXDB';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: small; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: small; "&gt;no rows selected.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The service is however still available in the database. A select from dba_services, still shows is as being known:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: small; "&gt;SQL&gt; select name from dba_services where name='RACTSTXDB';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="font-family: 'courier new'; font-size: small; "&gt;NAME                                                            &lt;/div&gt;&lt;div style="font-family: 'courier new'; font-size: small; "&gt;----------------------------------------------------------------&lt;/div&gt;&lt;div style="font-family: 'courier new'; font-size: small; "&gt;RACTSTXDB                                                       &lt;/div&gt;&lt;div style="font-family: 'courier new'; font-size: small; "&gt;1 row selected.&lt;/div&gt;&lt;div style="font-family: 'courier new'; font-size: small; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: 'courier new'; font-size: small; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Disabling the alert in GridControl would be a permanent "solution".&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;But that's more like a non-DBA workaround. You wouldn't be warned about any other real service being down.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;There are three solutions to get rid of the alert:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;- Either re-enable the dispatcher, or&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;- Remove the service from the database, or&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;- Learn to live with the alert being there.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;The first is easy. Put back the 'dispatchers' parameter in the spfile with 'scope=both', and you're done.  But stubborn as we are, DBA's never give up.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Well the second step, as said in the 'Problem' section, the alert is only thrown for RAC databases. For single instances, the Metric isn't even available in Grid Control. &lt;/div&gt;&lt;div&gt;In the RAC-FAQ on Oracle Support it says:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;h3 class="km" style="padding-top: 0.5em; "&gt;&lt;i&gt;&lt;a name="A14415"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; "&gt;When I look at ALL_SERVICES view in my database I see services I did not create, what are they for?&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-weight: normal; font-size: 13px; "&gt;You will always see a default database service that is the same name as your database. This service is available on all instances in the cluster. You will also see two services used by the database SYS$BACKGROUND (for background processes) and SYS$USERS (users who connect via BEQ or without using a service_name). You may also see services that end with XDB which are created for the XML DB feature and you will not be able to manage these services.&lt;/span&gt;&lt;/i&gt;&lt;/h3&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;The meaning&lt;/span&gt; of the last phrase is that this service is not manageable with srvctl. It is unknown as a cluster resource. Is also says that belongs to the XML DB feature, so before proceeding with this thread consult MOS Note 416312.1 and the Oracle Forums thread: &lt;span class="Apple-style-span" &gt;&lt;a href="http://forums.oracle.com/forums/thread.jspa?threadID=410714&amp;amp;tstart=0"&gt;http://forums.oracle.com/forums/thread.jspa?threadID=410714&amp;amp;tstart=0&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;If you're sure you're not using XML-Db features, then you are OK to drop the XDB service.&lt;/div&gt;&lt;div&gt;Use the following command to do so:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&gt; exec dbms_service.delete_service('RACTSTXDB');&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;PL/SQL procedure successfully completed.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This will drop the service. When done the alert in Grid Control will subsequently be cleared.&lt;/div&gt;&lt;div&gt;And ofcourse as a real DBA we first test this on our TEST systems, don't we ??&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The last option 'Learn to live with it' is valid for those users that do use the XML-Db feature and are not able to drop the service. For them I would almost recommend to follow solution 1. It is easier to cope with a running but unused dispatcher, then with an Grid Control alert that sits in your face every day.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Disclaimer:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;I nowhere found a reason why we should not be able to drop this service if we are not using XML-Db features. Therefore the real impact is not completely known. If anyone can elaborate about this subject, you're most welcome to do so.&lt;/div&gt;&lt;div&gt;And eh... if you mess up your production system by following the actions in this thread, start blaming yourself, not me. All above is done on a TEST server. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-5225348826556153605?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/fueIerXw45VLbEcugkh-9uoIOtU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fueIerXw45VLbEcugkh-9uoIOtU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/fueIerXw45VLbEcugkh-9uoIOtU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fueIerXw45VLbEcugkh-9uoIOtU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/h-S2Ygi3U0s" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/5225348826556153605/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2011/01/service-xdb-is-down-alert-in-grid.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/5225348826556153605?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/5225348826556153605?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/h-S2Ygi3U0s/service-xdb-is-down-alert-in-grid.html" title="Service &lt;sid&gt;XDB is down alert in Grid Control" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_iaS7LDAH_fg/TSwkpgi1EGI/AAAAAAAAAaw/M7WCY-4xerI/s72-c/OEMserviceDown.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2011/01/service-xdb-is-down-alert-in-grid.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEANQng5fCp7ImA9Wx9SGU0.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-7276322331861687281</id><published>2010-12-03T15:48:00.004+01:00</published><updated>2010-12-09T14:53:13.624+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-09T14:53:13.624+01:00</app:edited><title>AIX Agent11g patch =&gt; Bug Solved!!</title><content type="html">&lt;div&gt;09-12-2010:&lt;/div&gt;&lt;div&gt;Oracle has fixed the "below" bug and release a new Agent11g installation package for AIX on OTN. It is preferred to use this new package above the workaround below.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;03-12-2010:&lt;/div&gt;Regarding the Agent install error:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: tahoma, verdana, sans-serif; font-size: 11px; "&gt;Checking Temp space: must be greater than 150 MB. Actual 541 MB Passed&lt;br /&gt;Checking swap space: must be greater than 150 MB. Actual 4096 MB Passed&lt;br /&gt;Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-12-02_02-01-58PM. Please wait ...xxxxx agent&gt; Exception in thread "main" java.lang.NoClassDefFoundError: oracle.sysman.oii.oiix.OiixNetOps&lt;br /&gt;at oracle.sysman.install.oneclick.EMGCInstallStaticVariables.&lt;clinit&gt;(EMGCInstallStaticVariables.java:119)&lt;br /&gt;at java.lang.J9VMInternals.initializeImpl(Native Method)&lt;br /&gt;at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)&lt;br /&gt;at oracle.sysman.install.oneclick.EMGCInstaller.parseCommandLineArgs(EMGCInstaller.java:506)&lt;br /&gt;at oracle.sysman.install.oneclick.EMGCInstaller.init(EMGCInstaller.java:204)&lt;br /&gt;at oracle.sysman.install.oneclick.EMGCInstaller.main(EMGCInstaller.java:1042)&lt;br /&gt;Caused by: java.lang.ClassNotFoundException: oracle.sysman.oii.oiix.OiixNetOps&lt;br /&gt;at java.net.URLClassLoader.findClass(URLClassLoader.java:421)&lt;br /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:643)&lt;br /&gt;at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:346)&lt;br /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:609)&lt;br /&gt;... 6 more&lt;/clinit&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: tahoma, verdana, sans-serif; font-size: 11px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: tahoma, verdana, sans-serif; font-size: 11px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Oracle support has supplied us with a workaround TAR file. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;You can find it here: http://www.mediafire.com/file/17apim8h8lci88q/ouicore.tar&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;The workaround steps are:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Tahoma, Arial, Helvetica, Geneva, sans-serif; font-size: 13px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;=== ODM Action Plan ===&lt;br /&gt;1. Download the ouicore.tar file attached to the SR.&lt;br /&gt;2. cp ouicore.tar &lt;agent staging="" location=""&gt;&lt;br /&gt;3. cd &lt;agent staging="" location=""&gt;&lt;br /&gt;4. tar -xvf ouicore.tar&lt;br /&gt;5. ls -al aix/agent/stage/Components/oracle.swd.oui.core/11.1.0.8.0/1/DataFiles&lt;br /&gt;-&gt; this should show 5 filegroup jar files and directory Expanded&lt;br /&gt;6. Start the installation&lt;/agent&gt;&lt;/agent&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Success !!!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-7276322331861687281?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/d9utYGPM2-6-FvDIyF8HTezwRno/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/d9utYGPM2-6-FvDIyF8HTezwRno/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/d9utYGPM2-6-FvDIyF8HTezwRno/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/d9utYGPM2-6-FvDIyF8HTezwRno/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/_Ex-Na34sY8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/7276322331861687281/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2010/12/aix-agent11g-patch.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/7276322331861687281?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/7276322331861687281?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/_Ex-Na34sY8/aix-agent11g-patch.html" title="AIX Agent11g patch =&gt; Bug Solved!!" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2010/12/aix-agent11g-patch.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMCSHg8fyp7ImA9Wx9SE0w.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-3083048647207392052</id><published>2010-12-02T20:31:00.004+01:00</published><updated>2010-12-02T20:34:29.677+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-02T20:34:29.677+01:00</app:edited><title>OMSCA Fails during installation of Grid Control 11g on AIX</title><content type="html">During the installation of Grid Control 11g on AIX 5.3TL10 we saw that during the configuration process the OMS Configuration Assistant (omsca) failed for an unknown reason.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I would like to bring THE solution to the attention of all you installers.&lt;/div&gt;&lt;div&gt;The installation can be found, thanks to Arjun Raja on his blog: &lt;a href="http://arjunraja.wordpress.com/"&gt;http://arjunraja.wordpress.com/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Please note that this solution is only valid for AIX systems&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-3083048647207392052?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/60bW8UrarD67KPR3-5UJwZ183F4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/60bW8UrarD67KPR3-5UJwZ183F4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/60bW8UrarD67KPR3-5UJwZ183F4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/60bW8UrarD67KPR3-5UJwZ183F4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/QPQ--gcT87M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/3083048647207392052/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2010/12/omsca-fails-during-installation-of-grid.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/3083048647207392052?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/3083048647207392052?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/QPQ--gcT87M/omsca-fails-during-installation-of-grid.html" title="OMSCA Fails during installation of Grid Control 11g on AIX" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2010/12/omsca-fails-during-installation-of-grid.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8AQnw5fCp7ImA9Wx5aFUg.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-4128440715613046147</id><published>2010-11-12T09:30:00.006+01:00</published><updated>2010-11-12T10:07:23.224+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-12T10:07:23.224+01:00</app:edited><title>RMAN 11g suddenly fails on AIX, nothing changed</title><content type="html">Okay, after 1.5 hours digging into the system (and my brains) we have solved yet another mysterious RMAN problem.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What was the case?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After a successfull backup last night, rman suddenly fails to allocate a tape channel while trying to backup archivelogs. The tape channel in this case points to a TSM management layer.&lt;/div&gt;&lt;div&gt;The error message shown was:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;RMAN&gt; run {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;2&gt; allocate channel ch1 type 'sbt_tape' parms &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;3&gt; 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;4&gt; backup&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;5&gt;      incremental level 0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;6&gt;      tag arch_bk&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;7&gt;      format 'arch_%d_t%t_s%s_p%p'&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;8&gt;      (archivelog all delete input );&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;9&gt;      sql 'ALTER SYSTEM ARCHIVE LOG CURRENT';&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;10&gt; }&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;11&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;RMAN-00571: ===========================================================&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;RMAN-00571: ===========================================================&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;RMAN-03009: failure of allocate command on ch1 channel at 11/12/2010 08:34:42&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;ORA-19554: error allocating device, device type: SBT_TAPE, device name: &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;ORA-27000: skgfqsbi: failed to initialize storage subsystem (SBT) layer&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;IBM AIX RISC System/6000 Error: 106: Reserved errno was encountered&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Additional information: 7011&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;ORA-19511: Error received from media manager layer, error text:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;   SBT error = 7011, errno = 106, sbtopen: system error&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;When searching on Google or Oracle Support, the combination of &lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: small; "&gt;ORA-19554, &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: small; "&gt;ORA-27000,&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: small; "&gt;ORA-27000 and &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: small; "&gt;IBM AIX RISC System/6000 Error: 106 &lt;/span&gt;usually point to problems with writing the TSM logfiles ( tdpoerror.log, dsmerror.log). Most of the problem then are solved by setting correct permissions for these files, making the Oracle owner able to write these files.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In our case the permissions were OK, and as said above the backup of last night had run successfully.&lt;/div&gt;&lt;div&gt;Trying manually to establish a channel connection also failed. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;At this point I had discussedthe problem with the tape-storage guys about what could be wrong here. They told me TSM was working OK, no problem whatsoever.&lt;/div&gt;&lt;div&gt;They agreed it had to be something on the Oracle server, simply because of the fact RMAN suddenly stopped working, even when nothing had changed.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In the tdpo.opt file I suddenly found the &lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;TDPO_TRACE_FILE&lt;/span&gt;&lt;/span&gt; option be turned on.&lt;/div&gt;&lt;div&gt;This tracefile pointed to a file called 'tdpo.out' &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In this file I saw the following entry:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;11/12/10   08:27:27.086 [1531908] [1] : init2.cpp           ( 359):  sbtinit(): Rman Trace File: '/opt/wcsprd/ora/diag/rdbms/wcsprd/&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: small; "&gt;WCSPRD1/trace/sbtio.log'&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This meant that the one attempt this morning that succeeded to allocate a channel manually, logged this entry in the trace file. &lt;/div&gt;&lt;div&gt;All other attempts allocating a channel hadn't logged this message.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This combined with the :&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small; "&gt;IBM AIX RISC System/6000 Error: 106: Reserved errno was encountered&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small; "&gt;Additional information: 7011&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small; "&gt;ORA-19511: Error received from media manager layer, error text:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-size: small; "&gt;   SBT error = 7011, errno = 106, sbtopen: system error&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I went looking into the trace directory where sbtio.log was located. &lt;/div&gt;&lt;div&gt;In this directory a list of 6886 tracefiles was found. In my opinion this should not be a problem while trying to open a file there.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;However it was the cause of the problem !!!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After cleaning this directory, using the adrci tool, RMAN now works again. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Conclusion:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;RMAN is a very powerfull tool for making online backups.&lt;/div&gt;&lt;div&gt;It also sometimes is a very misterious tool. &lt;/div&gt;&lt;div&gt;It sometimes stops working when nothing has changed in the configuration, displaying an error message that is not always very clear.&lt;/div&gt;&lt;div&gt;The Automatic Diagnostic Repository (ADR) is a very usefull feature of Oracle 11g. It centralizes all database related logfiles into one location, making problem searching easier. &lt;/div&gt;&lt;div&gt;That this tool however can turn into problems for RMAN, I never would have expected. &lt;/div&gt;&lt;div&gt;Luckily Oracle has included the ADRCI ( ADR commandline interface ) that enables the DBA to easily clean out the ADR. &lt;/div&gt;&lt;div&gt;We now have scheduled a daily cleanout of the ADR, simply to avoid RMAN problems&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Finally one remark:&lt;/div&gt;&lt;div&gt;In my honest opinion the fact that there were only 6886 files in the trace directory, should not have caused such a problem for RMAN. The Oracle owner's ulimit permissions are all set to unlimited where it comes to 'number of open files'.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-4128440715613046147?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/eMAL7MsHa1QfX-0jpG_xRc0lVU0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eMAL7MsHa1QfX-0jpG_xRc0lVU0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/eMAL7MsHa1QfX-0jpG_xRc0lVU0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eMAL7MsHa1QfX-0jpG_xRc0lVU0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/Cp91R9ADHM4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/4128440715613046147/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2010/11/rman-11g-suddenly-fails-on-aix-nothing.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/4128440715613046147?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/4128440715613046147?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/Cp91R9ADHM4/rman-11g-suddenly-fails-on-aix-nothing.html" title="RMAN 11g suddenly fails on AIX, nothing changed" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2010/11/rman-11g-suddenly-fails-on-aix-nothing.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAHQns7fSp7ImA9Wx5UFUU.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-5567833878370772669</id><published>2010-10-15T12:05:00.027+02:00</published><updated>2010-10-20T15:52:13.505+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-20T15:52:13.505+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="asm views under the hood" /><title>Under the hood of ASM</title><content type="html">With Oracle ASM the Oracle DBA has a new very powerfull storage medium where he/she can put the database files.&lt;br /&gt;However ASM already was introduced in Oracle 10g, for a lot of DBA's it is still a black-box with only very small holes in it where you can peek in.&lt;br /&gt;&lt;br /&gt;In the beginning, I must confess I was very suspicious about ASM, especially because of being a black-box.&lt;br /&gt;However it occured to me very soon that it looks like a black-box because there is nothing much to see.&lt;br /&gt;ASM is very limited in what it shows to the DBA, and even now I think the word 'limited' does not fit here. The word 'basic' is more fitting. ASM shows only basic information of what it is housing and what it is doing. &lt;p&gt;For showing this information ASM has a couple of views available. These are the only views available. In contradiction to a "normal" database instance, all dictionary views are not available in ASM instances.&lt;/p&gt;The following views are available:&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size:small;"&gt;&lt;br /&gt;&lt;table border="0" columns="2 rows=" cellpadding="6"&gt;&lt;tbody&gt;&lt;/tbody&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;View Name&lt;/td&gt;&lt;td&gt;Description&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;V$ASM_DISKGROUP&lt;/td&gt;&lt;td&gt;Lists all available diskgroups with their characteristics&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;V$ASM_DISKGROUP_STAT&lt;/td&gt;&lt;td&gt;Synonym for v$asm_diskgroup&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;V$ASM_DISK&lt;/td&gt;&lt;td&gt;Lists all disks available to ASM that match the ASM disk_string parameter&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;V$ASM_DISK_STAT&lt;/td&gt;&lt;td&gt;Synonym for v$asm_disk&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;V$ASM_FILE&lt;/td&gt;&lt;td&gt;Contains an entry for every file stored in ASM&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;V$ASM_ALIAS&lt;/td&gt;&lt;td&gt;Lists the known file names that link to ASM files&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;V$ASM_CLIENT&lt;/td&gt;&lt;td&gt;Lists the databases that connect to this ASM instance&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;V$OPERATION&lt;/td&gt;&lt;td&gt;Lists long running ASM operations, like rebalance actions&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;Last week we had an issue, where ASM showed very high I/O activity on 2 of the 9 disks in a diskgroup. The behaviour could not be explained by the activity in the application. It looked like ASM was either doing a large rebalance on its own, or we were slowly running into a problem with the spreading of the data. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Unfortunately the above views can't give you an overview about where the data really is put, i.e. on which disk. &lt;/div&gt;&lt;div&gt;As everyone knows ASM uses striping technology, to spread the data across all disks. &lt;/div&gt;&lt;div&gt;It however looked like we had hit some hot block in a table(space) that was only stored on these two disks. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Using my most famous library "Google", after a while I found a kind of hidden view. That is, all above views have a system view which has the similar information.&lt;/div&gt;&lt;div&gt;There is however 1 view that hasn't a 'user readable' alias.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This view contains information about the striping of database objects across the disks of a diskgroup. This view is called &lt;b&gt;x$kffxp&lt;/b&gt; and it can be joined with the other views to get the needed information. &lt;/div&gt;&lt;div&gt;However our "problem" stopped after a couple of hours I did check the seperation of the serveral tablespace blocks across the disks. There was nothing abnormal found, however if there had been something abnormal, it might be that the "problem" was indeed a rebalance, solving this inbalance.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I used the following script to check the balance of the data across the disks:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;set pages 9999 lines 200&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;column name format a40&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;select a.name, b.disk_kffxp disk, count(disk_kffxp) blocks&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;from&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;  v$asm_alias a&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;, x$kffxp b&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;, v$asm_file c&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;where&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;    a.group_number=b.group_kffxp&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;and a.group_number=c.group_number&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;and a.file_number=c.file_number&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;and a.file_number=b.number_kffxp&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;and c.type in ('DATAFILE','TEMPFILE','ONLINELOG')&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;group by a.name, b.disk_kffxp&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;order by a.name, count(disk_kffxp) desc;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Output then could look like ( for the SYSAUX tablespace ):&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;table border="0" cellpadding="5" cellspacing="5"&gt;&lt;tbody&gt; &lt;tr&gt;  &lt;td&gt; NAME &lt;/td&gt;  &lt;td&gt; DISKNR&lt;/td&gt;  &lt;td&gt;BLOCKS &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;  &lt;td&gt;SYSAUX.338.715000059&lt;/td&gt;  &lt;td align="right"&gt; 6 &lt;/td&gt;  &lt;td align="right"&gt; 242 &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; SYSAUX.338.715000059 &lt;/td&gt;  &lt;td align="right"&gt; 7 &lt;/td&gt;  &lt;td align="right"&gt; 229 &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;  &lt;td&gt; SYSAUX.338.715000059 &lt;/td&gt;  &lt;td align="right"&gt; 2 &lt;/td&gt;  &lt;td align="right"&gt; 218 &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;  &lt;td&gt; SYSAUX.338.715000059 &lt;/td&gt;  &lt;td align="right"&gt; 5 &lt;/td&gt;  &lt;td align="right"&gt; 216 &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;  &lt;td&gt; SYSAUX.338.715000059 &lt;/td&gt;  &lt;td align="right"&gt; 0 &lt;/td&gt;  &lt;td align="right"&gt; 213 &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;  &lt;td&gt; SYSAUX.338.715000059 &lt;/td&gt;  &lt;td align="right"&gt; 1 &lt;/td&gt; &lt;td align="right"&gt; 211&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;  &lt;td&gt; SYSAUX.338.715000059 &lt;/td&gt;  &lt;td align="right"&gt; 4 &lt;/td&gt;  &lt;td align="right"&gt; 211 &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;  &lt;td&gt; SYSAUX.338.715000059 &lt;/td&gt;  &lt;td align="right"&gt; 3 &lt;/td&gt;  &lt;td align="right"&gt; 207 &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;  &lt;td&gt; SYSAUX.338.715000059 &lt;/td&gt;  &lt;td align="right"&gt; 8 &lt;/td&gt;  &lt;td align="right"&gt; 181 &lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;Conclusion:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;The SYSAUX tablespace is reasonably balanced, although the difference between disk 8 and disk 6 is more than 40 blocks stored.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-5567833878370772669?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6PRa_hT01_9G_RIxDA5OtlpQka4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6PRa_hT01_9G_RIxDA5OtlpQka4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6PRa_hT01_9G_RIxDA5OtlpQka4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6PRa_hT01_9G_RIxDA5OtlpQka4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/H2cSyC3AixI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/5567833878370772669/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2010/10/under-hood-of-asm.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/5567833878370772669?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/5567833878370772669?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/H2cSyC3AixI/under-hood-of-asm.html" title="Under the hood of ASM" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2010/10/under-hood-of-asm.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUAERHw5cCp7ImA9Wx9XF0g.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-6609265041279733179</id><published>2010-10-14T16:10:00.006+02:00</published><updated>2011-01-11T14:48:25.228+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-11T14:48:25.228+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="unident of disk asm" /><title>NOTE: Unident of disk</title><content type="html">In our tracefile of the ASM rebalancer process, every 5 minutes the following line is shown:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;NOTE:Unident of disk:/dev/asmspfile&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;There is not really much information to be found on what this can mean, even on My Oracle Support there is no information found.&lt;br /&gt;&lt;br /&gt;I am guessing this message is explained by the fact that the diskname matches our asm_diskstring:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SQL&gt; show parameter asm_diskstring&lt;br /&gt;&lt;br /&gt;NAME TYPE VALUE&lt;br /&gt;------------------------------&lt;br /&gt;asm_diskstring string /dev/asm* &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;but in fact is not part of any (active) diskgroup&lt;br /&gt;In our case this disk, or raw device, contains the shared spfile of the ASM instances across our RAC nodes.&lt;br /&gt;&lt;br /&gt;If this assumption is true, then this message can be safely ignored.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What is the risk:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;If you don't keep a good administration of what disks have which function, or you mess up with the disk naming convention anyway, the risk exists that you'll add disks to a diskgroup that might be in use for other functions.&lt;br /&gt;Like in our case, if I would not know this disk contains the ASM spfile, it would be very easy to add that disk to a diskgroup. And I doubt if ASM would complain doing so.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-6609265041279733179?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/rfU9Nxo0p9ZS99brl1BUK54XaFo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rfU9Nxo0p9ZS99brl1BUK54XaFo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/rfU9Nxo0p9ZS99brl1BUK54XaFo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rfU9Nxo0p9ZS99brl1BUK54XaFo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/WSRMldSN7gE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/6609265041279733179/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2010/10/noteunident-of-disk.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/6609265041279733179?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/6609265041279733179?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/WSRMldSN7gE/noteunident-of-disk.html" title="NOTE: Unident of disk" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2010/10/noteunident-of-disk.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUEMR3k4eCp7ImA9Wx9XF0g.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-9093841605492373814</id><published>2010-09-23T15:02:00.022+02:00</published><updated>2011-01-11T14:48:06.730+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-11T14:48:06.730+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="use oracle configuration manager" /><title>Using Oracle Configuration Manager</title><content type="html">In this section the installation/configuration of Oracle's Configuration Manager is explained.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What is this Configuration Manager?&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Oracle's Configuration Manager is a tool that enables users to link their Oracle database configuration to an account on the Oracle Support site.&lt;br /&gt;&lt;br /&gt;The advantages are huge !!&lt;br /&gt;&lt;br /&gt;By linking your system to the Oracle Support Site the system is analyzed, checked and monitored constantly. This means that Oracle Support is able to warn you up front of any problem, risk or abnomality in your configuration.&lt;br /&gt;&lt;br /&gt;Next to that the Oracle Support Site offers you - the customer - the possibility to browse your own system in a graphical manner.&lt;br /&gt;If you browse to the Support Site a Window is shown, called "Systems".&lt;br /&gt;&lt;br /&gt;This window will be empty in the beginning, because you didn't link any systems to Oracle Support before as shown here:&lt;br /&gt;&lt;img style="MARGIN: 0px 10px 10px 0px; WIDTH: 443px; FLOAT: left; HEIGHT: 94px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5520105956794432770" border="0" alt="" src="http://3.bp.blogspot.com/_iaS7LDAH_fg/TJtbHvU__QI/AAAAAAAAAUk/LBXVbp2zbWk/s400/systemsTabEmpty.JPG" /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Also other windows like 'Patch and Health Recommendations' show no information.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Setup Configuration Manager:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;In order for configuration Manager to start doing his job, make sure that:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;There is an Internet connection from the database server configured. &lt;/li&gt;&lt;li&gt;You are logged in as the owner of the Oracle database. &lt;/li&gt;&lt;/ul&gt;Browse to the directory $ORACLE_HOME/ccr.&lt;br /&gt;This is the base directory for the Configuration Manager.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$ cd $ORACLE_HOME/ccr &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Now start the Setup of the Configuration Manager :&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;$ ./bin/setupCCR&lt;/span&gt;&lt;/p&gt;&lt;p&gt;The system will ask you for a valid Oracle Support Account. This account should be able to manage systems on the MOS site.&lt;/p&gt;&lt;span style="font-size:85%;"&gt;Provide your email address to be informed of security issues, install and&lt;br /&gt;initiate Oracle Configuration Manager. Easier for you if you use your MetaLink&lt;br /&gt;Email address/User Name.&lt;br /&gt;Visit http://www.oracle.com/support/policies.html for details.&lt;br /&gt;Email address/User Name: myaccount@mycompany.com&lt;br /&gt;Provide your MetaLink password to receive security updates via your MetaLink account.&lt;br /&gt;Password (optional):&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The system starts configuring "Configuration Manager"&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;** Installing base package **&lt;br /&gt;Deploying core - Version 10.3.0.1.0&lt;br /&gt;&lt;br /&gt;** Registering installation with Oracle Configuration Manager server(s) **&lt;br /&gt;Deploying engines - Version 10.2.7.1.0&lt;br /&gt;Deploying metricdata - Version 10.2.4.0.3&lt;br /&gt;Deploying scripts - Version 10.3.0.1.0&lt;br /&gt;Deploying urda - Version 4.14.8.12.2&lt;br /&gt;&lt;br /&gt;** Getting package updates from ContentServer **&lt;br /&gt;&lt;br /&gt;Oracle Configuration Manager has been configured in connected mode. If the&lt;br /&gt;target ORACLE_HOME is running a database, please refer to the&lt;br /&gt;"Post-installation Database Configuration" section of the OCM Installation&lt;br /&gt;and Administration Guide&lt;br /&gt;(http://www.oracle.com/technology/documentation/ocm.html) to complete the&lt;br /&gt;installation.&lt;br /&gt;&lt;br /&gt;View configuration data reports and access valuable configuration best&lt;br /&gt;practices by going to MetaLink.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;After the configuration is finished, the database needs to be configured too. Before running the configuration script make sure that the parameter UTL_FILE_DIR contains access to the $ORACLE_HOME/ccr/state directory. It might be needed to bounce the database since this parameter is a static parameter.&lt;/p&gt;&lt;p&gt;Now run the database configuration script. You might be prompted for the database instance name and/or the password. If ORACLE_SID is set and the database can be reached through OS-authentication, the script will just configure that database, without asking anything:&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;$ ./admin/scripts/installCCRSQL.sh collectconfig&lt;br /&gt;Successfully installed collectconfig in the database with SID=ORCL.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Now run the first collection to be uploaded to Oracle Support.&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;./bin/emCCR collect&lt;/span&gt;&lt;/p&gt;&lt;p&gt;This forces the Configuration Manager to upload the current configuration. At this time there is also a daemon running that will upload configurations once a day. The output of the above statement should look like:&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;$ ./bin/emCCR collect&lt;br /&gt;Oracle Configuration Manager - Release: 10.3.3.1.0 - Production&lt;br /&gt;Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.&lt;br /&gt;------------------------------------------------------------------&lt;br /&gt;Collection and upload done.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;This completes the installation.&lt;br /&gt;&lt;br /&gt;Now login to the Oracle Support Site using the &lt;strong&gt;same&lt;/strong&gt; account as used during the setup. As soon as the Dashboard appears, we are looking for a Window called "Task: Associate Collections". If this window is now shown, click on the link "Customize Page..." and drag this window to a slot on the Dashboard. &lt;/p&gt;&lt;p&gt;Note: This window will only stay visible if there any Collections to be Associated, so probably the window will not be shown initially, unless there is already one configuration uploaded and waiting to be associated.&lt;br /&gt;This window is used to link a System to a Support Identifier. Please take care, because this action can only be done once and can not be reverted !!! &lt;/p&gt;&lt;p&gt;The window looks like below:&lt;/p&gt;&lt;img src="http://lh4.ggpht.com/_iaS7LDAH_fg/TJtjc41B7WI/AAAAAAAAAU0/PBkaCx95d-w/s400/AssociateCollections.JPG" /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Select the correct support Identifier from the pull-down menu saying "Select a Support Identifier" and Click on the "Associate" button in the bottom corner of the Window.&lt;/p&gt;&lt;p&gt;As soon as all the Associations are successfull, this Task window will dissappear again.&lt;/p&gt;&lt;p&gt;This completes the setup of the Configuration Manager. Now you're able to browse the System and receive Patch warnings.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-9093841605492373814?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/A9DVkWBYn_fgwMjnpPCssKmkHd0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/A9DVkWBYn_fgwMjnpPCssKmkHd0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/A9DVkWBYn_fgwMjnpPCssKmkHd0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/A9DVkWBYn_fgwMjnpPCssKmkHd0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/W3Lse08bT04" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/9093841605492373814/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2010/09/using-oracle-configuration-manager.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/9093841605492373814?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/9093841605492373814?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/W3Lse08bT04/using-oracle-configuration-manager.html" title="Using Oracle Configuration Manager" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_iaS7LDAH_fg/TJtbHvU__QI/AAAAAAAAAUk/LBXVbp2zbWk/s72-c/systemsTabEmpty.JPG" height="72" width="72" /><thr:total>4</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2010/09/using-oracle-configuration-manager.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8ASHgzfSp7ImA9Wx9XF0g.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-7716324429802283812</id><published>2010-09-17T11:10:00.041+02:00</published><updated>2011-01-11T15:07:29.685+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-11T15:07:29.685+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="grid control 11g install aix 5.3" /><title>Install Oracle Enterprise Manager Grid Control 11g on IBM AIX 5.3</title><content type="html">&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_iaS7LDAH_fg/TQeSqAifDSI/AAAAAAAAAag/3tcyUBQy-7U/s1600/image052.png"&gt;&lt;/a&gt;In this thread the installation of Oracle Enterprise Manager Grid Control 11g is explained. The installation takes place on an IBM Pseries server running AIX 5.3 TL-10.&lt;div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_iaS7LDAH_fg/TNljQ7SNv4I/AAAAAAAAAVw/6C9MhmEqcDE/s1600/image012.png"&gt;&lt;/a&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: 800; font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;b style="font-size: large; "&gt;Server requirements:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;For setting up a Grid Control server using Oracle Enterprise Manager 11gR1 on AIX 5.3 a server is needed with approx. the following specs:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Operating system:&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;AIX 5.3 TL10&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Available RAM:&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;6Gb ( depending on the number of databases monitored, here less than 50 databases)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Available diskspace:&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Approx 50Gb in total. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;Software requirements&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Following the official installation guide, two software prerequisites are to be present and installed:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;The first is the bos.perf.proctools package &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;The second is a Java 6 SDK. This SDK is needed for installing the Weblogic server&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;The minimum Service Release is 6. On the server this would show up like:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;# /usr/java6_64/jre/bin/java -version&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;java version "1.6.0"&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Java(TM) SE Runtime Environment (build pap6460sr8-20100409_01(SR8))&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr8-20100401_55940 (JIT enabled, AOT enabled)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;J9VM - 20100401_055940&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;JIT  - r9_20100401_15339&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;GC   - 20100308_AA)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;JCL  - 20100408_01&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Please note that the above installation has a SR8 update installed.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Oracle recommends to install the Java SDK into a separate directory within the directory that will become "Middelware Home". This is to prevent accidental upgrades from the Java version, which is not supported.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Because the software packages on IBM AIX are installed with the 'smit' tool, they end up in /usr.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;To follow the Oracle recommendation, the Java installation is copied into the middleware home directory ( in our case /opt/oemprd/ora/middleware).&lt;/span&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;$ cp –r /usr/java6_64 /opt/oemprd/ora/middleware/&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;b&gt;User requirements&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Create an Oracle user who will be the owner of all installations.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Add the following entries to the .profile of this user.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;export JAVA_HOME=/opt/oemprd/ora/middleware/java6_64&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;export PATH=$PATH:$JAVA_HOME/bin&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;export MW_HOME=/opt/oemprd/ora/middleware/&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Note that the Weblogic server will be installed in $MW_HOME/wlserver_10.3&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;For all below installations, this user needs to have its DISPLAY set and a valid X-Display emulator should be running on your PC&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Use e.g. the following command to set the DISPLAY to the correct value:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;export DISPLAY=$(who -m | cut -d\( -f2 | tr -d " \)"):0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Weblogic Server&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;The installation manual for Oracle Enterprise Manager 11g dictates a minimum version of Weblogic server &lt;b&gt;10.3.2&lt;/b&gt;. This is &lt;span class="Apple-style-span"&gt;&lt;b&gt;THE ONLY SUPPORTED&lt;/b&gt; &lt;/span&gt;version !!!!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;It is important to install the Weblogic server on a server which has &lt;b&gt;no Oracle software&lt;/b&gt; installed yet.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: georgia; font-size: medium; "&gt;Download the Weblogic server from: &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: georgia; font-size: medium; "&gt;http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.html&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: georgia; font-size: medium; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: georgia; font-size: medium; "&gt;Unzip the downloaded file into the homedirectory of the "oracle" user. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Start the installer using:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;$ java -d64 -jar wls1032_generic.jar&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table cellspacing="0" valign="top" border="1" cellpadding="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign="top"&gt;After extraction the welcome screen appears&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Click on Next.&lt;br /&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/_iaS7LDAH_fg/TNlh9Pmy3VI/AAAAAAAAAU4/71eNk2tA9rM/s400/image001.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5537564921617898834" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 285px; " /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;Enter the base directory used as "Middleware Home".&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Click on Next&lt;br /&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://lh4.ggpht.com/_iaS7LDAH_fg/TNliHGniuqI/AAAAAAAAAVA/RwQjxZXo5Ic/s400/image003.png" border="0" alt="" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 285px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;Because the Oracle Enterprise Manager 11g is tightly linked to Oracle Support site, we select to enter credentials here.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Click in Next&lt;br /&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://lh4.ggpht.com/_iaS7LDAH_fg/TNliHRbJ2AI/AAAAAAAAAVI/kMLIphS1GGY/s400/image005.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5537564921617898834" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 285px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;Confirm the selected Java installation to use for weblogic.&lt;br /&gt;It should state the installation directory copied above in section 2.1.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Click on Next&lt;br /&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://lh5.ggpht.com/_iaS7LDAH_fg/TNljQZLWMjI/AAAAAAAAAVo/0MPtt-aOEmE/s400/image010.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5537566350116270642" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 286px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;The installer now shows the installation homes of the two weblogic parts:&lt;br /&gt;Weblogic server and Oracle Coherence.&lt;br /&gt;Leave the given directories as is and click on Next.&lt;br /&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;img src="http://lh6.ggpht.com/_iaS7LDAH_fg/TNljQ7SNv4I/AAAAAAAAAVw/6C9MhmEqcDE/s400/image012.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5537566350116270642" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 286px; " /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;After confirming the installation summary, the installation progress screen is displayed. &lt;/td&gt;&lt;td valign="top"&gt;&lt;img src="http://lh6.ggpht.com/_iaS7LDAH_fg/TNlnwHaQE4I/AAAAAAAAAWU/raXPdVj8GCc/s400/image014.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5537566350116270642" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 286px; " /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;After the intallation completes, unselect "Quick Start" and press Done.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span"&gt;Patching WebLogic Server&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;Before the patching of the Weblogic server can be started, make sure you have:&lt;br /&gt;&lt;br /&gt;- Access to the Internet from the server you are installing&lt;br /&gt;- Added the following hosts to /etc/hosts&lt;br /&gt;&lt;br /&gt;141.146.54.16  support.oracle.com&lt;br /&gt;66.248.199.47  bidslb.beasys.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Start the patch installer, using:&lt;br /&gt;&lt;br /&gt;oemprd@vsv1h151:/opt/oemprd/ora/middleware/utils/bsu (OEMPRD)&lt;br /&gt;$ bsu.sh -log=/tmp/bsu.log&lt;br /&gt;&lt;br /&gt;The file /tmp/bsu.log can be optionally used for detailed logging of the actions the program takes.&lt;br /&gt;It is possible that the installer first is going to update itself. You will be prompted for that.&lt;br /&gt;&lt;br /&gt;In the below table the update walkthrough is displayed:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table cellspacing="0" valign="top" border="1" cellpadding="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign="top"&gt;Afterwards it downloads the available Weblogic updates will be downloaded.&lt;br /&gt;First you need to enter the credentials to access Oracle Support like shown in the figure.&lt;br /&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;img src="http://lh4.ggpht.com/_iaS7LDAH_fg/TNlnwQXhF5I/AAAAAAAAAWY/Zt3_HhN2xTQ/s800/image016.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5537564921617898834" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 285px; " /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;After supplying the login credentials and having verified them the update installer appears.&lt;br /&gt;Again the login credentials for Oracle Support are asked, as shown here.&lt;br /&gt;We choose here to not enter the credentials, as:&lt;br /&gt;&lt;br /&gt;• We don't need any Emails about updates&lt;br /&gt;• There seems to be some kind of problem with the connection. It keeps returning asking for the credentials.&lt;br /&gt;&lt;br /&gt;In the "Get Patches" Tab the Weblogic patch "WDJ7" is shown.&lt;br /&gt;Select that patch and click download.&lt;br /&gt;After a couple of seconds the download finishes and the patch dissappears from the screen.&lt;br /&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://lh5.ggpht.com/_iaS7LDAH_fg/TNlnweMClOI/AAAAAAAAAWc/4kKu0tljSlg/s400/image018.png" border="0" alt="" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 285px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;Select the tab "Manage Patches".&lt;br /&gt;In the lower part of the screen the downloaded patch "WDJ7" is shown.&lt;br /&gt;Select the patch and click the "Apply" button.&lt;br /&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://lh5.ggpht.com/_iaS7LDAH_fg/TNlnwTQ6DPI/AAAAAAAAAWg/0fyAKEOCdcc/s400/image020.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5537564921617898834" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 285px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;The installer checks for any conflicts. If correct, no conflicts should be found.&lt;br /&gt;Click OK to start the update&lt;br /&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://lh4.ggpht.com/_iaS7LDAH_fg/TNqaSou_5zI/AAAAAAAAAWw/Y7sM71v3GKQ/s400/image022.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5537566350116270642" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 286px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;After the patch is installed it will appear in the upper part of the screen. This concludes the patch installations.&lt;br /&gt;Select File, Exit to leave the patch installer.&lt;br /&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;img src="http://lh6.ggpht.com/_iaS7LDAH_fg/TNqaTP7fpoI/AAAAAAAAAW4/9LrbYfzNRQ8/s400/image024.pngargin-top:%200px;%20margin-right:%2010px;%20margin-bottom:%2010px;%20margin-left:%200px;%20cursor:%20pointer;%20width:%20400px;%20height:%20286px;" /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;b&gt;Installation of Grid database&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Install an Oracle 11.1.0.7 release database and patch it with the latest patches.&lt;/div&gt;&lt;div&gt;At the time of writing this was 11.1.0.7.4&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For ORACLE_HOME during this installation /opt/oemprd/ora/db/11.1.0 is used&lt;/div&gt;&lt;div&gt;Create a database called OEMPRD which will be used as Catalog for the Enterprise Manager server.&lt;/div&gt;&lt;div&gt;Ensure that all parameters have been set correctly according to the Installation Manual. These parameters are:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: small; "&gt;*.compatible='11.1.0.0.0'&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: small; "&gt;*.db_block_size=8192&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: small; "&gt;*.db_name='OEMPRD'&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: small; "&gt;*.job_queue_processes=1000&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: small; "&gt;*.log_buffer=104865760&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;*.open_cursors=450&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;*.processes=1500&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;*.remote_login_passwordfile='EXCLUSIVE'&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;*.session_cached_cursors=400&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;*.sga_max_size=1G&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;*.sga_target=1G&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Because the installation and configuration of a database should be easy for DBA's working on a Grid Control installation, the procedure is not explained here.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Before continuing, make sure the database and the listener are up and running.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;b&gt;Installing Oracle Enterprise Manager Grid Control&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Download and extract the Grid Control installation files. &lt;/div&gt;&lt;div&gt;Enter the directory where the files have been extracted.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now Download the available updates for the Grid Control installation.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The commands to do so are:&lt;/div&gt;&lt;div&gt;oemprd@vsv1h151:/opt/oemprd/ora/home/staging (OEMPRD)&lt;/div&gt;&lt;div&gt;$ cd install&lt;/div&gt;&lt;div&gt;$ mkdir updates&lt;/div&gt;&lt;div&gt;$ ./utility/downloadSWUpdates -u oracleadmins@kramp.com -p &lt;pw&gt; -s ./updates/&lt;/pw&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Warning: It might be that the downloadSWUpdates program fails. This is because the program "thinks" you're on a 'linux' system. It tries to search for a library file in a non-existing directory called linux.&lt;/div&gt;&lt;div&gt;Solve this by:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;$ cd /opt/oemprd/ora/home/staging/install/updates/java/oui/lib&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;$ ln –s aix linux&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;$ cd /opt/oemprd/ora/home/staging/install/updates/java/oui/bin/platform/&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;$ ln –s aix linux&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Start the installer using the following syntax:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;oemprd@vsv1h151:/opt/oemprd/ora/home/staging (OEMPRD)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;$ ./runInstaller  -noconfig WLS_DOMAIN_NAME=GridControl&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Below the walkthrough of the Grid Control Installation:&lt;br /&gt;&lt;br /&gt;&lt;table cellspacing="0" valign="top" border="1" cellpadding="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign="top"&gt;In the first screen you're able to enter you 'My Oracle Support' Credentials. It is recommended to do so, enabling the installer to check and download available updates.&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://2.bp.blogspot.com/_iaS7LDAH_fg/TQeRqD7getI/AAAAAAAAAY4/ZAm2k9Mlcxs/s400/image026.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5550565217552857810" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 308px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Possible screen if Check for "Download and  install updates" is selected&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://1.bp.blogspot.com/_iaS7LDAH_fg/TQeRqRtGQlI/AAAAAAAAAZA/dwAE13ZOv-I/s400/image028.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5550565221250515538" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 308px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Select Installation Type:&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Select "Install a new Enterprise Manager  System" as the server in this installation does not have an OEM  installed.&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Click 'Next'&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://4.bp.blogspot.com/_iaS7LDAH_fg/TQeRquesW1I/AAAAAAAAAZI/qv0-DYfr1kI/s400/image030.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5550565228974725970" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 308px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Check Prerequisites&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;The installer will list all failed prerequisite  checks. If needed solve the given problem and confirm if the check runs OK  afterwards&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Click 'Next'&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://2.bp.blogspot.com/_iaS7LDAH_fg/TQeRq9NtpeI/AAAAAAAAAZQ/K2qcOQVyic0/s400/image032.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5550565232930039266" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 308px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Enter the installation directory of the Oracle  Enterprise manager installation and the 'Middleware Home' location ( the  location where Weblogic is installed)&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;The installer determines the given entries and  they are correct most of the time. &lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Click 'Next'&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://4.bp.blogspot.com/_iaS7LDAH_fg/TQeRrUWN-mI/AAAAAAAAAZY/DvPttd2tsEE/s400/image034.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5550565239139727970" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 308px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Weblogic Server Domain.&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Since Oracle Enterprise Manager 11g runs on a  Weblogic environment, a weblogic domain will be created.&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Specify passwords for the given Weblogic user  and Node manager.&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Click 'Next'&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://1.bp.blogspot.com/_iaS7LDAH_fg/TQeSLkxJOqI/AAAAAAAAAZg/vSJ8p5qPlII/s400/image036.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5550565793303444130" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 308px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Database credentials.&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Enter the database servername, Listener Port,  SID and SYS password for access to the database created for this purpose.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://4.bp.blogspot.com/_iaS7LDAH_fg/TQeSMoMoB6I/AAAAAAAAAZo/dvI2e01FN9I/s400/image038.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5550565811403884450" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 308px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Setup the Management repository.&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Enter a password for the to be created SYSMAN  user.&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Confirm the file locations of the to be created  tablespaces.&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Click 'Next'&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://1.bp.blogspot.com/_iaS7LDAH_fg/TQeSM4AcOfI/AAAAAAAAAZw/LpnPtzOXKpw/s400/image040.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5550565815647746546" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 308px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Enter passwords for the Management Agent  registration. &lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Keep this password somewhere safe, as it is  needed later when installing/configuring the clients&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Click 'Next'&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://4.bp.blogspot.com/_iaS7LDAH_fg/TQeSNaBZ3SI/AAAAAAAAAZ4/ABxr0buIutc/s400/image042.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5550565824778591522" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 308px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;The port numbers to be used.&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;It is smart to keep a print of the screen, or  write down the port numbers.&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Click 'Next'&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://1.bp.blogspot.com/_iaS7LDAH_fg/TQeSNzpE0II/AAAAAAAAAaA/hZtIlu7909I/s400/image044.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5550565831655870594" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 308px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Installation Summary. &lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Click 'Next'&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://4.bp.blogspot.com/_iaS7LDAH_fg/TQeSpDMmH4I/AAAAAAAAAaI/_1v17ffwWz8/s400/image046.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5550566299687853954" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 308px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Although the manual states that 400Mb of temp  space in /tmp is needed, the installer actually needs 936Mb (or more), as stated  on the screen from which the installer started:&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-ansi-language: EN-US; mso-fareast-language: EN-US"&gt;Space  Requirements&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-ansi-language: EN-US; mso-fareast-language: EN-US"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;/tmp/ Required 936MB (only as temporary  space) : Available 781MB&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Increase space in /tmp and afterwards continue  the installation by clicking 'Yes'.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://3.bp.blogspot.com/_iaS7LDAH_fg/TQeSpTcUySI/AAAAAAAAAaQ/jj0wSZ2TUXE/s400/image048.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5550566304048793890" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 154px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Execution of allroot.sh script&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://3.bp.blogspot.com/_iaS7LDAH_fg/TQeSptx38dI/AAAAAAAAAaY/vF3GimnL4wQ/s400/image050.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5550566311118500306" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 281px; " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;After running a root-script for which a dialog  box appears, the configuration of the product starts. &lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); font-size: 16px; -webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://1.bp.blogspot.com/_iaS7LDAH_fg/TQeSqAifDSI/AAAAAAAAAag/3tcyUBQy-7U/s400/image052.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5550566316154228002" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 400px; height: 308px; " /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan="2"&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;If the configuration of OMS fails ( step 5) and  the logfile shows:&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-ansi-language: EN-US; mso-fareast-language: EN-US"&gt;FINE:  Cleaning the OMS from the repository&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-ansi-language: EN-US; mso-fareast-language: EN-US"&gt;Sep  22, 2010 11:17:34 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter  adapterCleanup&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-ansi-language: EN-US; mso-fareast-language: EN-US"&gt;FINE:  Got the Host URL as: null&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-ansi-language: EN-US; mso-fareast-language: EN-US"&gt;Sep  22, 2010 11:17:34 AM oracle.sysman.omsca.framework.OMSGenericAdapter  postDeployAndReposSetup&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-ansi-language: EN-US; mso-fareast-language: EN-US"&gt;SEVERE:  OMSCA-ERR:Securing of OMS failed. Check the trace  file:/opt/oemprd/ora/middleware/weblogic/oms11g/cfgtoollogs/omsca/omsca_20&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-ansi-language: EN-US; mso-fareast-language: EN-US"&gt;100922105531.log&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-ansi-language: EN-US; mso-fareast-language: EN-US"&gt;Sep  22, 2010 11:17:34 AM oracle.sysman.omsca.framework.OMSCAFreshInstall  execute&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-ansi-language: EN-US; mso-fareast-language: EN-US"&gt;SEVERE:  Securing of OMS failed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-ansi-language: EN-US; mso-fareast-language: EN-US"&gt;Sep  22, 2010 11:17:34 AM oracle.sysman.omsca.framework.OMSConfigAssistantDriver  main&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt; mso-ansi-language: EN-US; mso-fareast-language: EN-US"&gt;FINE:  Got resultfalse&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-ansi-language: EN-US; mso-fareast-language: EN-US"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;then the an unsupported version of WebLogic is  installed .&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Only version 10.3.2 is supported for Oracle  Enterprise Manager 11g ( see Note: 1096766.1)&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;If the configuration fails at Add-on OMS side  configuration, a manual fix needs to be applied to addonca.pl, as described  here: &lt;a href="http://arjunraja.wordpress.com/"&gt;http://arjunraja.wordpress.com/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;This page says:&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;While  installing Oracle 11g on AIX you could hit this failure &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;Do not  CANCEL or EXIT the installation from the GUI mode.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;A check of  the logfile reveals this error -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;11g Grid  Control installation fails at ‘ Add-on OMS Side Configuration ‘ with following  error message in&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;oracle.sysman.plugin.virtualization.oms_2010-06-01_01-24-07-PM.log:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;i style="mso-bidi-font-style: normal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;at  java.lang.Terminator.setup(Terminator.java:41)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;i style="mso-bidi-font-style: normal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;i style="mso-bidi-font-style: normal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;at  java.lang.System.completeInitialization(System.java:114)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;i style="mso-bidi-font-style: normal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;i style="mso-bidi-font-style: normal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;at  java.lang.Thread.(Thread.java:127)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;i style="mso-bidi-font-style: normal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;i style="mso-bidi-font-style: normal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;Caused by:  java.lang.RuntimeException: Can’t recognise platform –  Unix&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;The  following file needs to be backed up and edited as follows&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;Go to the  newly installed Oracle Management server HOME/bin folder -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;cp  addonca.pl addonca.pl.org&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;Edit the  file -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;vi  addonca.pl&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;Look for  Unix under osname and change it to AIX -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;$osname =  “Unix” ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;$osname =  “AIX” ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-FAMILY: 'Courier New'" lang="NL"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;Click on RETRY and the installation  completes.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="NL"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This completes the installation of Grid Control 11g on AIX 5.3&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Instructions on how to install the Oracle 11g Management Agent can be found here:&lt;/div&gt;&lt;div&gt;http://managingoracle.blogspot.com/2011/01/installing-oracle-agent11g.html&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-7716324429802283812?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mNFDB1PLwFe6j0B52RBbIJtpvoo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mNFDB1PLwFe6j0B52RBbIJtpvoo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mNFDB1PLwFe6j0B52RBbIJtpvoo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mNFDB1PLwFe6j0B52RBbIJtpvoo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/0M66ZU8ThL4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/7716324429802283812/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2010/09/install-oracle-enterprise-manager-grid.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/7716324429802283812?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/7716324429802283812?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/0M66ZU8ThL4/install-oracle-enterprise-manager-grid.html" title="Install Oracle Enterprise Manager Grid Control 11g on IBM AIX 5.3" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh4.ggpht.com/_iaS7LDAH_fg/TNlh9Pmy3VI/AAAAAAAAAU4/71eNk2tA9rM/s72-c/image001.png" height="72" width="72" /><thr:total>4</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2010/09/install-oracle-enterprise-manager-grid.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE8HRHw9eyp7ImA9WhdQEUk.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-4996594728468709318</id><published>2010-08-24T10:40:00.044+02:00</published><updated>2011-08-12T13:00:35.263+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-12T13:00:35.263+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="reorganize" /><category scheme="http://www.blogger.com/atom/ns#" term="space" /><category scheme="http://www.blogger.com/atom/ns#" term="table" /><category scheme="http://www.blogger.com/atom/ns#" term="shrink" /><title>Oracle table reorganization: Online or Offline</title><content type="html">When using tables with large amounts of rows and especially after a lot of rows have been deleted from such a table, reorganizing the table may improve the performance of the table.
&lt;br /&gt;Oracle knows two types of table reorganizations.
&lt;br /&gt;
&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Rebuilding the table by means of recreating it&lt;/li&gt;
&lt;br /&gt;&lt;li&gt;Rebuilding the table by shrinking its free space ( Oracle 10g and up )&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Below the two methods are explained.
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;strong&gt;Rebuilding the table by means of recreating it
&lt;br /&gt;&lt;/strong&gt;There are two ways of rebuilding a table by recreating it. The first option is to export all the data into a file using the export utility.
&lt;br /&gt;After that truncate ( of recreate ) the table and reload the data back into it. The disadvantage here however is a long downtime.
&lt;br /&gt;
&lt;br /&gt;Another method is moving the table either to another tablespace or within the same tablespace.
&lt;br /&gt;The advantage here is that the downtime will me much less, but it also has some disadvantages:
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The tablespace needs to be able to store this second copy of the table&lt;/li&gt;&lt;li&gt;The tables indexes, any depending objects like packages, procedures can become INVALID and might need to be rebuild&lt;/li&gt;&lt;li&gt;There will be a table-level exclusive lock on the table involved. Any application using that table will be affected by this lock.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;By moving the table to another tablespace temporarily, the DBA is also able to reorganize the tablespace.
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;strong&gt;Rebuilding the table by shrinking its free space&lt;/strong&gt;
&lt;br /&gt;Starting with Oracle 10g all the above is replaced by a very nice feature called 'SHRINK SPACE';
&lt;br /&gt;As of this release, tables can be reorganized online, without affecting the users functionality.
&lt;br /&gt;That is:
&lt;br /&gt;
&lt;br /&gt;* The table itself must be in an ASMM tablespace
&lt;br /&gt;* The table must have row movement enabled
&lt;br /&gt;* At the end of the action a shortt table level lock takes place to adjust the HWM (Highwater Mark) of the table.
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;And it's easy !!
&lt;br /&gt;Just enable 'row movement' and start shrinking tables:
&lt;br /&gt;
&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SQL&amp;gt; ALTER TABLE MYTABLE ENABLE ROW MOVEMENT;&lt;/span&gt;
&lt;br /&gt;This enables row movement of the table. THis is necessary so that oracle is able to actually move the rows to other free extents in order to shrink the space needed.
&lt;br /&gt;
&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SQL&amp;gt; ALTER TABLE MYTABLE SHRINK SPACE COMPACT;&lt;/span&gt;
&lt;br /&gt;This shrinks the used space of the table, but does not update the HWM. This is usefull if you don't want to have a table-level lock during business hours.
&lt;br /&gt;
&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SQL&amp;gt; ALTER TABLE MYTABLE SHRINK SPACE;&lt;/span&gt;
&lt;br /&gt;This command shrinks the contents of the table and subsequently updates the HWM. This statement can also be used after a shrink with 'compact' option has been done, just to update the HWM.
&lt;br /&gt;
&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SQL&amp;gt; ALTER TABLE MYTABLE SHRINK SPACE CASCADE;&lt;/span&gt;
&lt;br /&gt;This command shrinks the contents of the table and all dependent objects like indexes.
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;strong&gt;High Water Mark:&lt;/strong&gt;
&lt;br /&gt;Now we have mentioned the High Water Mark (HWM) a couple of times. A short explanation:
&lt;br /&gt;The HWM is the pointer to that location of a table where on any point in history the table has grown to. If a lot of rows are deleted from a table, a lot of free space exists before the HWM. Doing a full table scan Oracle will not only read the actual rows, but also the empty space up to the HWM.
&lt;br /&gt;This is wasted time and is worsening the performance of getting data from that table.
&lt;br /&gt;So if from a large table a lot of rows are deleted, e.g. a count(*) will still take as long as before the delete.
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;strong&gt;Triggers and indexes:&lt;/strong&gt;
&lt;br /&gt;In contradiction to moving a table, or exporting/importing its data, triggers and indexes are NOT affected by a shrink space command. They will remain valid and functional during and after the operation.
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;strong&gt;Wasted space:
&lt;br /&gt;&lt;/strong&gt;How to determine if a table is a candidate for a reorganization ?
&lt;br /&gt;
&lt;br /&gt;Use the below script to determine if a table has a lot of wasted space.
&lt;br /&gt;If it substantial in relation to the total size of the table, then a reorganization ( shrink ) is recommended.
&lt;br /&gt;
&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;set lines 200;
&lt;br /&gt;column owner format a15;
&lt;br /&gt;column segment_name format a30;
&lt;br /&gt;
&lt;br /&gt;select
&lt;br /&gt;a.owner,
&lt;br /&gt;a.segment_name,
&lt;br /&gt;a.segment_type,
&lt;br /&gt;round(a.bytes/1024/1024,0) MBS,
&lt;br /&gt;round((a.bytes-(b.num_rows*b.avg_row_len) )/1024/1024,0) WASTED
&lt;br /&gt;from dba_segments a, dba_tables b
&lt;br /&gt;where a.owner=b.owner
&lt;br /&gt;and a.owner not like 'SYS%'
&lt;br /&gt;and a.segment_name = b.table_name
&lt;br /&gt;and a.segment_type='TABLE'
&lt;br /&gt;group by a.owner, a.segment_name, a.segment_type, round(a.bytes/1024/1024,0) ,round((a.bytes-(b.num_rows*b.avg_row_len) )/1024/1024,0)
&lt;br /&gt;having round(bytes/1024/1024,0) &amp;gt;100
&lt;br /&gt;order by round(bytes/1024/1024,0) desc ;&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;The above script is only working if the tables involved have statistics gathered on them
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;strong&gt;PCTFREE&lt;/strong&gt;
&lt;br /&gt;An extra remark about PCTFREE.
&lt;br /&gt;Tables with a high value of PCTFREE show also a higher value of wasted space.
&lt;br /&gt;The space reserved for PCTFREE in a block can not be shrinked. So even after a shrink of a table a lot of wasted space can remain.
&lt;br /&gt;
&lt;br /&gt;The effect of PCTFREE also seen before the shrink is executed when looking at the wasted space using the above script.
&lt;br /&gt;
&lt;br /&gt;In an example we have three identical tables with the following structure:
&lt;br /&gt;
&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size:small;"&gt;SQL&amp;gt; CREATE TABLE T1 ( ID NUMBER(10), VAL VARCHAR2(1000 CHAR) ) PCTFREE 40;
&lt;br /&gt;SQL&amp;gt; CREATE TABLE T2 ( ID NUMBER(10), VAL VARCHAR2(1000 CHAR) ) PCTFREE 10;
&lt;br /&gt;SQL&amp;gt; CREATE TABLE T3 ( ID NUMBER(10), VAL VARCHAR2(1000 CHAR) ) PCTFREE 50;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;All tables are loaded with the same data, approx. 5.5 million rows.
&lt;br /&gt;When running the above script it shows:
&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size:small;"&gt;
&lt;br /&gt;&lt;table border="0" columns="4" rows="5"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;SEGMENT_NAME&lt;/td&gt;&lt;td&gt;SEGMENT_TYPE&lt;/td&gt;&lt;td&gt;MBS&lt;/td&gt;&lt;td&gt;WASTED&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-----------------------&lt;/td&gt;&lt;td&gt;------------------&lt;/td&gt;&lt;td&gt;----------&lt;/td&gt;&lt;td&gt;----------&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;T1&lt;/td&gt;&lt;td&gt;TABLE&lt;/td&gt;&lt;td&gt;5064&lt;/td&gt;&lt;td&gt;2348&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;T2&lt;/td&gt;&lt;td&gt;TABLE&lt;/td&gt;&lt;td&gt;3333&lt;/td&gt;&lt;td&gt;617&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;T3&lt;/td&gt;&lt;td&gt;TABLE&lt;/td&gt;&lt;td&gt;6144&lt;/td&gt;&lt;td&gt;3428&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;Just because of the variation in the value of PCTFREE, the total size and wasted space are different per table.
&lt;br /&gt;
&lt;br /&gt;The effect of PCTFREE after the shrink is that not all "wasted space" is released.
&lt;br /&gt;The term "wasted space" therefore is not really valid with a high PCTFREE. It is wasted space + the reserved space directly available for updates. Of course above, just after table creation there is no wasted space. It is only reserved (pctfree) space. Therefore - for this example - we are going to delete approx 30% of the rows of all tables.&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family:'courier new';"&gt;&lt;span style="font-family:georgia;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size:small;"&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family:'courier new';"&gt;&lt;span style="font-family:georgia;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size:small;"&gt;SQL&amp;gt; delete from t1 where length(val)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: georgia; font-size: small; "&gt;&amp;lt; 300;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: georgia; font-size: small; "&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: georgia; font-size: small; "&gt;SQL&amp;gt; delete from t2 where length(val)&amp;lt; 300;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: georgia; font-size: small; "&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: georgia; font-size: small; "&gt;SQL&amp;gt; delete from t3 where length(val)&amp;lt; 300;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: georgia; font-size: small; "&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family:'courier new';"&gt;&lt;span style="font-family:georgia;"&gt;As soon as the delete is finished we compute stats on these tables in order for the wasted-space script to have a valid calculation base.&lt;/span&gt;&lt;/span&gt; &lt;div&gt;&lt;span class="Apple-style-span" style="font-family:georgia;"&gt;&lt;span class="Apple-style-span" style="font-size:medium;"&gt;Running the script again now shows:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size:small;"&gt;
&lt;br /&gt;&lt;table border="0" columns="4" rows="5"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;SEGMENT_NAME&lt;/td&gt;&lt;td&gt;SEGMENT_TYPE&lt;/td&gt;&lt;td&gt;MBS&lt;/td&gt;&lt;td&gt;WASTED&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-----------------------&lt;/td&gt;&lt;td&gt;------------------&lt;/td&gt;&lt;td&gt;----------&lt;/td&gt;&lt;td&gt;----------&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;T1&lt;/td&gt;&lt;td&gt;TABLE&lt;/td&gt;&lt;td&gt;5064&lt;/td&gt;&lt;td&gt;2789&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;T2&lt;/td&gt;&lt;td&gt;TABLE&lt;/td&gt;&lt;td&gt;3333&lt;/td&gt;&lt;td&gt;1058&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;T3&lt;/td&gt;&lt;td&gt;TABLE&lt;/td&gt;&lt;td&gt;6144&lt;/td&gt;&lt;td&gt;3869&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;After this we are going to 'shrink' the available wasted space, using:&lt;/p&gt;&lt;p&gt;SQL&amp;gt; ALTER TABLE T1 SHRINK SPACE CASCADE;
&lt;br /&gt;SQL&amp;gt; ALTER TABLE T2 SHRINK SPACE CASCADE;
&lt;br /&gt;SQL&amp;gt; ALTER TABLE T3 SHRINK SPACE CASCADE; &lt;/p&gt;&lt;p&gt;The result is:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;
&lt;br /&gt;&lt;table border="0" columns="4" rows="5"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;SEGMENT_NAME&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;SEGMENT_TYPE&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;MBS&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;WASTED&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;-----------------------&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;------------------&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;----------&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;----------&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;T1&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;TABLE&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;4245&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;1970&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;T2&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;TABLE&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;2779&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;505&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;T3&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;TABLE&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family:courier new;"&gt;5292&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;3018&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;This test clearly shows that even if Oracle or its tools like ADDM inform you about wasted space in a table, it might be that this is because you have a high value for PCTFREE. Shrinking these table might afterwards look like if nothing happened.
&lt;br /&gt;Check in that case if PCTFREE is high and if the value of 'wasted space' divided by the 'total size' is equal to that value:&lt;/p&gt;&lt;p&gt;Example:
&lt;br /&gt;
&lt;br /&gt;Table T1:  PCTFREE = 40%   ==&amp;gt;  1970 / 4245= 46%
&lt;br /&gt;Table T3: PCTFREE = 50% ==&amp;gt; 3018/5292 = 57%&lt;/p&gt;&lt;p&gt;So, actually the 'wasted space' of these tables is respectively 6% and 7 %&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-4996594728468709318?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZWGPCPWy2pMS6QOl1hpYWphUmM0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZWGPCPWy2pMS6QOl1hpYWphUmM0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZWGPCPWy2pMS6QOl1hpYWphUmM0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZWGPCPWy2pMS6QOl1hpYWphUmM0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/2PmBAeAVhW4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/4996594728468709318/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2010/08/oracle-table-reorganization-online-or.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/4996594728468709318?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/4996594728468709318?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/2PmBAeAVhW4/oracle-table-reorganization-online-or.html" title="Oracle table reorganization: Online or Offline" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2010/08/oracle-table-reorganization-online-or.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMESXo9fyp7ImA9WxFaEk0.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-69876059910117478</id><published>2010-07-14T13:37:00.007+02:00</published><updated>2010-07-15T16:16:48.467+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-15T16:16:48.467+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="rac" /><category scheme="http://www.blogger.com/atom/ns#" term="reboot" /><category scheme="http://www.blogger.com/atom/ns#" term="oprocd" /><category scheme="http://www.blogger.com/atom/ns#" term="aix" /><title>AIX based RAC reboots nodes by itself</title><content type="html">&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;b&gt;Problem statement:&lt;/b&gt;&lt;/span&gt; &lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;After a couple of weeks running with no problem at all, our 2 node RAC &lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;running on Oracle release 11.1.0.7 on AIX 5.3 TL10 platforms&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt; started rebooting nodes by itself. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;b&gt;Analysis:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Analyzing the CRS, ASM and Rdbms logfiles, it simply showed the server had terminated. There were no logs to be found of a gracefull shutdown of the cluster resources. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;In contradiction to this, the AIX errpt showed a "USER SHUTDOWN" as the reason for the reboot. From the viewpoint of AIX someone or something had issued a system shutdown.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Because the servers didn't crash, but restarted instead, the UNIX admins confirmed it must have been a shutdown command with restart options that brought the system down.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;However in such a case, one would expect the Cluster resources to go down gracefully which would have been seen in the CRS logs.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Oracle support confirmed the sudden restart of the system, by seeing a time-gap in the logfiles. The logging of actions suddenly stopped on all resources, and then started again when the cluster resources where coming up again. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;b&gt;Resolving the issue:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Beause we were unable to find a cause of our own, and Oracle support was searching into the direction of a system problem ( believing that not a RAC process had restarted the server ) the created S/R got somehow stuck. There were no new things found to discover.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Only after escalating the S/R to a prio 1, after just another unscheduled reboot, Oracle support started asking about the process status of the 'oprocd' daemon. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;It triggered us in starting to browse the internet for information about the 'oprocd' daemon. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Using Note 265769.1 we pinpointed the reason of the reboot must be with oprocd.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Finally we found the logfile that made sense. In /etc/oracle/oprocd we found the logfile from just before the reboot. It clearly stated:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;AlarmHandler: &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;timeout(1892 msec)&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; exceeds interval(1000 msec)+margin(500 msec). Rebooting NOW.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;What does this mean, and what is 'oprocd' ??&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;The 'oprocd' process is a processor monitor daemon. It monitors CPU load by setting a timer to 1000ms. After that is gets into a sleep for 1000ms. As soon as it wakes up it checks if the sleep period has been as long as the set timer. If it doesn't the maximum margin to deviate from the set timer is by default 500ms ( half a second ). If it wakes up beyond that margin, the oprocd decides to reboot the system. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Now that we really got a message to work on, we dumped that into Google and it came up with a really helpfull page: http://www.aixmind.com/?p=845&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;div&gt;This internet page clearly described all the problems we've had, including all the symptoms and logfile entries. &lt;/div&gt;&lt;div&gt;It explained a couple of steps on how to solve this problem. &lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;We send the page to Oracle support, asking if we could be suffering from that problem. After an hour we received an "Action plan" to solve the problem. The action plan Oracle support send us, matched for 90% the instructions of the page we sent. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Oracle support also informed us that this was a &lt;b&gt;known&lt;/b&gt; problem, starting to develop as early as release 10.2.0.4. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;They confirmed the default values 'oprocd' is running with ( interval 1000ms and margin 500ms ) are too low. In the newest release - I recon 11.2 - these defaults will be increased. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;I think it is unfortunate that it takes three weeks to come with a 'known' problem and then only after we sent a hint to Oracle support. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;b&gt;The solution:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Oracle Support send us the following action plan to be implemented:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;div&gt;1. Execute as root &lt;/div&gt;&lt;div&gt;#crsctl stop crs&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2. Execute as root&lt;/div&gt;&lt;div&gt;#&lt;crs_home&gt;/bin/oprocd stop&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. Ensure that Clusterware stack is down by running ps -ef egrep "crsd.binocssd.binevmd.binoprocd". This should return no processes.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4. From one node of the cluster, change the value of the "diagwait" parameter to 13 seconds by issuing the command as root:&lt;/div&gt;&lt;div&gt;#crsctl set css diagwait 13 -force&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5. From one node of the cluster execute the following command as root:&lt;/div&gt;&lt;div&gt;#crsctl unset css misscount -force&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;6. Restart the Oracle Clusterware on all the nodes by executing:&lt;/div&gt;&lt;div&gt;#crsctl start crs&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;7. Validate that the node is running by executing:&lt;/div&gt;&lt;div&gt;#crsctl check crs&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This solution increases the value for the margin from 500ms to 10000ms, so 20x higher.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This will :&lt;/div&gt;&lt;div&gt;a) Give less chance that oprocd get outside of the total time period ( 11000ms ).&lt;/div&gt;&lt;div&gt;b) If there is somehow a problem, which will bring oprocd outside of this time, the system has an addition 9500ms to write more informational logs to disk. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Unfortunately our RAC nodes did not come up correctly after the change. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The 'crs_stat -t' showed:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;# ./crs_stat -t&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Name Type Target State Host &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ora....D1.inst application ONLINE OFFLINE &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ora....D2.inst application ONLINE OFFLINE &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ora.WCSPRD.db application ONLINE OFFLINE &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ora....RD1.srv application ONLINE OFFLINE &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ora....RD2.srv application ONLINE OFFLINE &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ora....sprd.cs application ONLINE OFFLINE &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ora....SM1.asm application ONLINE ONLINE vsv1h171ps &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ora....PS.lsnr application ONLINE ONLINE vsv1h171ps &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ora....1ps.gsd application ONLINE ONLINE vsv1h171ps &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ora....1ps.ons application ONLINE ONLINE vsv1h171ps &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ora....1ps.vip application ONLINE ONLINE vsv1h171ps &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ora....SM2.asm application ONLINE ONLINE vsv1h181ps &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ora....PS.lsnr application ONLINE ONLINE vsv1h181ps &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ora....1ps.gsd application ONLINE ONLINE vsv1h181ps &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ora....1ps.ons application ONLINE ONLINE vsv1h181ps &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ora....1ps.vip application ONLINE ONLINE vsv1h181ps &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;and the alert_log of the databases kept showing:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Tue Jul 13 22:11:18 2010&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Starting ORACLE instance (normal)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Tue Jul 13 22:12:08 2010&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Starting ORACLE instance (normal)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Tue Jul 13 22:12:56 2010&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Starting ORACLE instance (normal)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Tue Jul 13 22:13:24 2010&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Starting ORACLE instance (normal)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Tue Jul 13 22:13:51 2010&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Starting ORACLE instance (normal)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Tue Jul 13 22:28:17 2010&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Starting ORACLE instance (normal)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The nodes had to be completely rebooted to get up and running. &lt;/div&gt;&lt;div&gt;This might be explained by the fact that oprocd is build into the AIX kernel, which would mean he kernel has to be reloaded after the above changes.&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-69876059910117478?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/u666RV4S-1jbRtIrEHexKT1Gi3c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/u666RV4S-1jbRtIrEHexKT1Gi3c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/u666RV4S-1jbRtIrEHexKT1Gi3c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/u666RV4S-1jbRtIrEHexKT1Gi3c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/zE3ONCzeolk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/69876059910117478/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2010/07/aix-based-rac-reboots-nodes-by-itself.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/69876059910117478?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/69876059910117478?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/zE3ONCzeolk/aix-based-rac-reboots-nodes-by-itself.html" title="AIX based RAC reboots nodes by itself" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2010/07/aix-based-rac-reboots-nodes-by-itself.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEEAQXg9fSp7ImA9Wx5aFEs.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-5521161174513188528</id><published>2010-06-24T15:07:00.023+02:00</published><updated>2010-11-11T10:10:40.665+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-11T10:10:40.665+01:00</app:edited><title>ACL and XDB Problems</title><content type="html">Problem statement:&lt;br /&gt;&lt;br /&gt;After upgrading a database from Oracle 11.1.0.6 to 11.1.0.7 an XDB installation was performed to be able to send Emails from the database.&lt;br /&gt;As of Oracle 11g the sending of Emails needs the creation of an Access Control List, to control which database users can access a remote host for relaying ( or sending ) the Email to.&lt;br /&gt;&lt;br /&gt;On the Internet there are scripts available to create such an ACL.&lt;br /&gt;&lt;br /&gt;We used the script below to first create a procedure that takes care of all the steps involved in creating an ACL:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;create or replace procedure mailserver_acl(&lt;br /&gt;aacl varchar2,&lt;br /&gt;acomment varchar2,&lt;br /&gt;aprincipal varchar2,&lt;br /&gt;aisgrant boolean,&lt;br /&gt;aprivilege varchar2,&lt;br /&gt;aserver varchar2,&lt;br /&gt;aport number)&lt;br /&gt;is&lt;br /&gt;begin&lt;br /&gt;begin&lt;br /&gt;DBMS_NETWORK_ACL_ADMIN.DROP_ACL(aacl);&lt;br /&gt;dbms_output.put_line('ACL dropped.....');&lt;br /&gt;exception&lt;br /&gt;when others then&lt;br /&gt;dbms_output.put_line('Error dropping ACL: 'aacl);&lt;br /&gt;dbms_output.put_line(sqlerrm);&lt;br /&gt;end;&lt;br /&gt;begin&lt;br /&gt;DBMS_NETWORK_ACL_ADMIN.CREATE_ACL(aacl,acomment,aprincipal,aisgrant,aprivilege);&lt;br /&gt;dbms_output.put_line('ACL created.....');&lt;br /&gt;exception&lt;br /&gt;when others then&lt;br /&gt;dbms_output.put_line('Error creating ACL: 'aacl);&lt;br /&gt;dbms_output.put_line(sqlerrm);&lt;br /&gt;end;&lt;br /&gt;begin&lt;br /&gt;DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL(aacl,aserver,aport);&lt;br /&gt;dbms_output.put_line('ACL assigned.....');&lt;br /&gt;exception&lt;br /&gt;when others then&lt;br /&gt;dbms_output.put_line('Error assigning ACL: 'aacl);&lt;br /&gt;dbms_output.put_line(sqlerrm);&lt;br /&gt;end;&lt;br /&gt;commit;&lt;br /&gt;dbms_output.put_line('ACL commited.....');&lt;br /&gt;end;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now we used the following call to this procedure to create an ACL for an user:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;begin&lt;br /&gt;mailserver_acl(&lt;br /&gt;'mailserver_acl.xml', -- Name of the ACL list&lt;br /&gt;'ACL used for Email', -- Just some comment about what this list is/does&lt;br /&gt;'SCOTT', -- The user/role to grant this privilige to&lt;br /&gt;TRUE, -- Is the privilege granted (TRUE) or denied (FALSE)&lt;br /&gt;'connect', -- What right granted&lt;br /&gt;'our.mail.server', -- to what server&lt;br /&gt;25); -- on which Port&lt;br /&gt;end;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The first time the result was:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;ORA-46105: Unable to load security class DAV::dav&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Looking at the database objects, an Invalid package was detected and recompiled.&lt;br /&gt;After recompiling the package and retrying the procedure, the below problem appeared:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;ORA-46105: Unable to load security class &lt;a href="http://xmlns.oracle.com/plsql:network"&gt;http://xmlns.oracle.com/plsql:network&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Googling a bit around, gave us the result that the problem was in a failed XDB installation. This was true, because there still were some Invalid XDB objects, which couldn't be compiled.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The solution:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The below steps brought us to a solution. It took an S/R with Oracle support to get the steps right, because the Notes aren't that clear:&lt;br /&gt;&lt;br /&gt;First make a note of the tablepace used by the XDB user in the database.&lt;br /&gt;Also write down the name of the TEMP tablespace of that database.&lt;br /&gt;These values will be needed in the reinstallation steps.&lt;br /&gt;&lt;br /&gt;First deinstall the current XDB installation. Refer to Note 742014.1 if you're using applications like APEX or Oracle Multimedia.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;$ sqlplus /nolog&lt;br /&gt;SQL&gt; conn / as sysdba&lt;br /&gt;SQL&gt; spool xdb_reins.log&lt;br /&gt;SQL&gt; shutdown Immediate;&lt;br /&gt;SQL&gt; startup;&lt;br /&gt;SQL&gt; @?/rdbms/admin/catnoqm.sql&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This will completely deinstall the XDB installation and also drop the XDB user.&lt;br /&gt;Now shutdown the database again, leave and restart SQLplus.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;SQL&gt; shutdown immediate&lt;br /&gt;SQL&gt; quit;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;It is very important in this stage to exit and restart SQLplus&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;Use the statement below to reinstall the XDB packages. &lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:georgia;"&gt;Note that you need to enter the above noted values at the prompt of the SQL script.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;In our case we entered 'xdb' for the password of the XDB user, 'sysaux' for the tablespace and 'temp' for the temporary tablespace;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;SQL&gt; conn / as sysdba&lt;br /&gt;SQL&gt; spool xdb_reins.log append --append to the existing logfile&lt;br /&gt;SQL&gt; startup;&lt;br /&gt;SQL&gt; @?/rdbms/admin/catqm.sql &amp;lt;xdb&amp;gt; &amp;lt;target tablespace&amp;gt; &amp;lt;temp tablespace&amp;gt;&lt;br /&gt;SQL&gt; spool off&lt;br /&gt;SQL&gt; quit&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;When these steps finish, the Oracle Note about reinstalling XDB also finishes. &lt;/p&gt;&lt;p&gt;It is thanks to good assistance of Oracle Support ( and no, I don't get money for this statement ) that our reinstallation succeeded.&lt;/p&gt;&lt;p&gt;There is another step to take !!&lt;br /&gt;That is why.&lt;/p&gt;&lt;p&gt;You have to re-register XML components of the EXFSYS schema's.&lt;br /&gt;Note 558834.1 discusses these steps. But I'll also list them here.&lt;br /&gt;I strongly recommend to first read the Note, before executing these steps!!&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;-- Register XML Schemas for the Rules Manager component (part of CATPROC)&lt;br /&gt;&lt;br /&gt;SQL&gt; connect / as sysdba&lt;br /&gt;SQL&gt; alter session set current_schema = EXFSYS;&lt;br /&gt;SQL&gt; @?/rdbms/admin/rulpbs.sql&lt;br /&gt;&lt;br /&gt;SQL&gt; commit;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Note 558834.1 also show steps for other schema's but they only need to be executed for Oracle Intermedia.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After all these steps and another restart of the database, our ACL could be created and we were able to start using UTL_MAIL packages.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-5521161174513188528?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HyO2ZNQQ7rvYKa6Zir7mWsYL7bw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HyO2ZNQQ7rvYKa6Zir7mWsYL7bw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HyO2ZNQQ7rvYKa6Zir7mWsYL7bw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HyO2ZNQQ7rvYKa6Zir7mWsYL7bw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/fvpdE4X_1lE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/5521161174513188528/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2010/06/acl-and-xdb-problems.html#comment-form" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/5521161174513188528?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/5521161174513188528?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/fvpdE4X_1lE/acl-and-xdb-problems.html" title="ACL and XDB Problems" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>3</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2010/06/acl-and-xdb-problems.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYGQ3s-fSp7ImA9Wx5WEkk.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-5421375899701387018</id><published>2010-06-24T11:34:00.001+02:00</published><updated>2010-09-23T13:58:42.555+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-23T13:58:42.555+02:00</app:edited><title>Enable Flashback for RAC</title><content type="html">&lt;span style="font-family:georgia;"&gt;Enabling Flashback in RAC is just a bit more complex than enabling flashback in a single instance.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;First we need to make sure that:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;- Our RAC database is running in ARCHIVELOG mode. This can be checked using:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:georgia;font-size:85%;"&gt;SQL&gt; select log_mode from v$database&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:georgia;font-size:85%;"&gt;&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:georgia;font-size:85%;"&gt;LOG_MODE&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:georgia;font-size:85%;"&gt;--------------&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:georgia;font-size:85%;"&gt;ARCHIVELOG&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;- The database is using some kind of shared storage, preferably ASM. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;In the statements below a diskgroup of ASM is used. Remember to use the '+' sign in front of the diskgroup name, like&lt;/span&gt; '+&lt;span style="font-family:courier new;"&gt;FB01&lt;/span&gt;'.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now we need to set the required parameters in the spfile to support the flashback function:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-size:85%;"&gt;SQL&gt; alter system set db_recovery_file_dest_size=20G scope=spfile sid='*';&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-size:85%;"&gt;SQL&gt; alter system set db_recovery_file_dest='&lt;diskgroup&gt;' scope=spfile sid='*';&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-size:85%;"&gt;SQL&gt; alter system set db_flashback_retention_target=&lt;time&gt; scope=spfile sid='*';&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;The value for &lt;span style="font-family:courier new;"&gt;&lt;time&gt;&lt;/span&gt;represents a value for which you want to be able to keep data. This value is ofcourse restricted by the available diskspace. The default is 1440 minutes.&lt;br /&gt;&lt;br /&gt;Now we need to shutdown all instances of the RAC database. This means the complete cluster will be down during this action. If the database name is RACDB then the statement to shutdown the database looks like:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$ srvctl stop database -d RACDB&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Start on one of the nodes an instance in mount mode:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;em&gt;SQL&gt; startup mount;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then turn flashback on using the command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;em&gt;SQL&gt; alter database flashback on&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Verify the setting with the below SQL:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;em&gt;SQL&gt; select log_mode, flashback_on from v$database&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;LOG_MODE FLASHBACK_ON&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;--------- -------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ARCHIVELOG YES&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now shutdown the instance again and restart the cluster database:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:courier new;"&gt;SQL&gt; shutdown immediate&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:courier new;"&gt;SQL&gt; quit;&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;em&gt;$&lt;/em&gt; srvctl start database -d RACDB&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Remember that a shutdown of the database als may have stopped the resources for the transparant application failover. They then need to be restarted also again.&lt;br /&gt;&lt;br /&gt;This concludes the enabling of flashback on RAC.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Bug 7334226: RAC instance crash possible with FLASHBACK on&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;br /&gt;Please look up Note 7334226.8 on the Oracle Support site.&lt;br /&gt;It states that all RAC versions up to &lt;span style="font-family:courier new;"&gt;11.1.0.7&lt;/span&gt; suffer from possible instance crashes if flashback is enabled. The issue is fixes in patch set update &lt;span style="font-family:courier new;"&gt;11.1.0.7.2. &lt;span style="font-family:georgia;"&gt;and in the&lt;/span&gt; 11.2.0.1 &lt;/span&gt;&lt;span style="font-family:georgia;"&gt;base-release&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-5421375899701387018?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RnddOYw0CYehdoivuJcCQmr1Q1Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RnddOYw0CYehdoivuJcCQmr1Q1Q/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RnddOYw0CYehdoivuJcCQmr1Q1Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RnddOYw0CYehdoivuJcCQmr1Q1Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/qTrTRIjZi-4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/5421375899701387018/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2010/06/enable-flashback-for-rac.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/5421375899701387018?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/5421375899701387018?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/qTrTRIjZi-4/enable-flashback-for-rac.html" title="Enable Flashback for RAC" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2010/06/enable-flashback-for-rac.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkIHR3Y4fCp7ImA9WxFVFkQ.&quot;"><id>tag:blogger.com,1999:blog-5085850589914248681.post-2381274972032274593</id><published>2010-06-16T09:49:00.000+02:00</published><updated>2010-06-16T15:22:16.834+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-16T15:22:16.834+02:00</app:edited><title>SSH equivalence on RAC</title><content type="html">&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;A couple of months ago, we setup our first RAC cluster consisting of two LPAR on an IBM AIX Power6 server. Although it has been months ago, and the cluster has been running a production database now successfully for over a month, I do want to share the 'frustration's we've had with setting up the user-equivalence, needed for the installation.&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;For the newbie's among us, first of all a short explanation of the phrase "SSH equivalence":&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;SSH equivalence means that acrosse different servers a user, and especially its credentials and rights, are considered equal to the local server. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;With SSH equivalence configured a logged on user can access a remote server without password if and only if his account with the same settings also exist on that remote server.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:georgia;"&gt;SSH equivalence is needed during the installation of the RAC software. All parts of the Oracle installation ( CRS, ASM and the Rdbms ) are each installed on the local host and afterwards copied to all remote nodes using this SSH equivalence.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;First of all a short description of how to setup SSH equivalence. Of course the Oracle installation manual has a more detailed explanation to follow:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;div&gt;&lt;b&gt;Generate a keypair on each node:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;[crsprd@node1 ~]$ cd&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;[crsprd@node1 ~]$ mkdir .ssh&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;[crsprd@node1 ~]$ chmod 700 ~/.ssh&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;[crsprd@node1 ~]$ /usr/bin/ssh-keygen -t rsa&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Create a authorized_keys file from the public keyfile:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;[crsprd@node1 ~]$ cd .ssh&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;[crsprd@node1 ~]$ cat id_rsa.pub &gt;&gt; authorized_keys&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;[crsprd@node1 ~]$ ls&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The result will be 3 files. &lt;/div&gt;&lt;div&gt;One of them is the file "authorized_keys"&lt;/div&gt;&lt;div&gt;Copy the authorized_keys file to the other node(s):&lt;/div&gt;&lt;div&gt;First make sure the .ssh directory exists in the home directory of the user on each node.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;[crsprd@node1 ~]$ scp authorized_keys node2:/opt/crsprd/ora/home/.ssh/&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;On the question to accept the RSA keys, enter Yes:&lt;/div&gt;&lt;div&gt;It will add the remote-node to the local file called 'known_hosts'. &lt;/div&gt;&lt;div&gt;If this file does not exist it is created automatically.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;[crsprd@node1 ~]$ scp authorized_keys node2:/opt/crsprd/ora/home/.ssh/&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;The authenticity of host 'node2 (xxx.xxx.0.181) can't be established.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;RSA key fingerprint is 7e:60:60:ae:40:40:d1:a6:f7:4e:zz:me:a7:48:ae:f6:7e.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Are you sure you want to continue connecting (yes/no)? yes&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Warning: Permanently added 'node1,xxx.xxx.0.181' (RSA) to the list of known hosts&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;authorized_keys 100% 828 7.5MB/s 00:00&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Log on to the other node(s) as the same user en enter the .ssh directory. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;[crsprd@node1 ~]$ ssh node2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;The authenticity of host node2 (xxx.xxx.0.181) can’t be established. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;RSA key fingerprint is z3:z3:33:z3:z3:33:zz:76:z3:z3:z3.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Are you sure you want to continue connecting? (yes/no)? yes&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Add the local public key to the authorized keys file:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;[crsprd@node2 ~]$ cd .ssh&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;[crsprd@node2 ~]$ cat id_rsa.pub &gt;&gt; authorized_keys&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Repeat this action for every node in the the cluster, until you've added the last node.&lt;/div&gt;&lt;div&gt;Then start copying back this file to every node ( In this example there are only two nodes)&lt;/div&gt;&lt;div&gt;The result must/will be that on every host the authorized_keys file is identical&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;[crsprd@node2 ~]$ scp authorized_keys node1:/opt/crsprd/ora/home/.ssh/&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now you should have the SSH equivalence setup.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;We followed these steps from the Oracle installation manual and then the problems started to begin:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:georgia;"&gt;The first problem we encountered, was that we were forced to enter the passphrase for the SSH connection every time, with every command.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;This resulted in not being able to install any of the software applications. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Only with assistance of an onsite Oracle consultant, and only after he saw me configuring the SSH equivalence the problem was solved:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="color:#FF0000;"&gt;Don't enter a passphrase!!&lt;/span&gt;&lt;/b&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Just press &amp;lt;Enter&amp;gt; &lt;enter&gt;&lt;enter&gt;when prompted.&lt;/enter&gt;&lt;/enter&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Now that was a great thing to discover. We were trying to secure the SSH connection by means of this passphrase where Oracle always uses an empty passphrase ( i.e. according to this consultant).&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;As soon we had discovered this issue, we were able to start the installation of the CRS and it succeeded completely.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Then however problem two appeared. We were using seperate accounts for CRS, ASM and the Rdbms. In the oracle documentation we used, I never found a statement that when using multiple users all these users should have SSH equivalence seperately. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;Okay, okay... afterwards I must say it is quite logical that all users should have this ability. But until we found this out, I was always assuming the CRS ( and therefore the crs owner ) would be responsible for the distibution of the installation files across the nodes. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5085850589914248681-2381274972032274593?l=managingoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KkPcg6Z-yXfHKZIgBrYw_IpGSrw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KkPcg6Z-yXfHKZIgBrYw_IpGSrw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KkPcg6Z-yXfHKZIgBrYw_IpGSrw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KkPcg6Z-yXfHKZIgBrYw_IpGSrw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ManagingOracle/~4/1KDg3oTOJjE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://managingoracle.blogspot.com/feeds/2381274972032274593/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://managingoracle.blogspot.com/2010/06/ssh-equivalence-on-rac.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/2381274972032274593?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5085850589914248681/posts/default/2381274972032274593?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ManagingOracle/~3/1KDg3oTOJjE/ssh-equivalence-on-rac.html" title="SSH equivalence on RAC" /><author><name>FJ Franken (DBA)</name><uri>http://www.blogger.com/profile/14960974918564490086</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_iaS7LDAH_fg/THZaoSrkyaI/AAAAAAAAAS8/YPAR6FNMz1A/S220/FJF.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://managingoracle.blogspot.com/2010/06/ssh-equivalence-on-rac.html</feedburner:origLink></entry></feed>

