<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[ORAERP.COM - The Knowledge Center for Oracle ERP Professionals - Looking Beyond the Possibilities - Oracle Database Administration]]></title>
		<link>http://www.oraerp.com/</link>
		<description><![CDATA[ORAERP.COM - The Knowledge Center for Oracle ERP Professionals - Looking Beyond the Possibilities - http://www.oraerp.com]]></description>
		<pubDate>Wed, 19 Jun 2013 02:27:20 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[FRM-47023:No such parameter named G_QUERY_FIND exists in form OEXOETEL]]></title>
			<link>http://www.oraerp.com/Thread-FRM-47023-No-such-parameter-named-G-QUERY-FIND-exists-in-form-OEXOETEL</link>
			<pubDate>Wed, 12 Jun 2013 12:49:51 -0500</pubDate>
			<guid isPermaLink="false">http://www.oraerp.com/Thread-FRM-47023-No-such-parameter-named-G-QUERY-FIND-exists-in-form-OEXOETEL</guid>
			<description><![CDATA[Hi,<br />
<br />
I did fresh clone and after the clone when end user is trying to launch the form, he is encountering with error FRM-47023<br />
<br />
FRM-47023:No such parameter named G_QUERY_FIND exists in form OEXOETEL<br />
<br />
Please suggest. Error screenshots are attached in zip file.<br />
<br />
Regards,<br />
Sandy<br /><!-- start: postbit_attachments_attachment -->
<br /><img src="images/attachtypes/zip.gif" border="0" alt=".zip" />&nbsp;&nbsp;<a href="attachment.php?aid=61" target="_blank">error_form.zip</a> (Size: 51.99 KB / Downloads: 1)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I did fresh clone and after the clone when end user is trying to launch the form, he is encountering with error FRM-47023<br />
<br />
FRM-47023:No such parameter named G_QUERY_FIND exists in form OEXOETEL<br />
<br />
Please suggest. Error screenshots are attached in zip file.<br />
<br />
Regards,<br />
Sandy<br /><!-- start: postbit_attachments_attachment -->
<br /><img src="images/attachtypes/zip.gif" border="0" alt=".zip" />&nbsp;&nbsp;<a href="attachment.php?aid=61" target="_blank">error_form.zip</a> (Size: 51.99 KB / Downloads: 1)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[FRM-92050 error]]></title>
			<link>http://www.oraerp.com/Thread-FRM-92050-error</link>
			<pubDate>Sat, 08 Jun 2013 02:37:42 -0500</pubDate>
			<guid isPermaLink="false">http://www.oraerp.com/Thread-FRM-92050-error</guid>
			<description><![CDATA[Hi,<br />
<br />
I have made the fresh clone with cold backup. Clone was successful, but it is showing error - <br />
FRM-92050: Failed to connect to the server: <host>.<domain>:<port>
<br />
My source system is R12.1.3 with database version 11.1.0.7 on OS Version Linux 5.3 and the Target system is installed with OS Version Linux 5.9<br />
<br />
Earlier, we have installed OS Version Linux 5.8 on the target but the yum installed updated it to the version Linux 5.9<br />
<br />
Regards,<br />
Sandy]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I have made the fresh clone with cold backup. Clone was successful, but it is showing error - <br />
FRM-92050: Failed to connect to the server: <host>.<domain>:<port>
<br />
My source system is R12.1.3 with database version 11.1.0.7 on OS Version Linux 5.3 and the Target system is installed with OS Version Linux 5.9<br />
<br />
Earlier, we have installed OS Version Linux 5.8 on the target but the yum installed updated it to the version Linux 5.9<br />
<br />
Regards,<br />
Sandy]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[PO not getting approved via mobile (blackberry) and e-mail]]></title>
			<link>http://www.oraerp.com/Thread-PO-not-getting-approved-via-mobile-blackberry-and-e-mail</link>
			<pubDate>Mon, 27 May 2013 09:50:48 -0500</pubDate>
			<guid isPermaLink="false">http://www.oraerp.com/Thread-PO-not-getting-approved-via-mobile-blackberry-and-e-mail</guid>
			<description><![CDATA[Hi,<br />
<br />
PO/ PRF are not getting approve via mobile. When user clicks on approve button after receiving the emails, the same is not getting approved.<br />
<br />
version for workflow e-mailer:<br />
WF_VERSION - 2.6.0<br />
<br />
I already went through the doc. How to Diagnose Problems with Purchasing Email Notifications [ID 369595.1]<br />
<br />
Regards,<br />
Sandy]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
PO/ PRF are not getting approve via mobile. When user clicks on approve button after receiving the emails, the same is not getting approved.<br />
<br />
version for workflow e-mailer:<br />
WF_VERSION - 2.6.0<br />
<br />
I already went through the doc. How to Diagnose Problems with Purchasing Email Notifications [ID 369595.1]<br />
<br />
Regards,<br />
Sandy]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Creating ODG for DB part of Oracle Apps R12.1.3]]></title>
			<link>http://www.oraerp.com/Thread-Creating-ODG-for-DB-part-of-Oracle-Apps-R12-1-3</link>
			<pubDate>Tue, 21 May 2013 07:07:01 -0500</pubDate>
			<guid isPermaLink="false">http://www.oraerp.com/Thread-Creating-ODG-for-DB-part-of-Oracle-Apps-R12-1-3</guid>
			<description><![CDATA[I am to create Oracle Data Guard for my current running Oracle Application version R12.1.3 with DB version 11gR2 (file system) to 2 Node RAC in Exadata Machine on ASM Disk Group.<br />
<br />
Please provide the doc. id's or the steps to perform the same.<br />
<br />
One thing more, do I need to take special precautions for my Application Tier? Do I need to apply some additional patches on Application Tier before creating the ODG for the DB part??<br />
<br />
Regards,<br />
Sandy]]></description>
			<content:encoded><![CDATA[I am to create Oracle Data Guard for my current running Oracle Application version R12.1.3 with DB version 11gR2 (file system) to 2 Node RAC in Exadata Machine on ASM Disk Group.<br />
<br />
Please provide the doc. id's or the steps to perform the same.<br />
<br />
One thing more, do I need to take special precautions for my Application Tier? Do I need to apply some additional patches on Application Tier before creating the ODG for the DB part??<br />
<br />
Regards,<br />
Sandy]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[EBS R12 with RAC & ASM Installation on Solaris UNIX/RedHat Linux]]></title>
			<link>http://www.oraerp.com/Thread-EBS-R12-with-RAC-ASM-Installation-on-Solaris-UNIX-RedHat-Linux</link>
			<pubDate>Wed, 12 Sep 2012 06:43:20 -0500</pubDate>
			<guid isPermaLink="false">http://www.oraerp.com/Thread-EBS-R12-with-RAC-ASM-Installation-on-Solaris-UNIX-RedHat-Linux</guid>
			<description><![CDATA[Dear All,<br />
We are going on a R12 New Installation on Solaris. Can someone <br />
share Documents on the BEST Practices in industry.]]></description>
			<content:encoded><![CDATA[Dear All,<br />
We are going on a R12 New Installation on Solaris. Can someone <br />
share Documents on the BEST Practices in industry.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Enable AutoConfig on Applications Database Tier ]]></title>
			<link>http://www.oraerp.com/Thread-Enable-AutoConfig-on-Applications-Database-Tier</link>
			<pubDate>Mon, 23 Jan 2012 01:19:23 -0600</pubDate>
			<guid isPermaLink="false">http://www.oraerp.com/Thread-Enable-AutoConfig-on-Applications-Database-Tier</guid>
			<description><![CDATA[Enable AutoConfig on Applications Database Tier <br />
  <br />
Steps to Perform On All Oracle RAC Nodes <br />
  <br />
 1> Execute &#36;AD_TOP/bin/admkappsutil.pl on the applications tier to generate an <br />
 appsutil.zip file for the database tier. <br />
<br />
<img src="http://www.oraerp.com/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAApoAAACFCAIAAAB0cc/PAAARa0lEQVR4nO2dW7bruq1E1f8uuXE3H7lZQ1sECgXqbc858kFTZOFBipD2sVeWBQAAAAAAAAAAAAA&#8203;AYMXnf9ztyKXcGO+vpRoA4DWcXRHPE1/LjiaE3bNr0k59vSL3PsE4ef78S9m//BvU3yUxPrQ7zsp6HH2RgZfuKwD4ci44I24p5+fZFRxYa3VEt5zsfhnLliZsjyW/nDttd6zoQi3j1fsKAL4W8xVnWR21Zn9oYj04u7pR2zTGiY7dUd+Py2wLuxOYEV2JcMksk06JdXRCuxM6&#8203;R5Xzp+2rzwrtz3hPZXcTADyd8tQQJ1HZnwlujpXwaBYf17JhOck8ER5mcel2y244MpMSzt9y2upk6j3j&#8203;tMNCko0P7Yq0dO1qHr6vuvevufEA4OlkB0d40nXbYU92oPhH+ThrfzlvtRdZVrvHrnhYKedeRrecZ+W5&#8203;LJ9muT2qnDvThZruv2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U2I1JX+j0lYhupyiJ9zOotRh3RyQh0/P8JENwmfgZafjom/q1mWkhQCAHwp2cH3awfir8X7HbBqAADL0nyf/mJ+Ld4vgCUDAAAAAAAAAAAA+C3+L/kfAAAAvIawclPOAQAA3gTlHAAA3sJvftPYipdyDgDwU5xdEc8T3/zdD9/u2eV/p75eEXe9KOcAAN/LfwB3mF433TZ+/AAAAABJRU5ErkJggg==" border="0" alt="[Image: AAAAABJRU5ErkJggg==]" /><br />
  <br />
 <br />
 2> Copy (e.g. via ftp) the appsutil.zip file to the database tier in the 11gR2_ORACLE_HOME <br />
  <br />
 On linux1 <br />
  <br />
 <br />
 On linux2 <br />
  <br />
  <br />
  <br />
3> Unzip the appsutil.zip file to create the appsutil directory in the 11gR2_ORACLE_HOME <br />
  <br />
 unzip appsutil (on linux1 and linux2) <br />
 <br />
4> Copy the jre directory from SOURCE_ORACLE_HOME>/appsutil to<br />
 11gR2_ORACLE_HOME>/appsutil. <br />
 On linux1 <br />
  <br />
  <br />
  On linux2 <br />
  <br />
5. Create a <CONTEXT_NAME> directory under <11gR2_ORACLE_HOME>/network/admin. Use <br />
 the new instance name while creating the context directory. For example, if your database name <br />
 is VISRAC, and you want to use "vis" as the instance prefix, create the <CONTEXT_NAME> <br />
 directory as vis1_<hostname>. <br />
  <br />
 <br />
7. Set the following environment variables: <br />
  <br />
 ORACLE_HOME =<11<span style="font-style: italic;">g</span>R2_ORACLE_HOME> <br />
 LD_LIBRARY_PATH = <11<span style="font-style: italic;">gR2</span>_ORACLE_HOME>/lib, <br />
 <11<span style="font-style: italic;">gR2</span>_ORACLE_HOME>/ctx/lib <br />
 ORACLE_SID = <instance name for current database node> <br />
 PATH= &#36;PATH:&#36;ORACLE_HOME/bin; <br />
 TNS_ADMIN = &#36;ORACLE_HOME/network/admin/<context_name><br />
  <br />
export ORACLE_HOME =<br />
 /d01/oracle/app/oracle/product/11.2.0/dbhome_1 <br />
 export LD_LIBRARY_PATH = &#36;ORACLE_HOME/lib:&#36;ORACLE_HOME/ctx/lib <br />
 ORACLE_SID = RACDB1 <br />
 export PATH= &#36;PATH:&#36;ORACLE_HOME/bin; <br />
 export TNS_ADMIN = &#36;ORACLE_HOME/network/admin/racdb1_linux1 <br />
 <br />
8> Copy the tnsnames.ora file from &#36;ORACLE_HOME/network/admin to the &#36;TNS_ADMIN <br />
 directory, and edit the aliases for SID=<new RAC instance name>. <br />
  <br />
  <br />
 9. As the APPS user, run the following command on the primary node to de-register the <br />
 current configuration: <br />
  <br />
 SQL>exec fnd_conc_clone.setup_clean; <br />
  <br />
PL/SQL procedure successfully completed. <br />
  <br />
 10. From the 11gR2 ORACLE_HOME/appsutil/bin directory, create an instance-specific XML <br />
 context file by executing the command: <br />
  <br />
 cd &#36;ORACLE_HOME/appsutil/bin <br />
  <br />
 perl adbldxml.pl appsuser=apps appspass=apps <br />
  <br />
 nCopy tnsnames.ora and listener.ora from Source ORACLE Home <br />
  <br />
 cd /d01/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/RACDB_linux1 <br />
  <br />
modify listener.ora as follows <br />
 <br />
 <br />
<span style="text-decoration: underline;">Perform the same on linux2 </span>]]></description>
			<content:encoded><![CDATA[Enable AutoConfig on Applications Database Tier <br />
  <br />
Steps to Perform On All Oracle RAC Nodes <br />
  <br />
 1> Execute &#36;AD_TOP/bin/admkappsutil.pl on the applications tier to generate an <br />
 appsutil.zip file for the database tier. <br />
<br />
<img src="http://www.oraerp.com/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAApoAAACFCAIAAAB0cc/PAAARa0lEQVR4nO2dW7bruq1E1f8uuXE3H7lZQ1sECgXqbc858kFTZOFBipD2sVeWBQAAAAAAAAAAAAA&#8203;AYMXnf9ztyKXcGO+vpRoA4DWcXRHPE1/LjiaE3bNr0k59vSL3PsE4ef78S9m//BvU3yUxPrQ7zsp6HH2RgZfuKwD4ci44I24p5+fZFRxYa3VEt5zsfhnLliZsjyW/nDttd6zoQi3j1fsKAL4W8xVnWR21Zn9oY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ZbTFuK6nUXt989NH8uPaISyfp6zGhaOd+qfkMrmZvqlIR1XueU&#8203;cK608myPN3QIAcAXOcTyOadWD6TLsHLK/Vs5bLnX9NClzPlHOu3ZF/6nl/K+TWg4Az6I8jse3JTHR1O+2dz4K7Dy+y2GlnxeX81ZZDV9wfTfWtvw8TPjp6Ai10E89RUuFItR4ALiH9&#8203;Xvz5h16vLQMR3b4UYuE40OXxpITjh+VdX8mpU2I1JX+j0lYhupyiJ9zOotRh3RyQh0/P8JENwmfgZafjom/q1mWkhQCAHwp2cH3awfir8X7HbBqAADL0nyf/mJ+Ld4vgCUDAAAAAAAAAAAA+C3+L/kfAAAAvIawclPOAQAA3gTlHAAA3sJvftPYipdyDgDwU5xdEc8T3/zdD9/u2eV/p75eEXe9KOcAAN/LfwB3mF433TZ+/AAAAABJRU5ErkJggg==" border="0" alt="[Image: AAAAABJRU5ErkJggg==]" /><br />
  <br />
 <br />
 2> Copy (e.g. via ftp) the appsutil.zip file to the database tier in the 11gR2_ORACLE_HOME <br />
  <br />
 On linux1 <br />
  <br />
 <br />
 On linux2 <br />
  <br />
  <br />
  <br />
3> Unzip the appsutil.zip file to create the appsutil directory in the 11gR2_ORACLE_HOME <br />
  <br />
 unzip appsutil (on linux1 and linux2) <br />
 <br />
4> Copy the jre directory from SOURCE_ORACLE_HOME>/appsutil to<br />
 11gR2_ORACLE_HOME>/appsutil. <br />
 On linux1 <br />
  <br />
  <br />
  On linux2 <br />
  <br />
5. Create a <CONTEXT_NAME> directory under <11gR2_ORACLE_HOME>/network/admin. Use <br />
 the new instance name while creating the context directory. For example, if your database name <br />
 is VISRAC, and you want to use "vis" as the instance prefix, create the <CONTEXT_NAME> <br />
 directory as vis1_<hostname>. <br />
  <br />
 <br />
7. Set the following environment variables: <br />
  <br />
 ORACLE_HOME =<11<span style="font-style: italic;">g</span>R2_ORACLE_HOME> <br />
 LD_LIBRARY_PATH = <11<span style="font-style: italic;">gR2</span>_ORACLE_HOME>/lib, <br />
 <11<span style="font-style: italic;">gR2</span>_ORACLE_HOME>/ctx/lib <br />
 ORACLE_SID = <instance name for current database node> <br />
 PATH= &#36;PATH:&#36;ORACLE_HOME/bin; <br />
 TNS_ADMIN = &#36;ORACLE_HOME/network/admin/<context_name><br />
  <br />
export ORACLE_HOME =<br />
 /d01/oracle/app/oracle/product/11.2.0/dbhome_1 <br />
 export LD_LIBRARY_PATH = &#36;ORACLE_HOME/lib:&#36;ORACLE_HOME/ctx/lib <br />
 ORACLE_SID = RACDB1 <br />
 export PATH= &#36;PATH:&#36;ORACLE_HOME/bin; <br />
 export TNS_ADMIN = &#36;ORACLE_HOME/network/admin/racdb1_linux1 <br />
 <br />
8> Copy the tnsnames.ora file from &#36;ORACLE_HOME/network/admin to the &#36;TNS_ADMIN <br />
 directory, and edit the aliases for SID=<new RAC instance name>. <br />
  <br />
  <br />
 9. As the APPS user, run the following command on the primary node to de-register the <br />
 current configuration: <br />
  <br />
 SQL>exec fnd_conc_clone.setup_clean; <br />
  <br />
PL/SQL procedure successfully completed. <br />
  <br />
 10. From the 11gR2 ORACLE_HOME/appsutil/bin directory, create an instance-specific XML <br />
 context file by executing the command: <br />
  <br />
 cd &#36;ORACLE_HOME/appsutil/bin <br />
  <br />
 perl adbldxml.pl appsuser=apps appspass=apps <br />
  <br />
 nCopy tnsnames.ora and listener.ora from Source ORACLE Home <br />
  <br />
 cd /d01/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/RACDB_linux1 <br />
  <br />
modify listener.ora as follows <br />
 <br />
 <br />
<span style="text-decoration: underline;">Perform the same on linux2 </span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Convert 11gR2 non-RAC database to RAC database using rconfig ]]></title>
			<link>http://www.oraerp.com/Thread-Convert-11gR2-non-RAC-database-to-RAC-database-using-rconfig</link>
			<pubDate>Mon, 23 Jan 2012 01:11:24 -0600</pubDate>
			<guid isPermaLink="false">http://www.oraerp.com/Thread-Convert-11gR2-non-RAC-database-to-RAC-database-using-rconfig</guid>
			<description><![CDATA[<span style="font-weight: bold;"><a href="http://zakkiahmed.wordpress.com/2010/08/04/convert-11gr2-non-rac-database-to-rac-database-using-rconfig/" target="_blank">Convert 11gR2 non-RAC database to RAC database using rconfig</a></span><span style="font-weight: bold;"></span><br />
<br />
I’ve installed the new 11gR2 clustered ORACLE_HOME at /d01/oracle/app/oracle/product/11.2.0/dbhome_1 on both the nodes linux1 and linux2<br />
New Oracle 11gR2 RAC Home - /d01/oracle/app/oracle/product/11.2.0/dbhome_1 <br />
SourceDBHome - /d01/oracle/RACDB/db/tech_st/11.2.0 <br />
ORACLE_SID – RACDB<br />
<br />
<br />
1. As the oracle user, navigate to the directory &#36;ORACLE_HOME/assistants/rconfig/sampleXMLs, <br />
and open the sample file ConvertToRAC.xml using a text editor such as vi. This XML sample file<br />
contains comment lines that provide instructions on how to edit the file to suit your site's specific<br />
needs. <br />
nConnect to new home <br />
n. ./oracle.env <br />
n[oracle@linux1 ~]&#36; cat oracle.env <br />
export ORACLE_HOME=/d01/oracle/app/oracle/product/11.2.0/dbhome_1 <br />
export LD_LIBRARY_PATH=&#36;ORACLE_HOME/lib,&#36;ORACLE_HOME/ctx/lib <br />
export ORACLE_SID=RACDB <br />
export PATH=&#36;PATH:&#36;ORACLE_HOME/bin <br />
export<br />
TNS_ADMIN=/d01/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/RACDB<br />
1_linux1 <br />
cd /d01/oracle/app/oracle/product/11.2.0/dbhome_1/assistants/rconfig/sampleXMLs <br />
cp ConvertToRAC_AdminManaged.xml ConvertToRAC_AdminManaged.xml_org <br />
<br />
2. Copy the sample ConvertToRAC_AdminManaged.xml, and modify the parameters as required for <br />
your system. Make a note of the name of your copy of the XML file. <br />
<br />
3. To test the settings specified, it is advisable to execute rconfig using convert verify="ONLY" <br />
before carrying out the actual conversion. This will perform a test run to validate parameters and <br />
flag any incorrect settings or issues that need to be resolved before the final conversion takes<br />
place. <br />
<br />
<span style="font-weight: bold;">Note: </span>Specify 'SourceDBHome' variable in ConvertToRAC_AdminManaged.xml as Non- RAC <br />
oracle home (e.g. &#36;OLD_ORACLE_HOME path). If you wish to specify as <br />
NEW_ORACLE_HOME then start the database from new oracle home using: <br />
<br />
<span style="font-weight: bold;">I have started from NEW_ORACLE_HOME</span><br />
<br />
4. Move the spfile to the shared location, in this case the Single Instance Database was hosted on file<br />
system, in this process we will move the datafiles from file system storage to ASM. <br />
<br />
-- From <span style="font-weight: bold;">New Home </span><br />
<br />
<span style="font-weight: bold;">-- copy the initRACDB.ora from Source DB Home</span><br />
<br />
Create the spfile from pfile using the command: <br />
sqlplus “/as sysdba” <br />
<br />
So create spfile in the shared disk location <br />
<br />
create spfile='+DATA/spfile/spfileracdb.ora' from pfile; <br />
<br />
<br />
You can check if the file is created through “asmcmd” <br />
cat grid.env <br />
export ORACLE_HOME=/d01/oracle/app/11.2.0/grid <br />
export PATH=&#36;PATH:&#36;ORACLE_HOME/bin <br />
<br />
. ./grid.env <br />
<br />
<br />
. ./oracle.env <br />
<br />
<br />
<br />
<br />
5.Take a backup of existing &#36;ORACLE_HOME/dbs/init<ORACLE_SID>.ora and create a new <br />
&#36;ORACLE_HOME/dbs/init<ORACLE_SID>.ora with following parameter: <br />
<br />
spfile='<Path of spfile on shared disk>/spfile<ORACLE_SID>.ora' <br />
spfile=’ +DATA/spfile/spfileracdb.ora’ <br />
<br />
6. Start up the instance from the NEW ORACLE_HOME <br />
<br />
7. Now lets test if “rconfig” is ready for conversion, navigate to &#36;ORACLE_HOME/ <br />
assistants/rconfig/sampleXMLs and issue the following command <br />
<img src="http://www.oraerp.com/file:///C:/DOCUME%7E1/welcome/LOCALS%7E1/Temp/msohtmlclip1/01/clip_image005.jpg" border="0" alt="[Image: clip_image005.jpg]" /><br />
<br />
<br />
<br />
<br />
cd /d01/oracle/app/oracle/product/11.2.0/dbhome_1/assistants/rconfig/sampleXMLs <br />
<br />
rconfig ConvertToRAC_AdminManaged.xml <br />
<br />
The above command validates( as we’ve set convert=”ONLY”) if rconfig is ready for conversion. <br />
If the output throws any error, diagnose and troubleshoot to fix the issue. Refer to the following <br />
output for successful validation: <br />
<br />
<br />
<span style="font-weight: bold;">Issues faced – </span><br />
<br />
Rconfig <br />
<br />
a> Default Listener is not configured in Grid Infrastructure Home. <br />
<br />
Solution - on the grid infrastruture - run netca - create a default listener <br />
<br />
b> /d02/oracle/RACDB/db/tech_st/11.2.0/dbs/arch LOG ARCHIVE DEST <br />
Solution - mkdir /d02/oracle/RACDB/db/tech_st/11.2.0/dbs/arch <br />
<br />
<span style="font-weight: bold;">8.</span> <span style="font-weight: bold;">Now are we are ready for conversion, edit the xml file</span><br />
<span style="font-weight: bold;">“ConvertToRAC_AdminManaged.xml” and change: </span>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;"><a href="http://zakkiahmed.wordpress.com/2010/08/04/convert-11gr2-non-rac-database-to-rac-database-using-rconfig/" target="_blank">Convert 11gR2 non-RAC database to RAC database using rconfig</a></span><span style="font-weight: bold;"></span><br />
<br />
I’ve installed the new 11gR2 clustered ORACLE_HOME at /d01/oracle/app/oracle/product/11.2.0/dbhome_1 on both the nodes linux1 and linux2<br />
New Oracle 11gR2 RAC Home - /d01/oracle/app/oracle/product/11.2.0/dbhome_1 <br />
SourceDBHome - /d01/oracle/RACDB/db/tech_st/11.2.0 <br />
ORACLE_SID – RACDB<br />
<br />
<br />
1. As the oracle user, navigate to the directory &#36;ORACLE_HOME/assistants/rconfig/sampleXMLs, <br />
and open the sample file ConvertToRAC.xml using a text editor such as vi. This XML sample file<br />
contains comment lines that provide instructions on how to edit the file to suit your site's specific<br />
needs. <br />
nConnect to new home <br />
n. ./oracle.env <br />
n[oracle@linux1 ~]&#36; cat oracle.env <br />
export ORACLE_HOME=/d01/oracle/app/oracle/product/11.2.0/dbhome_1 <br />
export LD_LIBRARY_PATH=&#36;ORACLE_HOME/lib,&#36;ORACLE_HOME/ctx/lib <br />
export ORACLE_SID=RACDB <br />
export PATH=&#36;PATH:&#36;ORACLE_HOME/bin <br />
export<br />
TNS_ADMIN=/d01/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/RACDB<br />
1_linux1 <br />
cd /d01/oracle/app/oracle/product/11.2.0/dbhome_1/assistants/rconfig/sampleXMLs <br />
cp ConvertToRAC_AdminManaged.xml ConvertToRAC_AdminManaged.xml_org <br />
<br />
2. Copy the sample ConvertToRAC_AdminManaged.xml, and modify the parameters as required for <br />
your system. Make a note of the name of your copy of the XML file. <br />
<br />
3. To test the settings specified, it is advisable to execute rconfig using convert verify="ONLY" <br />
before carrying out the actual conversion. This will perform a test run to validate parameters and <br />
flag any incorrect settings or issues that need to be resolved before the final conversion takes<br />
place. <br />
<br />
<span style="font-weight: bold;">Note: </span>Specify 'SourceDBHome' variable in ConvertToRAC_AdminManaged.xml as Non- RAC <br />
oracle home (e.g. &#36;OLD_ORACLE_HOME path). If you wish to specify as <br />
NEW_ORACLE_HOME then start the database from new oracle home using: <br />
<br />
<span style="font-weight: bold;">I have started from NEW_ORACLE_HOME</span><br />
<br />
4. Move the spfile to the shared location, in this case the Single Instance Database was hosted on file<br />
system, in this process we will move the datafiles from file system storage to ASM. <br />
<br />
-- From <span style="font-weight: bold;">New Home </span><br />
<br />
<span style="font-weight: bold;">-- copy the initRACDB.ora from Source DB Home</span><br />
<br />
Create the spfile from pfile using the command: <br />
sqlplus “/as sysdba” <br />
<br />
So create spfile in the shared disk location <br />
<br />
create spfile='+DATA/spfile/spfileracdb.ora' from pfile; <br />
<br />
<br />
You can check if the file is created through “asmcmd” <br />
cat grid.env <br />
export ORACLE_HOME=/d01/oracle/app/11.2.0/grid <br />
export PATH=&#36;PATH:&#36;ORACLE_HOME/bin <br />
<br />
. ./grid.env <br />
<br />
<br />
. ./oracle.env <br />
<br />
<br />
<br />
<br />
5.Take a backup of existing &#36;ORACLE_HOME/dbs/init<ORACLE_SID>.ora and create a new <br />
&#36;ORACLE_HOME/dbs/init<ORACLE_SID>.ora with following parameter: <br />
<br />
spfile='<Path of spfile on shared disk>/spfile<ORACLE_SID>.ora' <br />
spfile=’ +DATA/spfile/spfileracdb.ora’ <br />
<br />
6. Start up the instance from the NEW ORACLE_HOME <br />
<br />
7. Now lets test if “rconfig” is ready for conversion, navigate to &#36;ORACLE_HOME/ <br />
assistants/rconfig/sampleXMLs and issue the following command <br />
<img src="http://www.oraerp.com/file:///C:/DOCUME%7E1/welcome/LOCALS%7E1/Temp/msohtmlclip1/01/clip_image005.jpg" border="0" alt="[Image: clip_image005.jpg]" /><br />
<br />
<br />
<br />
<br />
cd /d01/oracle/app/oracle/product/11.2.0/dbhome_1/assistants/rconfig/sampleXMLs <br />
<br />
rconfig ConvertToRAC_AdminManaged.xml <br />
<br />
The above command validates( as we’ve set convert=”ONLY”) if rconfig is ready for conversion. <br />
If the output throws any error, diagnose and troubleshoot to fix the issue. Refer to the following <br />
output for successful validation: <br />
<br />
<br />
<span style="font-weight: bold;">Issues faced – </span><br />
<br />
Rconfig <br />
<br />
a> Default Listener is not configured in Grid Infrastructure Home. <br />
<br />
Solution - on the grid infrastruture - run netca - create a default listener <br />
<br />
b> /d02/oracle/RACDB/db/tech_st/11.2.0/dbs/arch LOG ARCHIVE DEST <br />
Solution - mkdir /d02/oracle/RACDB/db/tech_st/11.2.0/dbs/arch <br />
<br />
<span style="font-weight: bold;">8.</span> <span style="font-weight: bold;">Now are we are ready for conversion, edit the xml file</span><br />
<span style="font-weight: bold;">“ConvertToRAC_AdminManaged.xml” and change: </span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Step By Step: Install and setup Oracle 11g R2 RAC on Oracle Enterprise Linux 5.5 (32 ]]></title>
			<link>http://www.oraerp.com/Thread-Step-By-Step-Install-and-setup-Oracle-11g-R2-RAC-on-Oracle-Enterprise-Linux-5-5-32</link>
			<pubDate>Sun, 22 Jan 2012 23:59:55 -0600</pubDate>
			<guid isPermaLink="false">http://www.oraerp.com/Thread-Step-By-Step-Install-and-setup-Oracle-11g-R2-RAC-on-Oracle-Enterprise-Linux-5-5-32</guid>
			<description><![CDATA[<span style="color: #002060;">This Document shows the step by step of installing and setting up 3-Node 11gR2 RAC cluster. This setup uses IP Based iSCSI Openfiler SAN as a shared storage subsystem. This setup does not have IPMI and Grid Naming Service (GNS) configured. The SCAN is resolved through DNS.<br />
<br />
</span><span style="text-decoration: underline;">Hardware Used in setting up 3-node 11g R2 RAC using iSCSI SAN (Openfiler):</span><br />
<br />
Total Machines: 5 (3 for RAC nodes + 1 for NAS + 1 for DNS)<br />
Network Switches: 3 (for Public, Private and Shared Storage)<br />
Extra Network Adaptors: 7 (6 for RAC nodes (2 for each node) and one for Storage Server)<br />
Network cables: 11 (9 for RAC nodes (3 for each node), one for Shared Storage and 1 for DNS server)<br />
External USB HD: 1 (1 TB)<br />
<br />
Machines Specifications:<br />
DELL OPTIPLEX GX620<br />
CPU: Intel 3800MHz <br />
RAM: 4084MB <br />
HD: 250GB<br />
DVD, 10/100 NIC, 8 MB VRAM<br />
<br />
Network Adaptor Specifications: <br />
Linksys EG1032 Instant Gigabit Network Adapter <br />
Network Switch Specifications:<br />
D-Link 24-Port Rackmountable Gigabit Switch<br />
Network Cables Specifications:<br />
25-Foot Cat6 Snagless Patch Cable – (Blue, Black and Grey)<br />
<br />
<span style="text-decoration: underline;">Software Used for the 3-node RAC Setup using NAS (Openfiler):</span><br />
<br />
NAS Storage Solution: Openfiler 2.3 (2.6.26.8-1.0.11.smp.pae.gcc3.4.x86.i686)<br />
Operating System: Oracle Enterprise Linux 5.5 (2.6.18-194.el5PAE)<br />
Clusterware: Oracle 11g R2 Grid Infrastructure (11.2.0.1)<br />
Oracle RAC: Oracle RDBMS 11g R2 (11.2.0.1)<br />
<br />
<span style="text-decoration: underline;">3-Node RAC Setup</span><br />
<br />
<span style="color: #002060;">Operating System: Oracle Enterprise Linux 5.5 (</span>2.6.18-194.el5PAE):<br />
<span style="color: #002060;">Server: All the RAC Nodes + DNS server</span><br />
<br />
<span style="color: #002060;">Grid Infrastructure Software (Clusterware + ASM 11.2.0.1):</span><br />
<span style="color: #002060;">Server: All the RAC Nodes</span><br />
<span style="color: #002060;">ORACLE_BASE: /u01/app/grid</span><br />
<span style="color: #002060;">ORACLE_HOME: /u01/app/grid11201</span><br />
<span style="color: #002060;">Owner: grid (Primary Group: oinstall, Secondary Group: asmadmin, asmdba)</span><br />
<span style="color: #002060;">Permissions: 755</span><br />
<span style="color: #002060;">OCR/Voting Disk Storage Type: ASM</span><br />
<span style="color: #002060;">Oracle Inventory Location: /u01/app/oraInventory</span><br />
<br />
<span style="color: #002060;">Oracle Database Software (RAC 11.2.0.1):</span><br />
<br />
<span style="color: #002060;">Server: All the RAC Nodes</span><br />
<span style="color: #002060;">ORACLE_BASE: /u01/app/oracle</span><br />
<span style="color: #002060;">ORACLE_HOME: /u01/app/oracle/db11201</span><br />
<span style="color: #002060;">Owner: oracle (Primary Group: oinstall, Secondary Group: asmdba, dba)</span><br />
<span style="color: #002060;">Permissions: 755</span><br />
<span style="color: #002060;">Oracle Inventory Location: /u01/app/oraInventory</span><br />
<br />
<span style="color: #002060;">Database Name: labdb</span><br />
<span style="color: #002060;">Listener: LAB_LISTENER (TCP:1525)</span><br />
<br />
<span style="color: #002060;">Openfiler 2.3:</span><br />
<span style="color: #002060;">Server: single dedicated server acting as NAS.</span><br />
<span style="color: #002060;">OS: Openfiler 2.3 </span>(2.6.26.8-1.0.11.smp.pae.gcc3.4.x86.i686).<br />
<br />
<span style="text-decoration: underline;">3-Node RAC Architecture: </span><br />
<br />
Machine<br />
Public Name<br />
Private Name<br />
VIP Name<br />
<span style="color: #002060;">RAC Node1</span><br />
node1.hingu.net<br />
node1-prv<br />
node1-vip.hingu.net<br />
<span style="color: #002060;">RAC Node2</span><br />
node2.hingu.net<br />
node2-prv<br />
node2-vip.hingu.net<br />
<span style="color: #002060;">RAC Node3</span><br />
node3.hingu.net<br />
node3-prv<br />
node3-vip.hingu.net<br />
<span style="color: #002060;">Storage</span><br />
nas-server<br />
N/A<br />
N/A<br />
<span style="color: #002060;">DNS server</span><br />
lab-dns<br />
N/A<br />
N/A<br />
<br />
<br />
<span style="text-decoration: underline;">SCAN IPs</span>: <br />
192.168.2.151<br />
192.168.2.152<br />
192.168.2.153<br />
<br />
<br />
SCAN: lab-scan.hingu.net<br />
Cluster Name: lab<br />
Public Network: 192.168.2.0/eth2<br />
Private network (cluster Interconnect): 192.168.0.0/eth0<br />
Private network (Storage Network): 192.168.1.0/eth1<br />
<br />
Machine<br />
Public IP<br />
Private IP<br />
VIP <br />
Storage IP<br />
<span style="color: #002060;">RAC Node1</span><br />
<span style="color: #002060;">192.168.2.1</span><br />
<span style="color: #002060;">192.168.0.1</span><br />
<span style="color: #002060;">192.168.2.51</span><br />
<span style="color: #002060;">192.168.1.1</span><br />
<span style="color: #002060;">RAC Node2</span><br />
<span style="color: #002060;">192.168.2.2</span><br />
<span style="color: #002060;">192.168.0.2</span><br />
<span style="color: #002060;">192.168.2.52</span><br />
<span style="color: #002060;">192.168.1.2</span><br />
<span style="color: #002060;">RAC Node3</span><br />
<span style="color: #002060;">192.168.2.3</span><br />
<span style="color: #002060;">192.168.0.3</span><br />
<span style="color: #002060;">192.168.2.53</span><br />
<span style="color: #002060;">192.168.1.3</span><br />
<span style="color: #002060;">Storage</span><br />
<span style="color: #002060;">N/A</span><br />
<span style="color: #002060;">N/A</span><br />
<span style="color: #002060;">N/A</span><br />
<span style="color: #002060;">192.168.1.101</span><br />
<span style="color: #002060;">DNS server</span><br />
192.168.2.200<br />
N/A<br />
N/A<br />
N/A<br />
<br />
<br />
<br />
<br />
<br />
<br />
<img src="http://www.oracledba.org/11gR2/Pre_Install_11gR2_files/image003.jpg" border="0" alt="[Image: image003.jpg]" /><br />
<br />
<br />
<br />
The Installation is divided into 3 main categories:<br />
<br />
<span style="text-decoration: underline;">Pre-installation task:</span><br />
<br />
<span style="text-decoration: underline;">Server Hardware Requirements:</span><br />
<br />
<span style="color: #002060;">Each node in the Cluster must meet the below requirement.</span><br />
<span style="color: #002060;">At least 1024 x 768 display resolution, so that OUI displays correctly.</span><br />
<span style="color: #002060;">1 GB of space in the /tmp directory</span><br />
<span style="color: #002060;">5.5 GB space for Oracle Grid Infrastructure Home.</span><br />
<span style="color: #002060;">At least 2.5 GB of RAM and equivalent swap space (for 32 bit installation as in my case).</span><br />
· <span style="color: #002060;">All the RAC nodes must share the same Instruction Set Architecture. For a testing RAC setup, it is possible to install RAC on servers with mixtures of Intel 32 and AMD 32 with differences in sizes of Memory/CPU speed.</span><br />
<br />
<span style="text-decoration: underline;">Installation of OEL5.5 (On All the RAC Nodes and DNS Host):</span><br />
<span style="color: #002060;">The below selection was made during the installation of OEL5 on the Node 1 (node1.hingu.net). The same process was followed to install RHEL 5 on all the remaining RAC nodes and DNS Host (lab-dns).</span><br />
<span style="color: #002060;">The Hostname/IP information was appropriately chosen for respective nodes from the Architecture diagram.</span><br />
<br />
<span style="color: #002060;">Insert Installation Media #1:</span><br />
<span style="color: #002060;">Testing the CD Media: Skip</span><br />
<span style="color: #002060;">Language: English</span><br />
<span style="color: #002060;">Key Board: U.S. English</span><br />
<span style="color: #002060;">Partition Option: “Remove all Partitions on selected drives and create default layout”</span><br />
<span style="color: #002060;">Boot Loader: “ The GRUB boot loader will be installed on /dev/sda”</span><br />
<br />
<span style="color: #002060;">Network Devices: </span><br />
<br />
<span style="color: #002060;">Active on Boot</span><br />
<span style="color: #002060;">Devices</span><br />
<span style="color: #002060;">IPV4.Netmask</span><br />
<span style="color: #002060;">IPV6/Prefix</span><br />
<br />
<br />
<br />
<br />
<span style="color: #002060;">Yes</span><br />
<span style="color: #002060;">eth0</span><br />
<span style="color: #002060;">192.168.0.1/255.255.255.0</span><br />
<span style="color: #002060;">Auto</span><br />
<span style="color: #002060;">Yes</span><br />
<span style="color: #002060;">eth1</span><br />
<span style="color: #002060;">192.168.1.1/255.255.255.0</span><br />
<span style="color: #002060;">Auto</span><br />
<span style="color: #002060;">Yes</span><br />
<span style="color: #002060;">eth2</span><br />
<span style="color: #002060;">192.168.2.1/255.255.255.0</span><br />
<span style="color: #002060;">Auto</span><br />
<br />
<br />
<span style="color: #002060;">Hostname </span>a<span style="color: #002060;"> Manually </span>à<span style="color: #002060;"> node1.hingu.net</span><br />
<span style="color: #002060;">Ignore both the Warning Messages at this point</span><br />
<span style="color: #002060;">Region: America/New York</span><br />
<span style="color: #002060;">System Clock Uses UTC (checked)</span><br />
<span style="color: #002060;">Root Password </span>à<span style="color: #002060;"> Enter the root password</span><br />
<span style="color: #002060;">Additional Tasks On top of Default Installation: “Checked all Software Development” and “Web Server”</span><br />
<span style="color: #002060;">Customize Now (Selected)</span><br />
<span style="color: #002060;"> (Below is the extra selection on top of the default selected packages)</span><br />
<span style="color: #002060;">Applications </span>à<span style="color: #002060;"> Authoring and Publishing (checked)</span><br />
<span style="color: #002060;">Development </span>à<span style="color: #002060;"> Development Libraries </span>à<br />
<span style="color: #002060;">libstdc</span><span style="color: #002060;">++44-devel</span><br />
<span style="color: #002060;">Development </span>a<span style="color: #002060;"> Java Development</span><br />
<span style="color: #002060;">Development </span>à<span style="color: #002060;"> Legacy Software Development</span><br />
<span style="color: #002060;">Servers </span>à<span style="color: #002060;"> Checked All the servers</span><br />
<span style="color: #002060;">Servers </span>à<span style="color: #002060;"> Legacy Network Server </span>à<br />
<span style="color: #002060;">bootparamd</span><span style="color: #002060;">, rsh-server, rusers, rusers-server, telnet-server</span><br />
<span style="color: #002060;">Servers </span>à<span style="color: #002060;"> Network Servers </span>à<br />
<span style="color: #002060;">dhcp</span><span style="color: #002060;">, dhcpv6, dnsmasq, ypserv</span><br />
<span style="color: #002060;">Servers </span>à<span style="color: #002060;"> Servers Configuration Tools </span>à<br />
<span style="color: #002060;">Checked All</span><br />
<span style="color: #002060;">Base System </span>à<span style="color: #002060;">Administration Tools </span>à<br />
<span style="color: #002060;">Checked All</span><br />
<span style="color: #002060;">Base System </span>à<span style="color: #002060;"> Base </span>à<br />
<span style="color: #002060;">device-mapper-multipath</span><span style="color: #002060;">, iscsi-initiator-utils, </span><br />
<span style="color: #002060;">Base System </span>à<span style="color: #002060;"> Legacy Software Support </span>à<br />
<span style="color: #002060;">openmotif22</span><br />
<span style="color: #002060;">Base System </span>à<span style="color: #002060;"> System Tools </span>à<br />
<span style="color: #002060;">OpenIPMI-gui, lsscsi, oracle*, sysstat, tsclient</span><br />
<br />
<span style="color: #002060;">Post Installation Steps:</span><br />
(1) <span style="color: #002060;">Yes to License Agreement.</span><br />
(2) <span style="color: #002060;">Disable the firewall</span><br />
(3) <span style="color: #002060;">Disable SELinux</span><br />
(4) <span style="color: #002060;">Disable kdump</span><br />
(5) <span style="color: #002060;">Set the clock</span><br />
(6) <span style="color: #002060;">Finish</span><br />
<br />
<span style="text-decoration: underline;">Installation of openfiler 2.3</span><br />
<br />
<span style="color: #002060;">Version: Openfiler V 2.3 (downloaded from <span style="text-decoration: underline;">Minimum Required RPMs for OEL 5.5 (All the 3 RAC Nodes):</span></span><br />
<br />
binutils-2.17.50.0.6<br />
compat-libstdc++-33-3.2.3<br />
elfutils-libelf-0.125<br />
elfutils-libelf-devel-0.125<br />
elfutils-libelf-devel-static-0.125<br />
gcc-4.1.2<br />
gcc-c++-4.1.2<br />
glibc-2.5-24<br />
glibc-common-2.5<br />
glibc-devel-2.5<br />
glibc-headers-2.5<br />
kernel-headers-2.6.18<br />
ksh-20060214<br />
libaio-0.3.106<br />
libaio-devel-0.3.106<br />
libgcc-4.1.2<br />
libgomp-4.1.2<br />
libstdc++-4.1.2<br />
libstdc++-devel-4.1.2<br />
make-3.81<br />
numactl-devel-0.9.8.i386<br />
sysstat-7.0.2<br />
unixODBC-2.2.11<br />
unixODBC-devel-2.2.11<br />
<br />
<span style="color: #002060;">Below command verifies whether the specified rpms are installed or not. Any missing rpms can be installed from the OEL Media Pack</span><br />
<br />
rpm -q binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel elfutils-libelf-devel-static \<br />
gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers kernel-headers ksh libaio libaio-devel \<br />
libgcc libgomp libstdc++ libstdc++-devel make numactl-devel sysstat unixODBC unixODBC-devel<br />
<br />
<br />
<span style="color: #002060;">I had to install below extra RPMs.</span><br />
<br />
numactl-develà<span style="color: #002060;"> Located on the 3rd CD of OEL 5.5 Media pack. </span><br />
oracleasmlibà<span style="color: #002060;">Available <span style="text-decoration: underline;">Network Configuration for RAC Nodes/NAS Server/DNS Host:</span></span><br />
<br />
<span style="color: #002060;">Public, VIPs and SCAN VIPs are resolved by DNS. The private IPs for Cluster Interconnects are resolved through <span style="font-style: italic;">/etc/hosts</span>. The hostname along with public/private and NAS network is configured at the time of OEL network installations. The final Network Configurations files are listed here.</span><br />
<br />
(a) <span style="text-decoration: underline;"><span style="color: #002060;">hostname</span></span><span style="text-decoration: underline;"><span style="color: #002060;">:</span></span><br />
<br />
<span style="color: #002060;">For Node node1:</span><br />
[root@node1 ~]# hostname node1.hingu.net<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;"> node1.hingu.net: /etc/sysconfig/network</span></span><br />
NETWORKING=yes<br />
NETWORKING_IPV6=yes<br />
HOSTNAME=node1.hingu.net<br />
<br />
<span style="color: #002060;">For Node node2:</span><br />
[root@node2 ~]# hostname node2.hingu.net<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;"> node2.hingu.net: /etc/sysconfig/network</span></span><br />
NETWORKING=yes<br />
NETWORKING_IPV6=yes<br />
HOSTNAME=node2.hingu.net<br />
<br />
<span style="color: #002060;">For Node node3:</span><br />
[root@node3 ~]# hostname node3.hingu.net<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;"> node3.hingu.net: /etc/sysconfig/network</span></span><br />
NETWORKING=yes<br />
NETWORKING_IPV6=yes<br />
HOSTNAME=node3.hingu.net<br />
<br />
<span style="color: #002060;">For Node nas-server:</span><br />
[root@nas-server ~]# hostname nas-server<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;"> nas-server: /etc/sysconfig/network</span></span><br />
NETWORKING=yes<br />
HOSTNAME=nas-server<br />
<br />
<span style="color: #002060;">For Node lab-dns:</span><br />
[root@lab-dns ~]# hostname lab-dns<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;"> lab-dns.hingu.net: /etc/sysconfig/network</span></span><br />
NETWORKING=yes<br />
NETWORKING_IPV6=yes<br />
HOSTNAME=nas-server<br />
<br />
(b) <span style="text-decoration: underline;"><span style="color: #002060;">Private Network for Cluster Interconnect:</span></span><br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node1.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth0</span></span><br />
# Linksys Gigabit Network Adapter<br />
DEVICE=eth0<br />
BOOTPROTO=static<br />
BROADCAST=192.168.0.255<br />
HWADDR=00:22:6B:BF:4E:60<br />
IPADDR=192.168.0.1<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.0.0<br />
ONBOOT=yes<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node2.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth0</span></span><br />
# Linksys Gigabit Network Adapter<br />
DEVICE=eth0<br />
BOOTPROTO=static<br />
BROADCAST=192.168.0.255<br />
HWADDR=00:22:6B:BF:4E:4B<br />
IPADDR=192.168.0.2<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.0.0<br />
ONBOOT=yes<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node3.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth0</span></span><br />
# Linksys Gigabit Network Adapter<br />
DEVICE=eth0<br />
BOOTPROTO=static<br />
BROADCAST=192.168.0.255<br />
HWADDR=00:22:6B:BF:4E:49<br />
IPADDR=192.168.0.3<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.0.0<br />
ONBOOT=yes<br />
<br />
&copy; <span style="text-decoration: underline;"><span style="color: #002060;">Public Network:</span></span><br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node1.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth2</span></span><br />
# Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express<br />
DEVICE=eth2<br />
BOOTPROTO=static<br />
BROADCAST=192.168.2.255<br />
HWADDR=00:18:8B:04:6A:62<br />
IPADDR=192.168.2.1<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.2.0<br />
ONBOOT=yes<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node2.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth2</span></span><br />
# Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express<br />
DEVICE=eth2<br />
BOOTPROTO=static<br />
BROADCAST=192.168.2.255<br />
HWADDR=00:18:8B:24:F8:58<br />
IPADDR=192.168.2.2<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.2.0<br />
ONBOOT=yes<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node3.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth2</span></span><br />
# Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express<br />
DEVICE=eth2<br />
BOOTPROTO=static<br />
BROADCAST=192.168.2.255<br />
HWADDR=00:19:B9:0C:E6:EF<br />
IPADDR=192.168.2.3<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.2.0<br />
ONBOOT=yes<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">lab-dns.hingu.net</span></span><span style="font-style: italic;"><span style="color: #002060;">: /etc/sysconfig/network-scripts/ifcfg-eth0</span></span><br />
# Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express<br />
DEVICE=eth0<br />
BOOTPROTO=static<br />
BROADCAST=192.168.2.255<br />
HWADDR=00:13:72:A1:E9:1B<br />
IPADDR=192.168.2.200<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.2.0<br />
ONBOOT=yes<br />
<br />
(d) <span style="text-decoration: underline;"><span style="color: #002060;">Private Network for Shared Storage:</span></span><br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node1.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth1</span></span><br />
# Linksys Gigabit Network Adapter<br />
DEVICE=eth1<br />
BOOTPROTO=static<br />
BROADCAST=192.168.1.255<br />
HWADDR=00:22:6B:BF:4E:60<br />
IPADDR=192.168.1.1<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.1.0<br />
ONBOOT=yes<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node2.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth1</span></span><br />
# Linksys Gigabit Network Adapter<br />
DEVICE=eth1<br />
BOOTPROTO=static<br />
BROADCAST=192.168.1.255<br />
HWADDR=00:22:6B:BF:45:13<br />
IPADDR=192.168.1.2<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.1.0<br />
ONBOOT=yes<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node3.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth1</span></span><br />
# Linksys Gigabit Network Adapter<br />
DEVICE=eth1<br />
BOOTPROTO=static<br />
BROADCAST=192.168.1.255<br />
HWADDR=00:22:6B:BF:4E:48<br />
IPADDR=192.168.1.3<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.1.0<br />
ONBOOT=yes<br />
<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">nas-server.hingu.net</span></span><span style="font-style: italic;"><span style="color: #002060;">: /etc/sysconfig/network-scripts/ifcfg-eth1</span></span><br />
DEVICE=eth1<br />
BOOTPROTO=static<br />
BROADCAST=192.168.1.255<br />
HWADDR=00:22:6B:BF:43D6<br />
IPADDR=192.168.1.101<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.1.0<br />
ONBOOT=yes<br />
TYPE=Ethernet<br />
<br />
(e) <span style="text-decoration: underline;">/etc/hosts<span style="color: #002060;"> files:</span></span><br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node1.hingu.net: /etc/hosts</span></span><br />
# # Do not remove the following line, or various programs<br />
# that require network functionality will fail.<br />
127.0.0.1 node1.hingu.net node1 localhost.localdomain localhost<br />
::1 localhost6.localdomain6 localhost6<br />
<br />
<br />
##=======================================<br />
# Private Network for Cluster Interconnect<br />
##=======================================<br />
<br />
192.168.0.1 node1-prv<br />
192.168.0.2 node2-prv<br />
192.168.0.3 node3-prv<br />
<br />
##=======================================<br />
##=======================================<br />
<br />
<span style="font-style: italic;">node2.hingu.net: /etc/hosts</span><br />
# # Do not remove the following line, or various programs<br />
# that require network functionality will fail.<br />
127.0.0.1 node2.hingu.net node2 localhost.localdomain localhost<br />
::1 localhost6.localdomain6 localhost6<br />
<br />
<br />
##=======================================<br />
# Private Network for Cluster Interconnect<br />
##=======================================<br />
<br />
192.168.0.1 node1-prv<br />
192.168.0.2 node2-prv<br />
192.168.0.3 node3-prv<br />
<br />
##=======================================<br />
##=======================================<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node3.hingu.net: /etc/hosts</span></span><br />
# # Do not remove the following line, or various programs<br />
# that require network functionality will fail.<br />
127.0.0.1 node3.hingu.net node3 localhost.localdomain localhost<br />
::1 localhost6.localdomain6 localhost6<br />
<br />
<br />
##=======================================<br />
# Private Network for Cluster Interconnect<br />
##=======================================<br />
<br />
192.168.0.1 node1-prv<br />
192.168.0.2 node2-prv<br />
192.168.0.3 node3-prv<br />
<br />
##=======================================<br />
##=======================================<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">lab-dns.hingu.net</span></span><span style="font-style: italic;"><span style="color: #002060;">: /etc/hosts</span></span><br />
## Do not remove the following line, or various programs<br />
# that require network functionality will fail.<br />
127.0.0.1 lab-dns.hingu.net lab-dns localhost.localdomain localhost<br />
::1 localhost6.localdomain6 localhost6<br />
<br />
<span style="text-decoration: underline;">Configure DNS server for SCAN VIPs, Node VIPs and Node IPs:</span><br />
<br />
<span style="color: #002060;">DNS Server: lab-dns.hingu.net</span><br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">RPMs required in setting up DNS server:</span></span><br />
<br />
ypbind-1.19-12.el5<br />
bind-utils-9.3.6-4.P1.el5_4.2<br />
bind-9.3.6-4.P1.el5_4.2<br />
system-config-bind-4.0.3-4.0.1.el5<br />
bind-libs-9.3.6-4.P1.el5_4.2<br />
bind-chroot-9.3.6-4.P1.el5_4.2<br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">Configurations files modified/created to set up DNS:</span></span><br />
<br />
<span style="text-decoration: underline;">lab-dbs.hingu.net</span><br />
<br />
/var/named/chroot/etc/named.conf (modified)<br />
/var/named/chroot/var/named/hingu.net.zone (created)<br />
/var/named/chroot/var/named/2.168.192.in-addr.arpa.zone (created)<br />
/var/named/chroot/var/named/1.168.192.in-addr.arpa.zone (created)<br />
<br />
<span style="text-decoration: underline;">On node1, node2 and node3</span><br />
<br />
/etc/resolv.conf (modified)<br />
<br />
<span style="text-decoration: underline;">/var/named/chroot/etc/named.conf</span><br />
<br />
// Enterprise Linux BIND Configuration Tool<br />
// <br />
// Default initial "Caching Only" name server configuration<br />
//<br />
<br />
options {<br />
directory "/var/named";<br />
dump-file "/var/named/data/cache_dump.db";<br />
statistics-file "/var/named/data/named_stats.txt";<br />
};<br />
<br />
<br />
// Zone for this RAC configuration is hingu.net<br />
<br />
zone "hingu.net" in {<br />
type master;<br />
file "hingu.net.zone";<br />
allow-update { none; };<br />
};<br />
<br />
// For reverse lookups<br />
<br />
zone "2.168.192.in-addr.arpa" in {<br />
type master;<br />
file "2.168.192.in-addr.arpa.zone";<br />
allow-update { none; };<br />
};<br />
<br />
zone "1.168.192.in-addr.arpa" in {<br />
type master;<br />
file "1.168.192.in-addr.arpa.zone";<br />
allow-update { none; };<br />
};<br />
<br />
include "/etc/rndc.key";<br />
<br />
<span style="text-decoration: underline;">/var/named/chroot/var/named/hingu.net.zone</span><br />
<br />
&#36;TTL 1d<br />
hingu.net. IN SOA lab-dns.hingu.net. root.hingu.net. (<br />
100 ; se = serial number<br />
8h ; ref = refresh<br />
5m ; ret = update retry<br />
3w ; ex = expiry<br />
3h ; min = minimum<br />
)<br />
<br />
IN NS lab-dns.hingu.net.<br />
<br />
; DNS server<br />
<br />
lab-dns IN A 192.168.2.200<br />
<br />
; RAC Nodes Public name<br />
<br />
node1 IN A 192.168.2.1<br />
node2 IN A 192.168.2.2<br />
node3 IN A 192.168.2.3<br />
<br />
; RAC Nodes Public VIPs<br />
<br />
node1-vip IN A 192.168.2.51<br />
node2-vip IN A 192.168.2.52<br />
node3-vip IN A 192.168.2.53<br />
<br />
; 3 SCAN VIPs<br />
<br />
lab-scan IN A 192.168.2.151<br />
lab-scan IN A 192.168.2.152<br />
lab-scan IN A 192.168.2.153<br />
<br />
; Storage Network <br />
<br />
nas-server IN A 192.168.1.101<br />
node1-nas IN A 192.168.1.1<br />
node2-nas IN A 192.168.1.2<br />
node3-nas IN A 192.168.1.3<br />
<br />
<br />
<span style="text-decoration: underline;">/var/named/chroot/var/named/2.168.192.in-addr.arpa.zone</span><br />
<br />
&#36;TTL 1d<br />
@ IN SOA lab-dns.hingu.net. root.hingu.net. (<br />
100 ; se = serial number<br />
8h ; ref = refresh<br />
5m ; ret = update retry<br />
3w ; ex = expiry<br />
3h ; min = minimum<br />
)<br />
<br />
IN NS lab-dns.hingu.net.<br />
<br />
; DNS machine name in reverse<br />
200 IN PTRlab-dns.hingu.net.<br />
<br />
; RAC Nodes Public Name in Reverse<br />
<br />
1 IN PTRnode1.hingu.net.<br />
2 IN PTRnode2.hingu.net.<br />
3 IN PTRnode3.hingu.net.<br />
<br />
; RAC Nodes Public VIPs in Reverse<br />
<br />
51 IN PTR node1-vip.hingu.net.<br />
52 IN PTR node2-vip.hingu.net.<br />
53 IN PTR node3-vip.hingu.net.<br />
<br />
; RAC Nodes SCAN VIPs in Reverse<br />
<br />
151 IN PTR lab-scan.hingu.net.<br />
152 IN PTR lab-scan.hingu.net.<br />
153 IN PTR lab-scan.hingu.net.<br />
<br />
<span style="text-decoration: underline;">/var/named/chroot/var/named/1.168.192.in-addr.arpa.zone</span><br />
<br />
&#36;TTL 1d<br />
@ IN SOA lab-dns.hingu.net. root.hingu.net. (<br />
100 ; se = serial number<br />
8h ; ref = refresh<br />
5m ; ret = update retry<br />
3w ; ex = expiry<br />
3h ; min = minimum<br />
)<br />
<br />
IN NS lab-dns.hingu.net.<br />
<br />
; Storage Network Reverse Lookup<br />
<br />
101 IN PTR nas-server.hingu.net.<br />
1 IN PTR node1-nas.hingu.net.<br />
2 IN PTR node2-nas.hingu.net.<br />
3 IN PTR node3-nas.hingu.net.<br />
<br />
<span style="text-decoration: underline;">/etc/resolv.conf (on RAC nodes):</span><br />
<br />
search hingu.net<br />
nameserver 192.168.2.200<br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">Start the DNS Service (named):</span></span><br />
<br />
service named start<br />
chkconfig --level 35 named on<br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">Verify the DNS Setup:</span></span><br />
<br />
<img src="http://www.oracledba.org/11gR2/Pre_Install_11gR2_files/image004.jpg" border="0" alt="[Image: image004.jpg]" /><br />
<span style="color: #002060;">NOTE: nslookup for lab-scan should return names in random order every time.</span><br />
<br />
<span style="text-decoration: underline;">Enable Name Service Cache Daemon </span><span style="text-decoration: underline;">nscd</span><span style="text-decoration: underline;">: (On all the RAC Nodes)</span><br />
<br />
chkconfig --level 35 nscd on<br />
service ncsd start<br />
<br />
<span style="text-decoration: underline;">Creating Oracle Users/Groups/Permissions and Installation Paths: (On all the RAC Nodes):</span><br />
<br />
userdel oracle<br />
groupdel oinstall<br />
groupdel dba<br />
groupadd -g 1000 oinstall<br />
groupadd -g 1020 asmadmin<br />
groupadd -g 1021 asmdba<br />
groupadd -g 1031 dba<br />
useradd -u 1100 -g oinstall -G asmadmin,asmdba grid<br />
useradd -u 1101 -g oinstall -G dba,asmdba oracle<br />
mkdir -p /u01/app/grid11201<br />
mkdir -p /u01/app/grid<br />
chown -R grid:oinstall /u01<br />
mkdir -p /u01/app/oracle<br />
chown oracle:oinstall /u01/app/oracle<br />
chmod -R 775 /u01<br />
passwd grid<br />
passwd oracle<br />
<br />
<span style="text-decoration: underline;">Install </span><span style="text-decoration: underline;">cvuqdisk</span><span style="text-decoration: underline;"> Package: (On all the RAC Nodes):</span><br />
<br />
<span style="color: #002060;">This package is located in the rpm directory on Grid Infrastructure Media and needs to be installed after the group </span>oinstall<span style="color: #002060;"> is created. In my case, as this was a fresh install of 11g R2 on new hardware, old versions of cvuqdisk was not present. If it is, then the older version needs to be removed first.</span><br />
<br />
export CVUQDISK_GRP=oinstall<br />
echo &#36;CVUQDISK<br />
rpm –ivh cvuqdisk-1.0.7-1.rpm<br />
<br />
[root@node1 rpm]# pwd<br />
/home/grid/11gR2_for_OEL5/grid11201/grid/rpm<br />
[root@node1 rpm]# export CVUQDISK_GRP=oinstall<br />
[root@node1 rpm]# echo &#36;CVUQDISK_GRP <br />
oinstall<br />
[root@node1 rpm]# rpm -ivh cvuqdisk-1.0.7-1.rpm <br />
Preparing... ########################################### [100%]<br />
1:cvuqdisk ########################################### [100%]<br />
[root@node1 rpm]# rpm -qa | grep cvuqdisk<br />
cvuqdisk-1.0.7-1<br />
[root@node1 rpm]#<br />
<br />
<span style="text-decoration: underline;">Network Time Protocol Setting (On all the RAC Nodes):</span><br />
<br />
<span style="color: #002060;">In this installation, Oracle Time Synchronization Service is used over the Linux system provided </span>ntpd<span style="color: #002060;">. So, it needs to deactivated and deinstalled to avoid any possibility of it being conflicted with the Oracle’s Cluster Time Sync Service (</span>ctss<span style="color: #002060;">).</span><br />
<br />
# /sbin/service ntpd stop<br />
# chkconfig ntpd off<br />
# mv /etc/ntp.conf /etc/ntp.conf.org<br />
<br />
Also remove the following file:<br />
<br />
/var/run/ntpd.pid<br />
<br />
<span style="text-decoration: underline;">Configure Grid Infrastructure as well as Oracle RAC Owner’s User Environment (</span><span style="text-decoration: underline;">grid</span><span style="text-decoration: underline;"> and </span><span style="text-decoration: underline;">oracle</span><span style="text-decoration: underline;">):</span><br />
<br />
(a) <span style="color: #002060;">Set the umask to 022 by putting below line into these users’ (grid and oracle) .bash_profile files:</span><br />
<br />
umask 022<br />
<br />
<span style="color: #002060;">Then, executed the .</span><span style="font-style: italic;">bash_profile </span><span style="color: #002060;">and verified that the correct value of umask is displayed.</span><br />
<br />
[grid@node1 ~]&#36; . .bash_profile<br />
[grid@node1 ~]&#36; umask<br />
<br />
(b) <span style="color: #002060;">Setting up X11 forwarding:</span><br />
<br />
<span style="color: #002060;">Created the file </span>~/.ssh/config <span style="color: #002060;">to disable the X11Forwadding by placing below line in it.</span><br />
<br />
Host *<br />
ForwardX11 no<br />
<br />
&copy; <span style="color: #002060;">Suppressed the Terminal output on STDOUT and STDERR to prevent Installation errors:</span><br />
<span style="color: #002060;">Modified the file </span>~/.bashrc (<span style="color: #002060;">or</span> .cshrc f<span style="color: #002060;">or C shell</span>) <span style="color: #002060;">with below entry.</span><br />
<br />
<span style="color: #002060;">Bourne, Bash, or Korn shell:</span><br />
<br />
if [ -t 0 ]; then<br />
stty intr ^C<br />
fi<br />
<br />
<span style="color: #002060;">C shell:</span><br />
<br />
test -t 0<br />
if (&#36;status == 0) then<br />
stty intr ^C<br />
endif<br />
<br />
(d) <span style="color: #002060;">Increased the Shell Limits:</span><br />
<span style="color: #002060;">Recommended:</span><br />
<br />
Resource<br />
Soft Limit<br />
Hard Limit<br />
<span style="color: #002060;">Processes</span><br />
<span style="color: #002060;">2047</span><br />
<span style="color: #002060;">16384</span><br />
<span style="color: #002060;">Open File Descriptors</span><br />
<span style="color: #002060;">1024</span><br />
<span style="color: #002060;">65536</span><br />
<span style="color: #002060;">Stack</span><br />
<span style="color: #002060;">10240 </span><br />
<span style="color: #002060;">10240 - 32768 </span><br />
<br />
<br />
<span style="color: #002060;">Set:</span><br />
<br />
Resource<br />
Soft Limit<br />
Hard Limit<br />
<span style="color: #002060;">Processes</span><br />
<span style="color: #002060;">131072</span><br />
<span style="color: #002060;">131072</span><br />
<span style="color: #002060;">Open File Descriptors</span><br />
<span style="color: #002060;">131072</span><br />
<span style="color: #002060;">131072</span><br />
<span style="color: #002060;">Stack</span><br />
<span style="color: #002060;">32768 </span><br />
<span style="color: #002060;">32768 </span><br />
<br />
<br />
<span style="color: #002060;">Added the following lines to the </span>/etc/security/limits.conf<span style="color: #002060;"> file:</span><br />
<br />
oracle soft nofile 131072<br />
oracle hard nofile 131072<br />
oracle soft nproc 131072<br />
oracle hard nproc 131072<br />
oracle soft core unlimited<br />
oracle hard core unlimited<br />
oracle soft memlock 3500000<br />
oracle hard memlock 3500000<br />
# Recommended stack hard limit 32MB for oracle installations<br />
# oracle hard stack 32768<br />
<br />
grid soft nofile 131072<br />
grid hard nofile 131072<br />
grid soft nproc 131072<br />
grid hard nproc 131072<br />
grid soft core unlimited<br />
grid hard core unlimited<br />
grid soft memlock 3500000<br />
grid hard memlock 3500000<br />
# Recommended stack hard limit 32MB for grid installations<br />
# grid hard stack 32768<br />
<br />
<span style="color: #002060;">Added the following line in the </span>/etc/pam.d/login<span style="color: #002060;"> file, if it does not already exist:</span><br />
<br />
session required /lib/security/pam_limits.so<br />
<br />
<span style="color: #002060;">For the Bourne, Bash, or Korn shell, add the following lines to the </span>/etc/profile<span style="color: #002060;">:</span><br />
<br />
if [ &#36;USER = "oracle" ]; then<br />
if [ &#36;SHELL = "/bin/ksh" ]; then<br />
ulimit -p 131072<br />
ulimit -n 131072<br />
else<br />
ulimit -u 131072 -n 131072<br />
fi<br />
fi <br />
<br />
if [ &#36;USER = "grid" ]; then<br />
if [ &#36;SHELL = "/bin/ksh" ]; then<br />
ulimit -p 131072<br />
ulimit -n 131072<br />
else<br />
ulimit -u 131072 -n 131072<br />
fi<br />
fi <br />
<br />
<br />
<span style="color: #002060;">For the C shell (csh or tcsh), add the following lines to the /etc/csh.login.</span><br />
<br />
if ( &#36;USER == "oracle" ) then<br />
limit maxproc 131072<br />
limit descriptors 131072<br />
endif <br />
<br />
if ( &#36;USER == "grid" ) then<br />
limit maxproc 131072<br />
limit descriptors 131072<br />
endif <br />
<br />
<br />
(e) <span style="color: #002060;">Set the below Kernel Parameters with recommended range in </span>/etc/sysctl.conf<br />
<span style="color: #002060;">This was already set with the installation of oracle-validated package.</span><br />
<br />
<span style="text-decoration: underline;">/etc/sysctl.conf</span><br />
<br />
# Kernel sysctl configuration file for Oracle Enterprise Linux<br />
#<br />
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and<br />
# sysctl.conf(5) for more details.<br />
<br />
# Controls IP packet forwarding<br />
net.ipv4.ip_forward = 0<br />
<br />
# Controls source route verification<br />
net.ipv4.conf.default.rp_filter = 1<br />
<br />
# Do not accept source routing<br />
net.ipv4.conf.default.accept_source_route = 0<br />
<br />
# Controls the System Request debugging functionality of the kernel<br />
kernel.sysrq = 1<br />
<br />
# Controls whether core dumps will append the PID to the core filename<br />
# Useful for debugging multi-threaded applications<br />
kernel.core_uses_pid = 1<br />
<br />
# Controls the use of TCP syncookies<br />
net.ipv4.tcp_syncookies = 1<br />
<br />
# Controls the maximum size of a message, in bytes<br />
kernel.msgmnb = 65536<br />
<br />
# Controls the default maxmimum size of a mesage queue<br />
kernel.msgmax = 8192<br />
<br />
# Controls the maximum shared segment size, in bytes<br />
kernel.shmmax = 4294967295<br />
<br />
# Controls the maximum number of shared memory segments, in pages<br />
kernel.shmall = 1073741824<br />
# For 11g, recommended value for file-max is 6815744<br />
fs.file-max = 6815744<br />
# For 10g, uncomment 'fs.file-max 327679', comment other entries for this parameter and re-run sysctl -p<br />
# fs.file-max:327679<br />
kernel.msgmni = 2878<br />
kernel.sem = 250 32000 100 142<br />
kernel.shmmni = 4096<br />
net.core.rmem_default = 262144<br />
# For 11g, recommended value for net.core.rmem_max is 4194304<br />
net.core.rmem_max = 4194304<br />
# For 10g, uncomment 'net.core.rmem_max 2097152', comment other entries for this parameter and re-run sysctl -p<br />
# net.core.rmem_max=2097152<br />
net.core.wmem_default = 262144<br />
# For 11g, recommended value for wmem_max is 1048576<br />
net.core.wmem_max = 1048576<br />
# For 10g, uncomment 'net.core.wmem_max 262144', comment other entries for this parameter and re-run sysctl -p<br />
# net.core.wmem_max:262144<br />
fs.aio-max-nr = 3145728<br />
# For 11g, recommended value for ip_local_port_range is 9000 65500<br />
net.ipv4.ip_local_port_range = 9000 65500<br />
# For 10g, uncomment 'net.ipv4.ip_local_port_range 1024 65000', comment other entries for this parameter and re-run sysctl -p<br />
# net.ipv4.ip_local_port_range:1024 65000<br />
# Added min_free_kbytes 50MB to avoid OOM killer on EL4/EL5<br />
vm.min_free_kbytes = 51200<br />
<br />
(f) <span style="color: #002060;">Repeated this process for all the remaining nodes in the cluster.</span><br />
<br />
<span style="text-decoration: underline;">SSH user Equivalency configuration (</span><span style="text-decoration: underline;">grid</span><span style="text-decoration: underline;"> and </span><span style="text-decoration: underline;">oracle</span><span style="text-decoration: underline;">):</span><br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">On All the Cluster Nodes:</span></span><br />
<br />
su - oracle <br />
mkdir ~/.ssh<br />
chmod 700 ~/.ssh<br />
<br />
<span style="color: #002060;">Generate the RSA and DSA keys:</span><br />
<br />
/usr/bin/ssh-keygen -t rsa<br />
/usr/bin/ssh-keygen -t dsa<br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">On node1:</span></span><br />
<br />
touch ~/.ssh/authorized_keys<br />
cd ~/.ssh<br />
<br />
(a) <span style="color: #002060;">Add these Keys to the Authorized_keys file.</span><br />
<br />
cat id_rsa.pub >> authorized_keys<br />
cat id_dsa.pub >> authorized_keys<br />
<br />
(b) <span style="color: #002060;">Send this file to node2.</span><br />
<br />
scp authorized_keys node2:.ssh/<br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">On node2:</span></span><br />
<br />
(a) <span style="color: #002060;">Add these Keys to the Authorized_keys file.</span><br />
<br />
cd ~/.ssh<br />
cat id_rsa.pub >> authorized_keys<br />
cat id_dsa.pub >> authorized_keys<br />
<br />
(b) <span style="color: #002060;">Send this file to node3.</span><br />
<br />
scp authorized_keys node3:.ssh/<br />
<span style="text-decoration: underline;"><span style="color: #002060;">On node3:</span></span><br />
<br />
(a) <span style="color: #002060;">Add these Keys to the Authorized_keys file.</span><br />
<br />
cd ~/.ssh<br />
cat id_rsa.pub >> authorized_keys<br />
cat id_dsa.pub >> authorized_keys<br />
<br />
(b) <span style="color: #002060;">Send this file to node1 and node2.</span><br />
<br />
scp authorized_keys node1:.ssh/<br />
scp authorized_keys node2:.ssh/<br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">On All the Nodes:</span></span><br />
<br />
chmod 600 ~/.ssh/authorized_keys<br />
<br />
ssh node1 date<br />
ssh node2 date<br />
ssh node3 date<br />
ssh node1.hingu.net date<br />
ssh node2.hingu.net date<br />
ssh node3.hingu.net date<br />
ssh node1-prv date<br />
ssh node2-prv date<br />
ssh node3-prv date<br />
<br />
<span style="color: #002060;">Entered 'yes' and continued when prompted</span><br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">Repeat the Above process for user </span></span><span style="text-decoration: underline;">grid<span style="color: #002060;">:</span></span><br />
<br />
<span style="text-decoration: underline;">Configure the Shared Storage for 11g R2 Grid Infrastructure and RAC Database:</span><br />
<br />
<span style="color: #002060;">Volume Group: <span style="font-style: italic;">grid</span></span><br />
<span style="color: #002060;">Physical Volume: <span style="font-style: italic;">/dev/sda5</span> (1st extended partition on the last physical partition of local disk /dev/sda nas-server)</span><br />
<span style="color: #002060;">Logical Volumes: <span style="font-style: italic;">asmdisk01, asmdisk02, asmdisk03</span></span><br />
<br />
a) <span style="color: #002060;">Connect to the nas-server using: <span style="font-style: italic;"><span style="text-decoration: underline;">Configure the iSCSI disk Devises for Oracle ASM with ASMLib:</span></span></span><br />
<span style="font-style: italic;"> <br />
(a) <span style="color: #002060;">Partition the Disk Devises (only from one node): Format these disks to contain a single primary partition to represent it at the time of creating ASM disk using oracleasm.</span><br />
<br />
[root@node1 ~]# fdisk /dev/sdb<br />
<br />
The number of cylinders for this disk is set to 24992.<br />
There is nothing wrong with that, but this is larger than 1024,<br />
and could in certain setups cause problems with:<br />
1) software that runs at boot time (e.g., old versions of LILO)<br />
2) booting and partitioning software from other OSs<br />
(e.g., DOS FDISK, OS/2 FDISK)<br />
<br />
Command (m for help): n<br />
Command action<br />
e extended<br />
p primary partition (1-4)<br />
p<br />
Partition number (1-4): 1<br />
First cylinder (1-24992, default 1): <br />
Using default value 1<br />
Last cylinder or +size or +sizeM or +sizeK (1-24992, default 24992): <br />
Using default value 24992<br />
<br />
Command (m for help): p<br />
<br />
Disk /dev/sdb: 26.2 GB, 26206011392 bytes<br />
64 heads, 32 sectors/track, 24992 cylinders<br />
Units = cylinders of 2048 * 512 = 1048576 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/sdb1 1 24992 25591792 83 Linux<br />
<br />
Command (m for help): w<br />
The partition table has been altered!<br />
<br />
Calling ioctl() to re-read partition table.<br />
Syncing disks.<br />
[root@node1 ~]# fdisk /dev/sdc<br />
<br />
The number of cylinders for this disk is set to 25024.<br />
There is nothing wrong with that, but this is larger than 1024,<br />
and could in certain setups cause problems with:<br />
1) software that runs at boot time (e.g., old versions of LILO)<br />
2) booting and partitioning software from other OSs<br />
(e.g., DOS FDISK, OS/2 FDISK)<br />
<br />
Command (m for help): n<br />
Command action<br />
e extended<br />
p primary partition (1-4)<br />
p<br />
Partition number (1-4): 1<br />
First cylinder (1-25024, default 1): <br />
Using default value 1<br />
Last cylinder or +size or +sizeM or +sizeK (1-25024, default 25024): <br />
Using default value 25024<br />
<br />
Command (m for help): p<br />
<br />
Disk /dev/sdc: 26.2 GB, 26239565824 bytes<br />
64 heads, 32 sectors/track, 25024 cylinders<br />
Units = cylinders of 2048 * 512 = 1048576 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/sdc1 1 25024 25624560 83 Linux<br />
<br />
Command (m for help): w<br />
The partition table has been altered!<br />
<br />
Calling ioctl() to re-read partition table.<br />
Syncing disks.<br />
[root@node1 ~]# fdisk /dev/sdd<br />
<br />
The number of cylinders for this disk is set to 25248.<br />
There is nothing wrong with that, but this is larger than 1024,<br />
and could in certain setups cause problems with:<br />
1) software that runs at boot time (e.g., old versions of LILO)<br />
2) booting and partitioning software from other OSs<br />
(e.g., DOS FDISK, OS/2 FDISK)<br />
<br />
Command (m for help): n<br />
Command action<br />
e extended<br />
p primary partition (1-4)<br />
p<br />
Partition number (1-4): 1<br />
First cylinder (1-25248, default 1): <br />
Using default value 1<br />
Last cylinder or +size or +sizeM or +sizeK (1-25248, default 25248): <br />
Using default value 25248<br />
<br />
Command (m for help): p<br />
<br />
Disk /dev/sdd: 26.4 GB, 26474446848 bytes<br />
64 heads, 32 sectors/track, 25248 cylinders<br />
Units = cylinders of 2048 * 512 = 1048576 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/sdd1 1 25248 25853936 83 Linux<br />
<br />
Command (m for help): w<br />
The partition table has been altered!<br />
<br />
Calling ioctl() to re-read partition table.<br />
Syncing disks.<br />
[root@node1 ~]#<br />
<br />
<img src="http://www.oracledba.org/11gR2/Pre_Install_11gR2_files/image018.jpg" border="0" alt="[Image: image018.jpg]" /><br />
<br />
(b) <span style="color: #002060;">Refreshed the kernel on the remaining nodes with the latest partition table using </span>partprobe<span style="color: #002060;">.</span><br />
<br />
[root@node1 ~]# partprobe<br />
<br />
&copy; <span style="color: #002060;">Verified that the below RPMs are installed before configuring the ASM driver.</span><br />
<br />
oracleasm-2.6.18-194.el5-2.0.5-1.el5<br />
oracleasm-support-2.1.3-1.el5<br />
oracleasm-2.6.18-194.el5xen-2.0.5-1.el5<br />
oracleasm-2.6.18-194.el5PAE-2.0.5-1.el5<br />
oracleasm-2.6.18-194.el5debug-2.0.5-1.el5<br />
oracleasmlib-2.0.4-1.el5<br />
<br />
(d) <span style="color: #002060;">Configured the ASMLib (All the RAC nodes):</span><br />
<br />
[root@node1 ~]# oracleasm configure –i<br />
<br />
</span>(e) <span style="color: #002060;">Loaded the ASMLib Module (All the RAC nodes):</span><br />
<br />
[root@node1 ~]# oracleasm init<br />
<br />
(f) <span style="color: #002060;">Created the ASM disks using oracleasm: (ONLY from one of the RAC nodes)</span><br />
<br />
oracleasm createdisk DSK01 /dev/sdb1<br />
oracleasm createdisk DSK02 /dev/sdc1<br />
oracleasm createdisk DSK03 /dev/sdd1<br />
oracleasm scandisks<br />
oracleasm listdisks<br />
<br />
<br />
(g) <span style="color: #002060;">On the Remaining RAC nodes, simply scanned the ASM disks to instantiate these newly created disks</span><br />
<br />
oracleasm scandisks<br />
oracleasm listdisks<br />
<br />
(h) <span style="color: #002060;">Verified that these ASM disk can be discovered by ASM Libraries (oracleasmlib) on all the RAC Nodes during Installation of Grid Infrastructure.</span><br />
<br />
/usr/sbin/oracleasm-discover 'ORCL:*'<br />
<br />
[grid@node1 ~]&#36; /usr/sbin/oracleasm-discover 'ORCL:*'<br />
Using ASMLib from /opt/oracle/extapi/32/asm/orcl/1/libasm.so<br />
[ASM Library - Generic Linux, version 2.0.4 (KABI_V2)]<br />
Discovered disk: ORCL:DSK01 [51183584 blocks (26205995008 bytes), maxio 512]<br />
Discovered disk: ORCL:DSK02 [51249120 blocks (26239549440 bytes), maxio 512]<br />
Discovered disk: ORCL:DSK03 [51707872 blocks (26474430464 bytes), maxio 512]<br />
[grid@node1 ~]&#36;<br />
<br />
With this, the pre-Installation steps are completed successfully and are ready to install 11g R2 Grid Infrastructure software<br />
<br />
<br />
<br />
<span style="color: #002060;">Get ready with the RAC Architecture Diagram and RAC Setup Information about Cluster Name, SCAN Name, SCAN VIPs, Node Names, VIPs, and Inventory Location. </span><br />
<br />
<span style="text-decoration: underline;">3-Node RAC Architecture: </span><br />
<br />
Machine<br />
Public Name<br />
Private Name<br />
VIP Name<br />
<span style="color: #002060;">RAC Node1</span><br />
node1.hingu.net<br />
node1-prv<br />
node1-vip.hingu.net<br />
<span style="color: #002060;">RAC Node2</span><br />
node2.hingu.net<br />
node2-prv<br />
node2-vip.hingu.net<br />
<span style="color: #002060;">RAC Node3</span><br />
node3.hingu.net<br />
node3-prv<br />
node3-vip.hingu.net<br />
<br />
<br />
SCAN: lab-scan.hingu.net<br />
Cluster Name: lab<br />
Public Network: 192.168.2.0/eth2<br />
Private network: 192.168.0.0/eth0<br />
<br />
<br />
<br />
<span style="color: #002060;">Grid Infrastructure Software (Clusterware + ASM 11.2.0.1):</span><br />
<span style="color: #002060;">Server: All the RAC Nodes</span><br />
<span style="color: #002060;">ORACLE_BASE: /u01/app/grid</span><br />
<span style="color: #002060;">ORACLE_HOME: /u01/app/grid11201</span><br />
<span style="color: #002060;">Owner: grid (Primary Group: oinstall, Secondary Group: asmadmin, asmdba)</span><br />
<span style="color: #002060;">Permissions: 755</span><br />
<span style="color: #002060;">OCR/Voting Disk Storage Type: ASM</span><br />
<span style="color: #002060;">Oracle Inventory Location: /u01/app/oraInventory</span><br />
<br />
<span style="text-decoration: underline;">Start the </span><span style="text-decoration: underline;">runInstaller</span><span style="text-decoration: underline;"> from Grid Infrastructure Software Location:</span><br />
<br />
[grid@node1 grid]&#36; /home/grid/11gR2_for_OEL5/grid11201/grid/runInstaller<br />
<br />
<span style="text-decoration: underline;">Grid Infrastructure installation process:</span><br />
<br />
Installation Option:<br />
Install and Configure Grid Infrastructure for a Cluster<br />
Installation Type:<br />
Advanced Installation<br />
Product Language:<br />
English<br />
Grid Plug and Play:<br />
Cluster Name: lab<br />
SCAN Name: lab-scan.hingu.net<br />
SCAN Port: 1521<br />
Configure GNS: Unchecked<br />
Cluster Node Information:<br />
Entered the Hostname and VIP names of the Cluster Nodes.<br />
Checked the SSH connectivity<br />
Network Interface Usage:<br />
OUI picked up all the interfaces correctly. I did not have to make any changes here.<br />
Storage Option:<br />
Automatic Storage Management (ASM)<br />
Create ASM Disk Group:<br />
Disk Group Name: GIS_FILES<br />
Redundancy: External<br />
Candidate Disk: ORCL:DSK01<br />
ASM Password:<br />
Use Same Password for these accounts. (Ignored password warnings.)<br />
Failure Isolation:<br />
Do not use Intelligent Platform Management Interface (IPMI)<br />
Operating System Groups:<br />
ASM Database Administrator (OSDBA) Group: asmdba<br />
ASM Instance Administrator Operator (OSOPER) Group: oinstall<br />
ASM Instance Administrator (OSASM) Group: asmadmin<br />
Installation Location:<br />
Oracle Base: /u01/app/grid<br />
Software Location: /u01/app/grid11201<br />
Create Inventory:<br />
Inventory Directory: /u01/app/oraInventory<br />
Prerequisite Checks:<br />
Ignored the failures of NTP check to use Oracle’s CTSS. All the 3 nodes’ clock was set to same time before the installation.<br />
Summary Screen:<br />
Verified the information here and pressed “Finish” to start installation.<br />
<br />
At the End of the installation, the two scripts needs to be executed as root user. <br />
<br />
/u01/app/oraInventory/orainstRoot.sh<br />
/u01/app/grid11201/root.sh<br />
<br />
After the successful completion of these scripts, the 11g R2 High Availability Service (CRS, CSS and EVMD) should all be up and running. <br />
Verify the status of the installation using below set of commands.<br />
<br />
crsctl check cluster –all<br />
crs_stat –t –v<br />
crsctl check ctss<br />
<br />
The GSD and OC4J resources are by default disabled. Enable GSD them if 9i Database is managed by this cluster. <br />
<br />
srvctl enable nodeapps –g <br />
srvctl start nodeapps –n node1<br />
srvctl start nodeapps –n node2<br />
srvctl start nodeapps –n node3<br />
srvctl enable oc4j<br />
srvctl start oc4j<br />
<br />
<br />
<span style="text-decoration: underline;">Install 11g R2 RAC Software</span><br />
<br />
<span style="text-decoration: underline;">Start the </span><span style="text-decoration: underline;">runInstaller</span><span style="text-decoration: underline;"> from 11g R2 Real Application Cluster (RAC) Software Location:</span><br />
<br />
[oracle@node1 ~]&#36; /home/oracle/db11201/database/runInstaller<br />
<br />
<span style="text-decoration: underline;">Real Application Cluster installation process:</span><br />
Configure Security Updates:<br />
Email: <a href="http://www.oraerp.com/mailto:bhavin@oracledba.org" target="_blank">abdul.rehman@raqmiyat.com</a><br />
Ignore the “Connection Failed” alert.<br />
Installation Option:<br />
Install database software only<br />
Node Selection:<br />
Select All the Nodes (node1,node2 and node3)<br />
Product Language:<br />
English<br />
Database Edition:<br />
Enterprise Edition<br />
Installation Location:<br />
Oracle Base: /u01/app/oracle<br />
Software Location: /u01/app/oracle/db11201<br />
Operating System Groups:<br />
Database Administrator (OSDBA) Group: dba<br />
Database Operator (OSOPER) Group: oinstall<br />
Network Interface Usage:<br />
OUI picked up all the interfaces correctly. I did not have to make any changes here.<br />
Summary Screen:<br />
Verified the information here and pressed “Finish” to start installation.<br />
<br />
At the End of the installation, the two scripts needs to be executed on all the nodes as root user. <br />
<br />
/u01/app/oracle/db11201/root.sh<br />
<br />
<br />
<br />
<br />
<br />
Run the root.sh on all the RAC nodes.<br />
<br />
<img src="http://www.oracledba.org/11gR2/Install_11gR2_RAC_files/image013.jpg" border="0" alt="[Image: image013.jpg]" /><br />
<br />
At this point, the 11g R2 (11.2.0.1) Real Application cluster Installation is completed successfully. Now, it’s time to create new ASM disk groups and LISTENER for the new database.<br />
<span style="text-decoration: underline;">Add Listener:</span> <br />
Listener name: LAB_LISTENER<br />
END Point: TCP:1525<br />
<br />
Invoke the netca utility under &#36;ORACLE_HOME/bin to create a listener and provide the above information to the specific window. The screenshots of this process are as below.<br />
<br />
<br />
<br />
<span style="text-decoration: underline;">Create ASM Disk Groups:</span><br />
<br />
Disk Group Name: FRA, DATA<br />
ASM DISKs: DSK02, DSK03 respectively.<br />
Redundancy Level: External<br />
<br />
Connect as grid user and Invoke the asmca utility under &#36;GRID_HOME/bin to create these disk groups. The screenshots of this process are as below.<br />
<br />
<br />
<br />
<br />
<br />
<span style="text-decoration: underline;">Create 11g R2 RAC database using dbca:</span><br />
<br />
DB Name: labdb<br />
<br />
Connect as oracle user and invoke the dbca utility under &#36;ORACLE_HOME/bin to create a new database. After the successful creation of database, modify the LOCAL_LISTENER parameter to point to port 1525 for all the RAC nodes and test the connectivity to the database. The HOST and port value in the TNS ALIAS (connect string) should be set to lab-scan.hingu.net and 1521 respectively. This way, all client knows is the cluster host and port (lab-scan.hingu.net:1521). The DATABASE instances gets registered with the SCAN Listener (1521) running on virtual Host via REMOTE_LISTENER parameter and client connect request coming to SCAN listener gets redirected to the least loaded DATABASE instance based on the service name specified in connect string. So, the Database instance gets registered with the LOCAL_LISTENER (regular Database Listener) and REMOTE_LISTENER (scan).<br />
<br />
The screenshots of this process are as below.<br />
<br />
<br />
<img src="http://www.oracledba.org/11gR2/Install_11gR2_RAC_files/image041.jpg" border="0" alt="[Image: image041.jpg]" /><br />
<img src="http://www.oracledba.org/11gR2/Install_11gR2_RAC_files/image042.jpg" border="0" alt="[Image: image042.jpg]" /><br />
<br />
<img src="http://www.oracledba.org/11gR2/Install_11gR2_RAC_files/image043.jpg" border="0" alt="[Image: image043.jpg]" /><br />
<br />
[grid@node1 ~]&#36; lsnrctl status listener_scan1<br />
<br />
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 03-SEP-2011 22:30:53<br />
<br />
Copyright &copy; 1991, 2009, Oracle. All rights reserved.<br />
<br />
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))<br />
STATUS of the LISTENER<br />
------------------------<br />
Alias LISTENER_SCAN1<br />
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production<br />
Start Date 03-SEP-2011 22:23:08<br />
Uptime 0 days 0 hr. 7 min. 45 sec<br />
Trace Level off<br />
Security ON: Local OS Authentication<br />
SNMP OFF<br />
Listener Parameter File /u01/app/grid11201/network/admin/listener.ora<br />
Listener Log File /u01/app/grid11201/log/diag/tnslsnr/node1/listener_scan1/alert/log.xml<br />
Listening Endpoints Summary...<br />
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))<br />
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.152)(PORT=1521)))<br />
Services Summary...<br />
Service "labdb.hingu.net" has 3 instance(s).<br />
Instance "labdb1", status READY, has 1 handler(s) for this service...<br />
Instance "labdb2", status READY, has 1 handler(s) for this service...<br />
Instance "labdb3", status READY, has 1 handler(s) for this service...<br />
Service "labdbXDB.hingu.net" has 3 instance(s).<br />
Instance "labdb1", status READY, has 1 handler(s) for this service...<br />
Instance "labdb2", status READY, has 1 handler(s) for this service...<br />
Instance "labdb3", status READY, has 1 handler(s) for this service...<br />
The command completed successfully<br />
[grid@node1 ~]&#36; <br />
<br />
[oracle@node1 ~]&#36; lsnrctl status lab_listener<br />
<br />
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 03-SEP-2011 22:36:55<br />
<br />
Copyright &copy; 1991, 2009, Oracle. All rights reserved.<br />
<br />
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LAB_LISTENER)))<br />
STATUS of the LISTENER<br />
------------------------<br />
Alias LAB_LISTENER<br />
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production<br />
Start Date 03-SEP-2011 22:23:08<br />
Uptime 0 days 0 hr. 13 min. 47 sec<br />
Trace Level off<br />
Security ON: Local OS Authentication<br />
SNMP OFF<br />
Listener Parameter File /u01/app/oracle/db11201/network/admin/listener.ora<br />
Listener Log File /u01/app/oracle/diag/tnslsnr/node1/lab_listener/alert/log.xml<br />
Listening Endpoints Summary...<br />
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LAB_LISTENER)))<br />
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1525)))<br />
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.51)(PORT=1525)))<br />
Services Summary...<br />
Service "labdb.hingu.net" has 1 instance(s).<br />
Instance "labdb1", status READY, has 1 handler(s) for this service...<br />
Service "labdbXDB.hingu.net" has 1 instance(s).<br />
Instance "labdb1", status READY, has 1 handler(s) for this service...<br />
The command completed successfully<br />
[oracle@node1 ~]&#36;<br />
<br />
<br />
<img src="http://www.oracledba.org/11gR2/Install_11gR2_RAC_files/image044.jpg" border="0" alt="[Image: image044.jpg]" /><br />
<br />
<br />
With this, the Installation of 11g R2 RAC on Linux (OEL 5.5) is completed successfully. I hope you find this article helpful.]]></description>
			<content:encoded><![CDATA[<span style="color: #002060;">This Document shows the step by step of installing and setting up 3-Node 11gR2 RAC cluster. This setup uses IP Based iSCSI Openfiler SAN as a shared storage subsystem. This setup does not have IPMI and Grid Naming Service (GNS) configured. The SCAN is resolved through DNS.<br />
<br />
</span><span style="text-decoration: underline;">Hardware Used in setting up 3-node 11g R2 RAC using iSCSI SAN (Openfiler):</span><br />
<br />
Total Machines: 5 (3 for RAC nodes + 1 for NAS + 1 for DNS)<br />
Network Switches: 3 (for Public, Private and Shared Storage)<br />
Extra Network Adaptors: 7 (6 for RAC nodes (2 for each node) and one for Storage Server)<br />
Network cables: 11 (9 for RAC nodes (3 for each node), one for Shared Storage and 1 for DNS server)<br />
External USB HD: 1 (1 TB)<br />
<br />
Machines Specifications:<br />
DELL OPTIPLEX GX620<br />
CPU: Intel 3800MHz <br />
RAM: 4084MB <br />
HD: 250GB<br />
DVD, 10/100 NIC, 8 MB VRAM<br />
<br />
Network Adaptor Specifications: <br />
Linksys EG1032 Instant Gigabit Network Adapter <br />
Network Switch Specifications:<br />
D-Link 24-Port Rackmountable Gigabit Switch<br />
Network Cables Specifications:<br />
25-Foot Cat6 Snagless Patch Cable – (Blue, Black and Grey)<br />
<br />
<span style="text-decoration: underline;">Software Used for the 3-node RAC Setup using NAS (Openfiler):</span><br />
<br />
NAS Storage Solution: Openfiler 2.3 (2.6.26.8-1.0.11.smp.pae.gcc3.4.x86.i686)<br />
Operating System: Oracle Enterprise Linux 5.5 (2.6.18-194.el5PAE)<br />
Clusterware: Oracle 11g R2 Grid Infrastructure (11.2.0.1)<br />
Oracle RAC: Oracle RDBMS 11g R2 (11.2.0.1)<br />
<br />
<span style="text-decoration: underline;">3-Node RAC Setup</span><br />
<br />
<span style="color: #002060;">Operating System: Oracle Enterprise Linux 5.5 (</span>2.6.18-194.el5PAE):<br />
<span style="color: #002060;">Server: All the RAC Nodes + DNS server</span><br />
<br />
<span style="color: #002060;">Grid Infrastructure Software (Clusterware + ASM 11.2.0.1):</span><br />
<span style="color: #002060;">Server: All the RAC Nodes</span><br />
<span style="color: #002060;">ORACLE_BASE: /u01/app/grid</span><br />
<span style="color: #002060;">ORACLE_HOME: /u01/app/grid11201</span><br />
<span style="color: #002060;">Owner: grid (Primary Group: oinstall, Secondary Group: asmadmin, asmdba)</span><br />
<span style="color: #002060;">Permissions: 755</span><br />
<span style="color: #002060;">OCR/Voting Disk Storage Type: ASM</span><br />
<span style="color: #002060;">Oracle Inventory Location: /u01/app/oraInventory</span><br />
<br />
<span style="color: #002060;">Oracle Database Software (RAC 11.2.0.1):</span><br />
<br />
<span style="color: #002060;">Server: All the RAC Nodes</span><br />
<span style="color: #002060;">ORACLE_BASE: /u01/app/oracle</span><br />
<span style="color: #002060;">ORACLE_HOME: /u01/app/oracle/db11201</span><br />
<span style="color: #002060;">Owner: oracle (Primary Group: oinstall, Secondary Group: asmdba, dba)</span><br />
<span style="color: #002060;">Permissions: 755</span><br />
<span style="color: #002060;">Oracle Inventory Location: /u01/app/oraInventory</span><br />
<br />
<span style="color: #002060;">Database Name: labdb</span><br />
<span style="color: #002060;">Listener: LAB_LISTENER (TCP:1525)</span><br />
<br />
<span style="color: #002060;">Openfiler 2.3:</span><br />
<span style="color: #002060;">Server: single dedicated server acting as NAS.</span><br />
<span style="color: #002060;">OS: Openfiler 2.3 </span>(2.6.26.8-1.0.11.smp.pae.gcc3.4.x86.i686).<br />
<br />
<span style="text-decoration: underline;">3-Node RAC Architecture: </span><br />
<br />
Machine<br />
Public Name<br />
Private Name<br />
VIP Name<br />
<span style="color: #002060;">RAC Node1</span><br />
node1.hingu.net<br />
node1-prv<br />
node1-vip.hingu.net<br />
<span style="color: #002060;">RAC Node2</span><br />
node2.hingu.net<br />
node2-prv<br />
node2-vip.hingu.net<br />
<span style="color: #002060;">RAC Node3</span><br />
node3.hingu.net<br />
node3-prv<br />
node3-vip.hingu.net<br />
<span style="color: #002060;">Storage</span><br />
nas-server<br />
N/A<br />
N/A<br />
<span style="color: #002060;">DNS server</span><br />
lab-dns<br />
N/A<br />
N/A<br />
<br />
<br />
<span style="text-decoration: underline;">SCAN IPs</span>: <br />
192.168.2.151<br />
192.168.2.152<br />
192.168.2.153<br />
<br />
<br />
SCAN: lab-scan.hingu.net<br />
Cluster Name: lab<br />
Public Network: 192.168.2.0/eth2<br />
Private network (cluster Interconnect): 192.168.0.0/eth0<br />
Private network (Storage Network): 192.168.1.0/eth1<br />
<br />
Machine<br />
Public IP<br />
Private IP<br />
VIP <br />
Storage IP<br />
<span style="color: #002060;">RAC Node1</span><br />
<span style="color: #002060;">192.168.2.1</span><br />
<span style="color: #002060;">192.168.0.1</span><br />
<span style="color: #002060;">192.168.2.51</span><br />
<span style="color: #002060;">192.168.1.1</span><br />
<span style="color: #002060;">RAC Node2</span><br />
<span style="color: #002060;">192.168.2.2</span><br />
<span style="color: #002060;">192.168.0.2</span><br />
<span style="color: #002060;">192.168.2.52</span><br />
<span style="color: #002060;">192.168.1.2</span><br />
<span style="color: #002060;">RAC Node3</span><br />
<span style="color: #002060;">192.168.2.3</span><br />
<span style="color: #002060;">192.168.0.3</span><br />
<span style="color: #002060;">192.168.2.53</span><br />
<span style="color: #002060;">192.168.1.3</span><br />
<span style="color: #002060;">Storage</span><br />
<span style="color: #002060;">N/A</span><br />
<span style="color: #002060;">N/A</span><br />
<span style="color: #002060;">N/A</span><br />
<span style="color: #002060;">192.168.1.101</span><br />
<span style="color: #002060;">DNS server</span><br />
192.168.2.200<br />
N/A<br />
N/A<br />
N/A<br />
<br />
<br />
<br />
<br />
<br />
<br />
<img src="http://www.oracledba.org/11gR2/Pre_Install_11gR2_files/image003.jpg" border="0" alt="[Image: image003.jpg]" /><br />
<br />
<br />
<br />
The Installation is divided into 3 main categories:<br />
<br />
<span style="text-decoration: underline;">Pre-installation task:</span><br />
<br />
<span style="text-decoration: underline;">Server Hardware Requirements:</span><br />
<br />
<span style="color: #002060;">Each node in the Cluster must meet the below requirement.</span><br />
<span style="color: #002060;">At least 1024 x 768 display resolution, so that OUI displays correctly.</span><br />
<span style="color: #002060;">1 GB of space in the /tmp directory</span><br />
<span style="color: #002060;">5.5 GB space for Oracle Grid Infrastructure Home.</span><br />
<span style="color: #002060;">At least 2.5 GB of RAM and equivalent swap space (for 32 bit installation as in my case).</span><br />
· <span style="color: #002060;">All the RAC nodes must share the same Instruction Set Architecture. For a testing RAC setup, it is possible to install RAC on servers with mixtures of Intel 32 and AMD 32 with differences in sizes of Memory/CPU speed.</span><br />
<br />
<span style="text-decoration: underline;">Installation of OEL5.5 (On All the RAC Nodes and DNS Host):</span><br />
<span style="color: #002060;">The below selection was made during the installation of OEL5 on the Node 1 (node1.hingu.net). The same process was followed to install RHEL 5 on all the remaining RAC nodes and DNS Host (lab-dns).</span><br />
<span style="color: #002060;">The Hostname/IP information was appropriately chosen for respective nodes from the Architecture diagram.</span><br />
<br />
<span style="color: #002060;">Insert Installation Media #1:</span><br />
<span style="color: #002060;">Testing the CD Media: Skip</span><br />
<span style="color: #002060;">Language: English</span><br />
<span style="color: #002060;">Key Board: U.S. English</span><br />
<span style="color: #002060;">Partition Option: “Remove all Partitions on selected drives and create default layout”</span><br />
<span style="color: #002060;">Boot Loader: “ The GRUB boot loader will be installed on /dev/sda”</span><br />
<br />
<span style="color: #002060;">Network Devices: </span><br />
<br />
<span style="color: #002060;">Active on Boot</span><br />
<span style="color: #002060;">Devices</span><br />
<span style="color: #002060;">IPV4.Netmask</span><br />
<span style="color: #002060;">IPV6/Prefix</span><br />
<br />
<br />
<br />
<br />
<span style="color: #002060;">Yes</span><br />
<span style="color: #002060;">eth0</span><br />
<span style="color: #002060;">192.168.0.1/255.255.255.0</span><br />
<span style="color: #002060;">Auto</span><br />
<span style="color: #002060;">Yes</span><br />
<span style="color: #002060;">eth1</span><br />
<span style="color: #002060;">192.168.1.1/255.255.255.0</span><br />
<span style="color: #002060;">Auto</span><br />
<span style="color: #002060;">Yes</span><br />
<span style="color: #002060;">eth2</span><br />
<span style="color: #002060;">192.168.2.1/255.255.255.0</span><br />
<span style="color: #002060;">Auto</span><br />
<br />
<br />
<span style="color: #002060;">Hostname </span>a<span style="color: #002060;"> Manually </span>à<span style="color: #002060;"> node1.hingu.net</span><br />
<span style="color: #002060;">Ignore both the Warning Messages at this point</span><br />
<span style="color: #002060;">Region: America/New York</span><br />
<span style="color: #002060;">System Clock Uses UTC (checked)</span><br />
<span style="color: #002060;">Root Password </span>à<span style="color: #002060;"> Enter the root password</span><br />
<span style="color: #002060;">Additional Tasks On top of Default Installation: “Checked all Software Development” and “Web Server”</span><br />
<span style="color: #002060;">Customize Now (Selected)</span><br />
<span style="color: #002060;"> (Below is the extra selection on top of the default selected packages)</span><br />
<span style="color: #002060;">Applications </span>à<span style="color: #002060;"> Authoring and Publishing (checked)</span><br />
<span style="color: #002060;">Development </span>à<span style="color: #002060;"> Development Libraries </span>à<br />
<span style="color: #002060;">libstdc</span><span style="color: #002060;">++44-devel</span><br />
<span style="color: #002060;">Development </span>a<span style="color: #002060;"> Java Development</span><br />
<span style="color: #002060;">Development </span>à<span style="color: #002060;"> Legacy Software Development</span><br />
<span style="color: #002060;">Servers </span>à<span style="color: #002060;"> Checked All the servers</span><br />
<span style="color: #002060;">Servers </span>à<span style="color: #002060;"> Legacy Network Server </span>à<br />
<span style="color: #002060;">bootparamd</span><span style="color: #002060;">, rsh-server, rusers, rusers-server, telnet-server</span><br />
<span style="color: #002060;">Servers </span>à<span style="color: #002060;"> Network Servers </span>à<br />
<span style="color: #002060;">dhcp</span><span style="color: #002060;">, dhcpv6, dnsmasq, ypserv</span><br />
<span style="color: #002060;">Servers </span>à<span style="color: #002060;"> Servers Configuration Tools </span>à<br />
<span style="color: #002060;">Checked All</span><br />
<span style="color: #002060;">Base System </span>à<span style="color: #002060;">Administration Tools </span>à<br />
<span style="color: #002060;">Checked All</span><br />
<span style="color: #002060;">Base System </span>à<span style="color: #002060;"> Base </span>à<br />
<span style="color: #002060;">device-mapper-multipath</span><span style="color: #002060;">, iscsi-initiator-utils, </span><br />
<span style="color: #002060;">Base System </span>à<span style="color: #002060;"> Legacy Software Support </span>à<br />
<span style="color: #002060;">openmotif22</span><br />
<span style="color: #002060;">Base System </span>à<span style="color: #002060;"> System Tools </span>à<br />
<span style="color: #002060;">OpenIPMI-gui, lsscsi, oracle*, sysstat, tsclient</span><br />
<br />
<span style="color: #002060;">Post Installation Steps:</span><br />
(1) <span style="color: #002060;">Yes to License Agreement.</span><br />
(2) <span style="color: #002060;">Disable the firewall</span><br />
(3) <span style="color: #002060;">Disable SELinux</span><br />
(4) <span style="color: #002060;">Disable kdump</span><br />
(5) <span style="color: #002060;">Set the clock</span><br />
(6) <span style="color: #002060;">Finish</span><br />
<br />
<span style="text-decoration: underline;">Installation of openfiler 2.3</span><br />
<br />
<span style="color: #002060;">Version: Openfiler V 2.3 (downloaded from <span style="text-decoration: underline;">Minimum Required RPMs for OEL 5.5 (All the 3 RAC Nodes):</span></span><br />
<br />
binutils-2.17.50.0.6<br />
compat-libstdc++-33-3.2.3<br />
elfutils-libelf-0.125<br />
elfutils-libelf-devel-0.125<br />
elfutils-libelf-devel-static-0.125<br />
gcc-4.1.2<br />
gcc-c++-4.1.2<br />
glibc-2.5-24<br />
glibc-common-2.5<br />
glibc-devel-2.5<br />
glibc-headers-2.5<br />
kernel-headers-2.6.18<br />
ksh-20060214<br />
libaio-0.3.106<br />
libaio-devel-0.3.106<br />
libgcc-4.1.2<br />
libgomp-4.1.2<br />
libstdc++-4.1.2<br />
libstdc++-devel-4.1.2<br />
make-3.81<br />
numactl-devel-0.9.8.i386<br />
sysstat-7.0.2<br />
unixODBC-2.2.11<br />
unixODBC-devel-2.2.11<br />
<br />
<span style="color: #002060;">Below command verifies whether the specified rpms are installed or not. Any missing rpms can be installed from the OEL Media Pack</span><br />
<br />
rpm -q binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel elfutils-libelf-devel-static \<br />
gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers kernel-headers ksh libaio libaio-devel \<br />
libgcc libgomp libstdc++ libstdc++-devel make numactl-devel sysstat unixODBC unixODBC-devel<br />
<br />
<br />
<span style="color: #002060;">I had to install below extra RPMs.</span><br />
<br />
numactl-develà<span style="color: #002060;"> Located on the 3rd CD of OEL 5.5 Media pack. </span><br />
oracleasmlibà<span style="color: #002060;">Available <span style="text-decoration: underline;">Network Configuration for RAC Nodes/NAS Server/DNS Host:</span></span><br />
<br />
<span style="color: #002060;">Public, VIPs and SCAN VIPs are resolved by DNS. The private IPs for Cluster Interconnects are resolved through <span style="font-style: italic;">/etc/hosts</span>. The hostname along with public/private and NAS network is configured at the time of OEL network installations. The final Network Configurations files are listed here.</span><br />
<br />
(a) <span style="text-decoration: underline;"><span style="color: #002060;">hostname</span></span><span style="text-decoration: underline;"><span style="color: #002060;">:</span></span><br />
<br />
<span style="color: #002060;">For Node node1:</span><br />
[root@node1 ~]# hostname node1.hingu.net<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;"> node1.hingu.net: /etc/sysconfig/network</span></span><br />
NETWORKING=yes<br />
NETWORKING_IPV6=yes<br />
HOSTNAME=node1.hingu.net<br />
<br />
<span style="color: #002060;">For Node node2:</span><br />
[root@node2 ~]# hostname node2.hingu.net<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;"> node2.hingu.net: /etc/sysconfig/network</span></span><br />
NETWORKING=yes<br />
NETWORKING_IPV6=yes<br />
HOSTNAME=node2.hingu.net<br />
<br />
<span style="color: #002060;">For Node node3:</span><br />
[root@node3 ~]# hostname node3.hingu.net<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;"> node3.hingu.net: /etc/sysconfig/network</span></span><br />
NETWORKING=yes<br />
NETWORKING_IPV6=yes<br />
HOSTNAME=node3.hingu.net<br />
<br />
<span style="color: #002060;">For Node nas-server:</span><br />
[root@nas-server ~]# hostname nas-server<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;"> nas-server: /etc/sysconfig/network</span></span><br />
NETWORKING=yes<br />
HOSTNAME=nas-server<br />
<br />
<span style="color: #002060;">For Node lab-dns:</span><br />
[root@lab-dns ~]# hostname lab-dns<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;"> lab-dns.hingu.net: /etc/sysconfig/network</span></span><br />
NETWORKING=yes<br />
NETWORKING_IPV6=yes<br />
HOSTNAME=nas-server<br />
<br />
(b) <span style="text-decoration: underline;"><span style="color: #002060;">Private Network for Cluster Interconnect:</span></span><br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node1.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth0</span></span><br />
# Linksys Gigabit Network Adapter<br />
DEVICE=eth0<br />
BOOTPROTO=static<br />
BROADCAST=192.168.0.255<br />
HWADDR=00:22:6B:BF:4E:60<br />
IPADDR=192.168.0.1<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.0.0<br />
ONBOOT=yes<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node2.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth0</span></span><br />
# Linksys Gigabit Network Adapter<br />
DEVICE=eth0<br />
BOOTPROTO=static<br />
BROADCAST=192.168.0.255<br />
HWADDR=00:22:6B:BF:4E:4B<br />
IPADDR=192.168.0.2<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.0.0<br />
ONBOOT=yes<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node3.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth0</span></span><br />
# Linksys Gigabit Network Adapter<br />
DEVICE=eth0<br />
BOOTPROTO=static<br />
BROADCAST=192.168.0.255<br />
HWADDR=00:22:6B:BF:4E:49<br />
IPADDR=192.168.0.3<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.0.0<br />
ONBOOT=yes<br />
<br />
&copy; <span style="text-decoration: underline;"><span style="color: #002060;">Public Network:</span></span><br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node1.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth2</span></span><br />
# Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express<br />
DEVICE=eth2<br />
BOOTPROTO=static<br />
BROADCAST=192.168.2.255<br />
HWADDR=00:18:8B:04:6A:62<br />
IPADDR=192.168.2.1<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.2.0<br />
ONBOOT=yes<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node2.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth2</span></span><br />
# Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express<br />
DEVICE=eth2<br />
BOOTPROTO=static<br />
BROADCAST=192.168.2.255<br />
HWADDR=00:18:8B:24:F8:58<br />
IPADDR=192.168.2.2<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.2.0<br />
ONBOOT=yes<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node3.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth2</span></span><br />
# Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express<br />
DEVICE=eth2<br />
BOOTPROTO=static<br />
BROADCAST=192.168.2.255<br />
HWADDR=00:19:B9:0C:E6:EF<br />
IPADDR=192.168.2.3<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.2.0<br />
ONBOOT=yes<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">lab-dns.hingu.net</span></span><span style="font-style: italic;"><span style="color: #002060;">: /etc/sysconfig/network-scripts/ifcfg-eth0</span></span><br />
# Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express<br />
DEVICE=eth0<br />
BOOTPROTO=static<br />
BROADCAST=192.168.2.255<br />
HWADDR=00:13:72:A1:E9:1B<br />
IPADDR=192.168.2.200<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.2.0<br />
ONBOOT=yes<br />
<br />
(d) <span style="text-decoration: underline;"><span style="color: #002060;">Private Network for Shared Storage:</span></span><br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node1.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth1</span></span><br />
# Linksys Gigabit Network Adapter<br />
DEVICE=eth1<br />
BOOTPROTO=static<br />
BROADCAST=192.168.1.255<br />
HWADDR=00:22:6B:BF:4E:60<br />
IPADDR=192.168.1.1<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.1.0<br />
ONBOOT=yes<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node2.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth1</span></span><br />
# Linksys Gigabit Network Adapter<br />
DEVICE=eth1<br />
BOOTPROTO=static<br />
BROADCAST=192.168.1.255<br />
HWADDR=00:22:6B:BF:45:13<br />
IPADDR=192.168.1.2<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.1.0<br />
ONBOOT=yes<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node3.hingu.net: /etc/sysconfig/network-scripts/ifcfg-eth1</span></span><br />
# Linksys Gigabit Network Adapter<br />
DEVICE=eth1<br />
BOOTPROTO=static<br />
BROADCAST=192.168.1.255<br />
HWADDR=00:22:6B:BF:4E:48<br />
IPADDR=192.168.1.3<br />
IPV6INIT=yes<br />
IPV6_AUTOCONF=yes<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.1.0<br />
ONBOOT=yes<br />
<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">nas-server.hingu.net</span></span><span style="font-style: italic;"><span style="color: #002060;">: /etc/sysconfig/network-scripts/ifcfg-eth1</span></span><br />
DEVICE=eth1<br />
BOOTPROTO=static<br />
BROADCAST=192.168.1.255<br />
HWADDR=00:22:6B:BF:43D6<br />
IPADDR=192.168.1.101<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.1.0<br />
ONBOOT=yes<br />
TYPE=Ethernet<br />
<br />
(e) <span style="text-decoration: underline;">/etc/hosts<span style="color: #002060;"> files:</span></span><br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node1.hingu.net: /etc/hosts</span></span><br />
# # Do not remove the following line, or various programs<br />
# that require network functionality will fail.<br />
127.0.0.1 node1.hingu.net node1 localhost.localdomain localhost<br />
::1 localhost6.localdomain6 localhost6<br />
<br />
<br />
##=======================================<br />
# Private Network for Cluster Interconnect<br />
##=======================================<br />
<br />
192.168.0.1 node1-prv<br />
192.168.0.2 node2-prv<br />
192.168.0.3 node3-prv<br />
<br />
##=======================================<br />
##=======================================<br />
<br />
<span style="font-style: italic;">node2.hingu.net: /etc/hosts</span><br />
# # Do not remove the following line, or various programs<br />
# that require network functionality will fail.<br />
127.0.0.1 node2.hingu.net node2 localhost.localdomain localhost<br />
::1 localhost6.localdomain6 localhost6<br />
<br />
<br />
##=======================================<br />
# Private Network for Cluster Interconnect<br />
##=======================================<br />
<br />
192.168.0.1 node1-prv<br />
192.168.0.2 node2-prv<br />
192.168.0.3 node3-prv<br />
<br />
##=======================================<br />
##=======================================<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">node3.hingu.net: /etc/hosts</span></span><br />
# # Do not remove the following line, or various programs<br />
# that require network functionality will fail.<br />
127.0.0.1 node3.hingu.net node3 localhost.localdomain localhost<br />
::1 localhost6.localdomain6 localhost6<br />
<br />
<br />
##=======================================<br />
# Private Network for Cluster Interconnect<br />
##=======================================<br />
<br />
192.168.0.1 node1-prv<br />
192.168.0.2 node2-prv<br />
192.168.0.3 node3-prv<br />
<br />
##=======================================<br />
##=======================================<br />
<br />
<span style="font-style: italic;"><span style="color: #002060;">lab-dns.hingu.net</span></span><span style="font-style: italic;"><span style="color: #002060;">: /etc/hosts</span></span><br />
## Do not remove the following line, or various programs<br />
# that require network functionality will fail.<br />
127.0.0.1 lab-dns.hingu.net lab-dns localhost.localdomain localhost<br />
::1 localhost6.localdomain6 localhost6<br />
<br />
<span style="text-decoration: underline;">Configure DNS server for SCAN VIPs, Node VIPs and Node IPs:</span><br />
<br />
<span style="color: #002060;">DNS Server: lab-dns.hingu.net</span><br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">RPMs required in setting up DNS server:</span></span><br />
<br />
ypbind-1.19-12.el5<br />
bind-utils-9.3.6-4.P1.el5_4.2<br />
bind-9.3.6-4.P1.el5_4.2<br />
system-config-bind-4.0.3-4.0.1.el5<br />
bind-libs-9.3.6-4.P1.el5_4.2<br />
bind-chroot-9.3.6-4.P1.el5_4.2<br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">Configurations files modified/created to set up DNS:</span></span><br />
<br />
<span style="text-decoration: underline;">lab-dbs.hingu.net</span><br />
<br />
/var/named/chroot/etc/named.conf (modified)<br />
/var/named/chroot/var/named/hingu.net.zone (created)<br />
/var/named/chroot/var/named/2.168.192.in-addr.arpa.zone (created)<br />
/var/named/chroot/var/named/1.168.192.in-addr.arpa.zone (created)<br />
<br />
<span style="text-decoration: underline;">On node1, node2 and node3</span><br />
<br />
/etc/resolv.conf (modified)<br />
<br />
<span style="text-decoration: underline;">/var/named/chroot/etc/named.conf</span><br />
<br />
// Enterprise Linux BIND Configuration Tool<br />
// <br />
// Default initial "Caching Only" name server configuration<br />
//<br />
<br />
options {<br />
directory "/var/named";<br />
dump-file "/var/named/data/cache_dump.db";<br />
statistics-file "/var/named/data/named_stats.txt";<br />
};<br />
<br />
<br />
// Zone for this RAC configuration is hingu.net<br />
<br />
zone "hingu.net" in {<br />
type master;<br />
file "hingu.net.zone";<br />
allow-update { none; };<br />
};<br />
<br />
// For reverse lookups<br />
<br />
zone "2.168.192.in-addr.arpa" in {<br />
type master;<br />
file "2.168.192.in-addr.arpa.zone";<br />
allow-update { none; };<br />
};<br />
<br />
zone "1.168.192.in-addr.arpa" in {<br />
type master;<br />
file "1.168.192.in-addr.arpa.zone";<br />
allow-update { none; };<br />
};<br />
<br />
include "/etc/rndc.key";<br />
<br />
<span style="text-decoration: underline;">/var/named/chroot/var/named/hingu.net.zone</span><br />
<br />
&#36;TTL 1d<br />
hingu.net. IN SOA lab-dns.hingu.net. root.hingu.net. (<br />
100 ; se = serial number<br />
8h ; ref = refresh<br />
5m ; ret = update retry<br />
3w ; ex = expiry<br />
3h ; min = minimum<br />
)<br />
<br />
IN NS lab-dns.hingu.net.<br />
<br />
; DNS server<br />
<br />
lab-dns IN A 192.168.2.200<br />
<br />
; RAC Nodes Public name<br />
<br />
node1 IN A 192.168.2.1<br />
node2 IN A 192.168.2.2<br />
node3 IN A 192.168.2.3<br />
<br />
; RAC Nodes Public VIPs<br />
<br />
node1-vip IN A 192.168.2.51<br />
node2-vip IN A 192.168.2.52<br />
node3-vip IN A 192.168.2.53<br />
<br />
; 3 SCAN VIPs<br />
<br />
lab-scan IN A 192.168.2.151<br />
lab-scan IN A 192.168.2.152<br />
lab-scan IN A 192.168.2.153<br />
<br />
; Storage Network <br />
<br />
nas-server IN A 192.168.1.101<br />
node1-nas IN A 192.168.1.1<br />
node2-nas IN A 192.168.1.2<br />
node3-nas IN A 192.168.1.3<br />
<br />
<br />
<span style="text-decoration: underline;">/var/named/chroot/var/named/2.168.192.in-addr.arpa.zone</span><br />
<br />
&#36;TTL 1d<br />
@ IN SOA lab-dns.hingu.net. root.hingu.net. (<br />
100 ; se = serial number<br />
8h ; ref = refresh<br />
5m ; ret = update retry<br />
3w ; ex = expiry<br />
3h ; min = minimum<br />
)<br />
<br />
IN NS lab-dns.hingu.net.<br />
<br />
; DNS machine name in reverse<br />
200 IN PTRlab-dns.hingu.net.<br />
<br />
; RAC Nodes Public Name in Reverse<br />
<br />
1 IN PTRnode1.hingu.net.<br />
2 IN PTRnode2.hingu.net.<br />
3 IN PTRnode3.hingu.net.<br />
<br />
; RAC Nodes Public VIPs in Reverse<br />
<br />
51 IN PTR node1-vip.hingu.net.<br />
52 IN PTR node2-vip.hingu.net.<br />
53 IN PTR node3-vip.hingu.net.<br />
<br />
; RAC Nodes SCAN VIPs in Reverse<br />
<br />
151 IN PTR lab-scan.hingu.net.<br />
152 IN PTR lab-scan.hingu.net.<br />
153 IN PTR lab-scan.hingu.net.<br />
<br />
<span style="text-decoration: underline;">/var/named/chroot/var/named/1.168.192.in-addr.arpa.zone</span><br />
<br />
&#36;TTL 1d<br />
@ IN SOA lab-dns.hingu.net. root.hingu.net. (<br />
100 ; se = serial number<br />
8h ; ref = refresh<br />
5m ; ret = update retry<br />
3w ; ex = expiry<br />
3h ; min = minimum<br />
)<br />
<br />
IN NS lab-dns.hingu.net.<br />
<br />
; Storage Network Reverse Lookup<br />
<br />
101 IN PTR nas-server.hingu.net.<br />
1 IN PTR node1-nas.hingu.net.<br />
2 IN PTR node2-nas.hingu.net.<br />
3 IN PTR node3-nas.hingu.net.<br />
<br />
<span style="text-decoration: underline;">/etc/resolv.conf (on RAC nodes):</span><br />
<br />
search hingu.net<br />
nameserver 192.168.2.200<br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">Start the DNS Service (named):</span></span><br />
<br />
service named start<br />
chkconfig --level 35 named on<br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">Verify the DNS Setup:</span></span><br />
<br />
<img src="http://www.oracledba.org/11gR2/Pre_Install_11gR2_files/image004.jpg" border="0" alt="[Image: image004.jpg]" /><br />
<span style="color: #002060;">NOTE: nslookup for lab-scan should return names in random order every time.</span><br />
<br />
<span style="text-decoration: underline;">Enable Name Service Cache Daemon </span><span style="text-decoration: underline;">nscd</span><span style="text-decoration: underline;">: (On all the RAC Nodes)</span><br />
<br />
chkconfig --level 35 nscd on<br />
service ncsd start<br />
<br />
<span style="text-decoration: underline;">Creating Oracle Users/Groups/Permissions and Installation Paths: (On all the RAC Nodes):</span><br />
<br />
userdel oracle<br />
groupdel oinstall<br />
groupdel dba<br />
groupadd -g 1000 oinstall<br />
groupadd -g 1020 asmadmin<br />
groupadd -g 1021 asmdba<br />
groupadd -g 1031 dba<br />
useradd -u 1100 -g oinstall -G asmadmin,asmdba grid<br />
useradd -u 1101 -g oinstall -G dba,asmdba oracle<br />
mkdir -p /u01/app/grid11201<br />
mkdir -p /u01/app/grid<br />
chown -R grid:oinstall /u01<br />
mkdir -p /u01/app/oracle<br />
chown oracle:oinstall /u01/app/oracle<br />
chmod -R 775 /u01<br />
passwd grid<br />
passwd oracle<br />
<br />
<span style="text-decoration: underline;">Install </span><span style="text-decoration: underline;">cvuqdisk</span><span style="text-decoration: underline;"> Package: (On all the RAC Nodes):</span><br />
<br />
<span style="color: #002060;">This package is located in the rpm directory on Grid Infrastructure Media and needs to be installed after the group </span>oinstall<span style="color: #002060;"> is created. In my case, as this was a fresh install of 11g R2 on new hardware, old versions of cvuqdisk was not present. If it is, then the older version needs to be removed first.</span><br />
<br />
export CVUQDISK_GRP=oinstall<br />
echo &#36;CVUQDISK<br />
rpm –ivh cvuqdisk-1.0.7-1.rpm<br />
<br />
[root@node1 rpm]# pwd<br />
/home/grid/11gR2_for_OEL5/grid11201/grid/rpm<br />
[root@node1 rpm]# export CVUQDISK_GRP=oinstall<br />
[root@node1 rpm]# echo &#36;CVUQDISK_GRP <br />
oinstall<br />
[root@node1 rpm]# rpm -ivh cvuqdisk-1.0.7-1.rpm <br />
Preparing... ########################################### [100%]<br />
1:cvuqdisk ########################################### [100%]<br />
[root@node1 rpm]# rpm -qa | grep cvuqdisk<br />
cvuqdisk-1.0.7-1<br />
[root@node1 rpm]#<br />
<br />
<span style="text-decoration: underline;">Network Time Protocol Setting (On all the RAC Nodes):</span><br />
<br />
<span style="color: #002060;">In this installation, Oracle Time Synchronization Service is used over the Linux system provided </span>ntpd<span style="color: #002060;">. So, it needs to deactivated and deinstalled to avoid any possibility of it being conflicted with the Oracle’s Cluster Time Sync Service (</span>ctss<span style="color: #002060;">).</span><br />
<br />
# /sbin/service ntpd stop<br />
# chkconfig ntpd off<br />
# mv /etc/ntp.conf /etc/ntp.conf.org<br />
<br />
Also remove the following file:<br />
<br />
/var/run/ntpd.pid<br />
<br />
<span style="text-decoration: underline;">Configure Grid Infrastructure as well as Oracle RAC Owner’s User Environment (</span><span style="text-decoration: underline;">grid</span><span style="text-decoration: underline;"> and </span><span style="text-decoration: underline;">oracle</span><span style="text-decoration: underline;">):</span><br />
<br />
(a) <span style="color: #002060;">Set the umask to 022 by putting below line into these users’ (grid and oracle) .bash_profile files:</span><br />
<br />
umask 022<br />
<br />
<span style="color: #002060;">Then, executed the .</span><span style="font-style: italic;">bash_profile </span><span style="color: #002060;">and verified that the correct value of umask is displayed.</span><br />
<br />
[grid@node1 ~]&#36; . .bash_profile<br />
[grid@node1 ~]&#36; umask<br />
<br />
(b) <span style="color: #002060;">Setting up X11 forwarding:</span><br />
<br />
<span style="color: #002060;">Created the file </span>~/.ssh/config <span style="color: #002060;">to disable the X11Forwadding by placing below line in it.</span><br />
<br />
Host *<br />
ForwardX11 no<br />
<br />
&copy; <span style="color: #002060;">Suppressed the Terminal output on STDOUT and STDERR to prevent Installation errors:</span><br />
<span style="color: #002060;">Modified the file </span>~/.bashrc (<span style="color: #002060;">or</span> .cshrc f<span style="color: #002060;">or C shell</span>) <span style="color: #002060;">with below entry.</span><br />
<br />
<span style="color: #002060;">Bourne, Bash, or Korn shell:</span><br />
<br />
if [ -t 0 ]; then<br />
stty intr ^C<br />
fi<br />
<br />
<span style="color: #002060;">C shell:</span><br />
<br />
test -t 0<br />
if (&#36;status == 0) then<br />
stty intr ^C<br />
endif<br />
<br />
(d) <span style="color: #002060;">Increased the Shell Limits:</span><br />
<span style="color: #002060;">Recommended:</span><br />
<br />
Resource<br />
Soft Limit<br />
Hard Limit<br />
<span style="color: #002060;">Processes</span><br />
<span style="color: #002060;">2047</span><br />
<span style="color: #002060;">16384</span><br />
<span style="color: #002060;">Open File Descriptors</span><br />
<span style="color: #002060;">1024</span><br />
<span style="color: #002060;">65536</span><br />
<span style="color: #002060;">Stack</span><br />
<span style="color: #002060;">10240 </span><br />
<span style="color: #002060;">10240 - 32768 </span><br />
<br />
<br />
<span style="color: #002060;">Set:</span><br />
<br />
Resource<br />
Soft Limit<br />
Hard Limit<br />
<span style="color: #002060;">Processes</span><br />
<span style="color: #002060;">131072</span><br />
<span style="color: #002060;">131072</span><br />
<span style="color: #002060;">Open File Descriptors</span><br />
<span style="color: #002060;">131072</span><br />
<span style="color: #002060;">131072</span><br />
<span style="color: #002060;">Stack</span><br />
<span style="color: #002060;">32768 </span><br />
<span style="color: #002060;">32768 </span><br />
<br />
<br />
<span style="color: #002060;">Added the following lines to the </span>/etc/security/limits.conf<span style="color: #002060;"> file:</span><br />
<br />
oracle soft nofile 131072<br />
oracle hard nofile 131072<br />
oracle soft nproc 131072<br />
oracle hard nproc 131072<br />
oracle soft core unlimited<br />
oracle hard core unlimited<br />
oracle soft memlock 3500000<br />
oracle hard memlock 3500000<br />
# Recommended stack hard limit 32MB for oracle installations<br />
# oracle hard stack 32768<br />
<br />
grid soft nofile 131072<br />
grid hard nofile 131072<br />
grid soft nproc 131072<br />
grid hard nproc 131072<br />
grid soft core unlimited<br />
grid hard core unlimited<br />
grid soft memlock 3500000<br />
grid hard memlock 3500000<br />
# Recommended stack hard limit 32MB for grid installations<br />
# grid hard stack 32768<br />
<br />
<span style="color: #002060;">Added the following line in the </span>/etc/pam.d/login<span style="color: #002060;"> file, if it does not already exist:</span><br />
<br />
session required /lib/security/pam_limits.so<br />
<br />
<span style="color: #002060;">For the Bourne, Bash, or Korn shell, add the following lines to the </span>/etc/profile<span style="color: #002060;">:</span><br />
<br />
if [ &#36;USER = "oracle" ]; then<br />
if [ &#36;SHELL = "/bin/ksh" ]; then<br />
ulimit -p 131072<br />
ulimit -n 131072<br />
else<br />
ulimit -u 131072 -n 131072<br />
fi<br />
fi <br />
<br />
if [ &#36;USER = "grid" ]; then<br />
if [ &#36;SHELL = "/bin/ksh" ]; then<br />
ulimit -p 131072<br />
ulimit -n 131072<br />
else<br />
ulimit -u 131072 -n 131072<br />
fi<br />
fi <br />
<br />
<br />
<span style="color: #002060;">For the C shell (csh or tcsh), add the following lines to the /etc/csh.login.</span><br />
<br />
if ( &#36;USER == "oracle" ) then<br />
limit maxproc 131072<br />
limit descriptors 131072<br />
endif <br />
<br />
if ( &#36;USER == "grid" ) then<br />
limit maxproc 131072<br />
limit descriptors 131072<br />
endif <br />
<br />
<br />
(e) <span style="color: #002060;">Set the below Kernel Parameters with recommended range in </span>/etc/sysctl.conf<br />
<span style="color: #002060;">This was already set with the installation of oracle-validated package.</span><br />
<br />
<span style="text-decoration: underline;">/etc/sysctl.conf</span><br />
<br />
# Kernel sysctl configuration file for Oracle Enterprise Linux<br />
#<br />
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and<br />
# sysctl.conf(5) for more details.<br />
<br />
# Controls IP packet forwarding<br />
net.ipv4.ip_forward = 0<br />
<br />
# Controls source route verification<br />
net.ipv4.conf.default.rp_filter = 1<br />
<br />
# Do not accept source routing<br />
net.ipv4.conf.default.accept_source_route = 0<br />
<br />
# Controls the System Request debugging functionality of the kernel<br />
kernel.sysrq = 1<br />
<br />
# Controls whether core dumps will append the PID to the core filename<br />
# Useful for debugging multi-threaded applications<br />
kernel.core_uses_pid = 1<br />
<br />
# Controls the use of TCP syncookies<br />
net.ipv4.tcp_syncookies = 1<br />
<br />
# Controls the maximum size of a message, in bytes<br />
kernel.msgmnb = 65536<br />
<br />
# Controls the default maxmimum size of a mesage queue<br />
kernel.msgmax = 8192<br />
<br />
# Controls the maximum shared segment size, in bytes<br />
kernel.shmmax = 4294967295<br />
<br />
# Controls the maximum number of shared memory segments, in pages<br />
kernel.shmall = 1073741824<br />
# For 11g, recommended value for file-max is 6815744<br />
fs.file-max = 6815744<br />
# For 10g, uncomment 'fs.file-max 327679', comment other entries for this parameter and re-run sysctl -p<br />
# fs.file-max:327679<br />
kernel.msgmni = 2878<br />
kernel.sem = 250 32000 100 142<br />
kernel.shmmni = 4096<br />
net.core.rmem_default = 262144<br />
# For 11g, recommended value for net.core.rmem_max is 4194304<br />
net.core.rmem_max = 4194304<br />
# For 10g, uncomment 'net.core.rmem_max 2097152', comment other entries for this parameter and re-run sysctl -p<br />
# net.core.rmem_max=2097152<br />
net.core.wmem_default = 262144<br />
# For 11g, recommended value for wmem_max is 1048576<br />
net.core.wmem_max = 1048576<br />
# For 10g, uncomment 'net.core.wmem_max 262144', comment other entries for this parameter and re-run sysctl -p<br />
# net.core.wmem_max:262144<br />
fs.aio-max-nr = 3145728<br />
# For 11g, recommended value for ip_local_port_range is 9000 65500<br />
net.ipv4.ip_local_port_range = 9000 65500<br />
# For 10g, uncomment 'net.ipv4.ip_local_port_range 1024 65000', comment other entries for this parameter and re-run sysctl -p<br />
# net.ipv4.ip_local_port_range:1024 65000<br />
# Added min_free_kbytes 50MB to avoid OOM killer on EL4/EL5<br />
vm.min_free_kbytes = 51200<br />
<br />
(f) <span style="color: #002060;">Repeated this process for all the remaining nodes in the cluster.</span><br />
<br />
<span style="text-decoration: underline;">SSH user Equivalency configuration (</span><span style="text-decoration: underline;">grid</span><span style="text-decoration: underline;"> and </span><span style="text-decoration: underline;">oracle</span><span style="text-decoration: underline;">):</span><br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">On All the Cluster Nodes:</span></span><br />
<br />
su - oracle <br />
mkdir ~/.ssh<br />
chmod 700 ~/.ssh<br />
<br />
<span style="color: #002060;">Generate the RSA and DSA keys:</span><br />
<br />
/usr/bin/ssh-keygen -t rsa<br />
/usr/bin/ssh-keygen -t dsa<br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">On node1:</span></span><br />
<br />
touch ~/.ssh/authorized_keys<br />
cd ~/.ssh<br />
<br />
(a) <span style="color: #002060;">Add these Keys to the Authorized_keys file.</span><br />
<br />
cat id_rsa.pub >> authorized_keys<br />
cat id_dsa.pub >> authorized_keys<br />
<br />
(b) <span style="color: #002060;">Send this file to node2.</span><br />
<br />
scp authorized_keys node2:.ssh/<br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">On node2:</span></span><br />
<br />
(a) <span style="color: #002060;">Add these Keys to the Authorized_keys file.</span><br />
<br />
cd ~/.ssh<br />
cat id_rsa.pub >> authorized_keys<br />
cat id_dsa.pub >> authorized_keys<br />
<br />
(b) <span style="color: #002060;">Send this file to node3.</span><br />
<br />
scp authorized_keys node3:.ssh/<br />
<span style="text-decoration: underline;"><span style="color: #002060;">On node3:</span></span><br />
<br />
(a) <span style="color: #002060;">Add these Keys to the Authorized_keys file.</span><br />
<br />
cd ~/.ssh<br />
cat id_rsa.pub >> authorized_keys<br />
cat id_dsa.pub >> authorized_keys<br />
<br />
(b) <span style="color: #002060;">Send this file to node1 and node2.</span><br />
<br />
scp authorized_keys node1:.ssh/<br />
scp authorized_keys node2:.ssh/<br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">On All the Nodes:</span></span><br />
<br />
chmod 600 ~/.ssh/authorized_keys<br />
<br />
ssh node1 date<br />
ssh node2 date<br />
ssh node3 date<br />
ssh node1.hingu.net date<br />
ssh node2.hingu.net date<br />
ssh node3.hingu.net date<br />
ssh node1-prv date<br />
ssh node2-prv date<br />
ssh node3-prv date<br />
<br />
<span style="color: #002060;">Entered 'yes' and continued when prompted</span><br />
<br />
<span style="text-decoration: underline;"><span style="color: #002060;">Repeat the Above process for user </span></span><span style="text-decoration: underline;">grid<span style="color: #002060;">:</span></span><br />
<br />
<span style="text-decoration: underline;">Configure the Shared Storage for 11g R2 Grid Infrastructure and RAC Database:</span><br />
<br />
<span style="color: #002060;">Volume Group: <span style="font-style: italic;">grid</span></span><br />
<span style="color: #002060;">Physical Volume: <span style="font-style: italic;">/dev/sda5</span> (1st extended partition on the last physical partition of local disk /dev/sda nas-server)</span><br />
<span style="color: #002060;">Logical Volumes: <span style="font-style: italic;">asmdisk01, asmdisk02, asmdisk03</span></span><br />
<br />
a) <span style="color: #002060;">Connect to the nas-server using: <span style="font-style: italic;"><span style="text-decoration: underline;">Configure the iSCSI disk Devises for Oracle ASM with ASMLib:</span></span></span><br />
<span style="font-style: italic;"> <br />
(a) <span style="color: #002060;">Partition the Disk Devises (only from one node): Format these disks to contain a single primary partition to represent it at the time of creating ASM disk using oracleasm.</span><br />
<br />
[root@node1 ~]# fdisk /dev/sdb<br />
<br />
The number of cylinders for this disk is set to 24992.<br />
There is nothing wrong with that, but this is larger than 1024,<br />
and could in certain setups cause problems with:<br />
1) software that runs at boot time (e.g., old versions of LILO)<br />
2) booting and partitioning software from other OSs<br />
(e.g., DOS FDISK, OS/2 FDISK)<br />
<br />
Command (m for help): n<br />
Command action<br />
e extended<br />
p primary partition (1-4)<br />
p<br />
Partition number (1-4): 1<br />
First cylinder (1-24992, default 1): <br />
Using default value 1<br />
Last cylinder or +size or +sizeM or +sizeK (1-24992, default 24992): <br />
Using default value 24992<br />
<br />
Command (m for help): p<br />
<br />
Disk /dev/sdb: 26.2 GB, 26206011392 bytes<br />
64 heads, 32 sectors/track, 24992 cylinders<br />
Units = cylinders of 2048 * 512 = 1048576 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/sdb1 1 24992 25591792 83 Linux<br />
<br />
Command (m for help): w<br />
The partition table has been altered!<br />
<br />
Calling ioctl() to re-read partition table.<br />
Syncing disks.<br />
[root@node1 ~]# fdisk /dev/sdc<br />
<br />
The number of cylinders for this disk is set to 25024.<br />
There is nothing wrong with that, but this is larger than 1024,<br />
and could in certain setups cause problems with:<br />
1) software that runs at boot time (e.g., old versions of LILO)<br />
2) booting and partitioning software from other OSs<br />
(e.g., DOS FDISK, OS/2 FDISK)<br />
<br />
Command (m for help): n<br />
Command action<br />
e extended<br />
p primary partition (1-4)<br />
p<br />
Partition number (1-4): 1<br />
First cylinder (1-25024, default 1): <br />
Using default value 1<br />
Last cylinder or +size or +sizeM or +sizeK (1-25024, default 25024): <br />
Using default value 25024<br />
<br />
Command (m for help): p<br />
<br />
Disk /dev/sdc: 26.2 GB, 26239565824 bytes<br />
64 heads, 32 sectors/track, 25024 cylinders<br />
Units = cylinders of 2048 * 512 = 1048576 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/sdc1 1 25024 25624560 83 Linux<br />
<br />
Command (m for help): w<br />
The partition table has been altered!<br />
<br />
Calling ioctl() to re-read partition table.<br />
Syncing disks.<br />
[root@node1 ~]# fdisk /dev/sdd<br />
<br />
The number of cylinders for this disk is set to 25248.<br />
There is nothing wrong with that, but this is larger than 1024,<br />
and could in certain setups cause problems with:<br />
1) software that runs at boot time (e.g., old versions of LILO)<br />
2) booting and partitioning software from other OSs<br />
(e.g., DOS FDISK, OS/2 FDISK)<br />
<br />
Command (m for help): n<br />
Command action<br />
e extended<br />
p primary partition (1-4)<br />
p<br />
Partition number (1-4): 1<br />
First cylinder (1-25248, default 1): <br />
Using default value 1<br />
Last cylinder or +size or +sizeM or +sizeK (1-25248, default 25248): <br />
Using default value 25248<br />
<br />
Command (m for help): p<br />
<br />
Disk /dev/sdd: 26.4 GB, 26474446848 bytes<br />
64 heads, 32 sectors/track, 25248 cylinders<br />
Units = cylinders of 2048 * 512 = 1048576 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/sdd1 1 25248 25853936 83 Linux<br />
<br />
Command (m for help): w<br />
The partition table has been altered!<br />
<br />
Calling ioctl() to re-read partition table.<br />
Syncing disks.<br />
[root@node1 ~]#<br />
<br />
<img src="http://www.oracledba.org/11gR2/Pre_Install_11gR2_files/image018.jpg" border="0" alt="[Image: image018.jpg]" /><br />
<br />
(b) <span style="color: #002060;">Refreshed the kernel on the remaining nodes with the latest partition table using </span>partprobe<span style="color: #002060;">.</span><br />
<br />
[root@node1 ~]# partprobe<br />
<br />
&copy; <span style="color: #002060;">Verified that the below RPMs are installed before configuring the ASM driver.</span><br />
<br />
oracleasm-2.6.18-194.el5-2.0.5-1.el5<br />
oracleasm-support-2.1.3-1.el5<br />
oracleasm-2.6.18-194.el5xen-2.0.5-1.el5<br />
oracleasm-2.6.18-194.el5PAE-2.0.5-1.el5<br />
oracleasm-2.6.18-194.el5debug-2.0.5-1.el5<br />
oracleasmlib-2.0.4-1.el5<br />
<br />
(d) <span style="color: #002060;">Configured the ASMLib (All the RAC nodes):</span><br />
<br />
[root@node1 ~]# oracleasm configure –i<br />
<br />
</span>(e) <span style="color: #002060;">Loaded the ASMLib Module (All the RAC nodes):</span><br />
<br />
[root@node1 ~]# oracleasm init<br />
<br />
(f) <span style="color: #002060;">Created the ASM disks using oracleasm: (ONLY from one of the RAC nodes)</span><br />
<br />
oracleasm createdisk DSK01 /dev/sdb1<br />
oracleasm createdisk DSK02 /dev/sdc1<br />
oracleasm createdisk DSK03 /dev/sdd1<br />
oracleasm scandisks<br />
oracleasm listdisks<br />
<br />
<br />
(g) <span style="color: #002060;">On the Remaining RAC nodes, simply scanned the ASM disks to instantiate these newly created disks</span><br />
<br />
oracleasm scandisks<br />
oracleasm listdisks<br />
<br />
(h) <span style="color: #002060;">Verified that these ASM disk can be discovered by ASM Libraries (oracleasmlib) on all the RAC Nodes during Installation of Grid Infrastructure.</span><br />
<br />
/usr/sbin/oracleasm-discover 'ORCL:*'<br />
<br />
[grid@node1 ~]&#36; /usr/sbin/oracleasm-discover 'ORCL:*'<br />
Using ASMLib from /opt/oracle/extapi/32/asm/orcl/1/libasm.so<br />
[ASM Library - Generic Linux, version 2.0.4 (KABI_V2)]<br />
Discovered disk: ORCL:DSK01 [51183584 blocks (26205995008 bytes), maxio 512]<br />
Discovered disk: ORCL:DSK02 [51249120 blocks (26239549440 bytes), maxio 512]<br />
Discovered disk: ORCL:DSK03 [51707872 blocks (26474430464 bytes), maxio 512]<br />
[grid@node1 ~]&#36;<br />
<br />
With this, the pre-Installation steps are completed successfully and are ready to install 11g R2 Grid Infrastructure software<br />
<br />
<br />
<br />
<span style="color: #002060;">Get ready with the RAC Architecture Diagram and RAC Setup Information about Cluster Name, SCAN Name, SCAN VIPs, Node Names, VIPs, and Inventory Location. </span><br />
<br />
<span style="text-decoration: underline;">3-Node RAC Architecture: </span><br />
<br />
Machine<br />
Public Name<br />
Private Name<br />
VIP Name<br />
<span style="color: #002060;">RAC Node1</span><br />
node1.hingu.net<br />
node1-prv<br />
node1-vip.hingu.net<br />
<span style="color: #002060;">RAC Node2</span><br />
node2.hingu.net<br />
node2-prv<br />
node2-vip.hingu.net<br />
<span style="color: #002060;">RAC Node3</span><br />
node3.hingu.net<br />
node3-prv<br />
node3-vip.hingu.net<br />
<br />
<br />
SCAN: lab-scan.hingu.net<br />
Cluster Name: lab<br />
Public Network: 192.168.2.0/eth2<br />
Private network: 192.168.0.0/eth0<br />
<br />
<br />
<br />
<span style="color: #002060;">Grid Infrastructure Software (Clusterware + ASM 11.2.0.1):</span><br />
<span style="color: #002060;">Server: All the RAC Nodes</span><br />
<span style="color: #002060;">ORACLE_BASE: /u01/app/grid</span><br />
<span style="color: #002060;">ORACLE_HOME: /u01/app/grid11201</span><br />
<span style="color: #002060;">Owner: grid (Primary Group: oinstall, Secondary Group: asmadmin, asmdba)</span><br />
<span style="color: #002060;">Permissions: 755</span><br />
<span style="color: #002060;">OCR/Voting Disk Storage Type: ASM</span><br />
<span style="color: #002060;">Oracle Inventory Location: /u01/app/oraInventory</span><br />
<br />
<span style="text-decoration: underline;">Start the </span><span style="text-decoration: underline;">runInstaller</span><span style="text-decoration: underline;"> from Grid Infrastructure Software Location:</span><br />
<br />
[grid@node1 grid]&#36; /home/grid/11gR2_for_OEL5/grid11201/grid/runInstaller<br />
<br />
<span style="text-decoration: underline;">Grid Infrastructure installation process:</span><br />
<br />
Installation Option:<br />
Install and Configure Grid Infrastructure for a Cluster<br />
Installation Type:<br />
Advanced Installation<br />
Product Language:<br />
English<br />
Grid Plug and Play:<br />
Cluster Name: lab<br />
SCAN Name: lab-scan.hingu.net<br />
SCAN Port: 1521<br />
Configure GNS: Unchecked<br />
Cluster Node Information:<br />
Entered the Hostname and VIP names of the Cluster Nodes.<br />
Checked the SSH connectivity<br />
Network Interface Usage:<br />
OUI picked up all the interfaces correctly. I did not have to make any changes here.<br />
Storage Option:<br />
Automatic Storage Management (ASM)<br />
Create ASM Disk Group:<br />
Disk Group Name: GIS_FILES<br />
Redundancy: External<br />
Candidate Disk: ORCL:DSK01<br />
ASM Password:<br />
Use Same Password for these accounts. (Ignored password warnings.)<br />
Failure Isolation:<br />
Do not use Intelligent Platform Management Interface (IPMI)<br />
Operating System Groups:<br />
ASM Database Administrator (OSDBA) Group: asmdba<br />
ASM Instance Administrator Operator (OSOPER) Group: oinstall<br />
ASM Instance Administrator (OSASM) Group: asmadmin<br />
Installation Location:<br />
Oracle Base: /u01/app/grid<br />
Software Location: /u01/app/grid11201<br />
Create Inventory:<br />
Inventory Directory: /u01/app/oraInventory<br />
Prerequisite Checks:<br />
Ignored the failures of NTP check to use Oracle’s CTSS. All the 3 nodes’ clock was set to same time before the installation.<br />
Summary Screen:<br />
Verified the information here and pressed “Finish” to start installation.<br />
<br />
At the End of the installation, the two scripts needs to be executed as root user. <br />
<br />
/u01/app/oraInventory/orainstRoot.sh<br />
/u01/app/grid11201/root.sh<br />
<br />
After the successful completion of these scripts, the 11g R2 High Availability Service (CRS, CSS and EVMD) should all be up and running. <br />
Verify the status of the installation using below set of commands.<br />
<br />
crsctl check cluster –all<br />
crs_stat –t –v<br />
crsctl check ctss<br />
<br />
The GSD and OC4J resources are by default disabled. Enable GSD them if 9i Database is managed by this cluster. <br />
<br />
srvctl enable nodeapps –g <br />
srvctl start nodeapps –n node1<br />
srvctl start nodeapps –n node2<br />
srvctl start nodeapps –n node3<br />
srvctl enable oc4j<br />
srvctl start oc4j<br />
<br />
<br />
<span style="text-decoration: underline;">Install 11g R2 RAC Software</span><br />
<br />
<span style="text-decoration: underline;">Start the </span><span style="text-decoration: underline;">runInstaller</span><span style="text-decoration: underline;"> from 11g R2 Real Application Cluster (RAC) Software Location:</span><br />
<br />
[oracle@node1 ~]&#36; /home/oracle/db11201/database/runInstaller<br />
<br />
<span style="text-decoration: underline;">Real Application Cluster installation process:</span><br />
Configure Security Updates:<br />
Email: <a href="http://www.oraerp.com/mailto:bhavin@oracledba.org" target="_blank">abdul.rehman@raqmiyat.com</a><br />
Ignore the “Connection Failed” alert.<br />
Installation Option:<br />
Install database software only<br />
Node Selection:<br />
Select All the Nodes (node1,node2 and node3)<br />
Product Language:<br />
English<br />
Database Edition:<br />
Enterprise Edition<br />
Installation Location:<br />
Oracle Base: /u01/app/oracle<br />
Software Location: /u01/app/oracle/db11201<br />
Operating System Groups:<br />
Database Administrator (OSDBA) Group: dba<br />
Database Operator (OSOPER) Group: oinstall<br />
Network Interface Usage:<br />
OUI picked up all the interfaces correctly. I did not have to make any changes here.<br />
Summary Screen:<br />
Verified the information here and pressed “Finish” to start installation.<br />
<br />
At the End of the installation, the two scripts needs to be executed on all the nodes as root user. <br />
<br />
/u01/app/oracle/db11201/root.sh<br />
<br />
<br />
<br />
<br />
<br />
Run the root.sh on all the RAC nodes.<br />
<br />
<img src="http://www.oracledba.org/11gR2/Install_11gR2_RAC_files/image013.jpg" border="0" alt="[Image: image013.jpg]" /><br />
<br />
At this point, the 11g R2 (11.2.0.1) Real Application cluster Installation is completed successfully. Now, it’s time to create new ASM disk groups and LISTENER for the new database.<br />
<span style="text-decoration: underline;">Add Listener:</span> <br />
Listener name: LAB_LISTENER<br />
END Point: TCP:1525<br />
<br />
Invoke the netca utility under &#36;ORACLE_HOME/bin to create a listener and provide the above information to the specific window. The screenshots of this process are as below.<br />
<br />
<br />
<br />
<span style="text-decoration: underline;">Create ASM Disk Groups:</span><br />
<br />
Disk Group Name: FRA, DATA<br />
ASM DISKs: DSK02, DSK03 respectively.<br />
Redundancy Level: External<br />
<br />
Connect as grid user and Invoke the asmca utility under &#36;GRID_HOME/bin to create these disk groups. The screenshots of this process are as below.<br />
<br />
<br />
<br />
<br />
<br />
<span style="text-decoration: underline;">Create 11g R2 RAC database using dbca:</span><br />
<br />
DB Name: labdb<br />
<br />
Connect as oracle user and invoke the dbca utility under &#36;ORACLE_HOME/bin to create a new database. After the successful creation of database, modify the LOCAL_LISTENER parameter to point to port 1525 for all the RAC nodes and test the connectivity to the database. The HOST and port value in the TNS ALIAS (connect string) should be set to lab-scan.hingu.net and 1521 respectively. This way, all client knows is the cluster host and port (lab-scan.hingu.net:1521). The DATABASE instances gets registered with the SCAN Listener (1521) running on virtual Host via REMOTE_LISTENER parameter and client connect request coming to SCAN listener gets redirected to the least loaded DATABASE instance based on the service name specified in connect string. So, the Database instance gets registered with the LOCAL_LISTENER (regular Database Listener) and REMOTE_LISTENER (scan).<br />
<br />
The screenshots of this process are as below.<br />
<br />
<br />
<img src="http://www.oracledba.org/11gR2/Install_11gR2_RAC_files/image041.jpg" border="0" alt="[Image: image041.jpg]" /><br />
<img src="http://www.oracledba.org/11gR2/Install_11gR2_RAC_files/image042.jpg" border="0" alt="[Image: image042.jpg]" /><br />
<br />
<img src="http://www.oracledba.org/11gR2/Install_11gR2_RAC_files/image043.jpg" border="0" alt="[Image: image043.jpg]" /><br />
<br />
[grid@node1 ~]&#36; lsnrctl status listener_scan1<br />
<br />
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 03-SEP-2011 22:30:53<br />
<br />
Copyright &copy; 1991, 2009, Oracle. All rights reserved.<br />
<br />
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))<br />
STATUS of the LISTENER<br />
------------------------<br />
Alias LISTENER_SCAN1<br />
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production<br />
Start Date 03-SEP-2011 22:23:08<br />
Uptime 0 days 0 hr. 7 min. 45 sec<br />
Trace Level off<br />
Security ON: Local OS Authentication<br />
SNMP OFF<br />
Listener Parameter File /u01/app/grid11201/network/admin/listener.ora<br />
Listener Log File /u01/app/grid11201/log/diag/tnslsnr/node1/listener_scan1/alert/log.xml<br />
Listening Endpoints Summary...<br />
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))<br />
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.152)(PORT=1521)))<br />
Services Summary...<br />
Service "labdb.hingu.net" has 3 instance(s).<br />
Instance "labdb1", status READY, has 1 handler(s) for this service...<br />
Instance "labdb2", status READY, has 1 handler(s) for this service...<br />
Instance "labdb3", status READY, has 1 handler(s) for this service...<br />
Service "labdbXDB.hingu.net" has 3 instance(s).<br />
Instance "labdb1", status READY, has 1 handler(s) for this service...<br />
Instance "labdb2", status READY, has 1 handler(s) for this service...<br />
Instance "labdb3", status READY, has 1 handler(s) for this service...<br />
The command completed successfully<br />
[grid@node1 ~]&#36; <br />
<br />
[oracle@node1 ~]&#36; lsnrctl status lab_listener<br />
<br />
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 03-SEP-2011 22:36:55<br />
<br />
Copyright &copy; 1991, 2009, Oracle. All rights reserved.<br />
<br />
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LAB_LISTENER)))<br />
STATUS of the LISTENER<br />
------------------------<br />
Alias LAB_LISTENER<br />
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production<br />
Start Date 03-SEP-2011 22:23:08<br />
Uptime 0 days 0 hr. 13 min. 47 sec<br />
Trace Level off<br />
Security ON: Local OS Authentication<br />
SNMP OFF<br />
Listener Parameter File /u01/app/oracle/db11201/network/admin/listener.ora<br />
Listener Log File /u01/app/oracle/diag/tnslsnr/node1/lab_listener/alert/log.xml<br />
Listening Endpoints Summary...<br />
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LAB_LISTENER)))<br />
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1525)))<br />
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.51)(PORT=1525)))<br />
Services Summary...<br />
Service "labdb.hingu.net" has 1 instance(s).<br />
Instance "labdb1", status READY, has 1 handler(s) for this service...<br />
Service "labdbXDB.hingu.net" has 1 instance(s).<br />
Instance "labdb1", status READY, has 1 handler(s) for this service...<br />
The command completed successfully<br />
[oracle@node1 ~]&#36;<br />
<br />
<br />
<img src="http://www.oracledba.org/11gR2/Install_11gR2_RAC_files/image044.jpg" border="0" alt="[Image: image044.jpg]" /><br />
<br />
<br />
With this, the Installation of 11g R2 RAC on Linux (OEL 5.5) is completed successfully. I hope you find this article helpful.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[R12 Rapid clone mulit node to single node (12.1.1 on linux 5) ]]></title>
			<link>http://www.oraerp.com/Thread-R12-Rapid-clone-mulit-node-to-single-node-12-1-1-on-linux-5</link>
			<pubDate>Sat, 04 Jun 2011 12:31:24 -0500</pubDate>
			<guid isPermaLink="false">http://www.oraerp.com/Thread-R12-Rapid-clone-mulit-node-to-single-node-12-1-1-on-linux-5</guid>
			<description><![CDATA[Oracle Application R12.1.1 on linux 5 with 11g Database. I have attached R12 Rapid clone doc. we have mulit node PROD and TEST is single node. DB node(Server) and Apps node(Sever) and without shared appl_top.<br />
<br />
R12 Clone Process set up in Spearlog <br />
<br />
<br />
Esitmate hours : 6 hours and 2 hours DBA task<br />
Note : Please use the cold backup for R12 clone process <br />
------------------------------------------------------------------------------------------------<br />
<br />
1) login as oraprod <br />
<br />
cd /u01/app/spearprod/dbtechst/11.1.0/appsutil/scripts/PROD_speardb<br />
perl adpreclone.pl dbTier<br />
<br />
<br />
log file : /u01/app/spearprod/dbtechst/11.1.0/appsutil/log/PROD_speardb/StageDBTier_05081242.log<br />
<br />
2) login as applmgr <br />
<br />
cd /u01/app/spearprod/inst/apps/PROD_spearapp/admin/scripts<br />
perl adpreclone.pl appsTier<br />
<br />
Log file located at /u01/app/spearprod/inst/apps/PROD_spearapp/admin/log/StageAppsTier_05081250.log<br />
<br />
<br />
3) Shutdown apps node (Server --&gt; )<br />
--------------------------------------------------------<br />
cd &#36;INST_TOP/admin/scripts<br />
./adstpall.sh apps/prod0310apps<br />
<br />
<br />
4) Shutdown Database node <br />
--------------------------------------------------------<br />
<br />
a) cd &#36;ORACLE_HOME or cd /u01/app/spearprod/dbtechst/11.1.0<br />
<br />
b) [oraprod@speardb 11.1.0]&#36; ls *.env<br />
PROD_speardb.env SPEARTST_speartest.env<br />
c) . PROD_speardb.env<br />
<br />
d) sqlplus "/as sysdba"<br />
<br />
e) SQL> shutdown immediate;<br />
<br />
f) exit<br />
<br />
g) lsnrctl STOP PROD<br />
<br />
Note : wait for 5 mintus<br />
<br />
-----------------------------------------------------------------------------------------------------------------------<br />
4.A<br />
-----------------------------------------------------------------------------------------------------------------------<br />
login as oreatest<br />
<br />
Stop the Oracle Application and Database<br />
<br />
Clear the file system in oratest<br />
--------------------------------<br />
STEP 1 cd /u01/app/speartst<br />
<br />
rm -rf inst<br />
rm -rf 10.1.3<br />
rm -rf 10.1.2<br />
rm -rf dbtechst<br />
rm -rf appl<br />
rm -rf comn<br />
<br />
STEP 2 cd /d01/app/speartst<br />
rm -rf oradata<br />
mkdir oradata<br />
<br />
<br />
5)login as oraprod<br />
<br />
a) cd /u01/app/spearprod<br />
scp -r dbtechst oratest@0.71:/u01/app/speartst > /tmp/dbtechst.log<br />
<br />
b) cd /d01/app/spearprod/oradata<br />
scp -r *.dbf oratest@0.71:/d01/app/speartst/oradata > /tmp/datafile.log<br />
<br />
6)logins applmgr(root) ()<br />
cd /u01/app/spearprod/appl<br />
<br />
scr -r inst 10.1.3 10.1.2 appl comn oratest@0.71:/u01/app/speartst > /tmp/apps.log<br />
<br />
---------------------------------------------------------------------------------<br />
<br />
7) cd /u01/app/speartst/dbtechst/11.1.0/appsutil/clone/bin<br />
	perl adcfgclone.pl dbTier (old password)<br />
<br />
/u01/app/speartst/dbtechst/11.1.0/appsutil/log/SPEARTST_speartest/ApplyDBTier_05081706.log<br />
<br />
<br />
8) /u01/app/speartst/comn/clone/bin<br />
perl adcfgclone.pl appsTier (old password)<br />
<br />
log file : /u01/app/speartst/inst/apps/SPEARTST_speartest/admin/log/ApplyAppsTier_05082041.log<br />
<br />
9) Post clone actitives<br />
<br />
Change pasword<br />
<br />
a) FNDCPASS apps/prod0310apps 0 Y system/aprodsystemspl USER SYSADMIN sysadmin123<br />
FNDCPASS apps/prod0310apps 0 Y system/prodsystemspl SYSTEM APPLSYS apps123<br />
<br />
change sys and system password <br />
<br />
b) Shutdown the Application services in Apps tier node and db tier node before changing the APPS password. <br />
------------------------------------------------------------------------------------------------------<br />
c) DB node:<br />
----------------<br />
&#36; cd /u01/app/speartst/dbtechst/11.1.0<br />
adautocfg.sh apps/newPasword<br />
<br />
d) APPS node After running the autoconfig(new password) <br />
---------------------------<br />
&#36; cd /u01/app/speartst/inst/apps/SPEARTST_speartest/admin/scripts<br />
adautocfg.sh apps/newPasword<br />
<br />
e) Startup the Application on DB node &amp; apps node <br />
<br />
DB/CA Part <br />
-------------------<br />
Login oraTag ? user id . and shutdown all services<br />
<br />
cd /u01/app/speartst/inst/apps/SPEARTST_speartest/admin/scripts<br />
./adstrtal.sh apps/<apps Passwrd> <br />
<br />
cd /u01/app/speartst/dbtechst/11.1.0<br />
<br />
ls *.env <br />
<br />
. SPEARTST_speartest.env<br />
<br />
sqlplus "/as sysdba"<br />
SQL > shutdown immediate<br />
SQL > ! lsnrctl stop SPEARTST<br />
SQL > startup <br />
SQL > !lsnrctl start SPEARTST<br />
<br />
APPS node<br />
------------	<br />
cd /u01/app/speartst/inst/apps/SPEARTST_speartest/admin/scripts<br />
./ adstrtal.sh apps/<apps Passwrd><br />
<br />
---------------------------------------------------------------------------<br />
(h) Login as sysadmin through Application<br />
<a href="http://speartest.spearlog.com:8020/OA_HTML/AppsLogin" target="_blank">http://speartest.spearlog.com:8020/OA_HTML/AppsLogin</a> <br />
---------------------------------------------------------------------------<br />
<br />
i) Finishing task<br />
---------------------<br />
Change the Profile Values as below,<br />
<br />
	Site Name(eg: Spearlog PROD Clone of PROD as of 08/05/2010<br />
	Remove the timeout from profile :ICX%Sess%<br />
java color : <br />
	Apps node: (all Manager are status like actual and target should be more >0 , if not run the Below the script<br />
<br />
	cd /u01/app/speartst/inst/apps/SPEARTST_speartest/admin/scripts./adcmctl.sh start apps/app01<br />
<br />
	Sumbit Active User Request &amp; verified the Log file<br />
<br />
<br />
j) verify the workflows managers<br />
<br />
After the backup restore (usage in TEST server)<br />
----------------------------------------------<br />
[oratest@speartest appl]&#36; df -h<br />
Filesystem Size Used Avail Use% Mounted on<br />
/dev/cciss/c0d0p6 20G 11G 8.3G 56% /<br />
/dev/cciss/c0d0p5 29G 173M 27G 1% /r01<br />
/dev/cciss/c0d0p3 97G 47G 45G 52% /u01<br />
/dev/cciss/c0d0p2 243G 55G 176G 24% /d01<br />
/dev/cciss/c0d0p1 99M 12M 83M 12% /boot<br />
tmpfs 2.5G 0 2.5G 0% /dev/shm]]></description>
			<content:encoded><![CDATA[Oracle Application R12.1.1 on linux 5 with 11g Database. I have attached R12 Rapid clone doc. we have mulit node PROD and TEST is single node. DB node(Server) and Apps node(Sever) and without shared appl_top.<br />
<br />
R12 Clone Process set up in Spearlog <br />
<br />
<br />
Esitmate hours : 6 hours and 2 hours DBA task<br />
Note : Please use the cold backup for R12 clone process <br />
------------------------------------------------------------------------------------------------<br />
<br />
1) login as oraprod <br />
<br />
cd /u01/app/spearprod/dbtechst/11.1.0/appsutil/scripts/PROD_speardb<br />
perl adpreclone.pl dbTier<br />
<br />
<br />
log file : /u01/app/spearprod/dbtechst/11.1.0/appsutil/log/PROD_speardb/StageDBTier_05081242.log<br />
<br />
2) login as applmgr <br />
<br />
cd /u01/app/spearprod/inst/apps/PROD_spearapp/admin/scripts<br />
perl adpreclone.pl appsTier<br />
<br />
Log file located at /u01/app/spearprod/inst/apps/PROD_spearapp/admin/log/StageAppsTier_05081250.log<br />
<br />
<br />
3) Shutdown apps node (Server --&gt; )<br />
--------------------------------------------------------<br />
cd &#36;INST_TOP/admin/scripts<br />
./adstpall.sh apps/prod0310apps<br />
<br />
<br />
4) Shutdown Database node <br />
--------------------------------------------------------<br />
<br />
a) cd &#36;ORACLE_HOME or cd /u01/app/spearprod/dbtechst/11.1.0<br />
<br />
b) [oraprod@speardb 11.1.0]&#36; ls *.env<br />
PROD_speardb.env SPEARTST_speartest.env<br />
c) . PROD_speardb.env<br />
<br />
d) sqlplus "/as sysdba"<br />
<br />
e) SQL> shutdown immediate;<br />
<br />
f) exit<br />
<br />
g) lsnrctl STOP PROD<br />
<br />
Note : wait for 5 mintus<br />
<br />
-----------------------------------------------------------------------------------------------------------------------<br />
4.A<br />
-----------------------------------------------------------------------------------------------------------------------<br />
login as oreatest<br />
<br />
Stop the Oracle Application and Database<br />
<br />
Clear the file system in oratest<br />
--------------------------------<br />
STEP 1 cd /u01/app/speartst<br />
<br />
rm -rf inst<br />
rm -rf 10.1.3<br />
rm -rf 10.1.2<br />
rm -rf dbtechst<br />
rm -rf appl<br />
rm -rf comn<br />
<br />
STEP 2 cd /d01/app/speartst<br />
rm -rf oradata<br />
mkdir oradata<br />
<br />
<br />
5)login as oraprod<br />
<br />
a) cd /u01/app/spearprod<br />
scp -r dbtechst oratest@0.71:/u01/app/speartst > /tmp/dbtechst.log<br />
<br />
b) cd /d01/app/spearprod/oradata<br />
scp -r *.dbf oratest@0.71:/d01/app/speartst/oradata > /tmp/datafile.log<br />
<br />
6)logins applmgr(root) ()<br />
cd /u01/app/spearprod/appl<br />
<br />
scr -r inst 10.1.3 10.1.2 appl comn oratest@0.71:/u01/app/speartst > /tmp/apps.log<br />
<br />
---------------------------------------------------------------------------------<br />
<br />
7) cd /u01/app/speartst/dbtechst/11.1.0/appsutil/clone/bin<br />
	perl adcfgclone.pl dbTier (old password)<br />
<br />
/u01/app/speartst/dbtechst/11.1.0/appsutil/log/SPEARTST_speartest/ApplyDBTier_05081706.log<br />
<br />
<br />
8) /u01/app/speartst/comn/clone/bin<br />
perl adcfgclone.pl appsTier (old password)<br />
<br />
log file : /u01/app/speartst/inst/apps/SPEARTST_speartest/admin/log/ApplyAppsTier_05082041.log<br />
<br />
9) Post clone actitives<br />
<br />
Change pasword<br />
<br />
a) FNDCPASS apps/prod0310apps 0 Y system/aprodsystemspl USER SYSADMIN sysadmin123<br />
FNDCPASS apps/prod0310apps 0 Y system/prodsystemspl SYSTEM APPLSYS apps123<br />
<br />
change sys and system password <br />
<br />
b) Shutdown the Application services in Apps tier node and db tier node before changing the APPS password. <br />
------------------------------------------------------------------------------------------------------<br />
c) DB node:<br />
----------------<br />
&#36; cd /u01/app/speartst/dbtechst/11.1.0<br />
adautocfg.sh apps/newPasword<br />
<br />
d) APPS node After running the autoconfig(new password) <br />
---------------------------<br />
&#36; cd /u01/app/speartst/inst/apps/SPEARTST_speartest/admin/scripts<br />
adautocfg.sh apps/newPasword<br />
<br />
e) Startup the Application on DB node &amp; apps node <br />
<br />
DB/CA Part <br />
-------------------<br />
Login oraTag ? user id . and shutdown all services<br />
<br />
cd /u01/app/speartst/inst/apps/SPEARTST_speartest/admin/scripts<br />
./adstrtal.sh apps/<apps Passwrd> <br />
<br />
cd /u01/app/speartst/dbtechst/11.1.0<br />
<br />
ls *.env <br />
<br />
. SPEARTST_speartest.env<br />
<br />
sqlplus "/as sysdba"<br />
SQL > shutdown immediate<br />
SQL > ! lsnrctl stop SPEARTST<br />
SQL > startup <br />
SQL > !lsnrctl start SPEARTST<br />
<br />
APPS node<br />
------------	<br />
cd /u01/app/speartst/inst/apps/SPEARTST_speartest/admin/scripts<br />
./ adstrtal.sh apps/<apps Passwrd><br />
<br />
---------------------------------------------------------------------------<br />
(h) Login as sysadmin through Application<br />
<a href="http://speartest.spearlog.com:8020/OA_HTML/AppsLogin" target="_blank">http://speartest.spearlog.com:8020/OA_HTML/AppsLogin</a> <br />
---------------------------------------------------------------------------<br />
<br />
i) Finishing task<br />
---------------------<br />
Change the Profile Values as below,<br />
<br />
	Site Name(eg: Spearlog PROD Clone of PROD as of 08/05/2010<br />
	Remove the timeout from profile :ICX%Sess%<br />
java color : <br />
	Apps node: (all Manager are status like actual and target should be more >0 , if not run the Below the script<br />
<br />
	cd /u01/app/speartst/inst/apps/SPEARTST_speartest/admin/scripts./adcmctl.sh start apps/app01<br />
<br />
	Sumbit Active User Request &amp; verified the Log file<br />
<br />
<br />
j) verify the workflows managers<br />
<br />
After the backup restore (usage in TEST server)<br />
----------------------------------------------<br />
[oratest@speartest appl]&#36; df -h<br />
Filesystem Size Used Avail Use% Mounted on<br />
/dev/cciss/c0d0p6 20G 11G 8.3G 56% /<br />
/dev/cciss/c0d0p5 29G 173M 27G 1% /r01<br />
/dev/cciss/c0d0p3 97G 47G 45G 52% /u01<br />
/dev/cciss/c0d0p2 243G 55G 176G 24% /d01<br />
/dev/cciss/c0d0p1 99M 12M 83M 12% /boot<br />
tmpfs 2.5G 0 2.5G 0% /dev/shm]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Output Post Processor not coming up ]]></title>
			<link>http://www.oraerp.com/Thread-Output-Post-Processor-not-coming-up</link>
			<pubDate>Mon, 24 Jan 2011 03:48:41 -0600</pubDate>
			<guid isPermaLink="false">http://www.oraerp.com/Thread-Output-Post-Processor-not-coming-up</guid>
			<description><![CDATA[Hi Friends,<br />
<br />
We have a single node production instance (R12.1.1 with 11.1.0.7)<br />
<br />
We cloned a test instance from this production instance. Now everything is fine except that the Output post Processor.<br />
<br />
OPP is not coming up. Also, there are no FNDOPP* logs generated in &#36;APPLCSF/log<br />
<br />
I tried to resolve the issue by running:<br />
<br />
exec fnd_conc_clone.setup_clean;<br />
<br />
Ran autoconfig and &#36;FND_TOP/patch/115/sql/afdcm037.sql<br />
<br />
Even then OPP is not coming up.]]></description>
			<content:encoded><![CDATA[Hi Friends,<br />
<br />
We have a single node production instance (R12.1.1 with 11.1.0.7)<br />
<br />
We cloned a test instance from this production instance. Now everything is fine except that the Output post Processor.<br />
<br />
OPP is not coming up. Also, there are no FNDOPP* logs generated in &#36;APPLCSF/log<br />
<br />
I tried to resolve the issue by running:<br />
<br />
exec fnd_conc_clone.setup_clean;<br />
<br />
Ran autoconfig and &#36;FND_TOP/patch/115/sql/afdcm037.sql<br />
<br />
Even then OPP is not coming up.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Custom Top while upgrade ]]></title>
			<link>http://www.oraerp.com/Thread-Custom-Top-while-upgrade</link>
			<pubDate>Sun, 02 Jan 2011 01:02:15 -0600</pubDate>
			<guid isPermaLink="false">http://www.oraerp.com/Thread-Custom-Top-while-upgrade</guid>
			<description><![CDATA[How to handle custom top and custom objects. while upgradation from 11i to R12.<br />
what is the impact of upgradation on on custom top and Custom objects.]]></description>
			<content:encoded><![CDATA[How to handle custom top and custom objects. while upgradation from 11i to R12.<br />
what is the impact of upgradation on on custom top and Custom objects.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Expire Users Automatically after Inactivity ]]></title>
			<link>http://www.oraerp.com/Thread-Expire-Users-Automatically-after-Inactivity</link>
			<pubDate>Thu, 16 Dec 2010 04:11:43 -0600</pubDate>
			<guid isPermaLink="false">http://www.oraerp.com/Thread-Expire-Users-Automatically-after-Inactivity</guid>
			<description><![CDATA[Is there any built-in functionality to automatically expire a user after they have been inactive in Oracle Financials? For example, if a user has not signed in for 90 days, we would like to have them automatically locked out requiring a sysadmin to reactivate them. Thank you.]]></description>
			<content:encoded><![CDATA[Is there any built-in functionality to automatically expire a user after they have been inactive in Oracle Financials? For example, if a user has not signed in for 90 days, we would like to have them automatically locked out requiring a sysadmin to reactivate them. Thank you.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to check version after i apply pacth  ]]></title>
			<link>http://www.oraerp.com/Thread-How-to-check-version-after-i-apply-pacth</link>
			<pubDate>Tue, 07 Dec 2010 23:07:33 -0600</pubDate>
			<guid isPermaLink="false">http://www.oraerp.com/Thread-How-to-check-version-after-i-apply-pacth</guid>
			<description><![CDATA[I'm going to apply patch with the ID# 9355677 - R12.1.2 UNABLE TO SAVE THE TAX CLASSIFICATION FOR A SUPPLIER TYPE EMPLOYEE<br />
<br />
my question is<br />
in the readme file<br />
<br />
there is a portion that i need to check the version of the following file<br />
&#36;JAVA_TOP/oracle/apps/zx/schema/server/PartyTaxProfileEOImpl.class 120.17.12010000.4<br />
&#36;ZX_TOP/patch/115/sql/zxcptytaxprfileb.pls 120.9.12010000.4<br />
&#36;ZX_TOP/patch/115/sql/zxcptytaxprfiles.pls 120.3.12010000.2<br />
<br />
how do I know the version?<br />
do i need to execute command so that i can able to check version?]]></description>
			<content:encoded><![CDATA[I'm going to apply patch with the ID# 9355677 - R12.1.2 UNABLE TO SAVE THE TAX CLASSIFICATION FOR A SUPPLIER TYPE EMPLOYEE<br />
<br />
my question is<br />
in the readme file<br />
<br />
there is a portion that i need to check the version of the following file<br />
&#36;JAVA_TOP/oracle/apps/zx/schema/server/PartyTaxProfileEOImpl.class 120.17.12010000.4<br />
&#36;ZX_TOP/patch/115/sql/zxcptytaxprfileb.pls 120.9.12010000.4<br />
&#36;ZX_TOP/patch/115/sql/zxcptytaxprfiles.pls 120.3.12010000.2<br />
<br />
how do I know the version?<br />
do i need to execute command so that i can able to check version?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[VALIDATE DATABASE command]]></title>
			<link>http://www.oraerp.com/Thread-VALIDATE-DATABASE-command</link>
			<pubDate>Tue, 07 Dec 2010 12:13:40 -0600</pubDate>
			<guid isPermaLink="false">http://www.oraerp.com/Thread-VALIDATE-DATABASE-command</guid>
			<description><![CDATA[Can anyone tell what is the purpose of VALIDATE DATABASE command]]></description>
			<content:encoded><![CDATA[Can anyone tell what is the purpose of VALIDATE DATABASE command]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[RW-50015: Error at post installation]]></title>
			<link>http://www.oraerp.com/Thread-RW-50015-Error-at-post-installation</link>
			<pubDate>Thu, 28 Oct 2010 02:02:16 -0500</pubDate>
			<guid isPermaLink="false">http://www.oraerp.com/Thread-RW-50015-Error-at-post-installation</guid>
			<description><![CDATA[I'm getting this error after installing it on Linux 5, I've then applied Interim patch for Oracle base bug: 6078836 by copying libdb.so.2 at /usr/lib directory and then retry the installation with rapidwiz restart services but getting the same error. Kindly help me in resolving this issue]]></description>
			<content:encoded><![CDATA[I'm getting this error after installing it on Linux 5, I've then applied Interim patch for Oracle base bug: 6078836 by copying libdb.so.2 at /usr/lib directory and then retry the installation with rapidwiz restart services but getting the same error. Kindly help me in resolving this issue]]></content:encoded>
		</item>
	</channel>
</rss>