<?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/"
	>

<channel>
	<title>Fuad Arshad's Blog &#187; howto</title>
	<atom:link href="http://www.fuadarshad.net/wp/category/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fuadarshad.net/wp</link>
	<description>This is Just stuff i find on Oracle From various different sources or from my own personal experience I can also be found at http://www.twitter.com/fuadar</description>
	<lastBuildDate>Tue, 07 Sep 2010 12:16:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>DataGuard Setup (Physical)</title>
		<link>http://www.fuadarshad.net/wp/2008/11/dataguard-setup-physical-2/</link>
		<comments>http://www.fuadarshad.net/wp/2008/11/dataguard-setup-physical-2/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 13:46:00 +0000</pubDate>
		<dc:creator>fuadar</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.fuadarshad.net/wp/?p=281</guid>
		<description><![CDATA[Recently i have had the opportunity to finally plunge into the world of Dataguard and i was pleasantly surprised by the ease of setup and use for Dataguard. The steps below were used to create a physical standby database. The setup was Oracle 10.2.0.4 on AIX .These steps do not account for a FAL server [...]


Related posts:<ol><li><a href='http://www.fuadarshad.net/wp/2009/09/physical-dataguard-password-change/' rel='bookmark' title='Permanent Link: Physical Dataguard Password change'>Physical Dataguard Password change</a> <small>Oracle Performs redo shipping and authentication services between the primary...</small></li>
<li><a href='http://www.fuadarshad.net/wp/2009/11/using-emc-clopnes-and-ibm-ess-flashcopy-to-backup-your-database/' rel='bookmark' title='Permanent Link: Using EMC Clones and IBM ESS FlashCopy to Backup your Database'>Using EMC Clones and IBM ESS FlashCopy to Backup your Database</a> <small>Lets Face it. Todays Databases are getting bigger and bigger...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Recently i have had the <span class="blsp-spelling-corrected" id="SPELLING_ERROR_0">opportunity</span> to finally plunge into the world of <span class="blsp-spelling-error" id="SPELLING_ERROR_1">Dataguard</span> and i was pleasantly surprised by the ease of setup and use for <span class="blsp-spelling-error" id="SPELLING_ERROR_2">Dataguard</span>. The steps below were used to  create a physical standby database. The setup was Oracle 10.2.0.4 on <span class="blsp-spelling-error" id="SPELLING_ERROR_3">AIX</span> .<br />These steps do not account for a <span class="blsp-spelling-error" id="SPELLING_ERROR_4">FAL</span> server at this point.<br /><span class="blsp-spelling-error" id="SPELLING_ERROR_5">Prereqs</span><br />1.  Primary database has to be in <span class="blsp-spelling-error" id="SPELLING_ERROR_6">archivelog</span> mode<br />2.  Standby redo log files are beneficial and even though not required for  physical standby should be created.<br />3. log_archive_<span class="blsp-spelling-error" id="SPELLING_ERROR_7">dest</span>_2 needs to be configured  which log_archive_<span class="blsp-spelling-error" id="SPELLING_ERROR_8">dest</span>_state_2 set to defer till the standby is up.</p>
<p>Steps.</p>
<p>1. create a backup  of the primary database either on disk or tape.</p>
<p>run {<br />backup database plus <span class="blsp-spelling-error" id="SPELLING_ERROR_9">archivelog</span>;<br />backup current <span class="blsp-spelling-error" id="SPELLING_ERROR_10">controlfile</span> for standby ; &#8212;&#8211; important step<br />}</p>
<p>2. create  an <span class="blsp-spelling-error" id="SPELLING_ERROR_11">init</span>.<span class="blsp-spelling-error" id="SPELLING_ERROR_12">ora</span> file and move it to the standby host.<br />3. modify the <span class="blsp-spelling-error" id="SPELLING_ERROR_13">init</span>.<span class="blsp-spelling-error" id="SPELLING_ERROR_14">ora</span> to include a db_unique_name different from primary<br />4. add   db_<span class="blsp-spelling-error" id="SPELLING_ERROR_15">dile</span>_name_convert and log_file_name_convert if the <span class="blsp-spelling-error" id="SPELLING_ERROR_16">filesystem</span> structure is not going to be identical to the primary.<br />5. restore the database on the standby host<br /><span style="font-weight: bold;">On the Standby Host.</span></p>
<p><span class="blsp-spelling-error" id="SPELLING_ERROR_17">rman</span> target abc/abc@def<br /><span class="blsp-spelling-error" id="SPELLING_ERROR_18">conn</span> auxiliary /<br />run {<br /><span class="blsp-spelling-error" id="SPELLING_ERROR_19">startup</span> <span class="blsp-spelling-error" id="SPELLING_ERROR_20">nomount</span>;<br />duplicate target database for standby <span class="blsp-spelling-error" id="SPELLING_ERROR_21">dorecover</span>;<br />}</p>
<p>6. Ensure <span class="blsp-spelling-error" id="SPELLING_ERROR_22">tnsnames</span>.<span class="blsp-spelling-error" id="SPELLING_ERROR_23">ora</span> is current and tested <span class="blsp-spelling-error" id="SPELLING_ERROR_24">ont</span> he primary and standby hosts.<br />7. Start shipping redo by  changing  log_archive_<span class="blsp-spelling-error" id="SPELLING_ERROR_25">dest</span>_state_2=enable on the primary.</p>
<p>You have a physical standby up and running. I&#8217;ll post some tests and monitoring scripts as well as conversion to  a logical standby in future posts</p>


<p>Related posts:<ol><li><a href='http://www.fuadarshad.net/wp/2009/09/physical-dataguard-password-change/' rel='bookmark' title='Permanent Link: Physical Dataguard Password change'>Physical Dataguard Password change</a> <small>Oracle Performs redo shipping and authentication services between the primary...</small></li>
<li><a href='http://www.fuadarshad.net/wp/2009/11/using-emc-clopnes-and-ibm-ess-flashcopy-to-backup-your-database/' rel='bookmark' title='Permanent Link: Using EMC Clones and IBM ESS FlashCopy to Backup your Database'>Using EMC Clones and IBM ESS FlashCopy to Backup your Database</a> <small>Lets Face it. Todays Databases are getting bigger and bigger...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.fuadarshad.net/wp/2008/11/dataguard-setup-physical-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
