<?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: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>The great grandson of Husnu Sensoy</title>
	<atom:link href="http://husnusensoy.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://husnusensoy.wordpress.com</link>
	<description>You never know how long the battles going to be. You have to be ever ready...</description>
	<lastBuildDate>Sat, 21 Nov 2009 21:00:55 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='husnusensoy.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/12d8872b7f404c95db46d8046ae1daa1?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>The great grandson of Husnu Sensoy</title>
		<link>http://husnusensoy.wordpress.com</link>
	</image>
			<item>
		<title>How to Install Oracle 11g Release 2 on OEL 5.4 on VirtualBox: Managing ASM with ASMCA</title>
		<link>http://husnusensoy.wordpress.com/2009/11/21/how-to-install-11g-release-2-on-oel-5-4-on-virtualbox-managing-asm-with-asmca/</link>
		<comments>http://husnusensoy.wordpress.com/2009/11/21/how-to-install-11g-release-2-on-oel-5-4-on-virtualbox-managing-asm-with-asmca/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 17:05:34 +0000</pubDate>
		<dc:creator>kocakahin</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[11g Release 2]]></category>
		<category><![CDATA[ASM]]></category>

		<guid isPermaLink="false">http://husnusensoy.wordpress.com/?p=865</guid>
		<description><![CDATA[In the previous post, I have tried to explain how to install Grid Infrastructure on your VirtualBox instance. In this post, before moving to the next post in which I will be explaining RDBMS 11g Release 2 configuration, I wish to look at a new tool shipped with Grid Infrastructure, namely ASMCA(ASM Configuration Assistant).
We will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=865&subd=husnusensoy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In <a title="Installing Grid Infrastructure" href="http://husnusensoy.wordpress.com/2009/10/30/how-to-install-oracle-11g-release-2-on-oel-5-4-on-virtualbox-installing-grid-infrastructure/" target="_blank">the previous post</a>, I have tried to explain how to install Grid Infrastructure on your VirtualBox instance. In this post, before moving to the next post in which I will be explaining RDBMS 11g Release 2 configuration, I wish to look at a new tool shipped with Grid Infrastructure, namely ASMCA(ASM Configuration Assistant).</p>
<p>We will not be going deep with ASMCA in this post but rather it will be just like a first contact with aliens. ASMCA is a very capable and accompanying tool with the new capabilities of ASM like ADVM or ACFS.</p>
<h3>Starting with ASMCA</h3>
<table border="0" cellspacing="0" cellpadding="2" width="862">
<tbody>
<tr>
<td width="200" valign="top"><img style="display:inline;border:0;margin:0 10px 10px 0;" title="init" src="http://husnusensoy.files.wordpress.com/2009/11/init_thumb.png?w=398&#038;h=297" border="0" alt="init" width="398" height="297" /></td>
<td width="660" valign="top">Starting ASMCA is simple. Go to your GRID_HOME set ORACLE_SID to +ASM and run <em>asmca</em> binary.</p>
<table border="0" cellspacing="0" cellpadding="2" width="635" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="633" valign="top"><span style="font-size:small;color:#0000ff;font-family:courier new;"><span style="color:#000000;">[oracle@localhost ~]$ <span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:courier new;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:courier new;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:courier new;"><strong>export </strong><span style="color:#000000;">ORACLE_HOME =<span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:courier new;"><span style="color:#000000;">/u01/app/oracle/product/11.2.0/grid</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span><br />
[oracle@localhost ~]$ <span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:courier new;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:courier new;"><strong>export </strong><span style="color:#000000;">ORACLE_SID = +ASM</span></span></span></span></span></span></span></span></span></span></span></span><span style="font-size:small;color:#0000ff;font-family:courier new;"><span style="color:#000000;"><br />
<span style="font-size:small;color:#0000ff;font-family:courier new;"><span style="color:#000000;">[oracle@localhost ~]$ $ORACLE_HOME/bin/asmca<span style="font-size:small;color:#0000ff;font-family:courier new;"><strong> </strong></span></span></span></span></span></span></span><span style="font-size:small;color:#0000ff;font-family:courier new;"><span style="color:#000000;"> </span></span></td>
</tr>
</tbody>
</table>
<p>As you will notice there is already one disk group namely DATA listed under <em>Disk Gruops</em> pane. This is the one created during Grid Infrastructure installation.<br />
Now click on <strong>Create </strong>to create our FRA diskgroup.</td>
</tr>
<tr>
<td width="200" valign="top"><img style="display:inline;border:0;margin:0 10px 10px 0;" title="creatediskgroup" src="http://husnusensoy.files.wordpress.com/2009/11/creatediskgroup_thumb.png?w=398&#038;h=300" border="0" alt="creatediskgroup" width="398" height="300" /></td>
<td width="660" valign="top">As you click on <strong>Create </strong>button a new dialog to create your new disk group will appear. <br />
Enter FRA for <em>Disk Group Name </em>textbox.<br />
Choose <em>External(None) </em>radio button to choose external ASM redundancy.<br />
Notice that not all disks (asm disks) are available for your use (this controlled by two radio buttons in <em>Select Member Disks</em> pane) Select all three disks for FRA.<br />
Now click on <strong>Show Advanced Options</strong> button to see RDBMS and ASM compatibilities.</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/11/advancedoptions.png"><img style="display:inline;border:0;margin:0 10px 10px 0;" title="advancedoptions" src="http://husnusensoy.files.wordpress.com/2009/11/advancedoptions_thumb.png?w=398&#038;h=296" border="0" alt="advancedoptions" width="398" height="296" /></a></td>
<td width="660" valign="top">Notice that <em>ASM and Database Compatibility </em>fields are both set to 11.2.0.0.0<br />
This means ASM instance will allow you to use all new features introduced in 11.2 for this diskgroup but the minimum RDMS instance can use this diskgroup should be in 11.2 release.<br />
Click on <strong>Hide Advance Options </strong>button and then <strong>OK </strong>to complete diskgroup creation.</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/11/creatediskgroup2.png"><img style="display:inline;border:0;margin:0 10px 10px 0;" title="creatediskgroup2" src="http://husnusensoy.files.wordpress.com/2009/11/creatediskgroup2_thumb.png?w=398&#038;h=298" border="0" alt="creatediskgroup2" width="398" height="298" /></a></td>
<td width="660" valign="top">ASM will do the necessary initializations to create FRA diskgroup and switch back to initial screen after it is done.</td>
</tr>
<tr>
<td width="200" valign="top"><img style="display:inline;border:0;margin:0 10px 10px 0;" title="rightclickondiskgruop" src="http://husnusensoy.files.wordpress.com/2009/11/rightclickondiskgruop_thumb.png?w=398&#038;h=299" border="0" alt="rightclickondiskgruop" width="398" height="299" /></td>
<td width="660" valign="top">As you see FRA is created and mounted by your ASM instance.</td>
</tr>
<tr>
<td width="200" valign="top"><img style="display:inline;border:0;margin:0 10px 10px 0;" title="rightclickonDATA" src="http://husnusensoy.files.wordpress.com/2009/11/rightclickondata_thumb.png?w=398&#038;h=298" border="0" alt="rightclickonDATA" width="398" height="298" /></td>
<td width="660" valign="top">Now right click on your DATA diskgroup. In the list ASMCA allows you to</p>
<ul>
<li><em>Add Disks </em>into the diskgroup</li>
<li><em>Edit Attributes </em>of the diskgroup</li>
<li><em>Manage Templates </em>for the diskgroup</li>
<li><em>Mount/Dismount </em>the diskgroup</li>
<li><em>Drop </em>the<em> </em>diskgroup</li>
</ul>
<p>Choose <em>Edit Attributes </em>from the list to see attributes of DATA diskgroup.</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/11/diskgroupproperties.png"><img style="display:inline;border:0;margin:0 10px 10px 0;" title="diskgroupProperties" src="http://husnusensoy.files.wordpress.com/2009/11/diskgroupproperties_thumb.png?w=398&#038;h=300" border="0" alt="diskgroupProperties" width="398" height="300" /></a></td>
<td width="660" valign="top">As you see ASMCA enables the attribute fields those are possible to modify and disables the static ones (the ones fixed in creation of diskgroup).<br />
Click <strong>X </strong>to close this window.</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/11/exit.png"><img style="display:inline;border:0;margin:0;" title="exit" src="http://husnusensoy.files.wordpress.com/2009/11/exit_thumb.png?w=398&#038;h=298" border="0" alt="exit" width="398" height="298" align="left" /></a></td>
<td width="660" valign="top">Click on <strong>Exit </strong>button to leave ASMCA.</td>
</tr>
</tbody>
</table>
<p>ASMCA is the youngest member of Oracle *CA family. It seems that ASM users will be using it actively for management by the new features in 11g Release 2. Such as,</p>
<ul>
<li>ASM Volume (ADVM) Management</li>
<li>ASM File System (ACFS) Management</li>
<li>Read-only snapshot management</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/husnusensoy.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/husnusensoy.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/husnusensoy.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/husnusensoy.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/husnusensoy.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/husnusensoy.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/husnusensoy.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/husnusensoy.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/husnusensoy.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/husnusensoy.wordpress.com/865/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=865&subd=husnusensoy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://husnusensoy.wordpress.com/2009/11/21/how-to-install-11g-release-2-on-oel-5-4-on-virtualbox-managing-asm-with-asmca/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a336f49473f7ff0add6beba3d42aef17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kocakahin</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/11/init_thumb.png" medium="image">
			<media:title type="html">init</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/11/creatediskgroup_thumb.png" medium="image">
			<media:title type="html">creatediskgroup</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/11/advancedoptions_thumb.png" medium="image">
			<media:title type="html">advancedoptions</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/11/creatediskgroup2_thumb.png" medium="image">
			<media:title type="html">creatediskgroup2</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/11/rightclickondiskgruop_thumb.png" medium="image">
			<media:title type="html">rightclickondiskgruop</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/11/rightclickondata_thumb.png" medium="image">
			<media:title type="html">rightclickonDATA</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/11/diskgroupproperties_thumb.png" medium="image">
			<media:title type="html">diskgroupProperties</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/11/exit_thumb.png" medium="image">
			<media:title type="html">exit</media:title>
		</media:content>
	</item>
		<item>
		<title>How to become an Oracle Expert ?</title>
		<link>http://husnusensoy.wordpress.com/2009/11/14/how-to-be-an-oracle-expert/</link>
		<comments>http://husnusensoy.wordpress.com/2009/11/14/how-to-be-an-oracle-expert/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 14:19:37 +0000</pubDate>
		<dc:creator>kocakahin</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://husnusensoy.wordpress.com/?p=850</guid>
		<description><![CDATA[Read the post recently published in my company&#8217;s blog to learn how I become an Oracle expert.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=850&subd=husnusensoy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Read <a title="How to be an Oracle Expert ?" href="http://blog.turkcell.com.tr/2009/11/13/uzmanlasmak-mi-istiyorsun/" target="_blank">the post</a> recently published in <a title="Turkcell Blog" href="http://blog.turkcell.com.tr/" target="_blank">my company&#8217;s blog</a> to learn how I become an Oracle expert.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/husnusensoy.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/husnusensoy.wordpress.com/850/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/husnusensoy.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/husnusensoy.wordpress.com/850/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/husnusensoy.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/husnusensoy.wordpress.com/850/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/husnusensoy.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/husnusensoy.wordpress.com/850/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/husnusensoy.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/husnusensoy.wordpress.com/850/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=850&subd=husnusensoy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://husnusensoy.wordpress.com/2009/11/14/how-to-be-an-oracle-expert/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a336f49473f7ff0add6beba3d42aef17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kocakahin</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Install Oracle 11g Release 2 on OEL 5.4 on VirtualBox: Installing Grid Infrastructure</title>
		<link>http://husnusensoy.wordpress.com/2009/10/30/how-to-install-oracle-11g-release-2-on-oel-5-4-on-virtualbox-installing-grid-infrastructure/</link>
		<comments>http://husnusensoy.wordpress.com/2009/10/30/how-to-install-oracle-11g-release-2-on-oel-5-4-on-virtualbox-installing-grid-infrastructure/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 16:50:30 +0000</pubDate>
		<dc:creator>kocakahin</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[11g Release 2]]></category>
		<category><![CDATA[ASM]]></category>
		<category><![CDATA[Grid Infrastructure]]></category>
		<category><![CDATA[HA]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle Enterprise Linux 5.4]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://husnusensoy.wordpress.com/?p=767</guid>
		<description><![CDATA[In Oracle 11g Release 2 you will find that things have changed even for single instance database installation. I will try to illustrate in this series of posts how to install a single instance Oracle 11g Release 2 database to your Linux machines.
As the first part of our installation series, we will start by installing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=767&subd=husnusensoy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In Oracle 11g Release 2 you will find that things have changed even for single instance database installation. I will try to illustrate in this series of posts how to install a single instance Oracle 11g Release 2 database to your Linux machines.</p>
<p>As the first part of our installation series, we will start by installing brand new <em>Grid Infrastructure </em>which you might think to be a fancy name for CRS+ASM but you will find out later that it is<em> a bit</em> more.</p>
<h1>VirtualBox Configuration</h1>
<p>Here is the sufficient <a href="http://www.virtualbox.org/" target="_blank">VirtualBox</a> virtual hardware configuration for your 11g Release 2 playground (Keep in mind that this is the bare minimum configuration to have a painless installation. More resource is obviously better):</p>
<table border="0" cellspacing="0" cellpadding="2" width="898">
<tbody>
<tr>
<td width="81" valign="top"><strong>Hardware</strong></td>
<td width="124" valign="top"><strong>Amount</strong></td>
<td width="691" valign="top"><strong>Description</strong></td>
</tr>
<tr>
<td width="81" valign="top">Memory</td>
<td width="124" valign="top">512MB</td>
<td width="691" valign="top">Although minimum memory requirement for Oracle 11g Release 2 in a real production environment is documented to be 1024M, for all practical requirements of your playground 512MB will be sufficient.</td>
</tr>
<tr>
<td width="81" valign="top">Root Disk</td>
<td width="124" valign="top">16GB</td>
<td width="691" valign="top">16 GB root disk for OS+SWAP+Oracle Binary space will be sufficient</td>
</tr>
<tr>
<td width="81" valign="top">ASM Disks</td>
<td width="124" valign="top">6&#215;2GB SCSI Disks</td>
<td width="691" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/oracle11grelease2beta2ayarlar.png"><img style="display:inline;border-width:0;margin:0 10px 0 0;" title="Oracle 11g Release 2 Beta 2 Ayarlar" src="http://husnusensoy.files.wordpress.com/2009/10/oracle11grelease2beta2ayarlar_thumb.png?w=368&#038;h=303" border="0" alt="Oracle 11g Release 2 Beta 2 Ayarlar" width="368" height="303" align="left" /></a>We will be doing an ASM based installation so 6 disks over SCSI interface will be enough to simulate a real life experience with ASM.</td>
</tr>
</tbody>
</table>
<p>You are now ready to start your VirtualBox for Oracle 11g Release 2 installation.</p>
<h1>Install Grid Infrastructure</h1>
<h3>Pre-work</h3>
<p>There are a few important tasks in OS level we should complete before starting grid infrastructure installation.</p>
<h2>Physical Partition Creation</h2>
<p>The first thing is to create physical partitions over your virtual SCSI devices. Actually this is not crucial for ASM installation because ASM can use physical disk as a whole without any partition. However if you wish to create ASMLIB you will need those partitions.</p>
<table border="0" cellspacing="0" cellpadding="2" width="637" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="635" valign="top">[root@localhost ~]# <span style="font-size:small;"><span style="font-family:courier new;"><span style="color:#0000ff;"><strong><a href="http://linux.die.net/man/8/fdisk" target="_blank">fdisk</a></strong> </span></span></span>/dev/sda<br />
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel<br />
Building a new DOS disklabel. Changes will remain in memory only,<br />
until you decide to write them. After that, of course, the previous<br />
content won’t be recoverable.Warning: invalid flag 0&#215;0000 of partition table will be corrected by w(rite)Command (m for help): <strong><span style="font-family:Courier New;"><span style="font-size:small;"><span style="color:#0000ff;">n<span style="font-size:small;"><span style="font-family:courier new;"><span style="color:#0000ff;"> </span></span></span></span></span></span></strong><br />
Command action<br />
e     extended<br />
p     primary partition (1-4)<br />
<span style="font-size:small;"><span style="font-family:courier new;"><span style="color:#0000ff;"> </span></span></span><strong><span style="font-family:Courier New;color:#0000ff;font-size:small;">p</span></strong><br />
Partition number (1-4): <span style="font-size:small;"><span style="font-family:courier new;"><span style="color:#0000ff;"><strong>1</strong> </span></span></span><br />
First cylinder (1-261, default 1):<br />
Using default value 1<br />
Last cylinder or +size or +sizeM or +sizeK (1-261, default 261):<br />
Using default value 261Command (m for help): <strong><span style="font-family:Courier New;"><span style="font-size:small;"><span style="color:#0000ff;">w<span style="font-size:small;"><span style="font-family:courier new;"><span style="color:#0000ff;"> </span></span></span></span></span></span></strong><br />
The partition table has been altered!
<p>&nbsp;</p>
<p>Calling ioctl() to re-read partition table.<br />
Synching disks.</td>
</tr>
</tbody>
</table>
<h2>Changing ASM devices ownership to <em>oracle</em></h2>
<p>Physical partitions we have created are owned by <em>root. </em>They should be changed to be owned by ASM user (<em>oracle</em> in our case) in order to make them visible for ASM discovery.</p>
<table border="0" cellspacing="0" cellpadding="2" width="453" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="451" valign="top">[root@localhost ~]# <span style="font-size:small;"><span style="font-family:courier new;"><span style="color:#0000ff;"><strong><a href="http://linux.die.net/man/1/ls" target="_blank">ls</a> –</strong></span></span></span>la /dev/sd?1<br />
brw-r&#8212;&#8211; 1 root disk 8,  1 Sep 21 05:03 /dev/sda1<br />
brw-r&#8212;&#8211; 1 root disk 8, 17 Sep 21 05:03 /dev/sdb1<br />
brw-r&#8212;&#8211; 1 root disk 8, 33 Sep 21 05:03 /dev/sdc1<br />
brw-r&#8212;&#8211; 1 root disk 8, 49 Sep 21 05:03 /dev/sdd1<br />
brw-r&#8212;&#8211; 1 root disk 8, 65 Sep 21 05:03 /dev/sde1<br />
brw-r&#8212;&#8211; 1 root disk 8, 81 Sep 21 05:03 /dev/sdf1[root@localhost ~]# <span style="font-size:small;"><span style="font-family:courier new;"><span style="color:#0000ff;"><strong><a href="http://linux.die.net/man/1/chown" target="_blank">chown</a> </strong></span></span></span>oracle:dba /dev/sd?1[root@localhost ~]# <span style="font-size:small;"><span style="font-family:courier new;"><span style="color:#0000ff;"><strong>ls –</strong></span></span></span>la /dev/sd?1<br />
brw-r&#8212;&#8211; 1 oracle dba 8,  1 Sep 21 05:03 /dev/sda1<br />
brw-r&#8212;&#8211; 1 oracle dba 8, 17 Sep 21 05:03 /dev/sdb1<br />
brw-r&#8212;&#8211; 1 oracle dba 8, 33 Sep 21 05:03 /dev/sdc1<br />
brw-r&#8212;&#8211; 1 oracle dba 8, 49 Sep 21 05:03 /dev/sdd1<br />
brw-r&#8212;&#8211; 1 oracle dba 8, 65 Sep 21 05:03 /dev/sde1<br />
brw-r&#8212;&#8211; 1 oracle dba 8, 81 Sep 21 05:03 /dev/sdf1</td>
</tr>
</tbody>
</table>
<p>In order to make those changes permanent (if you reboot the system Linux will set all device owners back to <em>root</em> otherwise) you should create a <em>udev </em>permission file</p>
<table border="0" cellspacing="0" cellpadding="2" width="693" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="691" valign="top">[root@localhost ~]# <span style="font-family:Courier New;color:#0000ff;font-size:small;"><strong><a href="http://linux.die.net/man/1/more" target="_blank">more</a> </strong><span style="color:#000000;">/etc/udev/rules.d/99-oracle.rules<br />
#ASM disks<br />
KERNEL==&#8221;sda&#8221;, OWNER=&#8221;oracle&#8221;, GROUP=&#8221;dba&#8221;, MODE=&#8221;0660&#8243;<br />
KERNEL==&#8221;sdb&#8221;, OWNER=&#8221;oracle&#8221;, GROUP=&#8221;dba&#8221;, MODE=&#8221;0660&#8243;<br />
KERNEL==&#8221;sdc&#8221;, OWNER=&#8221;oracle&#8221;, GROUP=&#8221;dba&#8221;, MODE=&#8221;0660&#8243;<br />
KERNEL==&#8221;sdd&#8221;, OWNER=&#8221;oracle&#8221;, GROUP=&#8221;dba&#8221;, MODE=&#8221;0660&#8243;<br />
KERNEL==&#8221;sde&#8221;, OWNER=&#8221;oracle&#8221;, GROUP=&#8221;dba&#8221;, MODE=&#8221;0660&#8243;<br />
KERNEL==&#8221;sdf&#8221;, OWNER=&#8221;oracle&#8221;, GROUP=&#8221;dba&#8221;, MODE=&#8221;0660&#8243;</span></span></td>
</tr>
</tbody>
</table>
<h2>Ensure /dev/shm is sufficiently sized</h2>
<p>You should ensure that <em>/dev/shm</em> is minimum 256MB for a successful ASM installation (and 512-750M for RDBMS installation) with MEMORY_TARGET parameter.</p>
<table border="0" cellspacing="0" cellpadding="2" width="806" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="804" valign="top">[root@localhost ~]# <span style="font-size:small;"><span style="font-family:courier new;"><span style="color:#0000ff;"><strong><a href="http://linux.die.net/man/1/df" target="_blank">df</a> –</strong></span></span></span>ha</td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="0" cellpadding="2" width="806" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="265" valign="top">Filesystem</td>
<td width="71" valign="top">Size</td>
<td width="59" valign="top">Used</td>
<td width="52" valign="top">Avail</td>
<td width="51" valign="top">Use%</td>
<td width="306" valign="top">Mounted on</td>
</tr>
<tr>
<td width="265" valign="top">/dev/mapper/VolGroup00-LogVol00</td>
<td width="71" valign="top">15G</td>
<td width="59" valign="top">9.9G</td>
<td width="52" valign="top">3.9G</td>
<td width="51" valign="top">72%</td>
<td width="306" valign="top">/</td>
</tr>
<tr>
<td width="265" valign="top">proc</td>
<td width="71" valign="top">0</td>
<td width="59" valign="top">0</td>
<td width="52" valign="top">0</td>
<td width="51" valign="top">-</td>
<td width="306" valign="top">/proc</td>
</tr>
<tr>
<td width="265" valign="top">sysfs</td>
<td width="71" valign="top">0</td>
<td width="59" valign="top">0</td>
<td width="52" valign="top">0</td>
<td width="51" valign="top">-</td>
<td width="306" valign="top">/sys</td>
</tr>
<tr>
<td width="265" valign="top">devpts</td>
<td width="71" valign="top">0</td>
<td width="59" valign="top">0</td>
<td width="52" valign="top">0</td>
<td width="51" valign="top">-</td>
<td width="306" valign="top">/dev/pts</td>
</tr>
<tr>
<td width="265" valign="top">/dev/hda1</td>
<td width="71" valign="top">99M</td>
<td width="59" valign="top">32M</td>
<td width="52" valign="top">63M</td>
<td width="51" valign="top">34%</td>
<td width="306" valign="top">/boot</td>
</tr>
<tr>
<td width="265" valign="top">tempfs</td>
<td width="71" valign="top">125M</td>
<td width="59" valign="top">0</td>
<td width="52" valign="top">125M</td>
<td width="51" valign="top">0%</td>
<td width="306" valign="top">/dev/shm</td>
</tr>
<tr>
<td width="265" valign="top">none</td>
<td width="71" valign="top">0</td>
<td width="59" valign="top">0</td>
<td width="52" valign="top">0</td>
<td width="51" valign="top">-</td>
<td width="306" valign="top">/proc/sys/fs/binfmt_misc</td>
</tr>
<tr>
<td width="265" valign="top">sunrpc</td>
<td width="71" valign="top">0</td>
<td width="59" valign="top">0</td>
<td width="52" valign="top">0</td>
<td width="51" valign="top">-</td>
<td width="306" valign="top">/var/lib/nfs/rpc_pipefs</td>
</tr>
<tr>
<td width="265" valign="top">oracleasmfs</td>
<td width="71" valign="top">0</td>
<td width="59" valign="top">0</td>
<td width="52" valign="top">0</td>
<td width="51" valign="top">-</td>
<td width="306" valign="top">/dev/oracleasm</td>
</tr>
</tbody>
</table>
<p>You can resize <em>tempfs</em> online by using</p>
<table border="0" cellspacing="0" cellpadding="2" width="693" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="691" valign="top">[root@localhost ~]# <span style="font-family:Courier New;color:#0000ff;font-size:small;"><strong><a href="http://linux.die.net/man/8/mount" target="_blank">mount</a> </strong><span style="color:#000000;">/dev/shm –o size=750M,remount</span></span></td>
</tr>
</tbody>
</table>
<p>In order to make this mount operation persistent you should modify the <em>tempfs</em> line in <em>/etc/fstab</em> file as follows:</p>
<table border="0" cellspacing="0" cellpadding="2" width="693" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="691" valign="top">[root@localhost ~]# <span style="color:#0000ff;"><strong><a href="http://linux.die.net/man/1/cat" target="_blank"><span style="font-family:Courier New;font-size:small;">cat</span></a><span style="font-family:Courier New;font-size:small;"> </span></strong><span style="font-family:Courier New;color:#000000;font-size:small;">/etc/fstab | <span style="color:#0000ff;"><strong><a href="http://linux.die.net/man/1/grep" target="_blank">grep</a></strong></span> tempfs<br />
tmpfs                   /dev/shm                tmpfs   size=750m        0 0 </span></span></td>
</tr>
</tbody>
</table>
<p>Notice that although we have VirtualBox instance with 512M memory, Linux allows us to mount <em>tempfs </em>with a size of 750M. This most probably due to lazy allocation of memory over <em>tempfs.</em></p>
<h2>Create installation directory and set its ownership</h2>
<p>Final step is to create our software directory and set the required ownership to it.</p>
<table border="0" cellspacing="0" cellpadding="2" width="693" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="691" valign="top">[root@localhost ~]# <span style="font-family:Courier New;color:#0000ff;font-size:small;"><strong><a href="http://linux.die.net/man/1/mkdir" target="_blank">mkdir</a> </strong><span style="color:#000000;">-p /u01/app</span></span></td>
</tr>
<tr>
<td width="691" valign="top">[root@localhost ~]# <span style="font-family:Courier New;color:#0000ff;font-size:small;"><strong>chown </strong><span style="color:#000000;">-R oracle:oinstall /u01/app/oracle</span></span></td>
</tr>
</tbody>
</table>
<h3>Installation</h3>
<table border="0" cellspacing="0" cellpadding="2" width="831">
<tbody>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio51.png"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (5)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio5_thumb1.png?w=370&#038;h=277" border="0" alt="Camtasia Studio (5)" width="370" height="277" /></a></td>
<td width="629" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="396" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="394" valign="top"><span style="font-family:Courier New;color:#0000ff;font-size:small;"><span style="color:#000000;"> </span></span><span style="font-family:Courier New;color:#0000ff;font-size:small;"><span style="color:#000000;">[oracle@localhost ~]$ <span style="font-family:Courier New;color:#0000ff;font-size:small;"><strong><a href="http://linux.die.net/man/1/unzip" target="_blank">unzip</a> </strong><span style="color:#000000;">linux_11gR2_grid.zip </span></span><br />
[oracle@localhost ~]$ <span style="font-family:Courier New;color:#0000ff;font-size:small;"><strong><a href="http://linux.die.net/man/1/cd" target="_blank">cd</a> </strong><span style="color:#000000;">grid<br />
<span style="font-family:Courier New;color:#0000ff;font-size:small;"><span style="color:#000000;">[oracle@localhost grid]$ <span style="font-family:Courier New;color:#0000ff;font-size:small;"><strong>./runInstaller </strong></span></span></span></span></span></span></span><span style="font-family:Courier New;color:#0000ff;font-size:small;"><span style="color:#000000;"> </span></span></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td width="200" valign="top"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (7)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio7_thumb2.png?w=370&#038;h=278" border="0" alt="Camtasia Studio (7)" width="370" height="278" /></td>
<td width="629" valign="top">Choose <strong>Install and Configure Grid Infrastructure for a Standalone Server</strong> option and click on <strong>Next &gt;</strong> button.</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio141.png"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (14)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio14_thumb1.png?w=370&#038;h=279" border="0" alt="Camtasia Studio (14)" width="370" height="279" /></a></td>
<td width="629" valign="top">Set <strong>Selected Language</strong> language to <em>English</em> and click on <strong>Next &gt;</strong> button.</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio91.png"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (9)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio9_thumb1.png?w=370&#038;h=278" border="0" alt="Camtasia Studio (9)" width="370" height="278" /></a></td>
<td width="629" valign="top">Next step is to perform ASM configuration for your grid. Choose <em>External</em> as the redundancy of DATA diskgroup. Now click on <strong>Change Discovery Path… </strong>button to define <em>asm_diskstring</em> parameter.</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio151.png"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (15)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio15_thumb1.png?w=370&#038;h=278" border="0" alt="Camtasia Studio (15)" width="370" height="278" /></a></td>
<td width="629" valign="top">Set <strong>Disk Discovery Path</strong> to <em>/dev/sd?1 </em>and click on <strong>OK</strong></td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio161.png"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (16)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio16_thumb1.png?w=370&#038;h=279" border="0" alt="Camtasia Studio (16)" width="370" height="279" /></a></td>
<td width="629" valign="top">Since <em>/dev/sd?1</em> matches all six SCSI partitions and they are not members of any other diskgroup, installer will list all of them as <em>Candidate </em>disks.Check-out <em>/dev/sda1,/dev/sdb1,/dev/sdc1</em> devices as members disks of DATA diskgroup then click on <strong>Next &gt;</strong>Other disks will be used for Flash Recovery Area later on.</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio171.png"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (17)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio17_thumb1.png?w=370&#038;h=277" border="0" alt="Camtasia Studio (17)" width="370" height="277" /></a></td>
<td width="629" valign="top">Choose <strong>Use same passwords for these account</strong> for a simple configuration then set <strong>Specify Password</strong> and <strong>Confirm Password</strong> fields to same password strings and click on <strong>Next &gt;</strong>.I will be using <em>sysadm </em>throughout the post for any Oracle password required.</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio181.png"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (18)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio18_thumb1.png?w=370&#038;h=278" border="0" alt="Camtasia Studio (18)" width="370" height="278" /></a></td>
<td width="629" valign="top">One of the security enhancements introduced in Release 2 is the separation of different levels of ASM access. This defines different roles for “Who can start/stop ASM instance ?”, “Who can add/drop disks to/from diskgroups?” or “Who can use those diskgroups at RDBMS level ?”For the simplicity of installation we will be setting all roles to <em>dba</em> group.Now set all three select lists to <em>dba </em>and click on <strong>Next &gt;</strong>.</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio52.png"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (52)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio52_thumb.png?w=370&#038;h=278" border="0" alt="Camtasia Studio (52)" width="370" height="278" /></a></td>
<td width="629" valign="top">Set <strong>Oracle Base</strong> to <em>/u01/app/oracle</em> and <strong>Software Location </strong>to /u01/app/oracle/product/11.2.0/grid. Then click on <strong>Next &gt;.</strong></td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio221.png"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (22)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio22_thumb1.png?w=370&#038;h=277" border="0" alt="Camtasia Studio (22)" width="370" height="277" /></a></td>
<td width="629" valign="top">Next step is unique to first Oracle software installation as you all may know. You should set <strong>Inventory Directory </strong>(if it is not already set by installer) to <em>/u01/app/oraInventory</em>. Keep <strong>oraInventory Group Name</strong> as <em>oinstall</em> and click on <strong>Next &gt;</strong></td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio231.png"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (23)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio23_thumb1.png?w=370&#038;h=279" border="0" alt="Camtasia Studio (23)" width="370" height="279" /></a></td>
<td width="629" valign="top">In this step installer will check the installation prerequisites as it does in previous releases.</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio261.png"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (26)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio26_thumb1.png?w=370&#038;h=279" border="0" alt="Camtasia Studio (26)" width="370" height="279" /></a></td>
<td width="629" valign="top">By 11g Release 2, if any of the prerequisites fail it will be reported in a tree structure with different categories. In my case majority of the kernel settings are automatically managed since I have installed <em>oracle-validated-configuration</em> rpm during OEL installation.Only problem seems to be insufficiently sized <em>core.net.wmem_max</em> which is defined to be the maximum socket send buffer size.When you click on <strong>Fix &amp; Check Again</strong> button, installer will generate a single shell script for you to correct all fixable errors and after its execution it will recheck for any possible problems left.</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio271.png"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (27)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio27_thumb1.png?w=370&#038;h=277" border="0" alt="Camtasia Studio (27)" width="370" height="277" /></a></td>
<td width="629" valign="top">Run the generated script as root user</p>
<table border="0" cellspacing="0" cellpadding="2" width="538" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="536" valign="top">[root@localhost ~]# <span style="color:#0000ff;"><span style="color:#000000;"><span style="font-family:Courier New;font-size:small;"><span style="color:#0000ff;"><strong>/tmp/CVU_11.2.0.0.2_oracle/runfixup.sh</strong></span><br />
</span>Response file being used is :<span style="color:#0000ff;"><span style="color:#000000;"><span style="font-family:Courier New;font-size:small;">/tmp/CVU_11.2.0.0.2_oracle/fixup.response<br />
Enable file being used is :<span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="font-family:Courier New;font-size:small;">/tmp/CVU_11.2.0.0.2_oracle/fixup.enable<br />
</span></span></span></span></span>Log file location: <span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="font-family:Courier New;font-size:small;">/tmp/CVU_11.2.0.0.2_oracle/orarun.log<br />
</span></span></span></span></span>Setting Kernel Parameters…<br />
net.core.wmem_max = 262144<br />
net.core.wmem_max = 1048576 </span></span></span></span></span></td>
</tr>
</tbody>
</table>
<p>When the script is executed click <strong>OK</strong> to restart the prerequisite check process.</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio311.png"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (31)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio31_thumb1.png?w=370&#038;h=277" border="0" alt="Camtasia Studio (31)" width="370" height="277" /></a></td>
<td width="629" valign="top">As you see kernel parameter problem has gone. Other three errors can not be corrected by installer automatically, but we know that those are not critical ones. First one is <em>PhysicalMemory</em> error due to our VirtualBox 512 MB memory size. The second one is insufficient <em>SwapSize</em> that can be by-passed also for a play ground. And the final problem is <em>RunLevel</em> of Linux which is also not a great deal for us.Now check <strong>Ignore All</strong> and click on <strong>Next &gt; </strong>(button will be enabled after checking out Ignore All) to continue.</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio321.png"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (32)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio32_thumb1.png?w=370&#038;h=278" border="0" alt="Camtasia Studio (32)" width="370" height="278" /></a></td>
<td width="629" valign="top">On the summary screen confirm that everything is ok and click on <strong>Finish</strong> to start installation.</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio351.png"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (35)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio35_thumb1.png?w=370&#038;h=278" border="0" alt="Camtasia Studio (35)" width="370" height="278" /></a></td>
<td width="629" valign="top">After installer successfully completes copy,install,link,etc steps it will pop-up a root.sh execution dialog. Run the required scripts as root.</p>
<table border="0" cellspacing="0" cellpadding="2" width="538" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="536" valign="top">[root@localhost ~]# <span style="font-family:Courier New;font-size:small;">/u01/app/oraInventory/orainstRoot.sh<strong><em><br />
</em></strong></span>[root@localhost ~]# <span style="font-family:Courier New;font-size:small;">/u01/app/oracle/product/11.2.0/grid/root.sh</span></td>
</tr>
</tbody>
</table>
<p>Then switch back to installation dialog and click <strong>OK</strong> in <strong>Execute Configuration scripts</strong> dialog to proceed.</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio45.png"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (45)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio45_thumb1.png?w=370&#038;h=277" border="0" alt="Camtasia Studio (45)" width="370" height="277" /></a></td>
<td width="629" valign="top">Final tasks for installer will be to configure new HA service for ASM, diskgroup (DATA) and the default listener (on port 1521) which will be automatically configured also .</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio481.png"><img style="display:inline;border-width:0;margin:0 10px 10px 0;" title="Camtasia Studio (48)" src="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio48_thumb1.png?w=370&#038;h=277" border="0" alt="Camtasia Studio (48)" width="370" height="277" /></a></td>
<td width="629" valign="top">Finally we are done <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Your ASM, default listener, and HA service is ready to be used.</td>
</tr>
</tbody>
</table>
<h3>Post Installation Checks</h3>
<h2></h2>
<h2>Login ASM</h2>
<table border="0" cellspacing="0" cellpadding="2" width="722" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="720" valign="top"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;">[oracle@localhost ~]$ <span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><strong>export </strong><span style="color:#000000;">ORACLE_HOME = <span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;">/u01/app/oracle/product/11.2.0/grid</span> </span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span>[oracle@localhost ~]$ <span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><strong>export </strong><span style="color:#000000;">ORACLE_SID = +ASM<br />
<span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;">[oracle@localhost ~]$ <span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><strong>export </strong><span style="color:#000000;">PATH = $ORACLE_HOME/bin:$PATH<br />
</span></span></span></span></span></span></span></span></span></span></span></span><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;">[oracle@localhost ~]$ <span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><strong>sqlplus </strong><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;">/ as sysasm </span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;">SQL*Plus: Release 11.2.0.0.2 Beta on Mon Sep 21 05:45:58 2009 </span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;">Copyright © 1982, 2009, Oracle. All right reserved. </span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;">Connected to:<br />
Oracle Database 11g Enterprise Edition Release 11.2.0.0.2 – Beta<br />
With the Automatic Storage Management option </span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span>
<p>&nbsp;</p>
<p><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;">SQL&gt; select name from v$asm_diskgroup; </span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></p>
<p><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;">NAME<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
DATA<br />
</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></td>
</tr>
</tbody>
</table>
<h2></h2>
<h2>Check Default Listener Status</h2>
<table border="0" cellspacing="0" cellpadding="2" width="722" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="720" valign="top"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="font-family:Courier New;font-size:small;">[oracle@localhost ~]$ <strong><span style="color:#0000ff;">lsnrctl</span></strong> status </span> </span></span></span></span><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="font-family:Courier New;font-size:small;">LSNRCTL for Linux: Version 11.2.0.1.0 &#8211; Production on 31-OCT-2009 12:05:36 </span></span></span></span></span><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="font-family:Courier New;font-size:small;">Copyright (c) 1991, 2009, Oracle.  All rights reserved. </span></span></span></span></span><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"><span style="font-family:Courier New;font-size:small;">Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))<br />
STATUS of the LISTENER<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Alias                     LISTENER<br />
Version                   TNSLSNR for Linux: Version 11.2.0.1.0 &#8211; Production<br />
Start Date                31-OCT-2009 11:51:00<br />
Uptime                    0 days 0 hr. 14 min. 37 sec<br />
Trace Level               off<br />
Security                  ON: Local OS Authentication<br />
SNMP                      OFF<br />
Listener Parameter File   /u01/app/oracle/product/11.2.0/grid/network/admin/listener.ora<br />
Listener Log File         /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml<br />
Listening Endpoints Summary&#8230;<br />
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))<br />
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))<br />
Services Summary&#8230;<br />
Service &#8220;+ASM&#8221; has 1 instance(s).<br />
Instance &#8220;+ASM&#8221;, status READY, has 1 handler(s) for this service&#8230;<br />
The command completed successfully<br />
</span></span></span></span></span><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="color:#000000;"> </span></span></span></span></td>
</tr>
</tbody>
</table>
<h2></h2>
<h2>Check HA Targets</h2>
<table border="0" cellspacing="0" cellpadding="2" width="698" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="696" valign="top"><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-family:Courier New;color:#000000;font-size:small;"> </span></span></span></span><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-family:Courier New;color:#000000;font-size:small;">[oracle@localhost ~]$ <strong><span style="color:#0000ff;">crs_stat</span></strong> -t<br />
Name           Type           Target    State     Host<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
ora.DATA.dg    ora&#8230;.up.type ONLINE    ONLINE    localhost<br />
ora&#8230;.ER.lsnr ora&#8230;.er.type ONLINE    ONLINE    localhost<br />
ora.asm        ora.asm.type   ONLINE    ONLINE    localhost<br />
ora.cssd       ora.cssd.type  ONLINE    ONLINE    localhost<br />
ora.diskmon    ora&#8230;.on.type ONLINE    ONLINE    localhost</span></span></span></span><span style="color:#0000ff;"><span style="color:#000000;"><span style="color:#0000ff;"><span style="font-family:Courier New;color:#000000;font-size:small;"> </span></span></span></span></td>
</tr>
</tbody>
</table>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/husnusensoy.wordpress.com/767/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/husnusensoy.wordpress.com/767/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/husnusensoy.wordpress.com/767/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/husnusensoy.wordpress.com/767/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/husnusensoy.wordpress.com/767/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/husnusensoy.wordpress.com/767/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/husnusensoy.wordpress.com/767/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/husnusensoy.wordpress.com/767/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/husnusensoy.wordpress.com/767/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/husnusensoy.wordpress.com/767/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=767&subd=husnusensoy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://husnusensoy.wordpress.com/2009/10/30/how-to-install-oracle-11g-release-2-on-oel-5-4-on-virtualbox-installing-grid-infrastructure/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a336f49473f7ff0add6beba3d42aef17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kocakahin</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/oracle11grelease2beta2ayarlar_thumb.png" medium="image">
			<media:title type="html">Oracle 11g Release 2 Beta 2 Ayarlar</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio5_thumb1.png" medium="image">
			<media:title type="html">Camtasia Studio (5)</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio7_thumb2.png" medium="image">
			<media:title type="html">Camtasia Studio (7)</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio14_thumb1.png" medium="image">
			<media:title type="html">Camtasia Studio (14)</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio9_thumb1.png" medium="image">
			<media:title type="html">Camtasia Studio (9)</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio15_thumb1.png" medium="image">
			<media:title type="html">Camtasia Studio (15)</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio16_thumb1.png" medium="image">
			<media:title type="html">Camtasia Studio (16)</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio17_thumb1.png" medium="image">
			<media:title type="html">Camtasia Studio (17)</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio18_thumb1.png" medium="image">
			<media:title type="html">Camtasia Studio (18)</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio52_thumb.png" medium="image">
			<media:title type="html">Camtasia Studio (52)</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio22_thumb1.png" medium="image">
			<media:title type="html">Camtasia Studio (22)</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio23_thumb1.png" medium="image">
			<media:title type="html">Camtasia Studio (23)</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio26_thumb1.png" medium="image">
			<media:title type="html">Camtasia Studio (26)</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio27_thumb1.png" medium="image">
			<media:title type="html">Camtasia Studio (27)</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio31_thumb1.png" medium="image">
			<media:title type="html">Camtasia Studio (31)</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio32_thumb1.png" medium="image">
			<media:title type="html">Camtasia Studio (32)</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio35_thumb1.png" medium="image">
			<media:title type="html">Camtasia Studio (35)</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio45_thumb1.png" medium="image">
			<media:title type="html">Camtasia Studio (45)</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/camtasiastudio48_thumb1.png" medium="image">
			<media:title type="html">Camtasia Studio (48)</media:title>
		</media:content>
	</item>
		<item>
		<title>RMAN Active Duplicate</title>
		<link>http://husnusensoy.wordpress.com/2009/10/23/rman-active-duplicate/</link>
		<comments>http://husnusensoy.wordpress.com/2009/10/23/rman-active-duplicate/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 05:33:09 +0000</pubDate>
		<dc:creator>kocakahin</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[11g Release 2]]></category>
		<category><![CDATA[RMAN]]></category>

		<guid isPermaLink="false">http://husnusensoy.wordpress.com/?p=722</guid>
		<description><![CDATA[All you may now that RMAN DUPLICATE command has two modes by 11g Release 1. The first mode is the good old Offline Duplicate which is based on making backups of the source system available to target system first.
 Although it is a very useful feature, the basic problem with that  is to keep a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=722&subd=husnusensoy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>All you may now that <a href="http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmdupdb.htm#BRADV010" target="_blank">RMAN DUPLICATE</a> command has two modes by 11g Release 1. The first mode is the good old Offline Duplicate which is based on making backups of the source system available to target system first.</p>
<p><a href="http://husnusensoy.files.wordpress.com/2009/10/offline.png"><img style="border-right:0;border-top:0;display:block;float:none;margin-left:auto;border-left:0;margin-right:auto;border-bottom:0;" title="offline" src="http://husnusensoy.files.wordpress.com/2009/10/offline_thumb.png?w=375&#038;h=200" border="0" alt="offline" width="375" height="200" /></a> Although it is a very useful feature, the basic problem with that  is to keep a staging are (either on tape or disk) to duplicate your database. When it comes to duplicate VLDBs it is always a problem.</p>
<p>The second mode is the so-called Active Duplicate which requires no staging area at all, but utilize the TCP/IP network (SQL*Net Layer) on the fly to ship what ever required to duplicate your database.</p>
<p><a href="http://husnusensoy.files.wordpress.com/2009/10/active.png"><img style="border-right:0;border-top:0;display:block;float:none;margin-left:auto;border-left:0;margin-right:auto;border-bottom:0;" title="active" src="http://husnusensoy.files.wordpress.com/2009/10/active_thumb.png?w=388&#038;h=213" border="0" alt="active" width="388" height="213" /></a>I think this feature is one of the best features introduced in 11g Release 1 for DBAs who are constantly duplicating their databases  (either full or partial) as test,poc, or/and development environments.</p>
<p>In this post you will find a playground example of this perfect tool to clone an Oracle 11g Release 2 database running on VirtualBox over another VirtualBox machine.</p>
<h3>Create a Listener in RDBMS Home (Clone Site)</h3>
<p>As you might notice by 11g Release 2, Oracle has standardized the default listener to be located in grid home. So we will not be using the default listener (on port 1521) for our clone database but create a new one on port 1525.</p>
<table border="0" cellspacing="0" cellpadding="2" width="598" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="596" valign="top"><span style="font-size:small;"><span style="font-family:Courier New;">$ <span style="color:#0000ff;"><strong>export</strong> </span><span style="color:#000000;">ORACLE_HOME = /u01/app/oracle/product/11.1.0/rdbms</span></span></span></p>
<p><span style="font-size:small;"><span style="font-family:Courier New;">$ <span style="color:#0000ff;"><strong>export</strong> </span>ORACLE_SID = pgroundt</span></span></p>
<p><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;">$</span><strong> export</strong> <span style="color:#000000;">PATH = $ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH</span></span></span></span></p>
<p><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;">$</span><strong> netca</strong></span></span></span></p>
<p><span style="font-family:Courier New;font-size:small;">Oracle Net Services Configuration:</span></td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="0" cellpadding="2" width="689">
<tbody>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/image.png"><img style="display:inline;border-width:0;" title="image" src="http://husnusensoy.files.wordpress.com/2009/10/image_thumb.png?w=244&#038;h=166" border="0" alt="image" width="244" height="166" /></a></td>
<td width="487" valign="top">Choose “Listener configuration” option and click on “Next”</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/image1.png"><img style="display:inline;border-width:0;" title="image" src="http://husnusensoy.files.wordpress.com/2009/10/image_thumb1.png?w=244&#038;h=164" border="0" alt="image" width="244" height="164" /></a></td>
<td width="487" valign="top">Choose “Add” option and click on “Next”</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/image2.png"><img style="display:inline;border-width:0;" title="image" src="http://husnusensoy.files.wordpress.com/2009/10/image_thumb2.png?w=244&#038;h=164" border="0" alt="image" width="244" height="164" /></a></td>
<td width="487" valign="top">Choose LISTENERT as the “Listener name” and click on “Next”</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/image3.png"><img style="display:inline;border-width:0;" title="image" src="http://husnusensoy.files.wordpress.com/2009/10/image_thumb3.png?w=244&#038;h=166" border="0" alt="image" width="244" height="166" /></a></td>
<td width="487" valign="top">Choose TCP as the “Selected Protocols” and click on “Next”</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/image4.png"><img style="display:inline;border-width:0;" title="image" src="http://husnusensoy.files.wordpress.com/2009/10/image_thumb4.png?w=244&#038;h=167" border="0" alt="image" width="244" height="167" /></a></td>
<td width="487" valign="top">Set “Use another port number” field to &#8220;1521 and click on “Next”</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/image5.png"><img style="display:inline;border-width:0;" title="image" src="http://husnusensoy.files.wordpress.com/2009/10/image_thumb5.png?w=244&#038;h=166" border="0" alt="image" width="244" height="166" /></a></td>
<td width="487" valign="top">Choose “No”  and click on “Next”</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/image6.png"><img style="display:inline;border-width:0;" title="image" src="http://husnusensoy.files.wordpress.com/2009/10/image_thumb6.png?w=244&#038;h=166" border="0" alt="image" width="244" height="166" /></a></td>
<td width="487" valign="top">Click on “Next”</td>
</tr>
<tr>
<td width="200" valign="top"><a href="http://husnusensoy.files.wordpress.com/2009/10/image7.png"><img style="display:inline;border-width:0;" title="image" src="http://husnusensoy.files.wordpress.com/2009/10/image_thumb7.png?w=244&#038;h=167" border="0" alt="image" width="244" height="167" /></a></td>
<td width="487" valign="top">Click on “Finish” to leave NETCA</td>
</tr>
</tbody>
</table>
<h4>Fine Tunes</h4>
<p>There  are two  important fine tunes we should do. first one is to change listener HOST parameter to a valid IP address and then to modify the listener we have created in a way that listener can accept connections even when the clone instance is not up. So open listener.ora with your vi editor</p>
<table border="0" cellspacing="0" cellpadding="2" width="598" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="596" valign="top"><span style="font-size:small;"><span style="font-family:Courier New;">$ <span style="color:#0000ff;"><strong>cd </strong></span>$ORACLE/network/admin</span></span></p>
<p><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;">$</span><strong> vi </strong><span style="color:#000000;">listener.ora</span></span></span></span></td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="0" cellpadding="2" width="647" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="645" valign="top"><span style="font-family:Courier New;color:#0000ff;font-size:small;"><strong># Generated by Oracle configuration tools.</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong>ADR_BASE_LISTENERT = /u01/app/oracle</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> </strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong>LISTENERT =</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> (<span style="color:#008000;">DESCRIPTION_LIST</span> = </strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> (<span style="color:#008000;">DESCRIPTION</span> = </strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> (<span style="color:#008000;">ADDRESS</span> = (<span style="color:#804000;">PROTOCOL = TCP</span>) (<span style="color:#804000;">HOST</span> = localhost.localdomain) (<span style="color:#804000;">PORT</span>=1525))</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> )</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> )</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> </strong></span></p>
<p><span style="font-size:small;"><span style="font-family:Courier New;"><strong>ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENERT = <span style="color:#00ffff;">ON</span></strong></span></span></td>
</tr>
</tbody>
</table>
<p>First change the HOST parameter of the listener to an IP that can be accessible from the source machine (I have created a private network between to virtual machines, you can find how to do this on <a href="http://www.virtualbox.org/wiki/User_HOWTOS" target="_blank">VirtualBox HOWTOs and tutorials page</a>)</p>
<p>Then add SID_LIST for the LISTENERT:</p>
<table border="0" cellspacing="0" cellpadding="2" width="648" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="646" valign="top"><span style="font-family:Courier New;color:#0000ff;font-size:small;"><strong># Generated by Oracle configuration tools.</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong>ADR_BASE_LISTENERT = /u01/app/oracle</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong><span style="color:#008000;">SID_LIST_LISTENERT</span> =</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> (<span style="color:#008000;">SID_LIST</span> = </strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> (<span style="color:#008000;">SID_DESC</span> = </strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> (<span style="color:#804000;">GLOBAL_DBNAME </span>= pgroundt)</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> (<span style="color:#804000;">ORACLE_HOME</span> = /u01/app/oracle/product/11.2.0/rdbms01)</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> (<span style="color:#804000;">SID_NAME</span>= pgroundt)</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> )</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> )</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> </strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong>LISTENERT =</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> (<span style="color:#008000;">DESCRIPTION_LIST</span> = </strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> (<span style="color:#008000;">DESCRIPTION</span> = </strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> (<span style="color:#008000;">ADDRESS</span> = (<span style="color:#804000;">PROTOCOL = TCP</span>) (<span style="color:#804000;">HOST</span> = 10.2.0.6) (<span style="color:#804000;">PORT</span>=1525))</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> )</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> )</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> </strong></span></p>
<p><span style="font-size:small;"><span style="font-family:Courier New;"><strong>ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENERT = <span style="color:#00ffff;">ON</span></strong></span></span></td>
</tr>
</tbody>
</table>
<p><span style="font-size:small;"><span style="font-family:Courier New;"><strong><span style="color:#00ffff;"> </span></strong></span></span></p>
<p><span style="font-family:Courier New;color:#00ffff;font-size:small;"> </span></p>
<p>Now you are ready to restart your  listener LISTENERT.First stop the listener</p>
<table border="0" cellspacing="0" cellpadding="2" width="598" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="596" valign="top"><span style="font-size:small;"><span style="font-family:Courier New;">$ <span style="color:#0000ff;"><strong>lsnrctl</strong> </span><span style="color:#000000;">stop LISTENERT</span></span></span></td>
</tr>
</tbody>
</table>
<p>Then start it</p>
<table border="0" cellspacing="0" cellpadding="2" width="598" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="596" valign="top"><span style="font-size:small;"><span style="font-family:Courier New;">$ <span style="color:#0000ff;"><strong>lsnrctl</strong> </span><span style="color:#000000;">start LISTENERT</span></span></span></td>
</tr>
</tbody>
</table>
<p>At the bottom line of output if you see</p>
<table border="0" cellspacing="0" cellpadding="2" width="783" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="781" valign="top"><span style="font-family:Courier New;font-size:small;">Service “pgroundt” has 1 instance(s).</span></p>
<p><span style="font-family:Courier New;font-size:small;"> Instance “pgroundt”, status UNKNOWN, has 1 handler(s) for this service…</span></p>
<p><span style="font-family:Courier New;font-size:small;">The command completed successfully</span></td>
</tr>
</tbody>
</table>
<p><span style="font-family:Courier New;font-size:small;"> </span></p>
<p>you are done with the listener configuration.</p>
<h3>Create a Seed Parameter File and Start Your Clone Instance (Clone Site)</h3>
<p>In the next step, we will be starting the clone instance with a very primitive server parameter file to let RMAN to connect it and restore SPFILE from source site.</p>
<table border="0" cellspacing="0" cellpadding="2" width="783" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="781" valign="top"><span style="font-family:Courier New;font-size:small;">$ <span style="color:#0000ff;"><strong>cat</strong></span> pgroundt.ora</span></p>
<p><span style="font-family:Courier New;font-size:small;"><span style="color:#804000;">DB_NAME</span> = pgroundt</span></p>
<p><span style="font-family:Courier New;font-size:small;">diagnostic_dest = ’/u01/app/oracle’</span></p>
<p><span style="font-family:Courier New;font-size:small;"><span style="color:#804000;">CONTROL_FILES </span>= ’+DATA’,’+FRA’</span></p>
<p><span style="font-family:Courier New;font-size:small;"><span style="color:#804000;">COMPATIBLE </span>= 11.2.0.0.0</span></td>
</tr>
</tbody>
</table>
<p>You can now start the instance with this seed parameter file</p>
<table border="0" cellspacing="0" cellpadding="2" width="783" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="781" valign="top"><span style="font-size:small;"><span style="font-family:Courier New;">$ <span style="color:#0000ff;"><strong>sqlplus</strong> <span style="color:#000000;">/</span> as sysdba</span></span></span></p>
<p><span style="font-family:Courier New;font-size:small;">SQL*Plus: Release 11.2.0.1.0 Production on Thu Oct 22 13:58:18 2009</span></p>
<p><span style="font-family:Courier New;font-size:small;">Copyright © 1982, 2009, Oracle. All rights reserved.</span></p>
<p><span style="font-family:Courier New;font-size:small;">Connected to an idle instance.</span></p>
<p><span style="font-family:Courier New;font-size:small;">SQL&gt; <span style="color:#0000ff;">startup nomount pfile </span>= pgroundt.ora</span></p>
<p><span style="font-family:Courier New;font-size:small;">ORACLE instance started.</span></td>
</tr>
</tbody>
</table>
<h3>Create Password Files at Clone and Source Sites</h3>
<p>Equality of passwords for SYS user is critical for DUPLICATE to work when clone and source instances are located on different hosts. I will be using SYSADM for SYS password.</p>
<h4>Clone Site</h4>
<table border="0" cellspacing="0" cellpadding="2" width="783" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="781" valign="top"><span style="font-size:small;"><span style="font-family:Courier New;">$ <span style="color:#0000ff;"><strong>cd</strong> </span>$ORACLE_HOME/dbs</span></span></p>
<p><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;">$</span> <strong>rm</strong> <span style="color:#000000;">orapwpground</span></span></span></span></p>
<p><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;">$</span> <strong>orapwd</strong> <span style="color:#000000;"><span style="color:#0000ff;">file</span> = orapwpgroundt</span> </span></span></span></p>
<p><span style="font-family:Courier New;font-size:small;">Enter password for SYS:</span></p>
<p><span style="font-family:Courier New;font-size:small;">$</span></td>
</tr>
</tbody>
</table>
<h4>Source Site</h4>
<p>Switch to VirtualBox machine that contains the source database</p>
<table border="0" cellspacing="0" cellpadding="2" width="783" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="781" valign="top"><span style="font-size:small;"><span style="font-family:Courier New;">$ <span style="color:#0000ff;"><strong>cd</strong> </span>$ORACLE_HOME/dbs</span></span></p>
<p><span style="color:#0000ff;"><span style="font-size:small;"><span style="font-family:Courier New;"><span style="color:#000000;">$</span> <strong>orapwd</strong> <span style="color:#000000;"><span style="color:#0000ff;">file</span> = orapwpground</span> force <span style="color:#000000;">= y</span></span></span></span></p>
<p><span style="font-family:Courier New;font-size:small;">Enter password for SYS:</span></p>
<p><span style="font-family:Courier New;font-size:small;">$</span></td>
</tr>
</tbody>
</table>
<h3>Modify TNSNAMES.ORA at Source Site to Reach Clone Instance (Source Site)</h3>
<p>Next step will be to add TNS entry for clone instance into the TNSNAMES.ora file of the source site:</p>
<table border="0" cellspacing="0" cellpadding="2" width="783" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="781" valign="top"><span style="font-size:small;"><span style="font-family:Courier New;">$ <span style="color:#0000ff;"><strong>cd</strong> </span>$ORACLE_HOME/network/admin</span></span></p>
<p><span style="color:#0000ff;"><span style="font-family:Courier New;color:#000000;font-size:small;">$ <strong><span style="color:#0000ff;">vi</span></strong> tnsnames.ora</span></span></td>
</tr>
</tbody>
</table>
<p>Add the following lines into file then save &amp; exit:</p>
<table border="0" cellspacing="0" cellpadding="2" width="783" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="781" valign="top"><span style="font-family:Courier New;font-size:small;"><strong>PGROUNDT =</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> (<span style="color:#008000;">DESCRIPTION </span>= </strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> (<span style="color:#008000;">ADDRESS</span> = (<span style="color:#804000;">PROTOCOL = TCP</span>) (<span style="color:#804000;">HOST</span> = 10.2.0.6) (<span style="color:#804000;">PORT</span>=1525))</strong></span></p>
<p><strong><span style="font-family:Courier New;font-size:small;"> (<span style="color:#008000;">CONNECT_DATA</span> = </span></strong></p>
<p><strong><span style="font-family:Courier New;font-size:small;"> (<span style="color:#804000;">SERVER</span> = <span style="color:#00ffff;">DEDICATED</span>)</span></strong></p>
<p><span style="font-size:small;"><span style="font-family:Courier New;"> <strong>(<span style="color:#804000;">SERVICE_NAME</span> = pgroundt)</strong></span></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> )</strong></span></p>
<p><span style="font-family:Courier New;font-size:small;"><strong> )</strong></span></td>
</tr>
</tbody>
</table>
<p>Ensure that you can connect to the NOMOUNT state clone instance over TNS from source site.</p>
<table border="0" cellspacing="0" cellpadding="2" width="597" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="595" valign="top"><span style="font-size:small;"><span style="font-family:Courier New;">$ <span style="color:#0000ff;"><strong>sqlplus</strong> <span style="color:#000000;">sys@pgroundt</span> as sysdba</span></span></span></p>
<p><span style="font-family:Courier New;font-size:small;">SQL*Plus: Release 11.2.0.1.0 Production on Thu Oct 22 14:04:08 2009</span></p>
<p><span style="font-family:Courier New;font-size:small;">Copyright © 1982, 2009, Oracle. All rights reserved.</span></p>
<p><span style="font-family:Courier New;font-size:small;">Enter password:</span></p>
<p><span style="font-family:Courier New;font-size:small;">Connected to: </span></p>
<p><span style="font-family:Courier New;font-size:small;">Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 – Production </span><span style="font-family:Courier New;font-size:small;">With the Partitioning, Automatic Storage Management, OLAP, Data Mining </span><span style="font-family:Courier New;font-size:small;">and Real Application Testing options</span></p>
<p><span style="font-family:Courier New;font-size:small;"> </span></p>
<p><span style="font-family:Courier New;font-size:small;">SQL&gt;</span></td>
</tr>
</tbody>
</table>
<h3>Create ADUMP Destination at Clone (Clone Site)</h3>
<p>Audit log directory will not be generated by Oracle automatically as opposed to diagnostic destination directory hierarchy. So you should manually create before starting DUPLICATE. Now switch back to clone instance and create adump directory</p>
<table border="0" cellspacing="0" cellpadding="2" width="597" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="595" valign="top"><span style="font-size:small;"><span style="font-family:Courier New;">$ <span style="color:#0000ff;"><strong>cd</strong> <span style="color:#000000;">/u01/app/oracle</span></span></span></span></p>
<p><span style="font-family:Courier New;font-size:small;">$ <span style="color:#0000ff;"><strong>mkdir</strong></span> –p admin/pgroundt/adump</span></td>
</tr>
</tbody>
</table>
<h3>Start DUPLICATE (Source Site)</h3>
<p>After all, you are ready to run DUPLICATE. Switch back to source site and start DUPLICATE</p>
<table border="0" cellspacing="0" cellpadding="2" width="719" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="717" valign="top"><span style="font-size:small;"><span style="font-family:Courier New;">$ <span style="color:#0000ff;"><strong>rman </strong>log </span>= ’duplicate.log’</span></span></p>
<p><span style="font-family:Courier New;font-size:small;">RMAN&gt; connect target </span><a href="mailto:sys@pground"><span style="font-family:Courier New;color:#000000;font-size:small;">sys@pground</span></a></p>
<p><span style="font-family:Courier New;">target database Password:</span></p>
<p><span style="font-family:Courier New;font-size:small;">RMAN&gt; connect auxiliary </span><a href="mailto:sys@pgroundt"><span style="font-family:Courier New;color:#000000;font-size:small;">sys@pgroundt</span></a></p>
<p><span style="font-family:Courier New;font-size:small;">auxiliary database Password:</span></p>
<p><span style="font-family:Courier New;font-size:small;">RMAN&gt; <span style="color:#0000ff;">DUPLICATE TARGET DATABASE</span></span></p>
<p><span style="font-family:Courier New;font-size:small;"><span style="color:#0000ff;">TO</span> pgroundt</span></p>
<p><span style="font-family:Courier New;color:#0000ff;font-size:small;">FROM ACTIVE DATABASE</span></p>
<p><span style="font-family:Courier New;color:#0000ff;font-size:small;">SPFILE</span></p>
<p><span style="font-family:Courier New;font-size:small;"><span style="color:#0000ff;">PARAMETER_VALUE_CONVERT</span> ‘/u01/app/oracle/admin/pground’,‘/u01/app/oracle/admin/pgroundt’</span></p>
<p><span style="font-family:Courier New;font-size:small;"><span style="color:#0000ff;">NOFILENAMECHECK;</span>2&gt; 3&gt; 4&gt; 5&gt; 6&gt;</span></td>
</tr>
</tbody>
</table>
<p>You can find <a href="http://husnusensoy.files.wordpress.com/2009/10/duplicate-log.docx" target="_blank">my duplicate.log</a> file to see what RMAN is doing during DUPLICATE operation.</p>
<h3>You are Done (Clone Site)</h3>
<p>If duplication is completed without an error, your clone database will be up on the clone VirtualBox. Switch to clone VirtualBox instance and check it.</p>
<table border="0" cellspacing="0" cellpadding="2" width="598" bgcolor="#f4f4f4">
<tbody>
<tr>
<td width="596" valign="top"><span style="font-size:small;"><span style="font-family:Courier New;">$ <span style="color:#0000ff;">sqlplus <span style="color:#000000;">/ </span>as sysdba</span></span></span></p>
<p><span style="font-family:Courier New;font-size:small;">SQL*Plus: Release 11.2.0.1.0 Production on Thu Oct 22 14:04:08 2009</span></p>
<p><span style="font-family:Courier New;font-size:small;">Copyright © 1982, 2009, Oracle. All rights reserved.</span></p>
<p><span style="font-family:Courier New;font-size:small;">Connected to: </span></p>
<p><span style="font-family:Courier New;font-size:small;">Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 – Production </span><span style="font-family:Courier New;font-size:small;">With the Partitioning, Automatic Storage Management, OLAP, Data Mining </span><span style="font-family:Courier New;font-size:small;">and Real Application Testing options</span></p>
<p><span style="font-family:Courier New;font-size:small;"> </span></p>
<p><span style="font-family:Courier New;font-size:small;">SQL&gt; select count(*) from dba_tables;</span></p>
<p><span style="font-family:Courier New;font-size:small;"> COUNT(*)</span></p>
<p><span style="font-family:Courier New;font-size:small;">&#8212;&#8212;&#8212;-</span></p>
<p><span style="font-family:Courier New;font-size:small;"> 2719</span></p>
<p><span style="font-family:Courier New;font-size:small;">SQL&gt;</span></td>
</tr>
</tbody>
</table>
<h3>For More</h3>
<ul>
<li>Refer to Oracle My Support Note 452868.1</li>
<li><a href="http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmdupdb.htm#BRADV010" target="_blank">Duplicate Tahiti Reference</a></li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/husnusensoy.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/husnusensoy.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/husnusensoy.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/husnusensoy.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/husnusensoy.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/husnusensoy.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/husnusensoy.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/husnusensoy.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/husnusensoy.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/husnusensoy.wordpress.com/722/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=722&subd=husnusensoy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://husnusensoy.wordpress.com/2009/10/23/rman-active-duplicate/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a336f49473f7ff0add6beba3d42aef17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kocakahin</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/offline_thumb.png" medium="image">
			<media:title type="html">offline</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/active_thumb.png" medium="image">
			<media:title type="html">active</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/image_thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/image_thumb7.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;Oracle Database Backup-and-Recovery Best Practices and New Features&#8221; Material</title>
		<link>http://husnusensoy.wordpress.com/2009/10/19/oracle-database-backup-and-recovery-best-practices-and-new-features-material/</link>
		<comments>http://husnusensoy.wordpress.com/2009/10/19/oracle-database-backup-and-recovery-best-practices-and-new-features-material/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 19:00:36 +0000</pubDate>
		<dc:creator>kocakahin</dc:creator>
				<category><![CDATA[Event]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[11g Release 2]]></category>
		<category><![CDATA[Backup & Recovery]]></category>
		<category><![CDATA[Best Practice]]></category>
		<category><![CDATA[Open World]]></category>
		<category><![CDATA[RMAN]]></category>
		<category><![CDATA[San Francisco]]></category>

		<guid isPermaLink="false">http://husnusensoy.wordpress.com/?p=699</guid>
		<description><![CDATA[In Open World 2009, my second presentation was a joint session with my friend Timothy Chien who works for Oracle as Principal Product Manager of Database HA products. The room was almost full (~900 people).Thanks to all attendees.  It seems this topic is still hot  . You can find Tim’s and my part below:

Part [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=699&subd=husnusensoy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In Open World 2009, my second presentation was a joint session with my friend Timothy Chien who works for Oracle as Principal Product Manager of Database HA products. The room was almost full (~900 people).Thanks to all attendees.  It seems this topic is still hot <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . You can find Tim’s and my part below:</p>
<ul>
<li><a title="Timothy Chien's Presentation" href="http://husnusensoy.files.wordpress.com/2009/10/part1.ppt" target="_blank">Part 1</a> (Timothy Chien’s Presentation)</li>
<li><a href="http://husnusensoy.files.wordpress.com/2009/10/part2.ppt" target="_blank">Part 2</a> (Husnu Sensoy’s Presentation)</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/husnusensoy.wordpress.com/699/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/husnusensoy.wordpress.com/699/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/husnusensoy.wordpress.com/699/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/husnusensoy.wordpress.com/699/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/husnusensoy.wordpress.com/699/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/husnusensoy.wordpress.com/699/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/husnusensoy.wordpress.com/699/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/husnusensoy.wordpress.com/699/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/husnusensoy.wordpress.com/699/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/husnusensoy.wordpress.com/699/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=699&subd=husnusensoy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://husnusensoy.wordpress.com/2009/10/19/oracle-database-backup-and-recovery-best-practices-and-new-features-material/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a336f49473f7ff0add6beba3d42aef17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kocakahin</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;How to Achieve All in One with Oracle 11g&#8221; Material</title>
		<link>http://husnusensoy.wordpress.com/2009/10/18/how-to-achieve-all-in-one-with-oracle-11g-material/</link>
		<comments>http://husnusensoy.wordpress.com/2009/10/18/how-to-achieve-all-in-one-with-oracle-11g-material/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 20:12:17 +0000</pubDate>
		<dc:creator>kocakahin</dc:creator>
				<category><![CDATA[Event]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[ASM]]></category>
		<category><![CDATA[Best Practice]]></category>
		<category><![CDATA[calibration]]></category>
		<category><![CDATA[Infiniband]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OFED]]></category>
		<category><![CDATA[Open World]]></category>
		<category><![CDATA[ORION]]></category>
		<category><![CDATA[Red Hat Linux]]></category>
		<category><![CDATA[San Francisco]]></category>
		<category><![CDATA[Voltaire]]></category>

		<guid isPermaLink="false">http://husnusensoy.wordpress.com/?p=694</guid>
		<description><![CDATA[Here is the content of my first presentation in Open World 2009:
How to Achieve All in One with Oracle 11g
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=694&subd=husnusensoy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here is the content of my first presentation in Open World 2009:</p>
<p><a title="All in One" href="http://husnusensoy.files.wordpress.com/2009/10/allinone.pdf" target="_blank">How to Achieve All in One with Oracle 11g</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/husnusensoy.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/husnusensoy.wordpress.com/694/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/husnusensoy.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/husnusensoy.wordpress.com/694/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/husnusensoy.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/husnusensoy.wordpress.com/694/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/husnusensoy.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/husnusensoy.wordpress.com/694/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/husnusensoy.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/husnusensoy.wordpress.com/694/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=694&subd=husnusensoy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://husnusensoy.wordpress.com/2009/10/18/how-to-achieve-all-in-one-with-oracle-11g-material/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a336f49473f7ff0add6beba3d42aef17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kocakahin</media:title>
		</media:content>
	</item>
		<item>
		<title>My Comments on Voltaire InfiniBand (IB)</title>
		<link>http://husnusensoy.wordpress.com/2009/10/15/my-comments-on-voltaire-ib/</link>
		<comments>http://husnusensoy.wordpress.com/2009/10/15/my-comments-on-voltaire-ib/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 07:47:06 +0000</pubDate>
		<dc:creator>kocakahin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Infiniband]]></category>
		<category><![CDATA[OFED]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Voltaire]]></category>

		<guid isPermaLink="false">http://husnusensoy.wordpress.com/?p=687</guid>
		<description><![CDATA[ As you all may know Voltaire is one of the most prominent IB technology vendors and investors had the partnership with Oracle in building Exadata Version 1. Yet another beautiful thing about Voltaire is that it is one of the companies invest on Open Source technologies and HPC (High Performance Computing) a lot, like [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=687&subd=husnusensoy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a title="Voltaire" href="http://www.voltaire.com/" target="_blank"><img style="border-right:0;border-top:0;display:inline;border-left:0;border-bottom:0;margin:0 10px 0 0;" title="logo_voltaire_sm" src="http://husnusensoy.files.wordpress.com/2009/10/logo_voltaire_sm.gif?w=134&#038;h=54" border="0" alt="logo_voltaire_sm" width="134" height="54" align="left" /></a> As you all may know <a title="Voltaire Web Site" href="http://www.voltaire.com/" target="_blank">Voltaire</a> is one of the most prominent IB technology vendors and investors had the partnership with Oracle in building <a href="http://www.oracle.com/database/exadata.html" target="_blank">Exadata</a> Version 1. Yet another beautiful thing about Voltaire is that it is one of the companies invest on Open Source technologies and HPC (High Performance Computing) a lot, like <a href="http://www.openfabrics.org/" target="_blank">OFED</a> stack development on Linux.</p>
<p>You can find my comments about Voltaire 20Gbit IB solution which we have already used in our large (25TB) RAC consolidation project on Oracle 11g Release 1.</p>
<p><a href="http://www.voltaire.com/NewsAndEvents/Press_Releases/press2009/Businesses_Worldwide_Choose_Voltaire_InfiniBand_to_Enhance_Performance_and_Scalability" target="_blank">Business Worldwide Choose Voltaire InfiniBand to Enhance  Performance and Scalability of Oracle RAC</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/husnusensoy.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/husnusensoy.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/husnusensoy.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/husnusensoy.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/husnusensoy.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/husnusensoy.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/husnusensoy.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/husnusensoy.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/husnusensoy.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/husnusensoy.wordpress.com/687/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=687&subd=husnusensoy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://husnusensoy.wordpress.com/2009/10/15/my-comments-on-voltaire-ib/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a336f49473f7ff0add6beba3d42aef17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kocakahin</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/10/logo_voltaire_sm.gif" medium="image">
			<media:title type="html">logo_voltaire_sm</media:title>
		</media:content>
	</item>
		<item>
		<title>DBA of the Year</title>
		<link>http://husnusensoy.wordpress.com/2009/10/15/dba-of-the-year/</link>
		<comments>http://husnusensoy.wordpress.com/2009/10/15/dba-of-the-year/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 03:33:57 +0000</pubDate>
		<dc:creator>kocakahin</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[nomination]]></category>
		<category><![CDATA[Oracle Magazine]]></category>

		<guid isPermaLink="false">http://husnusensoy.wordpress.com/?p=684</guid>
		<description><![CDATA[











Look Inside &#62;&#62; 













November/December 2009








Another recent title I have taken is that I have been chosen to be the DBA of the Year 2009 by Oracle Magazine. It seems that after being the youngest Oracle ACE Director, I also became the youngest DBA nominated with this award at the age of 26:)
Thanks to everybody, especially [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=684&subd=husnusensoy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><table border="0" cellspacing="0" cellpadding="2" width="876">
<tbody>
<tr>
<td width="262" valign="top">
<table style="margin:10px 0;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr valign="middle">
<td align="left"><a title="View November/December 2009" href="http://www.oraclemagazine-digital.com/oraclemagazine/20091112/" target="_blank"><img style="margin-left:5px;margin-right:5px;" src="http://www.oraclemagazine-digital.com/oraclemagazine/20091112/include/icons/navbar_logo.gif" border="0" alt="" height="28" /></a></td>
<td align="right"><span style="font-family:Comic Sans MS,Arial,Helvetica;font-size:xx-small;">Look Inside &gt;&gt; </span></td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="240" align="center">
<tbody>
<tr align="center">
<td colspan="2" align="center"><a title="View Magazine" href="http://www.oraclemagazine-digital.com/oraclemagazine/20091112/?pg=47" target="_blank"><img src="http://www.oraclemagazine-digital.com/tcprojects/oracle/oraclemagazine/inbox/68032/imgpages/tn/oracle20091112_0047.gif" border="0" alt="" /></a></td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr valign="middle">
<td align="center"><span style="font-family:Comic Sans MS,Arial,Helvetica;font-size:xx-small;">November/December 2009</span></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td width="612" valign="top">Another recent title I have taken is that I have been chosen to be the DBA of the Year 2009 by Oracle Magazine. It seems that after being the youngest Oracle ACE Director, I also became the youngest DBA nominated with this award at the age of 26:)<br />
Thanks to everybody, especially The Master Tonguc Yilmaz, for all their support.</td>
</tr>
</tbody>
</table>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/husnusensoy.wordpress.com/684/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/husnusensoy.wordpress.com/684/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/husnusensoy.wordpress.com/684/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/husnusensoy.wordpress.com/684/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/husnusensoy.wordpress.com/684/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/husnusensoy.wordpress.com/684/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/husnusensoy.wordpress.com/684/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/husnusensoy.wordpress.com/684/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/husnusensoy.wordpress.com/684/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/husnusensoy.wordpress.com/684/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=684&subd=husnusensoy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://husnusensoy.wordpress.com/2009/10/15/dba-of-the-year/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a336f49473f7ff0add6beba3d42aef17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kocakahin</media:title>
		</media:content>

		<media:content url="http://www.oraclemagazine-digital.com/oraclemagazine/20091112/include/icons/navbar_logo.gif" medium="image" />

		<media:content url="http://www.oraclemagazine-digital.com/tcprojects/oracle/oraclemagazine/inbox/68032/imgpages/tn/oracle20091112_0047.gif" medium="image" />
	</item>
		<item>
		<title>Ta(e)sting ZFS on Oracle Enterprise Linux 5.4 with FUSE</title>
		<link>http://husnusensoy.wordpress.com/2009/09/25/taesting-zfs-on-oracle-enterprise-linux-5-4-with-fuse/</link>
		<comments>http://husnusensoy.wordpress.com/2009/09/25/taesting-zfs-on-oracle-enterprise-linux-5-4-with-fuse/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 01:58:53 +0000</pubDate>
		<dc:creator>kocakahin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[FUSE]]></category>
		<category><![CDATA[Open Solaris]]></category>
		<category><![CDATA[Oracle Enterprise Linux 5.4]]></category>
		<category><![CDATA[SCons]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://husnusensoy.wordpress.com/?p=664</guid>
		<description><![CDATA[ ZFS (Zeta File System) is my favorite storage solution for Oracle databases (in some later post I may explain why) after ASM. Although ZFS is shipped with Solaris and Open Solaris, it is also possible to use (at least taste) it with FUSE file system in your favorite Linux distro. You can find how [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=664&subd=husnusensoy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p align="left"><a href="http://husnusensoy.files.wordpress.com/2009/09/zfs_feature_2.jpg"><img style="display:inline;border-width:0;margin:0 15px 0 0;" title="zfs_feature_2" src="http://husnusensoy.files.wordpress.com/2009/09/zfs_feature_2_thumb.jpg?w=227&#038;h=183" border="0" alt="zfs_feature_2" width="227" height="183" align="left" /></a> <a href="http://opensolaris.org/os/community/zfs/" target="_blank">ZFS</a> (Zeta File System) is my favorite storage solution for Oracle databases (in some later post I may explain why) after ASM. Although ZFS is shipped with Solaris and Open Solaris, it is also possible to use (at least taste) it with <a href="http://fuse.sourceforge.net/" target="_blank">FUSE</a> file system in your favorite Linux distro. You can find how to use ZFS on your Ubuntu in <a href="http://www.linux-magazine.com/w3/issue/103/ZFS.pdf" target="_blank">ZED House (The ZFS on Linux with FUSE)</a> article at <a href="http://www.linuxpromagazine.com" target="_blank">Linux Pro Magazine</a> (<a href="http://www.linuxpromagazine.com/Issues/2009/103" target="_blank">June 2009</a>).</p>
<p align="left">One problem for <a href="http://www.oracle.com/us/technologies/linux/index.htm">Oracle Enterprise Linux</a> (or Red Hat if you like) distro in using ZFS was that FUSE was not shipped (and supported) until <a href="http://edelivery.oracle.com/linux">5.4</a> which is the latest update. By now you can choose to install FUSE modules (development libraries, kernel &amp; user modules, and management tools) and use any FUSE file system in your system.</p>
<p align="left"><a href="http://husnusensoy.files.wordpress.com/2009/09/oracle_unbreakable_linux_bus.jpg"><img style="display:inline;border-width:0;margin:0 0 0 10px;" title="oracle_unbreakable_linux_bus" src="http://husnusensoy.files.wordpress.com/2009/09/oracle_unbreakable_linux_bus_thumb.jpg?w=244&#038;h=165" border="0" alt="oracle_unbreakable_linux_bus" width="244" height="165" align="right" /></a> It might be a bit tricky to enable ZFS on OEL 5.4 if you have no experience on FUSE, ZFS and Linux stuff. I will try to explain the installation step by step. In this post I will not dive into demos of ZFS which is available in <a href="http://opensolaris.org/os/community/zfs/demos/" target="_blank">Open Solaris related page</a>.</p>
<h3>Ensure that you have installed the FUSE packages during the OEL 5.4 Installation</h3>
<p align="left">The first point is to ensure that you have FUSE related packages (rpms)  installed with your OEL 5.4. You can ensure this by choosing the following packages during your installation:</p>
<ul>
<li>Development &gt;&gt; Development Libraries &gt;&gt; fuse-devel-2.7.4-8.el5.i386</li>
<li>Base System &gt;&gt; Base &gt;&gt; fuse-2.7.4-8.el5.i386</li>
<li>Base System &gt;&gt; Base &gt;&gt; fuse-libs-2.7.4-8.el5.i386</li>
</ul>
<h3>Download &amp; Install SConS first</h3>
<p align="left"><a href="http://husnusensoy.files.wordpress.com/2009/09/scons.png"><img style="display:inline;border-width:0;margin:0 10px 0 0;" title="SCons" src="http://husnusensoy.files.wordpress.com/2009/09/scons_thumb.png?w=200&#038;h=71" border="0" alt="SCons" width="200" height="71" align="left" /></a> Since it is totally out of this post’s scope, I will not explain what  <a href="http://www.scons.org/" target="_blank">SCons</a> is but you can think it as a <em>improved,cross-platform substitute for Make utility</em> implemented in Python. ZFS-FUSE has been packed with SCons so you need to install SCons rpm first. You can download SCons rpm by clicking <a href="http://sourceforge.net/projects/scons/files/scons/1.2.0.d20090919/scons-1.2.0.d20090919-1.noarch.rpm/download" target="_blank">here</a> (If you have any problems, click <a href="http://sourceforge.net/projects/scons/files/scons/1.2.0.d20090919/" target="_blank">here</a> to go sourceforge SCons download page).</p>
<p align="left">Install SCons rpm as root user:</p>
<div id="codeSnippetWrapper" style="border:1px solid silver;overflow:auto;font-size:8pt;width:97.72%;cursor:text;direction:ltr;line-height:12pt;">
<pre style="overflow:visible;font-size:8pt;width:99.99%;color:black;direction:ltr;line-height:12pt;">[oracle@localhost Desktop]$ su -
Password:
[root@localhost ~]$ cd /home/oracle/Desktop
[root@localhost Desktop]$ rpm -ivh scons-1.2.0.d20090919-1.noarch.rpm
Preparing...                ############################################ [100%]
     1:scons                  ############################################ [100%]</pre>
</div>
<h3>Download &amp; Install ZFS-FUSE</h3>
<p>Now you are ready to download and install ZFS-FUSE to your OEL 5.4. Either click <a href="http://prdownload.berlios.de/zfs-fuse/zfs-fuse-0.5.0.tar.bz2" target="_blank">here</a> to download 0.5.0 version of zfs-fuse or directly go to download main page by clicking <a href="https://developer.berlios.de/project/showfiles.php?group_id=6836" target="_blank">here</a>. To build and install zfs-fuse</p>
<div id="codeSnippetWrapper" style="border:1px solid silver;overflow:auto;font-size:8pt;width:97.5%;cursor:text;direction:ltr;line-height:12pt;">
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;direction:ltr;line-height:12pt;">[root@localhost Desktop]# ark --extract zfs-fuse-0.5.0.tar.bz2
[root@localhost Desktop]# cd zfs-fuse-0.5.0/src
[root@localhost src]# scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building target ...

[root@localhost src]# scons install
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building target ...
</pre>
</div>
<h3>Run ZFS-FUSE</h3>
<p>Before using any ZFS command like zfs or zpool, you should first start up zfs-fuse daemon by</p>
<div id="codeSnippetWrapper" style="border:1px solid silver;overflow:auto;font-size:8pt;width:97.5%;cursor:text;direction:ltr;line-height:12pt;">
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;direction:ltr;line-height:12pt;">[root@localhost src]# cd zfs-fuse
[root@localhost zfs-fuse]# ./run &amp;
[1] 8796
</pre>
</div>
<h3>Test ZFS</h3>
<p>There is a detailed test module packed with zfs-fuse. To check zfs-fuse is running you can use it. Before using it please ensure that /tmp has more than 2 GB of free space</p>
<div id="codeSnippetWrapper" style="border:1px solid silver;overflow:auto;font-size:8pt;width:97.5%;cursor:text;direction:ltr;line-height:12pt;">
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;direction:ltr;line-height:12pt;">[root@localhost zfs-fuse]# cd ../cmd/ztest
[root@localhost ztest]# ./runtest -T 300
Start date: Fri Sep 25 04:13:53 EEST 2009
5 vdevs, 7 datasets, 23 threads, 300 seconds...
</pre>
</div>
<p>After completing the test, its your responsibility to clear temporary files in /tmp</p>
<div id="codeSnippetWrapper" style="border:1px solid silver;overflow:auto;font-size:8pt;width:97.5%;cursor:text;direction:ltr;line-height:12pt;">
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;direction:ltr;line-height:12pt;">[root@localhost ztest]# cd /tmp
[root@localhost tmp]# rm ztest.*
</pre>
</div>
<p>If everything is fine, you are ready to play with zfs and apply any demonstrations mentioned above or you find on internet.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/husnusensoy.wordpress.com/664/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/husnusensoy.wordpress.com/664/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/husnusensoy.wordpress.com/664/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/husnusensoy.wordpress.com/664/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/husnusensoy.wordpress.com/664/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/husnusensoy.wordpress.com/664/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/husnusensoy.wordpress.com/664/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/husnusensoy.wordpress.com/664/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/husnusensoy.wordpress.com/664/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/husnusensoy.wordpress.com/664/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=664&subd=husnusensoy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://husnusensoy.wordpress.com/2009/09/25/taesting-zfs-on-oracle-enterprise-linux-5-4-with-fuse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a336f49473f7ff0add6beba3d42aef17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kocakahin</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/09/zfs_feature_2_thumb.jpg" medium="image">
			<media:title type="html">zfs_feature_2</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/09/oracle_unbreakable_linux_bus_thumb.jpg" medium="image">
			<media:title type="html">oracle_unbreakable_linux_bus</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/09/scons_thumb.png" medium="image">
			<media:title type="html">SCons</media:title>
		</media:content>
	</item>
		<item>
		<title>My Second Session in Oracle Open World 2009</title>
		<link>http://husnusensoy.wordpress.com/2009/08/31/my-second-session-in-oracle-open-world-2009/</link>
		<comments>http://husnusensoy.wordpress.com/2009/08/31/my-second-session-in-oracle-open-world-2009/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 00:51:53 +0000</pubDate>
		<dc:creator>kocakahin</dc:creator>
				<category><![CDATA[Event]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Open World]]></category>
		<category><![CDATA[San Francisco]]></category>

		<guid isPermaLink="false">http://husnusensoy.wordpress.com/2009/08/31/my-second-session-in-oracle-open-world-2009/</guid>
		<description><![CDATA[
My second session will take place on 13th of October in Moscone South Room 104 at 14:30, and with session ID# S311394.
In this presentation we will be presenting together with my friend Timothy Chien who is a principal product manager in HA group (RMAN, data guard,etc) at Oracle.
For my part, I will be presenting the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=645&subd=husnusensoy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://husnusensoy.files.wordpress.com/2009/08/photo041.jpg"><img style="border-right:0;border-top:0;display:inline;border-left:0;border-bottom:0;margin:0 10px 0 0;" title="photo04" src="http://husnusensoy.files.wordpress.com/2009/08/photo04_thumb1.jpg?w=306&#038;h=244" border="0" alt="photo04" width="306" height="244" align="left" /></a></p>
<blockquote><p>My second session will take place on 13th of October in Moscone South Room 104 at 14:30, and with session ID# S311394.</p>
<p>In this presentation we will be presenting together with my friend Timothy Chien who is a principal product manager in HA group (RMAN, data guard,etc) at Oracle.</p>
<p>For my part, I will be presenting the backup &amp; recovery best practices of a newly implemented cluster environment (“all-in-one” RAC grid to be discussed in <a href="http://husnusensoy.wordpress.com/2009/08/12/my-first-session-in-oracle-open-world-2009/" target="_blank">my other presentation</a>) over 11g Release 1 in the first part. In the second part, I will be sharing my initial experiences about backup &amp; recovery in 11g Release 2 over real Telco data warehouse data.</p>
<p>If you wish to learn more about real-life B&amp;R experiences of a DBA who is responsible with +200 TB of data warehouse environment, join us at OOW.</p></blockquote>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/husnusensoy.wordpress.com/645/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/husnusensoy.wordpress.com/645/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/husnusensoy.wordpress.com/645/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/husnusensoy.wordpress.com/645/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/husnusensoy.wordpress.com/645/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/husnusensoy.wordpress.com/645/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/husnusensoy.wordpress.com/645/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/husnusensoy.wordpress.com/645/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/husnusensoy.wordpress.com/645/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/husnusensoy.wordpress.com/645/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=husnusensoy.wordpress.com&blog=637659&post=645&subd=husnusensoy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://husnusensoy.wordpress.com/2009/08/31/my-second-session-in-oracle-open-world-2009/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a336f49473f7ff0add6beba3d42aef17?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kocakahin</media:title>
		</media:content>

		<media:content url="http://husnusensoy.files.wordpress.com/2009/08/photo04_thumb1.jpg" medium="image">
			<media:title type="html">photo04</media:title>
		</media:content>
	</item>
	</channel>
</rss>