<?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</title>
	<atom:link href="http://betterlogic.com/wpr/index.php/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.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>Performance issues with SOA console</title>
		<link>http://betterlogic.com/wpr/index.php/2011/02/28/performance-issues-with-soa-console/</link>
		<comments>http://betterlogic.com/wpr/index.php/2011/02/28/performance-issues-with-soa-console/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 23:42:51 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[SOA]]></category>

		<guid isPermaLink="false">http://betterlogic.com/wpr/index.php/2011/02/28/performance-issues-with-soa-console/</guid>
		<description><![CDATA[The typical troubleshooting scenario we like to get as much information as we can. However, we have to balance that with the cost of collecting the information. For example, in a large SOA installation with several hindered or perhaps millions of composite instances, setting the console to track the &#8216;state&#8217; of those instances is abusive [...]]]></description>
			<content:encoded><![CDATA[The typical troubleshooting scenario we like to get as much information as we can. However, we have to balance that with the cost of collecting the information. For example, in a large SOA installation with several hindered or perhaps millions of composite instances, setting the console to track the &#8216;state&#8217; of those instances is abusive and time consuming. One should only enable the composite instance state monitoring in the SOA console if that information is actually more valuable than the delay in getting the information. Collecting this and other &#8216;optional&#8217; information can bring the OEM console to its knees.

The guidance: Only collect the information that you are currently and actively using

Option: use a different channel to collect the same information. Perhaps a separate query directly to the database will reveal the desired information without crushing the console&#8217;s responsiveness.

Capture Composite Instance State








Select to capture the SOA composite application instance state. Enabling this option may result in additional run time overhead during instance processing. This option provides for separate tracking of the running instances. All instances are captured as either running or not running. This information displays later in theStatecolumn of the composite instances tables for the SOA Infrastructure and SOA composite application, where:


It shows the counts of running instances versus total instances

You can also limit the view to running instances only


Valid states are running, completed, faulted, recovery needed, stale, terminated, suspended, and state not available.

The running and completed states are captured only if this check box is selected. Otherwise, the state is set to unknown. The conditional capturing of these states is done mainly to reduce the performance overhead on SOA Infrastructure run time.

Note:If this property is disabled and you create a new instance of a SOA composite application, a new instance is created, but the instance does not display as running, faulted, stale, suspended, terminated, completed, or requiring recovery in the table of the Dashboard page of the composite application. This is because capturing the composite state of instances is a performance-intensive process.

For example, if you enable this property and create an instance of a SOA composite application in the Test Web Service page, a new instance appears in the Dashboard page of the composite application. If you clickShow Only Running Instancesin the Dashboard page, the instance displays as running. If you then disable this property and create another instance of the same composite application, a new, running instance is created. However, if you then selectShow Only Running Instances, the new instance isnotlisted in the table of running instances.

In addition, to terminate a running instance, the instance must have a state (for example, running, faulted, suspended). This activates theAbortbutton on the Instances page of a SOA composite application. If this check box is not enabled before creating an instance, theAbortbutton is inactive, and you cannot terminate the instance.







Also note the very explicit (and counter-intuitive) warnings about how the console displays the state information (highlighted in bold/red)



Reference:

http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10226/soainfra_config.htm#BHCHBAIA

]]></content:encoded>
			<wfw:commentRss>http://betterlogic.com/wpr/index.php/2011/02/28/performance-issues-with-soa-console/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RMAN backup error</title>
		<link>http://betterlogic.com/wpr/index.php/2011/02/07/rman-backup-error/</link>
		<comments>http://betterlogic.com/wpr/index.php/2011/02/07/rman-backup-error/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 02:09:45 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://betterlogic.com/wpr/?p=159</guid>
		<description><![CDATA[&#8230; input archive log thread=2 sequence=46274 recid=166663 stamp=714935844 input archive log thread=2 sequence=46275 recid=166665 stamp=714935889 input archive log thread=2 sequence=46276 recid=166667 stamp=714939059 input archive log thread=2 sequence=46277 recid=166668 stamp=714939083 channel ch0: starting piece 1 at 29-MAR-10 released channel: ch0 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03009: failure of backup command [...]]]></description>
			<content:encoded><![CDATA[&#8230;
input archive log thread=2 sequence=46274 recid=166663 stamp=714935844
input archive log thread=2 sequence=46275 recid=166665 stamp=714935889
input archive log thread=2 sequence=46276 recid=166667 stamp=714939059
input archive log thread=2 sequence=46277 recid=166668 stamp=714939083
channel ch0: starting piece 1 at 29-MAR-10
released channel: ch0
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ch0 channel at 03/29/2010 18:27:07
ORA-19506: failed to create sequential file, name=&#8221;r2l9q6n6_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.
The fix was to remove the client identification from the rman script.
]]></content:encoded>
			<wfw:commentRss>http://betterlogic.com/wpr/index.php/2011/02/07/rman-backup-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>Setting the TNS_ADMIN envrionment</title>
		<link>http://betterlogic.com/wpr/index.php/2009/07/06/setting-tns_admin/</link>
		<comments>http://betterlogic.com/wpr/index.php/2009/07/06/setting-tns_admin/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 19:38:06 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://betterlogic.com/wpr/?p=131</guid>
		<description><![CDATA[The TNS_ADMIN environment is used by the installation to find the location of the tnsnames.ora and the listener.ora files Default location The default location of the tnsnames.ora and listener.ora files are in $ORACLE_HOME/network/admin. If you want to change the location you have to show Oracle where to find the files. This is done by setting [...]]]></description>
			<content:encoded><![CDATA[The TNS_ADMIN environment is used by the installation to find the location of the tnsnames.ora and the listener.ora files



Default location

The default location of the tnsnames.ora and listener.ora files are in $ORACLE_HOME/network/admin. If you want to change the location you have to show Oracle where to find the files. This is done by setting the TNS_ADMIN environment settings as follows:

bash-3.00$ export TNS_ADMIN=/u01/app/oracle/network/admin



If you&#8217;re using RAC, you&#8217;ll want to make sure that the Oracle Cluster Ready service knows where to find the file. This is important because OCR will be used to start/stop and manage your database.

To setup

bash-3.00$ srvctl setenv database -d rmant -T &#8220;TNS_ADMIN=/fs01/app/oracle/product/10.2.0/network/admin/&#8221;



bash-3.00$ srvctl getenv database -d rmant TNS_ADMIN=/fs01/app/oracle/product/10.2.0/network/admin/

]]></content:encoded>
			<wfw:commentRss>http://betterlogic.com/wpr/index.php/2009/07/06/setting-tns_admin/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>The 360 Degree Leader</title>
		<link>http://betterlogic.com/wpr/index.php/2009/02/01/the-360-degree-leader/</link>
		<comments>http://betterlogic.com/wpr/index.php/2009/02/01/the-360-degree-leader/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 01:05:00 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[360 Degree Leader]]></category>
		<category><![CDATA[Book Review]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Leadership]]></category>
		<category><![CDATA[Management]]></category>

		<guid isPermaLink="false">http://betterlogic.com/wpr/index.php/2009/02/01/the-360-degree-leader/</guid>
		<description><![CDATA[I liked this book. It had a lot of good ideas for a co-operative leader, one that people want to follow and receive inspiration from.]]></description>
			<content:encoded><![CDATA[I liked this book. It had a lot of good ideas for a co-operative leader, one that people want to follow and receive inspiration from.
]]></content:encoded>
			<wfw:commentRss>http://betterlogic.com/wpr/index.php/2009/02/01/the-360-degree-leader/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Spank the stupid</title>
		<link>http://betterlogic.com/wpr/index.php/2008/10/14/spank-the-stupid/</link>
		<comments>http://betterlogic.com/wpr/index.php/2008/10/14/spank-the-stupid/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 03:43:09 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://betterlogic.com/wpr/index.php/2008/10/14/spank-the-stupid/</guid>
		<description><![CDATA[Wonderful, must-read article with a super quote. &#8220;The ultimate result of shielding men from the effects of folly is to fill the world with fools.&#8221; &#8211; Herbert Spencer]]></description>
			<content:encoded><![CDATA[Wonderful, must-read article with a super quote.
&#8220;The ultimate result of shielding men from the effects of folly is to fill the world with fools.&#8221; &#8211; Herbert Spencer
]]></content:encoded>
			<wfw:commentRss>http://betterlogic.com/wpr/index.php/2008/10/14/spank-the-stupid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Must read for citizens.</title>
		<link>http://betterlogic.com/wpr/index.php/2008/10/08/must-read-for-citizens/</link>
		<comments>http://betterlogic.com/wpr/index.php/2008/10/08/must-read-for-citizens/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 22:15:44 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[economy]]></category>
		<category><![CDATA[recession]]></category>

		<guid isPermaLink="false">http://betterlogic.com/wpr/index.php/2008/10/08/must-read-for-citizens/</guid>
		<description><![CDATA[I am encouraging everyone to work harder and smarter. Efficiency of output and execution will restore profits and save jobs. Working smarter is only one piece of the solution. The link below summarizes the problem. This article is a must read for every working class citizen who thinks we can just let someone else drive [...]]]></description>
			<content:encoded><![CDATA[I am encouraging everyone to work harder and smarter. Efficiency of output and execution will restore profits and save jobs. Working smarter is only one piece of the solution.
The link below summarizes the problem. This article is a must read for every working class citizen who thinks we can just let someone else drive the country.http://www.minyanville.com/articles/Bernanke-Paulson-Fed-Credit-crunch-recession/index/a/19357
]]></content:encoded>
			<wfw:commentRss>http://betterlogic.com/wpr/index.php/2008/10/08/must-read-for-citizens/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>stty</title>
		<link>http://betterlogic.com/wpr/index.php/2008/10/08/stty/</link>
		<comments>http://betterlogic.com/wpr/index.php/2008/10/08/stty/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 15:58:23 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://betterlogic.com/wpr/index.php/2008/10/08/stty/</guid>
		<description><![CDATA[STTY In the .profile or .bashrc add the following lines: stty ekstty erase ^HEDITOR=viexport EDITOR Before typing ^H or ^? type ^V]]></description>
			<content:encoded><![CDATA[STTY

In the .profile or .bashrc add the following lines:

stty ekstty erase ^HEDITOR=viexport EDITOR



Before typing ^H or ^? type ^V
]]></content:encoded>
			<wfw:commentRss>http://betterlogic.com/wpr/index.php/2008/10/08/stty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

