<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4893804832668721878</id><updated>2026-05-05T04:05:56.320-05:00</updated><category term="howto"/><category term="10gr2"/><category term="oem"/><category term="help"/><category term="asm"/><category term="aix"/><category term="disaster recovery"/><category term="oracle 11g"/><category term="rman"/><category term="sql"/><category term="udm"/><category term="11g"/><category term="backups"/><category term="dbca"/><category term="emctl"/><category term="firefox"/><category term="flashback"/><category term="hot backup"/><category term="i/o"/><category term="metalink"/><category term="oem-11g"/><category term="oracle"/><category term="rants"/><category term="reorg"/><category term="security"/><category term="spfile"/><category term="ssh"/><category term="tdpo"/><category term="tns"/><category term="troubleshooting"/><category term="tsm"/><category term="upgrade"/><category term="windows vista"/><category term="x-windows"/><title type='text'>Brent&#39;s Oracle DBA Blog</title><subtitle type='html'>Oracle Database Administrator Tips, Tricks, and Information.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>24</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-1546214887018984590</id><published>2010-07-16T16:05:00.010-05:00</published><updated>2010-08-12T10:13:09.500-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="oem"/><category scheme="http://www.blogger.com/atom/ns#" term="oem-11g"/><category scheme="http://www.blogger.com/atom/ns#" term="rants"/><title type='text'>Beware of OEM 11g</title><content type='html'>Hi Fellow DBA&#39;s,&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I just wanted to take a moment to let you know that now might not be a good time to upgrade or install the new EM Grid Control 11g.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I&#39;ve been fighting with it for about a month now and have nothing but bad things to say about it (and i&#39;m the single biggest OEM proponent in my department!).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here are the main issues I&#39;m seeing with a fresh 11.2 database and a fresh OEM install:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;It&#39;s a major pain to install - go look at MetaLink, er, I mean, Oracle Support note [ID 1067438.1] &quot;Master Note for Grid Control 11.1.0.1.0 Installation and Upgrade&quot; for an idea of what you&#39;re in for.&lt;/li&gt;&lt;li&gt;The JDK is hosed - Agent deploys of any kind fail with the dreaded &quot;java.lang.NoClassDefFoundError: Could not initialize class oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps&quot; error (and just for the record: no, upgrading the OMS_HOME jdk to even the newest 1.6_21 does not fix the issue).&lt;/li&gt;&lt;li&gt;There are almost no support notes for OEM 11g - you&#39;ll never solve any issues without opening an SR.&lt;/li&gt;&lt;li&gt;It&#39;s unpatchable - there is a bug that prevents you from adding the Software Library path, which of course OPatch patches need once you get to the point of deploying PAR files.&lt;/li&gt;&lt;li&gt;Job reporting is broken - the &quot;Jobs&quot; tab always shows no history no matter how you search.&lt;/li&gt;&lt;li&gt;Policy Violations are broken - you know those great &quot;All Targets Policy Violations&quot; icons on the home page that you can click on? Yeah, try clicking on one and you&#39;ll get a nice &quot;No Search Results found matching the criteria specified.&quot; message.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;And this is just what I found - what about you guys, what issues have you seen?&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;PS: I hope to update this list with fixes as they come back from Oracle.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;UPDATE&lt;/b&gt;: It turns out that some of these issues are due to a blunder on my part! I installed the 32-bit version of WLS 10.3.2, instead of the 64-bit one that you need your own Java install for.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This eliminated the horrible issue with the &quot;OiipuUnixOps&quot; error on Agent deploys and when trying to create a Software Library path.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you did not install WLS using this syntax on a 64-bit system (eg: running the .bin file), then you did it wrong:&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;/usr/lib/jdk16/jdk1.6.0_18/bin/java -d64 -jar wls1032_generic.jar&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Unfortunately, all the other gripes I have with OEM persist... :)&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/1546214887018984590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/1546214887018984590' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/1546214887018984590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/1546214887018984590'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2010/07/beware-of-oem-11g.html' title='Beware of OEM 11g'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-8867372983674600692</id><published>2010-03-16T15:38:00.009-06:00</published><updated>2010-03-17T08:36:35.343-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="howto"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle 11g"/><category scheme="http://www.blogger.com/atom/ns#" term="troubleshooting"/><category scheme="http://www.blogger.com/atom/ns#" term="x-windows"/><title type='text'>HowTo: Resolve Oracle 11g X-Windows installer issues on UNIX</title><content type='html'>Have you run the new Oracle 11g installer on *NIX and received a nasty message?&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It happened to me this week! So, let&#39;s say you download the oracle11g installer for AIX, start x-windows (I prefer &lt;a href=&quot;http://x.cygwin.com/&quot;&gt;CygWin&lt;/a&gt;), export your display, test with xclock, then go into the &quot;database&quot; folder and do: &lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;./runInstaller&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;These are the errors I received:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;Starting Oracle Universal Installer...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;Checking Temp space: must be greater than 190 MB.   Actual 11907 MB    Passed&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;Checking swap space: must be greater than 150 MB.   Actual 19968 MB    Passed&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;Preparing to launch Oracle Universal Installer from /oracle/tmp/OraInstall2010-03-11_12-25-37PM. Please wait ...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;[oracle@myserver 12:26:03] (brent01) /oracle/INSTALL/database&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;$ Exception in thread &quot;main&quot; java.lang.UnsatisfiedLinkError: /oracle/tmp/OraInstall2010-03-11_12-25-37PM/jdk/jre/bin//motif21/libmawt.a (     0509-022 Cannot load module /oracle/tmp/OraInstall2010-03-11_12-25-37PM/jdk/jre/bin//motif21/libmawt.a.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;        0509-150   Dependent module /usr/lpp/X11/lib/libXt.a(shr_64.o) could not be loaded.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;        0509-152   Member shr_64.o is not found in archive&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;        0509-022 Cannot load module /oracle/tmp/OraInstall2010-03-11_12-25-37PM/jdk/jre/bin//motif21/libmawt.a.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;        0509-150   Dependent module /oracle/tmp/OraInstall2010-03-11_12-25-37PM/jdk/jre/bin//motif21/libmawt.a could not be loaded.)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;        at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:986)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Well, that&#39;s a fine mess!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Before you comb MetaLink and create soft links to other libraries, etc. do yourself a favor and try this:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;$ env | grep -i libpath&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;If your LIBPATH environment variable contains the system&#39;s X11 lib, then that&#39;s your problem.  Mine showed:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;LIBPATH=/lib:/usr/lpp/X11/lib:/oracle/oracle8i/product/8.1.7/lib&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:georgia;&quot;&gt;Removing &quot;/usr/lpp/X11/lib&quot; piece from my LIBPATH resolved the error.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;$ export LIBPATH=&quot;/lib&quot;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;$ ./runInstaller&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:georgia;&quot;&gt;Success!&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/8867372983674600692/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/8867372983674600692' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/8867372983674600692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/8867372983674600692'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2010/03/howto-resolve-oracle-11g-x-windows.html' title='HowTo: Resolve Oracle 11g X-Windows installer issues on UNIX'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-513351976013489970</id><published>2009-02-06T00:13:00.009-06:00</published><updated>2009-02-06T00:33:26.365-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="oracle 11g"/><category scheme="http://www.blogger.com/atom/ns#" term="tns"/><category scheme="http://www.blogger.com/atom/ns#" term="windows vista"/><title type='text'>HOWTO: Connect to Oracle 11g on Windows Vista</title><content type='html'>After installing 11g on Windows Vista, everything works fine. The listener is up, I can connect with SQL*Plus and misc case tools, etc.&lt;br /&gt;&lt;br /&gt;However, no other Windows box on the same network segment (and in the same Workgroup) can access the instance on Vista.&lt;br /&gt;&lt;br /&gt;Even a simple ping from a nearby XP box fails with &quot;request timed out.&quot;&lt;br /&gt;&lt;br /&gt;Google searches for things like &quot;unable to ping vista from xp&quot;, etc. yielded the usual &quot;check these&quot; suspects:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Workgroup name is the same&lt;/li&gt;&lt;li&gt;Simple file sharing is on&lt;/li&gt;&lt;li&gt;Network discovery is on&lt;/li&gt;&lt;li&gt;Network is Private&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;All check out on both boxes for me.  I even have both Windows Firewalls disabled, and neither computer has McAfee or Norton, so that&#39;s not it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Finally after 2 days or trying, I figure it&#39;s time to do a &lt;a href=&quot;http://en.wikipedia.org/wiki/Crazy_Ivan&quot;&gt;Crazy Ivan&lt;/a&gt;. This is Microsoft we&#39;re dealing with... so, I do something crazy; I turn on the Windows Firewall on Vista.  I then clicked over to the second tab on the Firewall dialog and looked thru the checklists.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Do you know what I noticed?  The &quot;File and Printer Sharing&quot; checkbox isn&#39;t checked. (Thanks Microsoft for letting me enable file sharing in the Network and Sharing Center and not telling me it was off in the firewall!)&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu2iGOM27DtcKw27wu4A26K7ok_vtd6iECQCPE0AL40LJdmryU3dDmWG8YW9hSvKEQ6GNk4vJ9yWkVmraPL1EsB4SuzA0mCxZrI-wVxw0G1X7FrQd0hVArbG4i91jsxfpUWs7Ls0g6OLg/s400/Firewall-settings.png&quot; style=&quot;margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 342px; height: 400px;&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5299565679427000498&quot; /&gt;&lt;/div&gt;So, [click], I enable that sucker.  Then, since I was already here, I created a new rule (the &quot;Add port...&quot; button) for port 1522:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYcLWLnRde10a060vB-HQ49Jln4_9rCcs88viSiNTpAWSNun61ES6zP6f-8_41xvJ5WG9Ot00732_unVtmQwLVCo0D90_PnunPlkaCKyrXun-AmIShG338CeMb7ld6wPnRhyphenhypheneeSYIyD8I/s1600-h/Firewall-port.png&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYcLWLnRde10a060vB-HQ49Jln4_9rCcs88viSiNTpAWSNun61ES6zP6f-8_41xvJ5WG9Ot00732_unVtmQwLVCo0D90_PnunPlkaCKyrXun-AmIShG338CeMb7ld6wPnRhyphenhypheneeSYIyD8I/s400/Firewall-port.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5299566640632933442&quot; style=&quot;cursor: pointer; width: 300px; height: 204px; &quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now it&#39;s back to the XP box again... and VOILA! the ping starts working.  I can even ping the Vista box by it&#39;s Windows name (that failed before).  More importantly, I can connect to the ORCL database on vista from XP now!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So, I ~200,000 results in Google for &quot;unable to ping Vista from XP&quot; and it&#39;s as simple as a checkbox or two.  This is a newer Vista install, so it appears that this checkbox is off by default, couple that with the inability of Vista to warn you when you enable file sharing, and I can see why almost a quarter million people are going &quot;WTF?!&quot;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/513351976013489970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/513351976013489970' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/513351976013489970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/513351976013489970'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2009/02/howto-connect-to-oracle-11g-on-windows.html' title='HOWTO: Connect to Oracle 11g on Windows Vista'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu2iGOM27DtcKw27wu4A26K7ok_vtd6iECQCPE0AL40LJdmryU3dDmWG8YW9hSvKEQ6GNk4vJ9yWkVmraPL1EsB4SuzA0mCxZrI-wVxw0G1X7FrQd0hVArbG4i91jsxfpUWs7Ls0g6OLg/s72-c/Firewall-settings.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-35856611198168305</id><published>2008-05-27T15:02:00.010-05:00</published><updated>2009-02-03T13:08:28.230-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="howto"/><category scheme="http://www.blogger.com/atom/ns#" term="oem"/><category scheme="http://www.blogger.com/atom/ns#" term="udm"/><title type='text'>HowTo: Create a universal UDM report page in OEM</title><content type='html'>HowTo: Create a universal UDM report page in OEM&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;PROBLEM:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;You have a bunch of User Defined Metrics (UDM) setup in OEM, and you want to know the staus of each of them.&lt;/li&gt;&lt;li&gt;OEM does not provide a single page to show the status of UDMs - users must navigate to each instance and look at the UDM page.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;SOLUTION:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Create a standard OEM Report to display all of your UDMs in one place!&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;STEPS:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;First, if you have not already discovered this the hard way, you cannot create a Report against a non-EMREP/non-Repository tables. Why, i&#39;ll never know. But, whatever. The thing is, if you try to create a report using something easy like showing how many records are in an Target Database table, it will return the error &quot;&lt;span class=&quot;x2q&quot;&gt;ORA-00942: table or view does not exist&lt;/span&gt;&quot;&lt;/li&gt;&lt;li&gt;In this case, we are actually hitting an OEM Repository table, but it&#39;s not one of the objects we are allowed to query via the &quot;Table From SQL&quot; report element type.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Fortunately, &quot;bwolter&quot; found a work-around for this sorry situation and published how to it in this &lt;a href=&quot;http://forums.oracle.com/forums/thread.jspa?messageID=1535173&amp;amp;#1535173&quot;&gt;Oracle OEM Forum post&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Follow his 3 easy steps, then continue with my Step 5 below.&lt;/li&gt;&lt;li&gt;Create a new Report and choose whatever you want for Category, etc.&lt;/li&gt;&lt;li&gt;Set the &quot;Targets&quot; value to the &quot;&lt;span class=&quot;x4&quot;&gt;Use the specified target&quot; radio-button and select your Repository SID&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;x4&quot;&gt;Set the &quot;Privileges&quot; value to &lt;/span&gt;&lt;span class=&quot;x4&quot;&gt;&quot;Run report using target privileges of the report owner (SYSTEM)&quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;x4&quot;&gt;Click the &quot;Elements&quot; sub-tab, then Add a new element using the new &quot;&lt;/span&gt;target_user_table_from_sql&quot; type.&lt;/li&gt;&lt;li&gt;Click the &quot;Set Parameters&quot; icon and enter your SQL.  &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;Note that your value of KEY_VALUE will be different than mine!&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;pre name=&quot;code&quot; class=&quot;sql&quot;&gt;SELECT DISTINCT UPPER(target_name) &quot;Target Name&quot;,&lt;br /&gt;       key_value || &#39;__&#39; &quot;Metric Name&quot;,&lt;br /&gt;       TO_CHAR(collection_timestamp, &#39;MM-DD-YYYY HH24:MI&#39;) &quot;Last Collected_____&quot;,&lt;br /&gt;       string_value &quot;Metric Value&quot;&lt;br /&gt;  FROM sysman.em$current_metrics&lt;br /&gt; WHERE metric_name = &#39;SQLUDM&#39;&lt;br /&gt;   AND UPPER(key_value) LIKE &#39;ENSURE%&#39;&lt;br /&gt;   AND string_value IS NOT NULL&lt;br /&gt; ORDER BY 1, 2&lt;/pre&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;My KEY_VALUE (the &quot;Name&quot; you used for the UDM) is &quot;Ensure PMON is running as MST&quot;, so obviously you will set your value to whatever the Name of your UDM is.&lt;/li&gt;&lt;li&gt;Rinse-and-repeat Steps 8-10 for each UDM type or gorup you want to show on the Report.&lt;/li&gt;&lt;/ol&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;NOTES:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;I use underscore in my column alias names to stretch the columns out for easy reading.&lt;/li&gt;&lt;li&gt;During this project I found a UDM which had encountered errors and stopped running! OEM showed no indication outside of a small icon on the Instance&#39;s UDM page (nor did it send a notification). This report will save you from that potential embarrasement!!&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;RESULTS:&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;Here is what my final UDM Report looks like:&lt;/li&gt;&lt;/ul&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiObzz149fzJ1w5B5CHDLqcwV1_3YYcfq-AdCVUkjUNkijntLVu5biz2ugODnSMDkKxHCIsd9FdKboXvgyK78wVjgCEY56xFyu7h4ZSFh81g3jJimff0ysg7xKHpVQIi6hxmFJqFTSSBQ8/s1600-h/all_udm_report.png&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiObzz149fzJ1w5B5CHDLqcwV1_3YYcfq-AdCVUkjUNkijntLVu5biz2ugODnSMDkKxHCIsd9FdKboXvgyK78wVjgCEY56xFyu7h4ZSFh81g3jJimff0ysg7xKHpVQIi6hxmFJqFTSSBQ8/s400/all_udm_report.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5205163063483214962&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/35856611198168305/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/35856611198168305' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/35856611198168305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/35856611198168305'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2008/05/howto-create-universal-udm-report-page.html' title='HowTo: Create a universal UDM report page in OEM'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiObzz149fzJ1w5B5CHDLqcwV1_3YYcfq-AdCVUkjUNkijntLVu5biz2ugODnSMDkKxHCIsd9FdKboXvgyK78wVjgCEY56xFyu7h4ZSFh81g3jJimff0ysg7xKHpVQIi6hxmFJqFTSSBQ8/s72-c/all_udm_report.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-6772234338500566714</id><published>2008-02-15T10:32:00.004-06:00</published><updated>2008-02-15T10:36:26.137-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="10gr2"/><title type='text'>Good article on MERGE statement enhancements in 10g</title><content type='html'>I don&#39;t get to use MERGE too often, but when I need it, it is usually something for something I need to Google the syntax for.&lt;br /&gt;&lt;br /&gt;Here&#39;s &lt;a href=&quot;http://www.oracle-developer.net/display.php?id=310&quot;&gt;a great post on using MERGE in Oracle 10g&lt;/a&gt; with plenty of syntax examples for each.&lt;br /&gt;&lt;br /&gt;BTW, thanks Oracle for finally adding support for UPDATE-only or INSERT-only operations!</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/6772234338500566714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/6772234338500566714' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/6772234338500566714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/6772234338500566714'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2008/02/good-article-on-merge-statement.html' title='Good article on MERGE statement enhancements in 10g'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-1643103371823219575</id><published>2008-02-11T15:57:00.000-06:00</published><updated>2008-02-11T16:23:07.826-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="howto"/><category scheme="http://www.blogger.com/atom/ns#" term="security"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>HowTo: Setup SSH equivalency</title><content type='html'>Here&#39;s a simple approach to setting up SSH (Secure SHell) equivalency across 2 UNIX boxes. This is also known as &quot;using SSH and SCP without passwords&quot;.&lt;br /&gt;&lt;br /&gt;There are a variety of reasons to setup SSH equivalency across UNIX boxes.  I assume you already have a desire to do so or you would not be reading this, so let&#39;s skip the sales patch and get to the howto part.&lt;br /&gt;&lt;br /&gt;While there are scripts that do this for you (especially if you&#39;re doing this for OEM setup), this is really easy to do on your own, so forget those kludgey scripts!&lt;br /&gt;&lt;br /&gt;NOTE: I&#39;m using &quot;UNIX01&quot; and &quot;UNIX02&quot; below to represent 2 different UNIX boxes along with user &quot;oracle&quot; - you can use whatever user you want, just ensure it&#39;s the same on both boxes.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;STEPS:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;On UNIX01:&lt;br /&gt;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Create $HOME/.ssh, if it does not already exist&lt;/li&gt;&lt;li&gt;$ cd $HOME/.ssh&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Generate your RSA key (NOTE: Your path may vary!)&lt;br /&gt;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;/usr/bin/ssh-keygen -t rsa&lt;/li&gt;&lt;li&gt;When prompted for a passphrase, just press (ENTER) &lt;enter&gt; (leave it blank)&lt;br /&gt;&lt;/enter&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Generate your DSA key&lt;br /&gt;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;/usr/bin/ssh-keygen -t dsa&lt;/li&gt;&lt;li&gt;When prompted for a passphrase, just press (ENTER) &lt;enter&gt; (leave it blank)&lt;/enter&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Store the 2 keys into the authorized_keys file&lt;/li&gt;&lt;ol&gt;&lt;li&gt;cat ~/.ssh/id_rsa.pub &gt;&gt; ~/.ssh/authorized_keys&lt;/li&gt;&lt;li&gt;cat ~/.ssh/id_dsa.pub &gt;&gt; ~/.ssh/authorized_keys&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;li&gt;On UNIX02:&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Repeat steps 1-5 above&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;On UNIX01:&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Copy the 2 lines from authorized_keys on UNIX02&lt;/li&gt;&lt;li&gt;Add them to the authorized_keys file&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;On UNIX02:&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Copy the 2 lines from authorized_keys on UNIX01&lt;/li&gt;&lt;li&gt;Add them to the authorized_keys file&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;That&#39;s it!&lt;br /&gt;&lt;br /&gt;Test your setup as follows:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(51, 51, 255);font-family:courier new;&quot; &gt;[oracle@UNIX01] $ ssh -l oracle unix02 date&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;It should just show you the date without prompting for a password.&lt;br /&gt;&lt;br /&gt;Now you can use scp and other ssh commands with ease!</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/1643103371823219575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/1643103371823219575' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/1643103371823219575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/1643103371823219575'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2008/02/howto-setup-ssh-equivalency.html' title='HowTo: Setup SSH equivalency'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-8083356489640425635</id><published>2007-10-04T10:50:00.000-05:00</published><updated>2007-10-04T10:56:37.393-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="howto"/><category scheme="http://www.blogger.com/atom/ns#" term="spfile"/><title type='text'>HowTo: Remove parameters from the spfile</title><content type='html'>Here&#39;s a question that comes up often:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;How do you remove an SPFILE parameter (not change the value of, but actually purge it outright)?&lt;/li&gt;&lt;/ul&gt;Answer:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Use &quot;ALTER SYSTEM RESET ...&quot; (For database versions 9i and up)&lt;/li&gt;&lt;/ul&gt;Syntax:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;ALTER SYSTEM RESET PARAMETER &lt;scope=memory|spfile|both&gt; SID=&#39;SID|*&#39;&lt;/scope=memory|spfile|both&gt;&lt;/li&gt;&lt;li&gt;ALTER SYSTEM RESET &quot;_TRACE_FILES_PUBLIC&quot; SCOPE=SPFILE SID=&#39;*&#39;;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;NOTE&lt;/span&gt;: The &quot;SID=&#39;SID|*&#39;&quot; argument is REQUIRED!</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/8083356489640425635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/8083356489640425635' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/8083356489640425635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/8083356489640425635'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/10/howto-remove-parameters-from-spfile.html' title='HowTo: Remove parameters from the spfile'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-950349484099968746</id><published>2007-09-24T13:25:00.000-05:00</published><updated>2007-09-24T13:29:24.202-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="howto"/><category scheme="http://www.blogger.com/atom/ns#" term="oem"/><title type='text'>HowTo: Clearing Alerts in OEM 10g Grid Control</title><content type='html'>I was browsing the Oracle Forums earlier today and &lt;a href=&quot;http://forums.oracle.com/forums/thread.jspa?threadID=498848&amp;amp;tstart=0&quot;&gt;this post&lt;/a&gt; with a bit of SQL to clear OEM alerts from &lt;a href=&quot;http://forums.oracle.com/forums/profile.jspa?userID=431826&quot; title=&quot;mnazim&quot;&gt;mnazim&lt;/a&gt;, who always has good advice to offer:&lt;br /&gt;&lt;blockquote&gt;To clear the alert:&lt;br /&gt;&lt;br /&gt;1. Make a SELECT * from MGMT_CURRENT_SEVERITY and show for the TARGET_GUID, METRIC_GUID and KEY_VALUE.&lt;br /&gt;&lt;br /&gt;2. Connect to db user SYSMAN and execute:&lt;br /&gt;exec EM_SEVERITY.delete_current_severity(TARGET_GUID, METRIC_GUID, KEY_VALUE);&lt;br /&gt;&lt;br /&gt;for example:&lt;br /&gt;exec EM_SEVERITY.delete_current_severity(&#39;0DEB8E6980695B7548CF98871084AD10&#39;, &#39;F95BA0D95585002889E1ABF92B2DA7C3&#39;, &#39;SYS&#39;);                     &lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/950349484099968746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/950349484099968746' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/950349484099968746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/950349484099968746'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/09/howto-clearing-alerts-in-oem-10g-grid.html' title='HowTo: Clearing Alerts in OEM 10g Grid Control'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-941646079439849893</id><published>2007-09-10T13:18:00.000-05:00</published><updated>2007-09-10T13:25:10.381-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="10gr2"/><category scheme="http://www.blogger.com/atom/ns#" term="flashback"/><title type='text'>What Do All 10g Flashback Features Rely on and what are their Limitations?</title><content type='html'>There&#39;s a great &lt;span style=&quot;font-weight: bold;&quot;&gt;MetaLink&lt;/span&gt; article on Flashback - check it out!&lt;br /&gt;&lt;br /&gt;What Do All 10g Flashback Features Rely on and what are their Limitations?&lt;br /&gt;Doc ID: Note:435998.1&lt;br /&gt;&lt;ul&gt;&lt;li&gt;What Do All Flashback Features Rely on ? &lt;/li&gt;&lt;li&gt;Differences Between New Oracle 10g Flashback Technologies &lt;/li&gt;&lt;li&gt;Limitations of Flashback Database &lt;/li&gt;&lt;li&gt;Limitations and Restrictions on Flashback Drop &lt;/li&gt;&lt;li&gt;Limitations and Restrictions on Flashback Tables&lt;/li&gt;&lt;/ul&gt;Here are two gems that were news to me:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;To be able to flashback a table, you must enable row movement for the table&lt;/li&gt;&lt;li&gt;Because DML operations are used to bring the table back to its former state, the ROWIDs in the table change. As a result, Flashback Table is not a viable option for applications that depend on the table’s ROWIDs to remain constant&lt;/li&gt;&lt;/ul&gt;Note that altering a table to enable row movement will cause underlying PL/SQL to &lt;span style=&quot;font-weight: bold;&quot;&gt;become invalid&lt;/span&gt;!!!</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/941646079439849893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/941646079439849893' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/941646079439849893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/941646079439849893'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/09/what-do-all-10g-flashback-features-rely.html' title='What Do All 10g Flashback Features Rely on and what are their Limitations?'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-1480205373575442284</id><published>2007-09-05T13:48:00.000-05:00</published><updated>2008-02-11T16:24:31.451-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="disaster recovery"/><category scheme="http://www.blogger.com/atom/ns#" term="howto"/><category scheme="http://www.blogger.com/atom/ns#" term="rman"/><title type='text'>HOWTO: Disaster Recovery: Recovering the RMAN catalog database using RMAN</title><content type='html'>What&#39;s the first step in a DR scenario?  Recovering the RMAN catalog database of course!&lt;br /&gt;&lt;br /&gt;Can you use RMAN to recover RMAN?  Yes, you can!&lt;br /&gt;&lt;br /&gt;For my money, the best feature of RMAN is that even though the catalog database itself will not startup without recovery, it can still be used.  Which is great, because otherwise we have one of those dreaded Star Trek space-time paradoxes (what do you do to recover your recovery system?!), and those make my head hurt.  Even better, it&#39;s really pretty easy if you know what to do.&lt;br /&gt;&lt;br /&gt;My scenario is:&lt;br /&gt;I walk into work one morning and the production box that my RMAN catalog is running on got hosed-up somehow over night (i&#39;m not naming any names... *cough* sysadmin *cough*) and now all of the databases on the box are down and in need of recovery as well as the RMAN database.&lt;br /&gt;&lt;br /&gt;Note that in this particular case, the RMANDB database needed archive logs that were not on the system in order to be recovered. This is what necessitates the use of Step 5 below to retrieve the file, otherwise, this step could be skipped.&lt;br /&gt;&lt;br /&gt;Here&#39;s how we fix the RMAN catalog database:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Set your Oracle environment variables as normal (I use &quot;oraenv&quot;)&lt;/li&gt;&lt;ol&gt;&lt;li&gt;$ . oraenv&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Start rman&lt;/li&gt;&lt;ol&gt;&lt;li&gt;$ rman&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Connect to the target DB and then the catalog (I use the &quot;rman&quot; user as my catalog owner and i&#39;ve named my RMAN catalog database &quot;rmandb&quot;)&lt;br /&gt;&lt;/li&gt;&lt;ol&gt;&lt;li style=&quot;font-family: courier new;&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;RMAN&gt; connect target&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;font-family: courier new;&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;RMAN&gt; connect catalog rman@rmandb&lt;/span&gt;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;font-family:courier new;font-size:85%;&quot;&gt;RMAN-00571: ===========================================================&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;font-size:85%;&quot;&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;font-size:85%;&quot;&gt;RMAN-00571: ===========================================================&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;font-size:85%;&quot;&gt;RMAN-04004: error from recovery catalog database: ORA-01034: ORACLE not available&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;font-size:85%;&quot;&gt;ORA-27101: shared memory realm does not exist&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;font-size:85%;&quot;&gt;IBM AIX RISC System/6000 Error: 2: No such file or directory&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;li&gt;Recover the database&lt;/li&gt;&lt;ol&gt;&lt;li style=&quot;font-family: courier new;&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;RMAN&gt; startup force nomount;&lt;/span&gt;&lt;/li&gt;&lt;ol style=&quot;font-family: courier new;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Oracle instance started&lt;br /&gt;Total System Global Area    2164260864 bytes&lt;br /&gt;Fixed Size                     2074256 bytes&lt;br /&gt;Variable Size                704645488 bytes&lt;br /&gt;Database Buffers            1442840576 bytes&lt;br /&gt;Redo Buffers                  14700544 bytes&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li style=&quot;font-family: courier new;&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;RMAN&gt; alter database mount;&lt;/span&gt;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;font-family:courier new;font-size:85%;&quot;&gt;database mounted&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;li&gt;Get the missing archive logs back from tape/disk/TSM/whatever&lt;br /&gt;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;NOTE: When I first tried the &quot;startup&quot; command the database it told me it need archive log 241 and up, so that is where the value below came from (you can always use &quot;restore archivelog all&quot;)&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:courier new;font-size:85%;&quot;&gt;RMAN&gt; run {&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;font-size:85%;&quot;&gt;allocate channel oem_restore type sbt parms &#39;ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)&#39;;&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;font-size:85%;&quot;&gt;allocate channel oem_restore_disk type disk;&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;font-size:85%;&quot;&gt;restore archivelog from logseq=241 thread=1;&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;font-size:85%;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Open the database&lt;/li&gt;&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;font-family:courier new;font-size:85%;&quot;&gt;RMAN&gt; alter database open resetlogs;&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;Having gone through this exercise just a couple of months ago, I can tell you that I was absolutely thrilled when this worked!!</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/1480205373575442284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/1480205373575442284' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/1480205373575442284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/1480205373575442284'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/09/howto-disaster-recovery-recovering-rman.html' title='HOWTO: Disaster Recovery: Recovering the RMAN catalog database using RMAN'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-6531493088939030439</id><published>2007-08-27T12:11:00.001-05:00</published><updated>2007-08-27T13:52:12.864-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="10gr2"/><category scheme="http://www.blogger.com/atom/ns#" term="help"/><category scheme="http://www.blogger.com/atom/ns#" term="oem"/><category scheme="http://www.blogger.com/atom/ns#" term="sql"/><title type='text'>Problem: ORA-10631 errors encountered during &quot;SHRINK SPACE&quot; operation</title><content type='html'>OEM was nice the other day and offered some Segment Adviser Recommendations to shrink a few tables that had become fragmented.  However, when I ran the shrink job, it failed.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;PROBLEM:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&quot;ALTER TABLE my_test_table SHRINK SPACE;&quot; results in &quot;ORA-10631: SHRINK clause should not be specified for this object&quot;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;SOLUTION:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Tables that have function-based indexes cannot be compacted using the SHRINK clause&lt;/li&gt;&lt;li&gt;Apparently, someone forgot to inform OEM of this fact (thanks the bogus recommendations! :-)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;See MetaLink Bug No.:5968539&lt;/li&gt;&lt;/ul&gt;Here&#39;s a SQL statement that shows all the tables in a given schema and whether they are candidates for the SHRINK clause:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;dt.owner,&amp;nbsp;dt.table_name,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(CASE&lt;br /&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;WHEN&amp;nbsp;NVL(ind.cnt,&amp;nbsp;0)&amp;nbsp;&lt;&amp;nbsp;1&amp;nbsp;THEN&amp;nbsp;&#39;Y&#39;&lt;br /&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;ELSE&amp;nbsp;&#39;N&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;END)&amp;nbsp;AS&amp;nbsp;can_shrink&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FROM&amp;nbsp;dba_tables&amp;nbsp;dt,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;table_name,&amp;nbsp;COUNT(*)&amp;nbsp;cnt&lt;br /&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;&amp;nbsp;FROM&amp;nbsp;dba_indexes&amp;nbsp;di&lt;br /&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;WHERE&amp;nbsp;index_type&amp;nbsp;LIKE&amp;nbsp;&#39;FUNCTION-BASED%&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;GROUP&amp;nbsp;BY&amp;nbsp;table_name)&amp;nbsp;ind&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;WHERE&amp;nbsp;dt.table_name&amp;nbsp;=&amp;nbsp;ind.table_name(+)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;AND&amp;nbsp;dt.table_name&amp;nbsp;NOT&amp;nbsp;LIKE&amp;nbsp;&#39;AQ$%&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;AND&amp;nbsp;dt.table_name&amp;nbsp;NOT&amp;nbsp;LIKE&amp;nbsp;&#39;BIN$%&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;AND&amp;nbsp;dt.owner&amp;nbsp;=&amp;nbsp;&#39;BRENT&#39;&lt;br /&gt;ORDER&amp;nbsp;BY&amp;nbsp;1,&amp;nbsp;2;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/6531493088939030439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/6531493088939030439' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/6531493088939030439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/6531493088939030439'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/08/problem-ora-10631-errors-encountered.html' title='Problem: ORA-10631 errors encountered during &quot;SHRINK SPACE&quot; operation'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-9164511655157204100</id><published>2007-08-27T11:12:00.000-05:00</published><updated>2007-08-27T11:50:32.929-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="10gr2"/><category scheme="http://www.blogger.com/atom/ns#" term="help"/><category scheme="http://www.blogger.com/atom/ns#" term="hot backup"/><title type='text'>Problem: Unable to copy data files when 10g database is in hot backup mode</title><content type='html'>So, our customers are FINALLY making the transition to 10gR2 databases this summer and we&#39;re having all kinds of great &quot;Oops!&quot; moments.  Here&#39;s a good example:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;PROBLEM:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;A tablespace&#39;s physical files cannot be copied even when the tablespace is in hot backup mode.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;We created a pretty standard 10.2.0.3 database on an AIX 5L box, and when we put the tablespaces into hot backup mode, we were unable to copy the data files to a backup location as AIX kept reporting that they were locked.&lt;/li&gt;&lt;/ul&gt;Of course our first reaction was &quot;HUH?!&quot;, and after much head scratching, sysadmin pestering, and SAR opening, we finally got the solution from Oracle.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;SOLUTION:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;There is a bug with the FILESYSTEMIO_OPTIONS init parameter in 10g that prevents the &quot;setall&quot; value from working correctly.&lt;/li&gt;&lt;li&gt;We were able to copy the data files once we made the following change: filesystemio_options=async&lt;br /&gt;&lt;/li&gt;&lt;li&gt;See MetaLink Note:434385.1&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/9164511655157204100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/9164511655157204100' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/9164511655157204100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/9164511655157204100'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/08/problem-unable-to-copy-data-files-when.html' title='Problem: Unable to copy data files when 10g database is in hot backup mode'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-7278945329613164928</id><published>2007-08-24T09:51:00.002-05:00</published><updated>2008-05-15T10:45:38.980-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="howto"/><category scheme="http://www.blogger.com/atom/ns#" term="oem"/><category scheme="http://www.blogger.com/atom/ns#" term="udm"/><title type='text'>HowTo: Setup User Defined Metrics in OEM Grid Control</title><content type='html'>User Defined Metrics are a fantastic feature of OEM Grid Control.  Do you use them? Well, you should! They are very easy to setup and are just as reliable as any other OEM alerts.&lt;br /&gt;&lt;br /&gt;As an example, let&#39;s say you want to be notified whenever a certain schema has any invalid objects in it.  This is how to setup such an alert:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Navigate to the database instance &quot;Home&quot; page&lt;/li&gt;&lt;li&gt;Click the &quot;User Defined Metrics&quot; link at the bottom of the page&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA6XI7IZW8bHiW6g8S2NkbQNQl0Rz5ppVnB0YVtGXhGIlKemYF8Y8z0zZ4C8UXXf019VugjBwfrCraRGcL31DezL0xxtK-ZVX4Xahmn-z-dhvYQ7ZymJLTy7jf39qrN94oW49XArEFCD0/s1600-h/UDM_link.png&quot;&gt;&lt;img style=&quot;cursor: pointer; width: 300px; height: 184px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA6XI7IZW8bHiW6g8S2NkbQNQl0Rz5ppVnB0YVtGXhGIlKemYF8Y8z0zZ4C8UXXf019VugjBwfrCraRGcL31DezL0xxtK-ZVX4Xahmn-z-dhvYQ7ZymJLTy7jf39qrN94oW49XArEFCD0/s400/UDM_link.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5102280635593936802&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Click the &quot;Create&quot; button to create a new UDM&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr23RBgd77segqAkt5clMGBR_dJG0TWjgUjvfQqeCaUwcNGXApMBVsDiSUsLe1R-s5zC_StfXdGRnOBTw3SVBBmfeTDLKE58IwkMnO-3FMFDhyGdzSoSfohDHeTdKS3Jf17R4i8sMdmA8/s1600-h/UDM_page.png&quot;&gt;&lt;img style=&quot;cursor: pointer; width: 305px; height: 99px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr23RBgd77segqAkt5clMGBR_dJG0TWjgUjvfQqeCaUwcNGXApMBVsDiSUsLe1R-s5zC_StfXdGRnOBTw3SVBBmfeTDLKE58IwkMnO-3FMFDhyGdzSoSfohDHeTdKS3Jf17R4i8sMdmA8/s400/UDM_page.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5102281795235106738&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Complete all of the form fields&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8wIn9I8g7GwBtOKlyjGOwn16P93NSurPqo02RaRepfM209T1y3mbu1OQnZA36Y0Di7npn7OK1UT3SSijxlo41sEg9GFd_QjlSKDD5H6Q1YioxGHTWODs2mNZi6OV4kWVWUB-5BwGxhao/s1600-h/UDM_sample_metric.png&quot;&gt;&lt;img style=&quot;cursor: pointer; width: 304px; height: 261px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8wIn9I8g7GwBtOKlyjGOwn16P93NSurPqo02RaRepfM209T1y3mbu1OQnZA36Y0Di7npn7OK1UT3SSijxlo41sEg9GFd_QjlSKDD5H6Q1YioxGHTWODs2mNZi6OV4kWVWUB-5BwGxhao/s400/UDM_sample_metric.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5102282448070135746&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;SQL query you would like to run (don&#39;t use a semi-colon at the end!)&lt;/li&gt;&lt;li&gt;Credentials&lt;/li&gt;&lt;li&gt;Thresholds&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Schedule&lt;/li&gt;&lt;li&gt;Note that you can customize the subject line of the notification emails&lt;/li&gt;&lt;li&gt;Click the &quot;Test&quot; button to make sure the results are what you want&lt;/li&gt;&lt;li&gt;Click &quot;Ok&quot; to save this UDM&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Now, if you merely stop here, no notifications will ever be sent!  Why?  Because there is no Notification Rule defined, so let&#39; s do that next...&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click &quot;Preferences&quot; in the top right corner of any Grid Control page&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click &quot;Rules&quot; in the left nav bar&lt;/li&gt;&lt;li&gt;Create a new Notification Rule&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8hPQdixbyjOniHoUA6Aqk9na4gUfy-sNW9zVKcEp2TrOLjVUhgz3YuoDETv3Xk88kYa3MNf0SsCFgMDqhtB1nT_ZhVhz7sfex2HoW8KdMFCCRpyWB3qjPNgC7E_2EW7oxzLQ84yod0iI/s1600-h/notif_rules.png&quot;&gt;&lt;img style=&quot;cursor: pointer; width: 311px; height: 177px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8hPQdixbyjOniHoUA6Aqk9na4gUfy-sNW9zVKcEp2TrOLjVUhgz3YuoDETv3Xk88kYa3MNf0SsCFgMDqhtB1nT_ZhVhz7sfex2HoW8KdMFCCRpyWB3qjPNgC7E_2EW7oxzLQ84yod0iI/s400/notif_rules.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5102284453819862994&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Voila!  Now email notifications will be sent whenever your threshold is exceeded and the this metric automatically integrates with all of the Alert display boxes throughout OEM.&lt;/li&gt;&lt;/ol&gt;Cool huh?</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/7278945329613164928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/7278945329613164928' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/7278945329613164928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/7278945329613164928'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/08/howto-setup-user-defined-metrics-in-oem.html' title='HowTo: Setup User Defined Metrics in OEM Grid Control'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA6XI7IZW8bHiW6g8S2NkbQNQl0Rz5ppVnB0YVtGXhGIlKemYF8Y8z0zZ4C8UXXf019VugjBwfrCraRGcL31DezL0xxtK-ZVX4Xahmn-z-dhvYQ7ZymJLTy7jf39qrN94oW49XArEFCD0/s72-c/UDM_link.png" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-8309193220208749447</id><published>2007-08-24T09:49:00.000-05:00</published><updated>2007-08-24T09:51:12.242-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11g"/><title type='text'>11g New Features for DBA&#39;s</title><content type='html'>Arup Nanda is already hard at work detailing the new 11g features for DBA&#39;s!&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.html&quot;&gt;Check it out&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/8309193220208749447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/8309193220208749447' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/8309193220208749447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/8309193220208749447'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/08/11g-new-features-for-dbas.html' title='11g New Features for DBA&#39;s'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-3615758504994708986</id><published>2007-08-09T14:48:00.000-05:00</published><updated>2007-08-09T14:52:12.906-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aix"/><category scheme="http://www.blogger.com/atom/ns#" term="i/o"/><title type='text'>Diagnosing Oracle I/O problems in AIX</title><content type='html'>Check out &lt;a href=&quot;http://mattfleming.com/node/204&quot;&gt;this great post&lt;/a&gt; by Matt Fleming.&lt;br /&gt;&lt;br /&gt;I was searching for how to create a Physical Volume (PV) to Logical Volume (LV) LUN mapping spreadsheet for my AIX system.  I didn&#39;t find anything as good as this, so H/T to my buddy Mark for sending me this link.&lt;br /&gt;&lt;br /&gt;Now I know how get this information, plus I saved the AIX I/O Stack diagram for future reference.&lt;br /&gt;&lt;br /&gt;Very nice!</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/3615758504994708986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/3615758504994708986' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/3615758504994708986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/3615758504994708986'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/08/diagnosing-oracle-io-problems-in-aix.html' title='Diagnosing Oracle I/O problems in AIX'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-1535842227077230457</id><published>2007-08-07T10:41:00.000-05:00</published><updated>2007-08-07T15:34:39.997-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asm"/><category scheme="http://www.blogger.com/atom/ns#" term="howto"/><category scheme="http://www.blogger.com/atom/ns#" term="reorg"/><title type='text'>HowTo: Reorg physical disks under ASM</title><content type='html'>&lt;p&gt;Let&#39;s say I have one or more disks/mounts in an ASM disk group and I want to get all of my data off of this disk and then remove it from the disk group.  How is this done?&lt;br /&gt;&lt;br /&gt;Answer:&lt;br /&gt;&lt;br /&gt;When I first built my lone ASM instance (+ASM), I had SysAdmin create 2 300GB RAW mounts and made them into a single disk group to be used by a single instance.&lt;br /&gt;&lt;br /&gt;This setup lead to very poor ASM throughput of about 2MB/sec (and this is off of an 200MB/sec EMC SAN!).  This is on a 64-bit AIX 5L box with each mount only having only a single LUN (which they did not bother to disclose to me until AFTER i reported slowness!).&lt;br /&gt;&lt;br /&gt;So what i decided to do was to start again.&lt;br /&gt;&lt;br /&gt;I went back to the SA&#39;s and ordered 20, 25GB mounts with a unique LUN for each mountpoint.  After the space became available I added it to my existing disk group (DGROUP1) and let ASM rebalance itself over night.&lt;br /&gt;&lt;br /&gt;Now, here&#39;s the genius part: All you have to do to get your data off of a disk and remove is to just go into the OEM Grid Control ASM Disk Group page, select the disk and click the &quot;Remove&quot; button.&lt;br /&gt;&lt;br /&gt;ASM &lt;b&gt;AUTOMATICALLY&lt;/b&gt; rebalances the data off of this one disk onto the remaining disks and then drops the disk!.  How great is that?&lt;br /&gt;&lt;br /&gt;Once you&#39;ve selected a disk and clicked &quot;Remove&quot;, you will see that the disk now has a status of &quot;Dropping&quot; (see screen-cap below).&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy1zAcxBKBUv5hIGCayWBaKwPgwK_w7o9CYjRyV7VI3hpYCcu40cQbdpRt2TYcMibZOBLB2gjsAXNhRBgyxU5vay3MjzTdkCzQOtlXUNHfNpqM2RFpLMEaVRxqFrVfxzlb_YfDDzdytiY/s1600-h/Disk+Group+page+-+dropping+status.png&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy1zAcxBKBUv5hIGCayWBaKwPgwK_w7o9CYjRyV7VI3hpYCcu40cQbdpRt2TYcMibZOBLB2gjsAXNhRBgyxU5vay3MjzTdkCzQOtlXUNHfNpqM2RFpLMEaVRxqFrVfxzlb_YfDDzdytiY/s400/Disk+Group+page+-+dropping+status.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5096033222152464770&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can also monitor the progress of the drop operation by using the &quot;Pending Operations&quot; link under the General section heading on the Disk Group page (see screen cap below).&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqcVK2NwqPX6OQdo-xWek8q5SPViuJb2yS3pVenbixlVEiykYt7JBwBOv_Et2Ow9JAe0YpXZbryLenw1VlspgFRWriJwuPz7H1IkcVYz4O1E4iiJyJ1g0odE_wLa0xyKdeXMnB9esAyDY/s1600-h/Disk+Group+page+-+pending_operations.png&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqcVK2NwqPX6OQdo-xWek8q5SPViuJb2yS3pVenbixlVEiykYt7JBwBOv_Et2Ow9JAe0YpXZbryLenw1VlspgFRWriJwuPz7H1IkcVYz4O1E4iiJyJ1g0odE_wLa0xyKdeXMnB9esAyDY/s400/Disk+Group+page+-+pending_operations.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5096058317646375314&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/1535842227077230457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/1535842227077230457' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/1535842227077230457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/1535842227077230457'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/08/howto-reorg-physical-disks-under-asm.html' title='HowTo: Reorg physical disks under ASM'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy1zAcxBKBUv5hIGCayWBaKwPgwK_w7o9CYjRyV7VI3hpYCcu40cQbdpRt2TYcMibZOBLB2gjsAXNhRBgyxU5vay3MjzTdkCzQOtlXUNHfNpqM2RFpLMEaVRxqFrVfxzlb_YfDDzdytiY/s72-c/Disk+Group+page+-+dropping+status.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-7033949738356004769</id><published>2007-07-12T15:34:00.001-05:00</published><updated>2007-07-21T13:37:52.640-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="10gr2"/><category scheme="http://www.blogger.com/atom/ns#" term="backups"/><category scheme="http://www.blogger.com/atom/ns#" term="disaster recovery"/><title type='text'>An insanely great trick to recover a cold backup database that starts needing recovery</title><content type='html'>Why would a 10g database restored from cold backup need recovery?  That&#39;s messed up.&lt;br /&gt;&lt;br /&gt;So for the second time now, we took a small (~50GB) database the other day, shut it down using &quot;shutdown immediate&quot;, started it back up, switched logs, and then shut it down again.&lt;br /&gt;&lt;br /&gt;We then cloned it (took a cold backup of it, and brought it up with a different name), and low-and-behold it complains that it needs recovery.  WTF?&lt;br /&gt;&lt;br /&gt;Here&#39;s the upside though: There&#39;s a way to easily recover from this and bring the database up.&lt;br /&gt;&lt;br /&gt;Check out MetaLink Note: 175015.1 - it&#39;s somewhat cryptic, but essentially all you need to do is take the most recent REDO log and copy it to the archivelog dest location and name it to whatever archivelog name Oracle is suggesting in the recover database command, then just hit  (Return) to accept the filename and begin the recovery process.  Next thing you know, boom, everything is up and running.&lt;br /&gt;&lt;br /&gt;Now to the question of why this is happening...</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/7033949738356004769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/7033949738356004769' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/7033949738356004769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/7033949738356004769'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/07/insanely-great-trick-to-recover-cold.html' title='An insanely great trick to recover a cold backup database that starts needing recovery'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-1901460591414375462</id><published>2007-07-12T14:47:00.000-05:00</published><updated>2007-07-21T13:47:51.253-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="firefox"/><category scheme="http://www.blogger.com/atom/ns#" term="metalink"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><title type='text'>Oracle MetaLink search plugin now available for Firefox</title><content type='html'>Sweet!  &lt;a href=&quot;http://oracleappslab.com/sandbox.html&quot;&gt;Check it out&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Thanks to the good folks at Oracle AppsLab!</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/1901460591414375462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/1901460591414375462' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/1901460591414375462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/1901460591414375462'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/07/oracle-metalink-search-plugin-now.html' title='Oracle MetaLink search plugin now available for Firefox'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-855539084539609417</id><published>2007-06-20T15:30:00.000-05:00</published><updated>2007-06-20T16:16:59.810-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aix"/><category scheme="http://www.blogger.com/atom/ns#" term="help"/><category scheme="http://www.blogger.com/atom/ns#" term="rman"/><category scheme="http://www.blogger.com/atom/ns#" term="tdpo"/><category scheme="http://www.blogger.com/atom/ns#" term="tsm"/><title type='text'>Issues with RMAN on AIX using TDP for Oracle</title><content type='html'>&lt;span style=&quot;font-family:arial;&quot;&gt;So our group has thankfully decided to go with RMAN for database backups, and you know i&#39;m first in line to take this task on.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Here&#39;s my setup at a high level:&lt;/span&gt;&lt;br /&gt;&lt;ul style=&quot;font-family: arial;&quot;&gt;&lt;li&gt;10gR2 database (rmandb - snappy name huh? :)&lt;/li&gt;&lt;li&gt;IBM&#39;s TDP 5.3 for Oracle&lt;br /&gt;&lt;/li&gt;&lt;li&gt;AIX 5.2&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Steps:&lt;/span&gt;&lt;br /&gt;&lt;ol style=&quot;font-family: arial;&quot;&gt;&lt;li&gt;My internal IT department setup my TSM domain, etc.&lt;/li&gt;&lt;li&gt;Sysadmin installed the TDP fileset and then generated the password file for me&lt;br /&gt;&lt;/li&gt;&lt;li&gt;I used the &lt;a href=&quot;http://publib.boulder.ibm.com/infocenter/tivihelp/v1r1/topic/com.ibm.itsmfd.doc/ab5u000268.htm#quick&quot;&gt;TSM Quick Start Guide&lt;/a&gt; to get all of my config files and directories setup&lt;/li&gt;&lt;li&gt;I used OEM GC R3 to set the RMAN preferences, and to setup the Tape parameters: ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Once all of this was done and &quot;$ tdpoconf SHOWENVironment&quot; looked good, i went for my first test drive.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;I logged into RMAN, connected to target, and then ran a connection test:&lt;/span&gt;&lt;br /&gt;&lt;blockquote style=&quot;font-family: arial;&quot;&gt;run {&lt;br /&gt;allocate channel oem_sbt_backup type &#39;sbt_tape&#39; format &#39;%U&#39; parms &#39;ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)&#39;;&lt;br /&gt;release channel oem_sbt_backup;&lt;br /&gt;}&lt;br /&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;And it worked fine.  Woot!&lt;br /&gt;&lt;br /&gt;Next, I used the &quot;Test Backup&quot; button on the Backup Setting OEM page.  It&#39;s a simple test consisting of:&lt;/span&gt;&lt;br /&gt;&lt;blockquote style=&quot;font-family: arial;&quot;&gt;run {&lt;br /&gt;allocate channel oem_sbt_backup type &#39;sbt_tape&#39; format &#39;%U&#39; parms &#39;ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)&#39;;&lt;br /&gt;backup as BACKUPSET current controlfile tag &#39;05252007020711&#39;;&lt;br /&gt;restore controlfile validate from tag &#39;05252007020711&#39;;&lt;br /&gt;release channel oem_sbt_backup;&lt;br /&gt;}&lt;br /&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;And... it fails with this lovely error output:&lt;/span&gt;&lt;br /&gt;&lt;blockquote style=&quot;font-family: arial;&quot;&gt;RMAN-00571: ===========================================================&lt;br /&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;br /&gt;RMAN-00571: ===========================================================&lt;br /&gt;RMAN-03009: failure of backup command on ORA_SBT_TAPE_1 channel at 05/22/2007 16:28:09&lt;br /&gt;ORA-19506: failed to create sequential file, name=&quot;0aiiceoi_1_2&quot;, parms=&quot;&quot;&lt;br /&gt;ORA-27028: skgfqcre: sbtbackup returned error&lt;br /&gt;ORA-19511: Error received from media manager layer, error text:&lt;br /&gt;ANS0231E (RC2025) The management class name was not found.&lt;br /&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Nice huh??  What the heck is &quot;ANS0231E (RC2025) The management class name was not found.&quot;?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;If you think that&#39;s depressing, try entering &quot;ANS0231E&quot; into Google.  There is less than 30 results worldwide!  I hate when that happens...&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;After working with IS and IBM for 3 weeks (3 weeks!!!), we finally worked our way up to a SEV-1 analyst on a conference call and he figures it out.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Wait for it...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;My &lt;/span&gt;&lt;span style=&quot;font-weight: bold;font-family:arial;&quot; &gt;tdpo.opt&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt; file had no stanza for &quot;TDPO_MGMT_CLASS_2&quot; (or _3, or _4) because I was only allocating one channel (these values are only used when more than one channel is opened to TSM, otherwise, it used the channel appropriately named &quot;DEFAULT&quot;).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Here&#39;s the gotcha: I setup RMAN to do &#39;duplex&#39; copies, e.g.: create 2 copies of all datafiles and 2 copies of all control files.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;The problem is RMAN opens 2 channels when duplex is set!!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Bottom Line: (I had IBM add this to their KB)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;If you receive the dreaded &quot;ANS0231E (RC2025) The management class name was not found.&quot; error, the first question you need to ask yourself is, &quot;Am i using duplex copies&quot;, if so, i&#39;ll bet you don&#39;t have a value for &quot;TDPO_MGMT_CLASS_2&quot; in your tdpo.opt file.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;This was a hard lesson learned... :-)&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/855539084539609417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/855539084539609417' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/855539084539609417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/855539084539609417'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/06/issues-with-rman-on-aix-using-tdp-for.html' title='Issues with RMAN on AIX using TDP for Oracle'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-8028698382727930513</id><published>2007-06-14T09:50:00.000-05:00</published><updated>2007-06-14T10:15:05.634-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="10gr2"/><category scheme="http://www.blogger.com/atom/ns#" term="oem"/><category scheme="http://www.blogger.com/atom/ns#" term="upgrade"/><title type='text'>Upgrading EM Grid Control from 10.2.0.1 to 10.2.0.3</title><content type='html'>Okay, so I finally bit the bullet and upgraded EM Grid Control from the initial install version of 10.2.0.1 to 10.2.0.3 and upgraded the EM repository (cleverly named EMREP) from 10.1.0.5 to 10.2.0.1 .&lt;br /&gt;&lt;br /&gt;Here&#39;s a few observations about the upgrade:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;The EMREP page in GC still showed the old 10.1 home instead of the new 10.2 home.&lt;br /&gt;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;This stems from the fact that I had 2 different ORACLE_HOME installs: /orabase/product/ora10g and /orabase/OracleHomes/db10g.&lt;/li&gt;&lt;li&gt;Upgrading meant moving from one home to another and GC did not pick up on this change&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Solution: Remove EMREP from monitoring and re-add it (BTW, refreshing the host configuration did not work!)&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;It took much longer than I had planned.&lt;/li&gt;&lt;ol&gt;&lt;li&gt;As part of the 10.2.0.3 patch, a repository upgrade was necessary - this step alone took about 45 minutes - yikes!&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;There are about 8 new security policies that come with GC 10.2.0.3 (&quot;&lt;span id=&quot;policiesList&quot;&gt;Password Complexity Verification Function Usage&quot;, etc&lt;/span&gt;.)&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Once you&#39;ve upgraded and logged in to GC, you&#39;ll see a whole bunch of new security policy warnings.&lt;/li&gt;&lt;li&gt;Sadly, these have to be fixed by going to your Monitoring Templates (you do use templates right??) and using the &quot;Add Policies To Template&quot; button to add the offending policies and then set them appropriately.&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;One last thing:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;They finally fixed that god-forsaken bug that kept the Database-&gt;Administration-&gt;Tablespaces page from rendering on 9i databases in under an hour!  Jeez, that was annoying as hell! :-)&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/8028698382727930513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/8028698382727930513' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/8028698382727930513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/8028698382727930513'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/06/upgrading-em-grid-control-from-10201-to.html' title='Upgrading EM Grid Control from 10.2.0.1 to 10.2.0.3'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-7607368829801860470</id><published>2007-05-31T13:47:00.000-05:00</published><updated>2007-05-31T14:07:00.949-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sql"/><title type='text'>SQL of the Day: How to view progress of DML operations</title><content type='html'>So, you&#39;re running an INSERT/UPDATE/DELETE statement and it&#39;s just sitting there processing.  Then your boss comes by and says, &quot;When will this be done?&quot;.  Well now you can tell them.&lt;br /&gt;&lt;br /&gt;Run this SQL to show the progress of DML operations:&lt;br /&gt;&lt;blockquote style=&quot;font-family: courier new;&quot;&gt;SELECT SUBSTR(sql_text, 1, 60) &quot;SQL Text&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rows_processed &quot;Total Rows Processed&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ROUND((SYSDATE - TO_DATE(first_load_time, &#39;yyyy-mm-dd hh24:mi:ss&#39;)) * 24 * 60, 1)             &quot;Total Time (Min)&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TRUNC(rows_processed /((SYSDATE - TO_DATE(first_load_time, &#39;yyyy-mm-dd hh24:mi:ss&#39;)) * 24 * 60))      &quot;Rows/Min&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TRUNC(rows_processed /((SYSDATE - TO_DATE(first_load_time, &#39;yyyy-mm-dd hh24:mi:ss&#39;)) * 24 * 60 * 60)) &quot;Rows/Sec&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;FROM SYS.v_$sqlarea&lt;br /&gt;&amp;nbsp;WHERE sql_text LIKE &#39;INSERT INTO some_table%&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;AND open_versions &gt; 0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;AND rows_processed &gt; 0;&lt;br /&gt;&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/7607368829801860470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/7607368829801860470' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/7607368829801860470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/7607368829801860470'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/05/sql-of-day-how-to-view-progress-of-dml.html' title='SQL of the Day: How to view progress of DML operations'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-4186697941411431287</id><published>2007-05-24T14:28:00.000-05:00</published><updated>2007-05-24T14:39:07.609-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="10gr2"/><category scheme="http://www.blogger.com/atom/ns#" term="asm"/><title type='text'>D&#39;oh! of the Day: Creating a tablespace with 16k blocksize in a database with 8k blocksize default</title><content type='html'>So, this should have been a no-brainer.&lt;br /&gt;&lt;br /&gt;I&#39;m trying to improve the performance of a DSS database (10gR2 with ASM), so I figure, &quot;Hey, i&#39;ll create a new tablespace with a 16k blocksize and reorg 2 big tables into it to see if that helps.&quot;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;;font-family:courier new;font-size:85%;&quot;  &gt;SQL&gt; CREATE SMALLFILE TABLESPACE &quot;DATA_16K&quot;&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:courier new;font-size:85%;&quot;  &gt;     DATAFILE&#39;+DGROUP1(DATAFILE)&#39; SIZE 1M&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:courier new;font-size:85%;&quot;  &gt;     LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:courier new;font-size:85%;&quot;  &gt;     BLOCKSIZE 16K;&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:courier new;font-size:85%;&quot;  &gt;ORA-27035: logical block size is invalid&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;/span&gt;Huh??&lt;br /&gt;&lt;br /&gt;Here&#39;s the solution (the D&#39;oh! moment): I never created a buffer pool for 16k blocks!&lt;br /&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;SQL&gt; select id,name,block_size, current_size,buffers from v$buffer_pool;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;        ID|NAME                |BLOCK_SIZE|CURRENT_SIZE|   BUFFERS&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;----------|--------------------|----------|------------|----------&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;         3|DEFAULT             |      8192|        2560|    317439&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;SQL&gt; alter system set db_16K_cache_size=2m scope=both;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;System altered.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;SQL&gt; select id,name,block_size, current_size,buffers from v$buffer_pool;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;        ID|NAME                |BLOCK_SIZE|CURRENT_SIZE|   BUFFERS&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;----------|--------------------|----------|------------|----------&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;         3|DEFAULT             |      8192|        2528|    313471&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;         7|DEFAULT             |     16384|          32|      2014&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;SQL&gt; CREATE SMALLFILE TABLESPACE &quot;DATA_16K&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;     DATAFILE&#39;+DGROUP1(DATAFILE)&#39; SIZE 1M&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;     LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;     BLOCKSIZE 16K;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Tablespace created.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;Yes, i&#39;m easily amused some days.</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/4186697941411431287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/4186697941411431287' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/4186697941411431287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/4186697941411431287'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/05/doh-of-day-creating-tablespace-with-16k.html' title='D&#39;oh! of the Day: Creating a tablespace with 16k blocksize in a database with 8k blocksize default'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-6279912822051440081</id><published>2007-05-14T09:34:00.000-05:00</published><updated>2007-05-15T10:28:04.892-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="10gr2"/><category scheme="http://www.blogger.com/atom/ns#" term="asm"/><category scheme="http://www.blogger.com/atom/ns#" term="dbca"/><category scheme="http://www.blogger.com/atom/ns#" term="help"/><title type='text'>Having issues using DBCA with ASM on 10gR2?</title><content type='html'>So, i&#39;m feeling particularly pleased last week when I finally get &lt;a style=&quot;font-weight: bold;&quot; href=&quot;http://www.oracle.com/technology/products/database/asm/index.html&quot;&gt;ASM&lt;/a&gt; up and running last week on a new reporting server.  It&#39;s an IBM AIX box, with a 600GB disk group (DGROUP1), using the usual &quot;+ASM&quot; instance name. Also note that I used my &lt;span style=&quot;font-weight: bold;&quot;&gt;10gR2 &lt;/span&gt;(10.2.0.1 EE) home as my ASM home, since i&#39;m only using ASM for a single database on this box.&lt;br /&gt;&lt;br /&gt;Once i verify that &lt;span style=&quot;font-weight: bold;&quot;&gt;ASM &lt;/span&gt;is working and that it&#39;s hooked into EM Grid Control, I cd to my Oracle 10gR2 home, setup my environment by using oraenv, and then run &lt;span style=&quot;font-weight: bold;&quot;&gt;dbca&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Everything is going great until I get to the storage page, where I select &quot;ASM&quot; and click Next.  Within a couple of seconds,  I see this gem of an error message:&lt;br /&gt;&lt;blockquote&gt;&quot;DBCA could not startup the ASM instance configured on this node. To proceed with the database creation using ASM, ASM instance needs to be up and running. Do you want to recreate ASM instance on this node?&quot;&lt;/blockquote&gt;Hmm.  Not what I wanted to see, that&#39;s for sure.  :-(&lt;br /&gt;&lt;br /&gt;So it&#39;s off to Metalink to see what Oracle has to say.  In no short order, I find about 6 separate issues (some with their own accompanying bug numbers) all reporting the exact same issue, and all with existing ASM&lt;br /&gt;instances.&lt;br /&gt;&lt;br /&gt;The only note that had a real work-around involved changing some &lt;span style=&quot;font-weight: bold;&quot;&gt;OAS &lt;/span&gt;(Oracle Advanced Security) settings as ODBC did not work well with them.  That&#39;s all well-and-good, but i&#39;m not using OAS.  My sqlnet.ora file has one line!&lt;br /&gt;&lt;br /&gt;Next, I did what all good DBA&#39;s do when faced with this type of situation: go to Google.   Unfortunately, I was still unable to find a solution.  The OTN forums were not much help either.  Oddly enough, some of my searches even resulted in &lt;a href=&quot;http://en.wikipedia.org/wiki/Googlewhacking&quot;&gt;googlewhacks&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The one interesting result I found on Metalink said something like, &quot;I managed to use dbca to setup a database with ASM before, but now that I try it a second time, it does not work!&quot;  Interesting.  To me, that meant there HAD TO BE a solution here.  There&#39;s just no way that dbca is unable to create a database with ASM.  Common!!&lt;br /&gt;&lt;br /&gt;Here&#39;s what i&#39;m doing: I have 2 terminal windows open - one was running dbca, the other was my working terminal.  The working one being the terminal I used to change listener settings, tnsping, etc.&lt;br /&gt;&lt;br /&gt;After 2 hours of a hapless tango between clicking Next&gt; and seeing the same error, then changing settings ... &lt;rinse-and-repeat&gt;, I finally throw in the towel at 4:30 and close the term window running dbca.&lt;br /&gt;&lt;br /&gt;Just for fun, I run dbca from the OTHER term window where i&#39;ve been continually futzing with settings.  I get to Storage, select ASM and click Next...  NOW IT WORKS!!! WTF?!&lt;br /&gt;&lt;br /&gt;That&#39;s why it works for some people sometimes and then stops the next time.  We&#39;ve got some env variable or something set wrong!&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;SOLUTION:&lt;/span&gt; If you get this error, check your settings, open another window, re-run oraenv, keep trying!&lt;br /&gt;&lt;br /&gt;As soon as dbca completed, I catpured my &#39;env&#39; output - here&#39;s the items of interest:&lt;br /&gt;&lt;/rinse-and-repeat&gt;&lt;ul&gt;&lt;li&gt;ORACLE_SID=+ASM&lt;/li&gt;&lt;li&gt;ORACLE_HOME=/orabase/product/ora10g&lt;/li&gt;&lt;li&gt;LIBPATH=/orabase/product/ora10g/lib:/orabase/product/ora10g/lib32:/usr/lib:/lib&lt;/li&gt;&lt;li&gt;JAVA_HOME=/usr/java5/bin&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/6279912822051440081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/6279912822051440081' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/6279912822051440081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/6279912822051440081'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/05/having-issues-using-dbca-with-asm-on.html' title='Having issues using DBCA with ASM on 10gR2?'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4893804832668721878.post-2673046361222484330</id><published>2007-05-11T12:52:00.000-05:00</published><updated>2007-05-11T20:24:31.798-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="emctl"/><category scheme="http://www.blogger.com/atom/ns#" term="howto"/><category scheme="http://www.blogger.com/atom/ns#" term="oem"/><title type='text'>HowTo: Force re-evaluation of Policy Violations in OEM Grid Control</title><content type='html'>Don&#39;t you hate when you fix a Security/Policy Violation in OEM and it won&#39;t re-evaluate it for another 24 hours?&lt;br /&gt;&lt;br /&gt;Well there&#39;s 2 things you can try:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Apply your Monitoring Template to the object (this works especially well for Hosts), this will force a re-evaluation and clear outstanding alerts&lt;/li&gt;&lt;li&gt;Use an undocumented parameter for the EM Agent (10.2.0.1+) &quot;emctl clearstate agent&quot;. This will cause the Agent to re-evaluate the instances on it&#39;s host - note: this can take a couple of hours to run and update in the background!&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://dba-brent.blogspot.com/feeds/2673046361222484330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4893804832668721878/2673046361222484330' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/2673046361222484330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4893804832668721878/posts/default/2673046361222484330'/><link rel='alternate' type='text/html' href='http://dba-brent.blogspot.com/2007/05/howto-force-evaluation-of-policy.html' title='HowTo: Force re-evaluation of Policy Violations in OEM Grid Control'/><author><name>Brent</name><uri>http://www.blogger.com/profile/13109177237615222008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>