<?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/"
		>
<channel>
	<title>Comments on: Oracle Standby redo Logs</title>
	<atom:link href="http://www.pythian.com/news/581/oracle-standby-redo-logs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pythian.com/news/581/oracle-standby-redo-logs/</link>
	<description>News and views from Pythian DBAs</description>
	<lastBuildDate>Fri, 10 Feb 2012 13:01:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: john</title>
		<link>http://www.pythian.com/news/581/oracle-standby-redo-logs/#comment-639941</link>
		<dc:creator>john</dc:creator>
		<pubDate>Tue, 15 Nov 2011 22:11:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/581/oracle-standby-redo-logs#comment-639941</guid>
		<description>Hi
I need to setup a three instance rac database.The datafiles and flash recovery area will be stored in ASM diskgroups called +data and +fra.
Which is the best location options for archivelogs so that they can be accessed during recovery without dba intervention ?

a-)
cluster file system with each instance writing to a shared location
or
b-)
cluster file system with each instance writing to a seperate location as long as all the locations are in directories under the same mount point</description>
		<content:encoded><![CDATA[<p>Hi<br />
I need to setup a three instance rac database.The datafiles and flash recovery area will be stored in ASM diskgroups called +data and +fra.<br />
Which is the best location options for archivelogs so that they can be accessed during recovery without dba intervention ?</p>
<p>a-)<br />
cluster file system with each instance writing to a shared location<br />
or<br />
b-)<br />
cluster file system with each instance writing to a seperate location as long as all the locations are in directories under the same mount point</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.pythian.com/news/581/oracle-standby-redo-logs/#comment-393027</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 16 Dec 2009 16:15:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/581/oracle-standby-redo-logs#comment-393027</guid>
		<description>do &quot;alter database recover managed standby database cancel&quot; before add/drop standby logfiles.</description>
		<content:encoded><![CDATA[<p>do &#8220;alter database recover managed standby database cancel&#8221; before add/drop standby logfiles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stellios</title>
		<link>http://www.pythian.com/news/581/oracle-standby-redo-logs/#comment-378383</link>
		<dc:creator>Stellios</dc:creator>
		<pubDate>Thu, 08 Oct 2009 01:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/581/oracle-standby-redo-logs#comment-378383</guid>
		<description>I recently found out when setting up logical standby with real-time apply the logical standby database MUST be in ARCHIVELOG mode (relates to having the standby redo logs). I couldn&#039;t find this requirement in any of the 10.2 documentation - I raised this with Oracle and they confirmed it is a documentation bug and fixed in 11g (not sure if they&#039;re planning on updating the 10g documentation on tahiti.oracle.com).

This is the reference in the 11g documentation:

&quot;“Redo received from another Oracle database via redo transport is written to the current standby redo log group by a RFS background process. When a log switch occurs on the redo source database, incoming redo is then written to the next standby redo log group, and the previously used standby redo log group is archived by an ARCn background process.”&quot;

The only reference to ARCHIVELOG mode howeve is the ARCn process.

The bug reference number is 8513469.</description>
		<content:encoded><![CDATA[<p>I recently found out when setting up logical standby with real-time apply the logical standby database MUST be in ARCHIVELOG mode (relates to having the standby redo logs). I couldn&#8217;t find this requirement in any of the 10.2 documentation &#8211; I raised this with Oracle and they confirmed it is a documentation bug and fixed in 11g (not sure if they&#8217;re planning on updating the 10g documentation on tahiti.oracle.com).</p>
<p>This is the reference in the 11g documentation:</p>
<p>&#8220;“Redo received from another Oracle database via redo transport is written to the current standby redo log group by a RFS background process. When a log switch occurs on the redo source database, incoming redo is then written to the next standby redo log group, and the previously used standby redo log group is archived by an ARCn background process.”&#8221;</p>
<p>The only reference to ARCHIVELOG mode howeve is the ARCn process.</p>
<p>The bug reference number is 8513469.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oli</title>
		<link>http://www.pythian.com/news/581/oracle-standby-redo-logs/#comment-373418</link>
		<dc:creator>Oli</dc:creator>
		<pubDate>Fri, 04 Sep 2009 06:45:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/581/oracle-standby-redo-logs#comment-373418</guid>
		<description>I love these blogs!

In the 10gR2 docs it states that you may decide to add a standby group on the primary if there are delays in the RFS trace files etc... 

Specifically it says &quot;Whenever you add an online redo log file group to the primary database, you must add a corresponding standby redo log file group to the standby database&quot;

However, I only get errors if I try to add/drop standby logs on the standby:
&quot;ORA-01156: recovery in progress may need access to files&quot;

Any thoughts?</description>
		<content:encoded><![CDATA[<p>I love these blogs!</p>
<p>In the 10gR2 docs it states that you may decide to add a standby group on the primary if there are delays in the RFS trace files etc&#8230; </p>
<p>Specifically it says &#8220;Whenever you add an online redo log file group to the primary database, you must add a corresponding standby redo log file group to the standby database&#8221;</p>
<p>However, I only get errors if I try to add/drop standby logs on the standby:<br />
&#8220;ORA-01156: recovery in progress may need access to files&#8221;</p>
<p>Any thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PaulM</title>
		<link>http://www.pythian.com/news/581/oracle-standby-redo-logs/#comment-371637</link>
		<dc:creator>PaulM</dc:creator>
		<pubDate>Wed, 26 Aug 2009 06:19:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/581/oracle-standby-redo-logs#comment-371637</guid>
		<description>I am assuming you meant you want a 3rd instance (Physical&#124;Logical Standby) which gets its archivelogs from both RAC nodes.

I had discussed this Andrey some time ago and we know the way, just didn&#039;t get around to blogging about it.

Always remember google is your searching-for-answers friend.

Here is a paper from Oracle which spells out in detail how to implement a Physical standby from a RAC cluster.

http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10g_RACPrimaryRACPhysicalStandby.pdf</description>
		<content:encoded><![CDATA[<p>I am assuming you meant you want a 3rd instance (Physical|Logical Standby) which gets its archivelogs from both RAC nodes.</p>
<p>I had discussed this Andrey some time ago and we know the way, just didn&#8217;t get around to blogging about it.</p>
<p>Always remember google is your searching-for-answers friend.</p>
<p>Here is a paper from Oracle which spells out in detail how to implement a Physical standby from a RAC cluster.</p>
<p><a href="http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10g_RACPrimaryRACPhysicalStandby.pdf" rel="nofollow">http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10g_RACPrimaryRACPhysicalStandby.pdf</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinod</title>
		<link>http://www.pythian.com/news/581/oracle-standby-redo-logs/#comment-371460</link>
		<dc:creator>Vinod</dc:creator>
		<pubDate>Tue, 25 Aug 2009 07:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/581/oracle-standby-redo-logs#comment-371460</guid>
		<description>We have two node RAC. We want to configure DG. The standby does not use RAC. Can anybody provide the steps.</description>
		<content:encoded><![CDATA[<p>We have two node RAC. We want to configure DG. The standby does not use RAC. Can anybody provide the steps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SATISH NAWLE</title>
		<link>http://www.pythian.com/news/581/oracle-standby-redo-logs/#comment-255808</link>
		<dc:creator>SATISH NAWLE</dc:creator>
		<pubDate>Mon, 11 Aug 2008 08:43:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/581/oracle-standby-redo-logs#comment-255808</guid>
		<description>Directory structure is the same on both primary and standby machines. 
Backup is going locally to disk at location source_backup_directory 
TNSNAMES entry STANDBY points to standby db on both machines. 
TNSNAMES entry PROD points to prod db on both machines. 
RMAN catalog exists, and is resolved via TNSNAMES entry rcatdb. 
RMAN default channel locations. 
On Source/Primary db:

su - oracle
rman target / catalog rcat_owner@rcatdb
RMAN&gt; BACKUP CURRENT CONTROLFILE FOR STANDBY;
RMAN&gt; BACKUP CHECK LOGICAL FULL DATABASE PLUS ARCHIVELOG;
RMAN&gt; exit;

scp source_backup_directory oracle@standby:standby_backup_directoryOn Destination or Standby db:

sqlplus &quot;/ as sysdba&quot;
startup nomount
exit;On Source/Primary db:

rman target / catalog rcat_owner@rcatdb auxiliary sys@STANDBY

RMAN&gt; DUPLICATE TARGET DATABASE FOR STANDBY NOFILENAMECHECK DORECOVER;
RMAN&gt; exit;On Source/primary db:

show parameter log_archive_dest;
alter system set log_archive_dest_x = &#039;SERVICE=STANDBY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=PROD&#039;;
alter system set log_archive_dest_state_x = &#039;ENABLE&#039;;On Destination or Auxiliary STANDBY:

alter system set FAL_SERVER = &#039;PROD&#039;;
alter system set FAL_CLIENT = &#039;STANDBY&#039;;

shutdown immediate;
startup nomount;
alter database mount standby database;
alter database recover managed standby database disconnect from session;To check progress:

On Primary:

column destination format a30

select dest_id,destination,status,database_mode,recovery_mode,error from V$ARCHIVE_DEST_STATUS
where status != &#039;INACTIVE&#039;;To check progress on Primary or Standby:

select * from v$managed_standby;



SATISH NAWLE
SQL STAR 
9224639278</description>
		<content:encoded><![CDATA[<p>Directory structure is the same on both primary and standby machines.<br />
Backup is going locally to disk at location source_backup_directory<br />
TNSNAMES entry STANDBY points to standby db on both machines.<br />
TNSNAMES entry PROD points to prod db on both machines.<br />
RMAN catalog exists, and is resolved via TNSNAMES entry rcatdb.<br />
RMAN default channel locations.<br />
On Source/Primary db:</p>
<p>su &#8211; oracle<br />
rman target / catalog rcat_owner@rcatdb<br />
RMAN&gt; BACKUP CURRENT CONTROLFILE FOR STANDBY;<br />
RMAN&gt; BACKUP CHECK LOGICAL FULL DATABASE PLUS ARCHIVELOG;<br />
RMAN&gt; exit;</p>
<p>scp source_backup_directory oracle@standby:standby_backup_directoryOn Destination or Standby db:</p>
<p>sqlplus &#8220;/ as sysdba&#8221;<br />
startup nomount<br />
exit;On Source/Primary db:</p>
<p>rman target / catalog rcat_owner@rcatdb auxiliary sys@STANDBY</p>
<p>RMAN&gt; DUPLICATE TARGET DATABASE FOR STANDBY NOFILENAMECHECK DORECOVER;<br />
RMAN&gt; exit;On Source/primary db:</p>
<p>show parameter log_archive_dest;<br />
alter system set log_archive_dest_x = &#8216;SERVICE=STANDBY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=PROD&#8217;;<br />
alter system set log_archive_dest_state_x = &#8216;ENABLE&#8217;;On Destination or Auxiliary STANDBY:</p>
<p>alter system set FAL_SERVER = &#8216;PROD&#8217;;<br />
alter system set FAL_CLIENT = &#8216;STANDBY&#8217;;</p>
<p>shutdown immediate;<br />
startup nomount;<br />
alter database mount standby database;<br />
alter database recover managed standby database disconnect from session;To check progress:</p>
<p>On Primary:</p>
<p>column destination format a30</p>
<p>select dest_id,destination,status,database_mode,recovery_mode,error from V$ARCHIVE_DEST_STATUS<br />
where status != &#8216;INACTIVE&#8217;;To check progress on Primary or Standby:</p>
<p>select * from v$managed_standby;</p>
<p>SATISH NAWLE<br />
SQL STAR<br />
9224639278</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrey Goryunov</title>
		<link>http://www.pythian.com/news/581/oracle-standby-redo-logs/#comment-85407</link>
		<dc:creator>Andrey Goryunov</dc:creator>
		<pubDate>Thu, 16 Aug 2007 05:38:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/581/oracle-standby-redo-logs#comment-85407</guid>
		<description>Hi Paul,

you are right - RMAN&#039;s duplicate command does not do everything for you regarding standby redo logs (I am about the case when they are already created on primary database). But after duplication of the target database proper entries (taking into consideration log_file_name_convert parameter on standby side) for standby logs will be created, but without files under that. The files can be simply recreated through ALTER DATABASE CLEAR LOGFILE GROUP  (n - standby log file group) command. And after that you can continue with Data Guard (or Standby) configuration.

Regards,
Andrey Goryunov</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>you are right &#8211; RMAN&#8217;s duplicate command does not do everything for you regarding standby redo logs (I am about the case when they are already created on primary database). But after duplication of the target database proper entries (taking into consideration log_file_name_convert parameter on standby side) for standby logs will be created, but without files under that. The files can be simply recreated through ALTER DATABASE CLEAR LOGFILE GROUP  (n &#8211; standby log file group) command. And after that you can continue with Data Guard (or Standby) configuration.</p>
<p>Regards,<br />
Andrey Goryunov</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paulm</title>
		<link>http://www.pythian.com/news/581/oracle-standby-redo-logs/#comment-85358</link>
		<dc:creator>paulm</dc:creator>
		<pubDate>Thu, 16 Aug 2007 00:26:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/581/oracle-standby-redo-logs#comment-85358</guid>
		<description>Indeed or you combine RAC with Dataguard and run a standby or two off the RAC cluster.

So you have the availability of RAC and the redundancy and Disaster Recovery (DR) of Dataguard.</description>
		<content:encoded><![CDATA[<p>Indeed or you combine RAC with Dataguard and run a standby or two off the RAC cluster.</p>
<p>So you have the availability of RAC and the redundancy and Disaster Recovery (DR) of Dataguard.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jason arneil</title>
		<link>http://www.pythian.com/news/581/oracle-standby-redo-logs/#comment-85280</link>
		<dc:creator>jason arneil</dc:creator>
		<pubDate>Wed, 15 Aug 2007 20:13:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/581/oracle-standby-redo-logs#comment-85280</guid>
		<description>I like the technique, even adding the an extra SRL  over the number of redo logs. However I would dispute what you say about RAC:

&quot;This is not the same level of redundancy or availability of Oracle RAC, but getting close.&quot; But if your building blows up or floods, unless you have a stretched RAC cluster your dataguard solution provides you much more protection way above the availability of RAC.


jason.</description>
		<content:encoded><![CDATA[<p>I like the technique, even adding the an extra SRL  over the number of redo logs. However I would dispute what you say about RAC:</p>
<p>&#8220;This is not the same level of redundancy or availability of Oracle RAC, but getting close.&#8221; But if your building blows up or floods, unless you have a stretched RAC cluster your dataguard solution provides you much more protection way above the availability of RAC.</p>
<p>jason.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

