<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:dtvmedia="http://participatoryculture.org/RSSModules/dtv/1.0"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Rick's Blog &#187; Enterprise Manager Grid Control</title>
	<atom:link href="http://betterlogic.com/wpr/index.php/category/oracle/enterprise-manager/feed/" rel="self" type="application/rss+xml" />
	<link>http://betterlogic.com/wpr</link>
	<description>Better Logic for better solutions</description>
	<lastBuildDate>Mon, 28 Feb 2011 23:45:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<!-- podcast_generator="podPress/7.6" -->
		<copyright>&#xA9; </copyright>
		<managingEditor>paulr@onebetter.com ()</managingEditor>
		<webMaster>paulr@onebetter.com</webMaster>
		<category>Technology</category>
		<ttl>1440</ttl>
		<itunes:keywords>oracle technology</itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>Better Logic for better solutions</itunes:summary>
		<itunes:author></itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name></itunes:name>
			<itunes:email>paulr@onebetter.com</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://betterlogic.com/wpr/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://betterlogic.com/wpr/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>Rick's Blog</title>
			<link>http://betterlogic.com/wpr</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>ORA-14400: inserted partition key does not map to any partition</title>
		<link>http://betterlogic.com/wpr/index.php/2010/12/22/ora-14400-inserted-partition-key-does-not-map-to-any-partition/</link>
		<comments>http://betterlogic.com/wpr/index.php/2010/12/22/ora-14400-inserted-partition-key-does-not-map-to-any-partition/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 00:29:49 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Enterprise Manager Grid Control]]></category>

		<guid isPermaLink="false">http://betterlogic.com/wpr/index.php/2009/12/22/ora-14400-inserted-partition-key-does-not-map-to-any-partition/</guid>
		<description><![CDATA[Got this error in the emoms.trc log and thousands of .xml files in the recv directory. 2009-12-22 18:13:37,659 [XMLLoader0 30000031529.xml] ERROR emdrep.XMLLoaderContext flushTableStatements.1587 &#8211; Error while flushing insert statementjava.sql.SQLException: ORA-14400: inserted partition key does not map to any partition The fix was found on metalink as [ID 317046.1] Problem: Many Ora-14400 Errors Showing In Management [...]]]></description>
			<content:encoded><![CDATA[Got this error in the emoms.trc log and thousands of .xml files in the recv directory.
2009-12-22 18:13:37,659 [XMLLoader0 30000031529.xml] ERROR emdrep.XMLLoaderContext flushTableStatements.1587 &#8211; Error while flushing insert statementjava.sql.SQLException: ORA-14400: inserted partition key does not map to any partition
The fix was found on metalink as [ID 317046.1] Problem: Many Ora-14400 Errors Showing In Management Services And Repository Ora-14400 [ID 317046.1]
SQL>  exec emd_maintenance.analyze_emd_schema('SYSMAN');
PL/SQL procedure successfully completed.
Also make sure your job_queue_processes is set to 10 or above.
Hope that helps
]]></content:encoded>
			<wfw:commentRss>http://betterlogic.com/wpr/index.php/2010/12/22/ora-14400-inserted-partition-key-does-not-map-to-any-partition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RDBMS package: DBMS_AQ doesnt exist</title>
		<link>http://betterlogic.com/wpr/index.php/2009/08/23/rdbms-package-dbms_aq-doesnt-exist/</link>
		<comments>http://betterlogic.com/wpr/index.php/2009/08/23/rdbms-package-dbms_aq-doesnt-exist/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 00:08:00 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Enterprise Manager Grid Control]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://betterlogic.com/wpr/index.php/2009/08/23/rdbms-package-dbms_aq-doesnt-exist/</guid>
		<description><![CDATA[While upgrading OEM from 10.2.0.4 to 10.2.0.5 I got the following error:[Text: Required RDBMS package: DBMS_AQ doesnt exist on this database. This package is needed for the proper functioning of the EM product. Please contact Oracle support to diagnose the RDBMS and once resolved, retry EM install.] This was caused by the sys password not [...]]]></description>
			<content:encoded><![CDATA[While upgrading OEM from 10.2.0.4 to 10.2.0.5 I got the following error:[Text: Required RDBMS package: DBMS_AQ doesnt exist on this database. This package is needed for the proper functioning of the EM product. Please contact Oracle support to diagnose the RDBMS and once resolved, retry EM install.]
This was caused by the sys password not being the same on all instances. The root cause was that a DBA had changed the sys password on a single instance to do some maintenance and did not change it back. This caused sys connections to the rac database to succeed and fail intermittently. 
The fix was to resync the sys password by running the following from sqlplus as the sysdba:SQL&gt; alter user sys identified by &#8220;correct_password&#8221;;Once the passwords were correctly synced, the upgrade ran fine.

]]></content:encoded>
			<wfw:commentRss>http://betterlogic.com/wpr/index.php/2009/08/23/rdbms-package-dbms_aq-doesnt-exist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ORA-19506: failed to create sequential file</title>
		<link>http://betterlogic.com/wpr/index.php/2009/04/02/ora-19506-failed-to-create-sequential-file/</link>
		<comments>http://betterlogic.com/wpr/index.php/2009/04/02/ora-19506-failed-to-create-sequential-file/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 03:44:46 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Enterprise Manager Grid Control]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://betterlogic.com/wpr/index.php/2009/02/05/ora-19506-failed-to-create-sequential-file/</guid>
		<description><![CDATA[Many people run Oracle RMAN scripts from crontab and an OS shell script. We prefer to run all of our RMAN backups via OEM and the database scheduler instead of from a specific server or instance. There are many benefits OEM/database scheduler backups a few of which are: Centralized administration makes it easy to manage [...]]]></description>
			<content:encoded><![CDATA[Many people run Oracle RMAN scripts from crontab and an OS shell script. We prefer to run all of our RMAN backups via OEM and the database scheduler instead of from a specific server or instance. There are many benefits OEM/database scheduler backups a few of which are:


Centralized administration makes it easy to manage 100&#8242;s of databases

Database affinity means that backups run even if a server crashes

OEM monitors the output of the RMAN and can alert the DBA if there are errors


One thing that we have noticed is that when we used our OS (server) RMAN shell scripts we had a string similar to the following:

send &#8216;NB_ORA_CLIENT=gmrac1

 This parameter is optional for Networker and is used to assist Networker with recovery operations to alternate servers.

Occasionally, the RMAN would fail for no immediately obvious reason. On closer inspection we saw Networker was timing out while connecting to the target server. Everytime the database RMAN job was launched from gmrac1 it would succeed. However when it was run from any other server in the cluster the job would fail with the following:

RMAN-03009: failure of backup command on ch0 channel at 02/05/2009 16:51:46

ORA-19506: failed to create sequential file, name=&#8221;mqk6k505_1_1&#8243;, parms=&#8221;"ORA-27028: skgfqcre: sbtbackup returned error ORA-19511: Error received from media manager layer, error text: VxBSACreateObject: Failed with error:   Server Status:  Communication with the server has not been iniatated or the server status has not been retrieved from the server.

[sic]

The fix was to remove the optional parameter NB_ORA_CLIENT=gmrac1 and let Networker do the right thing. For reference, our broken RMAN script is shown below:

run {  sql &#8216;alter system archive log current&#8217;;  allocate channel ch0 type &#8216;SBT_TAPE&#8217;;  send &#8216;NB_ORA_CLIENT=gmrac1,NB_ORA_POLICY=PROD_ora,  NB_ORA_SERV=backup.betterlogic.com&#8217;;  backup    tag &#8220;prod_archivelogs_only&#8221;    archivelog all not backed up;    delete noprompt archivelog until time &#8216;sysdate -2&#8242; backed up 1 times to &#8216;SBT_TAPE&#8217;;  release channel ch0;}
]]></content:encoded>
			<wfw:commentRss>http://betterlogic.com/wpr/index.php/2009/04/02/ora-19506-failed-to-create-sequential-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Enterprise Manager Grid Control</title>
		<link>http://betterlogic.com/wpr/index.php/2008/05/12/oracle-enterprise-manager-grid-control/</link>
		<comments>http://betterlogic.com/wpr/index.php/2008/05/12/oracle-enterprise-manager-grid-control/#comments</comments>
		<pubDate>Mon, 12 May 2008 21:18:54 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Enterprise Manager Grid Control]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://betterlogic.com/wpr/index.php/2008/05/12/oracle-enterprise-manager-grid-control/</guid>
		<description><![CDATA[EM can automatically connect to Metalink to check for required patches for each target database and download them to a software library. Over the next few months I will add monitoring, alerts, admin accounts, developer user accounts (so they can get their own ADDM (statspack) results), and groups. I will also work to add every [...]]]></description>
			<content:encoded><![CDATA[EM can automatically connect to Metalink to check for required patches for each target database and download them to a software library. 
Over the next few months I will add monitoring, alerts, admin accounts, developer user accounts (so they can get their own ADDM (statspack) results), and groups. I will also work to add every db to the Grid.
This is just the start. EM is pretty cool and I expect we will be able to:
    * Increase uptime and proactive management
    * Automate the instance reporting (for licensing contract purposes)
    * Improve general and custom reporting for all instances
    * Centralize much of the management
    * Compare database settings and schemas between two databases or between a stored baseline and any database
    * Create new users in multiple databases using any other user as a starting template
    * Handle configuration management
    * Assist with change control
    * Keep configuration histories
    * Make it simple to answer questions like:
          o &#8220;What was the database doing yesterday at 2:22PM?&#8221;
          o &#8220;When was this database last backed up?&#8221;
          o &#8220;Are their any blocking locks?&#8221;
          o &#8220;What are the top SQL queries?&#8221;, &#8220;What are the top five wait events?&#8221;
          o &#8220;What hosts are connected to my database?&#8221; (i.e. are development boxed connecting to production databases)
          o &#8220;What is the explain plan for this query?&#8221;
    * Job queuing and command execution library
More to follow&#8230;
-Rick
]]></content:encoded>
			<wfw:commentRss>http://betterlogic.com/wpr/index.php/2008/05/12/oracle-enterprise-manager-grid-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To unsecure the EM agent</title>
		<link>http://betterlogic.com/wpr/index.php/2007/06/04/to-unsecure-the-em-agent/</link>
		<comments>http://betterlogic.com/wpr/index.php/2007/06/04/to-unsecure-the-em-agent/#comments</comments>
		<pubDate>Tue, 05 Jun 2007 00:07:18 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Enterprise Manager Grid Control]]></category>

		<guid isPermaLink="false">http://betterlogic.com/wpr/index.php/2007/06/04/to-unsecure-the-em-agent/</guid>
		<description><![CDATA[To unsecure the EM agent run the following command:$EMHOME/bin/emctl unsecure agentOracle Enterprise Manager 10g Release 10.2.0.1.0.Copyright (c) 1996, 2005 Oracle Corporation.&#160; All rights reserved.Checking Agent for HTTP&#8230;&#160;&#160; Done.Agent successfully stopped&#8230;&#160;&#160; Done.Unsecuring agent&#8230;&#160;&#160; Started.Agent is now unsecured&#8230;&#160;&#160; Done.Unsecuring agent&#8230;&#160;&#160; Ended.Agent successfully restarted&#8230;&#160;&#160; Done.]]></description>
			<content:encoded><![CDATA[To unsecure the EM agent run the following command:$EMHOME/bin/emctl unsecure agentOracle Enterprise Manager 10g Release 10.2.0.1.0.Copyright (c) 1996, 2005 Oracle Corporation.&nbsp; All rights reserved.Checking Agent for HTTP&#8230;&nbsp;&nbsp; Done.Agent successfully stopped&#8230;&nbsp;&nbsp; Done.Unsecuring agent&#8230;&nbsp;&nbsp; Started.Agent is now unsecured&#8230;&nbsp;&nbsp; Done.Unsecuring agent&#8230;&nbsp;&nbsp; Ended.Agent successfully restarted&#8230;&nbsp;&nbsp; Done.
]]></content:encoded>
			<wfw:commentRss>http://betterlogic.com/wpr/index.php/2007/06/04/to-unsecure-the-em-agent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Faster Oracle Grid Control</title>
		<link>http://betterlogic.com/wpr/index.php/2007/05/19/faster-oracle-grid-control/</link>
		<comments>http://betterlogic.com/wpr/index.php/2007/05/19/faster-oracle-grid-control/#comments</comments>
		<pubDate>Sat, 19 May 2007 12:59:40 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Enterprise Manager Grid Control]]></category>

		<guid isPermaLink="false">http://betterlogic.com/wpr/index.php/2007/05/19/faster-oracle-grid-control/</guid>
		<description><![CDATA[As a user of Oracle Enterprise Manager (OEM) I know that sometimes the wait for the browser refresh can be tough. One thing the new document suggests is that you can run multiple instances of the OMS on the same host and use a load balancer to spread the requests to the multiple instances. We [...]]]></description>
			<content:encoded><![CDATA[As a user of Oracle Enterprise Manager (OEM) I know that sometimes the wait for the browser refresh can be tough. One thing the new document suggests is that you can run multiple instances of the OMS on the same host and use a load balancer to spread the requests to the multiple instances. We have a Sun t2000 which is great for multi-threaded applications. We will use this to run our multi-instance OMS and see if we can kick up the performance a little. You can find the white paper ConfiguringEnterprise Manager for High Availability.
]]></content:encoded>
			<wfw:commentRss>http://betterlogic.com/wpr/index.php/2007/05/19/faster-oracle-grid-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DBSNMP account lockout</title>
		<link>http://betterlogic.com/wpr/index.php/2007/03/10/dbsnmp-account-lockout/</link>
		<comments>http://betterlogic.com/wpr/index.php/2007/03/10/dbsnmp-account-lockout/#comments</comments>
		<pubDate>Sun, 11 Mar 2007 03:36:00 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Enterprise Manager Grid Control]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://betterlogic.com/wpr/index.php/2007/03/10/dbsnmp-account-lockout/</guid>
		<description><![CDATA[On a new install of Enterprise Manager 10.1 we would get random failures caused by the dbsnmp account getting locked(timed) due to failed login attempts exceeding the default profile&#8217;s setting of ten. This is caused by the dbsnmp user connecting with the wrong password more than 10 times in a row which forces an account [...]]]></description>
			<content:encoded><![CDATA[On a new install of Enterprise Manager 10.1 we would get random failures caused by the dbsnmp account getting locked(timed) due to failed login attempts exceeding the default profile&#8217;s setting of ten.
This is caused by the dbsnmp user connecting with the wrong password more than 10 times in a row which forces an account lockout. With the account locked out EM can&#8217;t connect to the database. The database is still up and fine.
To work around the problem I have created a new profile and assigned that profile to the dbsnmp user and unlocked the account as shown below.

SQL&gt; create profile dbsnmp limit failed_login_attempts unlimited;
Profile created.
SQL&gt; alter user dbsnmp profile dbsnmp;
User altered.
SQL&gt; alter user dbsnmp account unlock;
User altered.
-Rick
]]></content:encoded>
			<wfw:commentRss>http://betterlogic.com/wpr/index.php/2007/03/10/dbsnmp-account-lockout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enterprise manager installation</title>
		<link>http://betterlogic.com/wpr/index.php/2007/02/24/enterprise-manager-installation/</link>
		<comments>http://betterlogic.com/wpr/index.php/2007/02/24/enterprise-manager-installation/#comments</comments>
		<pubDate>Sun, 25 Feb 2007 04:29:00 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Enterprise Manager Grid Control]]></category>

		<guid isPermaLink="false">http://betterlogic.com/wpr/index.php/2007/02/24/enterprise-manager-installation/</guid>
		<description><![CDATA[The enterprise manager installation can not use symbolic links for the repository directory. I ran into this problem while installing using the &#8220;Complete install&#8221; option on a single host. The fix was to use the full real path for the parent of the oracle homes.]]></description>
			<content:encoded><![CDATA[The enterprise manager installation can not use symbolic links for the repository directory. I ran into this problem while installing using the &#8220;Complete install&#8221; option on a single host. The fix was to use the full real path for the parent of the oracle homes.
]]></content:encoded>
			<wfw:commentRss>http://betterlogic.com/wpr/index.php/2007/02/24/enterprise-manager-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

