<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Connect Time Failover &amp; Transparent Application Failover for Data Guard</title>
	<atom:link href="http://uhesse.com/2009/08/19/connect-time-failover-transparent-application-failover-for-data-guard/feed/" rel="self" type="application/rss+xml" />
	<link>http://uhesse.com/2009/08/19/connect-time-failover-transparent-application-failover-for-data-guard/</link>
	<description>Explain, Exemplify, Empower</description>
	<lastBuildDate>Mon, 06 May 2013 22:41:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Mujib</title>
		<link>http://uhesse.com/2009/08/19/connect-time-failover-transparent-application-failover-for-data-guard/#comment-7801</link>
		<dc:creator><![CDATA[Mujib]]></dc:creator>
		<pubDate>Mon, 06 May 2013 10:29:46 +0000</pubDate>
		<guid isPermaLink="false">http://uhesse.wordpress.com/?p=328#comment-7801</guid>
		<description><![CDATA[Hi Uwe,

In my parameter files for both primary and standby I have service_names both different for primary and standby consider as prod for primary and stnby for standby database. So which service_name I should give in your myapp entry mentioned below

MYAPP =
 (DESCRIPTION =
 (ADDRESS_LIST =
 (ADDRESS = (PROTOCOL = TCP)(HOST = HostA)(PORT = 1521))
 (ADDRESS = (PROTOCOL = TCP)(HOST = HostB)(PORT = 1521))
 )
 (CONNECT_DATA =
 (SERVICE_NAME = myapp)
 )
 )

only db_name is common for me in both parameter files i.e. prod.

from primary

*.db_name=&#039;prod&#039;
*.db_unique_name=&#039;prod&#039;
*.service_names=&#039;prod&#039;
*.instance_name=&#039;prod&#039;

from physical standby

*.db_name=&#039;prod&#039;
*.db_unique_name=&#039;stnby&#039; 
*.service_names=&#039;stnby&#039; 
*.instance_name=&#039;stnby&#039; 

Also listeners on both Primary and Standby hosts are having different SIDs i.e prod and stnby

from primary

(SID_DESC =
      (GLOBAL_DBNAME = prod)
      (ORACLE_HOME = /u01/oradha/product/11.2.0)
      (SID_NAME = prod)
    )
--------------------------------------------------------------------------
from physical standby

(SID_DESC =
      (GLOBAL_DBNAME = stnby)
      (ORACLE_HOME = /u01/oradha/product/11.2.0)
      (SID_NAME = stnby)
    )


Please clarify what tnsentry we need to use for seamless connection to database which may be Primary or Physical Standby.



Regards,
Mujib Dave]]></description>
		<content:encoded><![CDATA[<p>Hi Uwe,</p>
<p>In my parameter files for both primary and standby I have service_names both different for primary and standby consider as prod for primary and stnby for standby database. So which service_name I should give in your myapp entry mentioned below</p>
<p>MYAPP =<br />
 (DESCRIPTION =<br />
 (ADDRESS_LIST =<br />
 (ADDRESS = (PROTOCOL = TCP)(HOST = HostA)(PORT = 1521))<br />
 (ADDRESS = (PROTOCOL = TCP)(HOST = HostB)(PORT = 1521))<br />
 )<br />
 (CONNECT_DATA =<br />
 (SERVICE_NAME = myapp)<br />
 )<br />
 )</p>
<p>only db_name is common for me in both parameter files i.e. prod.</p>
<p>from primary</p>
<p>*.db_name=&#8217;prod&#8217;<br />
*.db_unique_name=&#8217;prod&#8217;<br />
*.service_names=&#8217;prod&#8217;<br />
*.instance_name=&#8217;prod&#8217;</p>
<p>from physical standby</p>
<p>*.db_name=&#8217;prod&#8217;<br />
*.db_unique_name=&#8217;stnby&#8217;<br />
*.service_names=&#8217;stnby&#8217;<br />
*.instance_name=&#8217;stnby&#8217; </p>
<p>Also listeners on both Primary and Standby hosts are having different SIDs i.e prod and stnby</p>
<p>from primary</p>
<p>(SID_DESC =<br />
      (GLOBAL_DBNAME = prod)<br />
      (ORACLE_HOME = /u01/oradha/product/11.2.0)<br />
      (SID_NAME = prod)<br />
    )<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
from physical standby</p>
<p>(SID_DESC =<br />
      (GLOBAL_DBNAME = stnby)<br />
      (ORACLE_HOME = /u01/oradha/product/11.2.0)<br />
      (SID_NAME = stnby)<br />
    )</p>
<p>Please clarify what tnsentry we need to use for seamless connection to database which may be Primary or Physical Standby.</p>
<p>Regards,<br />
Mujib Dave</p>
]]></content:encoded>
	</item>
</channel>
</rss>
