<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/&quot;D0EHRn4_eip7ImA9WxBbFk4.&quot;'><id>tag:blogger.com,1999:blog-6868809155810841554</id><updated>2010-03-15T12:17:17.042+05:30</updated><title>Calling-DBA</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://calling-dba.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6868809155810841554/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://calling-dba.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Phani</name><uri>http://www.blogger.com/profile/04312104659382335238</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;D0EHRn4_cCp7ImA9WxBbFk4.&quot;'><id>tag:blogger.com,1999:blog-6868809155810841554.post-4086790308132941064</id><published>2010-03-15T12:16:00.001+05:30</published><updated>2010-03-15T12:17:17.048+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-15T12:17:17.048+05:30</app:edited><title>Copying/Moving a datafile from one diskgroup to another diskgroup</title><content type='html'>Steps involved in moving/copying a datafile from one diskgroup to another diskgroup &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1) Use rman to&amp;nbsp;copy the datafile to another diskgroup.&lt;br /&gt;
2)&amp;nbsp;Offline the datafile&lt;br /&gt;
3) Switch the datafile to the copy&lt;br /&gt;
4) Recover&amp;nbsp; the datafile&lt;br /&gt;
5) Online the datafile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
RMAN&amp;gt; report schema;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Report of database schema&lt;br /&gt;
List of Permanent Datafiles&lt;br /&gt;
===========================&lt;br /&gt;
&lt;br /&gt;
File Size(MB) Tablespace RB segs Datafile Name&lt;br /&gt;
---- -------- -------------------- ------- ------------------------&lt;br /&gt;
&lt;br /&gt;
1 480 SYSTEM *** +DG1/racdb/datafile/system.261.713375891&lt;br /&gt;
&lt;br /&gt;
2 200 UNDOTBS1 *** +DG1/racdb/datafile/undotbs1.516.713375845&lt;br /&gt;
&lt;br /&gt;
3 620 SYSAUX *** +DG1/racdb/datafile/sysaux.517.713375779&lt;br /&gt;
&lt;br /&gt;
4 200 UNDOTBS2 *** +DG1/racdb/datafile/undotbs2.515.713375845&lt;br /&gt;
&lt;br /&gt;
5 5 USERS *** +DG1/racdb/datafile/users.262.713375891&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: red;"&gt;6 3 TS1 *** +DG1/racdb/datafile/ts1.450.713706851-----moving this file to other diskgroup 'FRA'&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
List of Temporary Files&lt;br /&gt;
=======================&lt;br /&gt;
File Size(MB) Tablespace Maxsize(MB) Tempfile Name&lt;br /&gt;
---- -------- -------------------- ----------- --------------------&lt;br /&gt;
&lt;br /&gt;
1 29 TEMP 32767 +DG1/racdb/tempfile/temp.264.708103309&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
1) Connect to rman and copy the datafile . &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
Here i am moving the datafile 6 from diskgroup DG1 to diskgroup FRA&lt;br /&gt;
&lt;br /&gt;
RMAN&amp;gt; copy datafile 6 to '+FRA';&lt;br /&gt;
&lt;br /&gt;
Starting backup at 15-MAR-10&lt;br /&gt;
&lt;br /&gt;
allocated channel: ORA_DISK_1&lt;br /&gt;
channel ORA_DISK_1: sid=121 instance=RACDB1 devtype=DISK&lt;br /&gt;
channel ORA_DISK_1: starting datafile copy&lt;br /&gt;
input datafile fno=00006 name=+DG1/racdb/datafile/ts1.450.713706851&lt;br /&gt;
output filename=+FRA/racdb/datafile/ts1.257.713707167 tag=TAG20100315T115925 recid=13 stamp=713707167&lt;br /&gt;
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03&lt;br /&gt;
Finished backup at 15-MAR-10&lt;br /&gt;
Starting Control File and SPFILE Autobackup at 15-MAR-10&lt;br /&gt;
piece handle=/u01/app/oracle/rman/cont_auto_c-705719985-20100315-04 comment=NONE&lt;br /&gt;
Finished Control File and SPFILE Autobackup at 15-MAR-10&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) Take the datafile which you want to move to offline state&lt;br /&gt;
&lt;br /&gt;
RMAN&amp;gt; sql "alter database datafile 6 offline";&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3) Switch the datafile to copy; It is same as issuing "alter database rename file statement"&lt;br /&gt;
&lt;br /&gt;
RMAN&amp;gt; switch datafile 6 to copy;&lt;br /&gt;
&lt;br /&gt;
datafile 6 switched to datafile copy "+FRA/racdb/datafile/ts1.257.713707167"&lt;br /&gt;
&lt;br /&gt;
4) Recover the datafile 6&lt;br /&gt;
&lt;br /&gt;
RMAN&amp;gt; recover datafile 6;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Starting recover at 15-MAR-10&lt;br /&gt;
using channel ORA_DISK_1&lt;br /&gt;
starting media recovery&lt;br /&gt;
media recovery complete, elapsed time: 00:00:04&lt;br /&gt;
Finished recover at 15-MAR-10&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Online the datafile 6&lt;br /&gt;
&lt;br /&gt;
RMAN&amp;gt; sql "alter database datafile 6 online";&lt;br /&gt;
&lt;br /&gt;
RMAN&amp;gt; report schema;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Report of database schema&lt;br /&gt;
List of Permanent Datafiles&lt;br /&gt;
&lt;br /&gt;
===========================&lt;br /&gt;
File Size(MB) Tablespace RB segs Datafile Name&lt;br /&gt;
---- -------- -------------------- ------- ------------------------&lt;br /&gt;
&lt;br /&gt;
1 480 SYSTEM *** +DG1/racdb/datafile/system.261.713375891&lt;br /&gt;
&lt;br /&gt;
2 200 UNDOTBS1 *** +DG1/racdb/datafile/undotbs1.516.713375845&lt;br /&gt;
&lt;br /&gt;
3 620 SYSAUX *** +DG1/racdb/datafile/sysaux.517.713375779&lt;br /&gt;
&lt;br /&gt;
4 200 UNDOTBS2 *** +DG1/racdb/datafile/undotbs2.515.713375845&lt;br /&gt;
&lt;br /&gt;
5 5 USERS *** +DG1/racdb/datafile/users.262.713375891&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: red;"&gt;6 3 TS1 *** +FRA/racdb/datafile/ts1.257.713707167 ----moved from '+DG1' to '+FRA' diskgroup.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
List of Temporary Files&lt;br /&gt;
=======================&lt;br /&gt;
File Size(MB) Tablespace Maxsize(MB) Tempfile Name&lt;br /&gt;
---- -------- -------------------- ----------- --------------------&lt;br /&gt;
&lt;br /&gt;
1 29 TEMP 32767 +DG1/racdb/tempfile/temp.264.708103309&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6868809155810841554-4086790308132941064?l=calling-dba.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calling-dba.blogspot.com/feeds/4086790308132941064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://calling-dba.blogspot.com/2010/03/copying-datafile-from-one-diskgroup-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6868809155810841554/posts/default/4086790308132941064?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6868809155810841554/posts/default/4086790308132941064?v=2'/><link rel='alternate' type='text/html' href='http://calling-dba.blogspot.com/2010/03/copying-datafile-from-one-diskgroup-to.html' title='Copying/Moving a datafile from one diskgroup to another diskgroup'/><author><name>Phani</name><uri>http://www.blogger.com/profile/04312104659382335238</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='05405350767769443956'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry gd:etag='W/&quot;Ck4NQ3s4fCp7ImA9WxBbE0w.&quot;'><id>tag:blogger.com,1999:blog-6868809155810841554.post-1211620235619379812</id><published>2010-03-11T17:58:00.003+05:30</published><updated>2010-03-11T18:06:32.534+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-11T18:06:32.534+05:30</app:edited><title>Installing Oracle 11g R2 Grid Infrastructure</title><content type='html'>Steps for installing 11g R2 grid infrastructure&lt;br /&gt;
&lt;br /&gt;
I have installed 11g R2 grid infrastructure for cluster on OEL 5 using vmware server 2.0.&lt;br /&gt;
&lt;br /&gt;
1) Here i am going with grid infrastructure for cluster&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_9ZTdPAIvaAc/S5jXrkX2ivI/AAAAAAAAABw/rbbg1275cbI/s1600-h/Screenshot1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="248" src="http://3.bp.blogspot.com/_9ZTdPAIvaAc/S5jXrkX2ivI/AAAAAAAAABw/rbbg1275cbI/s320/Screenshot1.png" vt="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
2) Going with advanced installation&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_9ZTdPAIvaAc/S5jX75pNzbI/AAAAAAAAAB4/6IX2NHp_rqU/s1600-h/Screenshot2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="248" src="http://3.bp.blogspot.com/_9ZTdPAIvaAc/S5jX75pNzbI/AAAAAAAAAB4/6IX2NHp_rqU/s320/Screenshot2.png" vt="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;3) Select the language&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_9ZTdPAIvaAc/S5jZCQJUNfI/AAAAAAAAACA/3fjoNAMuS5Y/s1600-h/Screenshot3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_9ZTdPAIvaAc/S5jZCQJUNfI/AAAAAAAAACA/3fjoNAMuS5Y/s320/Screenshot3.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;4) SCAN - Single Client Access Name &lt;br /&gt;
Oracle 11g R2 introduced new concept called Single Client Access Name (SCAN).&lt;br /&gt;
&lt;br /&gt;
It&amp;nbsp;eliminates the need to change&amp;nbsp;TNS Entry&amp;nbsp;when nodes are added to or removed from the Cluster and also&amp;nbsp;creates the location independence for the clients.&lt;br /&gt;
&lt;br /&gt;
Here i am adding&amp;nbsp;a scan vip entry in the /etc/hosts file. This vip should not be accessible &lt;br /&gt;
&lt;br /&gt;
SCAN IP, VIP and PUBLIC IP should be on the same subnet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_9ZTdPAIvaAc/S5jaVQRETHI/AAAAAAAAACQ/qWnRVH8Yxwo/s1600-h/Screenshot4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_9ZTdPAIvaAc/S5jaVQRETHI/AAAAAAAAACQ/qWnRVH8Yxwo/s320/Screenshot4.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;5) Here since we are not going with GNS for the vip, so manually feeding the vip info for both the nodes.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S5jZi4jUB9I/AAAAAAAAACI/xx9hI_7LBEs/s1600-h/Screenshot5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S5jZi4jUB9I/AAAAAAAAACI/xx9hI_7LBEs/s320/Screenshot5.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_9ZTdPAIvaAc/S5jcYmUvocI/AAAAAAAAACg/SaADJxHeh9U/s1600-h/Screenshot7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_9ZTdPAIvaAc/S5jcYmUvocI/AAAAAAAAACg/SaADJxHeh9U/s320/Screenshot7.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;6) Here ssh is checking for the connectivity.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S5jceJWLILI/AAAAAAAAACo/WWR7e2DgKvo/s1600-h/Screenshot8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S5jceJWLILI/AAAAAAAAACo/WWR7e2DgKvo/s320/Screenshot8.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;7) Providing the interfaces for public and private ip &lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S5jcukVBU1I/AAAAAAAAACw/U2s98rYfjMs/s1600-h/Screenshot9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S5jcukVBU1I/AAAAAAAAACw/U2s98rYfjMs/s320/Screenshot9.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;8) From 11g R2 we don't have the option of going with raw devices or OCFS for OCR and VD. We have to use either ASM diskgroup or some clustered file system &lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_9ZTdPAIvaAc/S5jdMRmknzI/AAAAAAAAAC4/eoKUdo__LKs/s1600-h/Screenshot10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_9ZTdPAIvaAc/S5jdMRmknzI/AAAAAAAAAC4/eoKUdo__LKs/s320/Screenshot10.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;9) Creating diskgroup for keeping OCR and Voting Disk&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_9ZTdPAIvaAc/S5jdmf9M3mI/AAAAAAAAADA/mhWxsoaKUh0/s1600-h/Screenshot11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_9ZTdPAIvaAc/S5jdmf9M3mI/AAAAAAAAADA/mhWxsoaKUh0/s320/Screenshot11.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S5jd50Ww59I/AAAAAAAAADI/thdZiBqDKD8/s1600-h/Screenshot12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S5jd50Ww59I/AAAAAAAAADI/thdZiBqDKD8/s320/Screenshot12.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;Selecting all the 3 disks for the diskgroup&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_9ZTdPAIvaAc/S5jd_jIX_pI/AAAAAAAAADQ/s8Pe3Wc2Sb8/s1600-h/Screenshot13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_9ZTdPAIvaAc/S5jd_jIX_pI/AAAAAAAAADQ/s8Pe3Wc2Sb8/s320/Screenshot13.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;10) Setting the password &lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_9ZTdPAIvaAc/S5jeTLFOcyI/AAAAAAAAADY/wVsZNCLNBHo/s1600-h/Screenshot14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_9ZTdPAIvaAc/S5jeTLFOcyI/AAAAAAAAADY/wVsZNCLNBHo/s320/Screenshot14.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;11)&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S5jeqxLIcfI/AAAAAAAAADg/zoDyjgEsnbE/s1600-h/Screenshot15.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S5jeqxLIcfI/AAAAAAAAADg/zoDyjgEsnbE/s320/Screenshot15.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;12)Created 3 OS groups and assinging groups for os authentication to ASM &lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_9ZTdPAIvaAc/S5je_t-uQ6I/AAAAAAAAADo/VN92X1TQ6Os/s1600-h/Screenshot16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_9ZTdPAIvaAc/S5je_t-uQ6I/AAAAAAAAADo/VN92X1TQ6Os/s320/Screenshot16.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;13)Providing the orainventory location and location for grid installation&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_9ZTdPAIvaAc/S5jfd3C3qJI/AAAAAAAAADw/faY4au3Ur7g/s1600-h/Screenshot17.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_9ZTdPAIvaAc/S5jfd3C3qJI/AAAAAAAAADw/faY4au3Ur7g/s320/Screenshot17.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;14) Checking for pre-reqs&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_9ZTdPAIvaAc/S5jfwRGpkAI/AAAAAAAAAD4/f_QIwqNiFsw/s1600-h/Screenshot18.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_9ZTdPAIvaAc/S5jfwRGpkAI/AAAAAAAAAD4/f_QIwqNiFsw/s320/Screenshot18.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;Due to insufficient memory it is throwing messages, but ignoring those messages and proceeding. The minimum memory required for 11g R2 is 1.5G&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_9ZTdPAIvaAc/S5jf9aYNjiI/AAAAAAAAAEA/AsMgN14HqyE/s1600-h/Screenshot19.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_9ZTdPAIvaAc/S5jf9aYNjiI/AAAAAAAAAEA/AsMgN14HqyE/s320/Screenshot19.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_9ZTdPAIvaAc/S5jgdG8MXXI/AAAAAAAAAEI/e2CARDkptX8/s1600-h/Screenshot21.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_9ZTdPAIvaAc/S5jgdG8MXXI/AAAAAAAAAEI/e2CARDkptX8/s320/Screenshot21.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;15) After the binaries are installed on to both the nodes it will propmt you to execute 2 scripts &lt;br /&gt;
&lt;br /&gt;
a)oranstRoot.sh&lt;br /&gt;
b)root.sh&lt;br /&gt;
&lt;br /&gt;
Execute both scripts on each node one after the other.&lt;br /&gt;
&lt;br /&gt;
After executing the remaining configuration installations will be done.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S5jggpr9kdI/AAAAAAAAAEQ/OnIN_2n2Fhk/s1600-h/Screenshot23.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S5jggpr9kdI/AAAAAAAAAEQ/OnIN_2n2Fhk/s320/Screenshot23.png" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
After this the installation of grid infrastructure is completed.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6868809155810841554-1211620235619379812?l=calling-dba.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calling-dba.blogspot.com/feeds/1211620235619379812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://calling-dba.blogspot.com/2010/03/installing-oracle-11g-r2-grid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6868809155810841554/posts/default/1211620235619379812?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6868809155810841554/posts/default/1211620235619379812?v=2'/><link rel='alternate' type='text/html' href='http://calling-dba.blogspot.com/2010/03/installing-oracle-11g-r2-grid.html' title='Installing Oracle 11g R2 Grid Infrastructure'/><author><name>Phani</name><uri>http://www.blogger.com/profile/04312104659382335238</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='05405350767769443956'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_9ZTdPAIvaAc/S5jXrkX2ivI/AAAAAAAAABw/rbbg1275cbI/s72-c/Screenshot1.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry gd:etag='W/&quot;DUMDQX8_fCp7ImA9WxBQEko.&quot;'><id>tag:blogger.com,1999:blog-6868809155810841554.post-5483293843602957831</id><published>2010-01-11T18:15:00.023+05:30</published><updated>2010-01-12T11:54:30.144+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-01-12T11:54:30.144+05:30</app:edited><title>How to Change Public IP,Private IP and VIP in Oracle 10g RAC on Linux</title><content type='html'>Changing the IP at OS level without updating the oracle cluster will crash the cluster.&lt;br /&gt;&lt;br /&gt;Hence below are steps which provides the process of changing the IP on Cluster nodes.&lt;br /&gt;&lt;br /&gt;Here i am using 2 node cluster on RHEL AS-4.&lt;br /&gt;&lt;br /&gt;1) Shut down all the services like database,ASM,nodeapps on the both the nodes.&lt;br /&gt;&lt;br /&gt;Here in my case only cluster services are running&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_9ZTdPAIvaAc/S0se5trNy8I/AAAAAAAAAAk/Cr88SqOr7nc/s1600-h/shot1"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 320px; DISPLAY: block; HEIGHT: 240px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5425464152960125890" border="0" alt="" src="http://1.bp.blogspot.com/_9ZTdPAIvaAc/S0se5trNy8I/AAAAAAAAAAk/Cr88SqOr7nc/s320/shot1" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2)Change the Public IP and Private IPin clusterware. Fire the statement from the node from which you have installed clusterware.&lt;br /&gt;&lt;br /&gt;Here my previous IP was &lt;strong&gt;172.26.0.0&lt;/strong&gt; series and i am changing it to &lt;strong&gt;172.25.0.0&lt;/strong&gt; series&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S0sfb0HtqCI/AAAAAAAAAAs/1pjA2N1wzb4/s1600-h/shot2"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 300px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5425464738805819426" border="0" alt="" src="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S0sfb0HtqCI/AAAAAAAAAAs/1pjA2N1wzb4/s400/shot2" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3) Change the Virtual IP&lt;br /&gt;&lt;br /&gt;Change the VIP as it needs to be in the same subnet as of Public IP&lt;br /&gt;&lt;br /&gt;My VIP was 172.26.16.61 on node2 and i am changing it to 172.25.16.61. Similarly for node1&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S0sgaJwAqhI/AAAAAAAAAA0/lohYlW-NIx0/s1600-h/shot3"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 300px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5425465809763871250" border="0" alt="" src="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S0sgaJwAqhI/AAAAAAAAAA0/lohYlW-NIx0/s400/shot3" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_9ZTdPAIvaAc/S0shLefFf3I/AAAAAAAAAA8/9nvexs6Ufg4/s1600-h/shot4"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 300px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5425466657143619442" border="0" alt="" src="http://4.bp.blogspot.com/_9ZTdPAIvaAc/S0shLefFf3I/AAAAAAAAAA8/9nvexs6Ufg4/s400/shot4" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4) Shut down the cluster on all nodes&lt;br /&gt;&lt;br /&gt;node1 #]crsctl stop crs&lt;br /&gt;node2 #]crsctl stop crs&lt;br /&gt;&lt;br /&gt;5) Now change the IP at OS level and change the /etc/hosts file on both nodes&lt;br /&gt;&lt;br /&gt;Changing from 172.26.0.0 series to 172.25.0.0 series.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S0shbrlqa1I/AAAAAAAAABE/i9oCqQMgbTI/s1600-h/shot5"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 300px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5425466935538772818" border="0" alt="" src="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S0shbrlqa1I/AAAAAAAAABE/i9oCqQMgbTI/s400/shot5" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6) After performing all the above steps reboot both the nodes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6868809155810841554-5483293843602957831?l=calling-dba.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calling-dba.blogspot.com/feeds/5483293843602957831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://calling-dba.blogspot.com/2010/01/how-to-chnage-public-ipprivate-ip-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6868809155810841554/posts/default/5483293843602957831?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6868809155810841554/posts/default/5483293843602957831?v=2'/><link rel='alternate' type='text/html' href='http://calling-dba.blogspot.com/2010/01/how-to-chnage-public-ipprivate-ip-and.html' title='How to Change Public IP,Private IP and VIP in Oracle 10g RAC on Linux'/><author><name>Phani</name><uri>http://www.blogger.com/profile/04312104659382335238</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='05405350767769443956'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_9ZTdPAIvaAc/S0se5trNy8I/AAAAAAAAAAk/Cr88SqOr7nc/s72-c/shot1' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry gd:etag='W/&quot;DUUMRnk_eyp7ImA9WxBRFkU.&quot;'><id>tag:blogger.com,1999:blog-6868809155810841554.post-3293052902987762362</id><published>2010-01-05T15:44:00.005+05:30</published><updated>2010-01-05T15:58:07.743+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-01-05T15:58:07.743+05:30</app:edited><title>Find the patches applied to your database</title><content type='html'>SQL&gt; select ACTION_TIME,ACTION,VERSION,ID,COMMENTS from registry$history;&lt;br /&gt;&lt;br /&gt;ACTION_TIME          ACTION         VERSION            ID COMMENTS&lt;br /&gt;-------------------- -------------- ---------- ---------- --------------------&lt;br /&gt;13-NOV-09 05.54.51.9 UPGRADE        10.2.0.4.0            Upgraded from 10.2.0&lt;br /&gt;01116 PM                                                  .1.0&lt;br /&gt;&lt;br /&gt;The above query will display the series of upgrades/downgrades done on your database.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(OR)&lt;br /&gt;&lt;br /&gt;$ORACLE_HOME/OPatch/opatch lsinventory&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6868809155810841554-3293052902987762362?l=calling-dba.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calling-dba.blogspot.com/feeds/3293052902987762362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://calling-dba.blogspot.com/2010/01/find-patches-applied-to-your-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6868809155810841554/posts/default/3293052902987762362?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6868809155810841554/posts/default/3293052902987762362?v=2'/><link rel='alternate' type='text/html' href='http://calling-dba.blogspot.com/2010/01/find-patches-applied-to-your-database.html' title='Find the patches applied to your database'/><author><name>Phani</name><uri>http://www.blogger.com/profile/04312104659382335238</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='05405350767769443956'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry gd:etag='W/&quot;D0IGQnw8fyp7ImA9WxBRFkU.&quot;'><id>tag:blogger.com,1999:blog-6868809155810841554.post-7630737444861865330</id><published>2010-01-05T14:37:00.000+05:30</published><updated>2010-01-05T15:28:43.277+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-01-05T15:28:43.277+05:30</app:edited><title>Modifying the default gateway address used by the Oracle 10g VIP</title><content type='html'>By default, the server's default gateway is used as a ping target during the Oracle RAC 10g VIP status check action. Upon a ping failure, Oracle will decide that the current interface where the VIP is running has failed, and will initiate an interface / internode VIP failover.&lt;br /&gt;&lt;br /&gt;Though the VIP check action will work as designed in most situations, it will not function&lt;br /&gt;correctly as designed under special circumstances where the server's default gateway resides on&lt;br /&gt;a different network from the client LAN network (the network where the VIP is configured on).&lt;br /&gt;In order for the VIP check action to function as designed, the ping target address needs to be&lt;br /&gt;modified after installing RAC 10g.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;o Example of a network configuration where use of the default gateway is sufficient&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_9ZTdPAIvaAc/S0MMnYleYCI/AAAAAAAAAAU/teTeQhMrOGQ/s1600-h/pict1.JPG"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 320px; DISPLAY: block; HEIGHT: 246px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5423192247038271522" border="0" alt="" src="http://1.bp.blogspot.com/_9ZTdPAIvaAc/S0MMnYleYCI/AAAAAAAAAAU/teTeQhMrOGQ/s320/pict1.JPG" /&gt;&lt;/a&gt;Since the VIP, clients and default gateway are all on the same network segment, the VIP&lt;br /&gt;check action will function correctly in the above case.&lt;br /&gt;&lt;br /&gt;o Example of a network configuration where the ping target needs to be modified&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S0MM3AKka3I/AAAAAAAAAAc/1llsItDH7w0/s1600-h/pict2.JPG"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 320px; DISPLAY: block; HEIGHT: 246px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5423192515360877426" border="0" alt="" src="http://2.bp.blogspot.com/_9ZTdPAIvaAc/S0MM3AKka3I/AAAAAAAAAAc/1llsItDH7w0/s320/pict2.JPG" /&gt;&lt;/a&gt; Since the default gateway is configured on a different network segment from the VIP/Clients,the VIP check action will not work correctly as designed in the above configuration.&lt;br /&gt;&lt;br /&gt;Since the VIP check action will use the default gateway (192.168.1.1) as the ping target,and Oracle will not be able to detect failures in the client network (146.56.20.X) as expected.&lt;br /&gt;&lt;br /&gt;In this case, the ping target used by the VIP needs to be modified to an IP address in the 146.56.20.X network segment in order for the check action to function correctly as designed.&lt;br /&gt;&lt;br /&gt;The target address needs to remain static and highly available, as VIP availability directly leads to service / instance availability. In order to achieve high availability for the ping target, make sure to use redundant links / hardware for the host / router to be used as the target.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Modifying the ping target for the Oracle 10g VIP&lt;br /&gt;----------------------------------------------------------&lt;br /&gt;The following steps need to be performed on every node within the cluster.&lt;br /&gt;&lt;br /&gt;1. Stop all node applications.&lt;br /&gt;&lt;br /&gt;% srvctl stop instance -d &lt;database-name&gt;-i &lt;instance-name&gt;&lt;br /&gt;% srvctl stop asm -n &lt;node_name&gt;&lt;br /&gt;% srvctl stop nodeapps -n &lt;hostname&gt;&lt;br /&gt;&lt;br /&gt;2. As root, modify the following script and change the value of DEFAULTGW variable.&lt;br /&gt;# vi $ORA_CRS_HOME/bin/racgvip&lt;br /&gt;&lt;br /&gt;* Examples of modifying the ping target&lt;br /&gt;&lt;br /&gt;BEFORE)&lt;br /&gt;DEFAULTGW=&lt;br /&gt;&lt;br /&gt;AFTER)&lt;br /&gt;DEFAULTGW=146.56.20.1&lt;br /&gt;&lt;br /&gt;3. Start the node applications and other necessary resources.&lt;br /&gt;% srvctl start nodeapps -n &lt;hostname&gt;&lt;br /&gt;% srvctl start asm -n &lt;node_name&gt;&lt;br /&gt;% srvctl start instance -d &lt;database-name&gt;-i &lt;instance-name&gt;&lt;br /&gt;&lt;br /&gt;Make sure to repeat these steps for all CRS homes within the cluster.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;References: Metalink&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6868809155810841554-7630737444861865330?l=calling-dba.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://calling-dba.blogspot.com/feeds/7630737444861865330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://calling-dba.blogspot.com/2010/01/modifying-default-gateway-address-used.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6868809155810841554/posts/default/7630737444861865330?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6868809155810841554/posts/default/7630737444861865330?v=2'/><link rel='alternate' type='text/html' href='http://calling-dba.blogspot.com/2010/01/modifying-default-gateway-address-used.html' title='Modifying the default gateway address used by the Oracle 10g VIP'/><author><name>Phani</name><uri>http://www.blogger.com/profile/04312104659382335238</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='05405350767769443956'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_9ZTdPAIvaAc/S0MMnYleYCI/AAAAAAAAAAU/teTeQhMrOGQ/s72-c/pict1.JPG' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>