<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mark Wagner&#039;s Oracle on Linux Site</title>
	<atom:link href="http://oracle-on-linux.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://oracle-on-linux.net</link>
	<description>Helping DBA&#039;s in a Linux World</description>
	<lastBuildDate>Thu, 20 Aug 2009 18:21:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Cleaning up a failed installation or reinstalling Oracle 10g or 11g</title>
		<link>http://oracle-on-linux.net/2009/08/20/cleaning-up-a-failed-installation-or-reinstalling-oracle-10g-or-11g/</link>
		<comments>http://oracle-on-linux.net/2009/08/20/cleaning-up-a-failed-installation-or-reinstalling-oracle-10g-or-11g/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 18:16:57 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[Oracle 10g R2]]></category>
		<category><![CDATA[Oracle 11g]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/2009/08/20/cleaning-up-a-failed-installation-or-reinstalling-oracle-10g-or-11g/</guid>
		<description><![CDATA[su – root # For 10g export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1 # For 11g export ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1 . $ORACLE_HOME/bin/localconfig delete # stops the Oracle CSS daemon and deletes configuration rm -rf /u01/app/oracle/* rm -rf /u01/app/oraInventory rm -f /etc/oraInst.loc /etc/oratab rm -rf /etc/oracle rm -f /etc/inittab.cssd rm -f /usr/local/bin/coraenv /usr/local/bin/dbhome /usr/local/bin/oraenv]]></description>
			<content:encoded><![CDATA[<p>su – root</p>
<p># For 10g   <br />export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1</p>
<p> # For 11g  <br />export ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
<p>. $ORACLE_HOME/bin/localconfig delete    <br /># stops the Oracle CSS daemon and deletes configuration    <br />rm -rf /u01/app/oracle/*</p>
<p>rm -rf /u01/app/oraInventory   <br />rm -f /etc/oraInst.loc /etc/oratab    <br />rm -rf /etc/oracle    <br />rm -f /etc/inittab.cssd    <br />rm -f /usr/local/bin/coraenv /usr/local/bin/dbhome /usr/local/bin/oraenv</p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/08/20/cleaning-up-a-failed-installation-or-reinstalling-oracle-10g-or-11g/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASMCMD-08103: failed to connect to ASM; ASMCMD running in non-connected mode</title>
		<link>http://oracle-on-linux.net/2009/08/15/asmcmd-08103-failed-to-connect-to-asm-asmcmd-running-in-non-connected-mode/</link>
		<comments>http://oracle-on-linux.net/2009/08/15/asmcmd-08103-failed-to-connect-to-asm-asmcmd-running-in-non-connected-mode/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 20:05:15 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[ASM]]></category>
		<category><![CDATA[Automatic Storage Management]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[ASM asmtool oracleasm errors]]></category>
		<category><![CDATA[asmcmd]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/2009/08/15/asmcmd-08103-failed-to-connect-to-asm-asmcmd-running-in-non-connected-mode/</guid>
		<description><![CDATA[The warning is provided in 2 cases. If the ORACLE_SID is not set properly or when the ASM instance is not running. Before Oracle 11g the user received an error which was indicated that the environment was wrong. In Oracle 11g a must beter message is provide, and there are situations where you can use [...]]]></description>
			<content:encoded><![CDATA[<p>The warning is provided in 2 cases. If the ORACLE_SID is not set properly or when the ASM instance is not running. </p>
<p>Before Oracle 11g the user received an error which was indicated that the environment was wrong. In Oracle 11g a must beter message is provide, and there are situations where you can use ASMCMD even when the ASM instance is not started or the ORACLE_SID is not set properly.</p>
<p>So depending on the situation the message can be correct. If this is not wanted, validate if the ASM instance is running and/or ORACLE_SID is set correctly.</p>
<p>When using ASMCMD, if ASM instance is running, v$ views are used to retrieve the information requested. If the ASM instance is down, the diskheader is read to provide the requested information when using ASMCMD.</p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/08/15/asmcmd-08103-failed-to-connect-to-asm-asmcmd-running-in-non-connected-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle ASM Errors</title>
		<link>http://oracle-on-linux.net/2009/08/13/oracle-asm-errors/</link>
		<comments>http://oracle-on-linux.net/2009/08/13/oracle-asm-errors/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 17:02:08 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[ASM]]></category>
		<category><![CDATA[Automatic Storage Management]]></category>
		<category><![CDATA[Oracle 10g R2]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[ASM asmtool oracleasm errors]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/2009/08/13/oracle-asm-errors/</guid>
		<description><![CDATA[&#160; # /etc/init.d/oracleasm createdisk VOL1 /dev/xvdb1 Marking disk &#34;/dev/xvdb1&#34; as an ASM disk: asmtool: Device &#34;/dev/xvdb1&#34; is not a partition [FAILED] Workaround: Run the asmtool command with the -a force=yes parameter to ignore the partition check, for example # asmtool -C -l /dev/oracleasm -n VOL1 -s /dev/xvdb1 -a force=yes /etc/init.d/oracleasm scandisks The oracleasm scandisks command [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<pre># /etc/init.d/oracleasm createdisk VOL1 /dev/xvdb1
Marking disk &quot;/dev/xvdb1&quot; as an ASM disk: asmtool: Device &quot;/dev/xvdb1&quot; is not
a partition
                                                           [FAILED]</pre>
<p>Workaround: Run the asmtool command with the <code>-a force=yes</code> parameter to ignore the partition check, for example</p>
<pre># asmtool -C -l /dev/oracleasm -n VOL1 -s /dev/xvdb1 -a force=yes
/etc/init.d/oracleasm scandisks</pre>
<p>The <code>oracleasm scandisks</code> command fixes permissions once the disk is created.</p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/08/13/oracle-asm-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Universal Installer</title>
		<link>http://oracle-on-linux.net/2009/07/26/oracle-universal-installer/</link>
		<comments>http://oracle-on-linux.net/2009/07/26/oracle-universal-installer/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 18:27:50 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[Oracle 10g R2]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[Universal Installer]]></category>
		<category><![CDATA[Automating Installations]]></category>
		<category><![CDATA[Oracle Universal Installer]]></category>
		<category><![CDATA[Silent Oracle Installs]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/2009/07/26/oracle-universal-installer/</guid>
		<description><![CDATA[&#160; One of the beauties of the Oracle database is that nearly everything associated with it can be automated. Oracle installation is one of the easiest tasks to handle with little or no human intervention. Sadly, Oracle Corporation has historically provided little documentation on exactly how to accomplish this. This chapter will discuss the main [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>One of the beauties of the Oracle database is that nearly everything associated with it can be automated. Oracle installation is one of the easiest tasks to handle with little or no human intervention. Sadly, Oracle Corporation has historically provided little documentation on exactly how to accomplish this. </p>
<p>This chapter will discuss the main steps in automating an Oracle installation. Some platforms may require specific preparation before the installer can run. This preparation is usually straightforward and simple, but consult the installation guide for your specific platform <i>before</i> proceeding. </p>
<h4>Automated Installation</h4>
<p>When performing an automated install, you must provide the installer with a text file containing all the necessary instructions. Oracle calls these <i>Oracle Universal Installer (<i>OUI</i>) response files</i>. A response file is a plain text file, which must follow Oracle&#8217;s syntax exactly. </p>
<p>To use a response file during an installation on Windows or UNIX, use the following commands (where &quot;custom.rsp&quot; is the name you&#8217;ve given your response file): </p>
<p>Windows</p>
<p><tt>setup.exe [-silent] -responseFile C:\OraInst\custom.rsp</tt></p>
<p>UNIX</p>
<p><tt>./runInstaller [-silent] -responseFile /u01/OraInst/custom.rsp</tt></p>
<p>The <tt>-silent</tt> qualifier is optional. When a silent install is indicated, the installer will not open any graphical user interface (<i>GUI</i>) windows under any circumstances. All needed information must be provided in the response file for a silent install. If any information is missing, the installer will exit, returning an error and the name of the log file to examine for details. </p>
<p>If the <tt>-silent</tt> qualifier is omitted, the installer will open normally and wait for the user to move through the install steps manually. Each page will be filled in with answers from the response file, but the installation will not proceed automatically. This is very useful if you want an installation &quot;template&quot; rather than a fully automated install. </p>
<p>In addition to the Oracle-provided sample response files, the installer can record a session to create a response file for use in later installations. To record a session, use the <tt>-record</tt> and <tt>-destinationFile</tt> qualifiers. For Windows and UNIX, for example: </p>
<p>Windows</p>
<p><tt>setup.exe -record -destinationFile C:\OraInst\rec.rsp</tt></p>
<p>UNIX</p>
<p><tt>./runInstaller -record -destinationFile /u01/OraInst/rec.rsp</tt></p>
<p>The installer will start and run normally. Choices made during the installation session will be recorded to the designated response file. After all selections have been made, a summary page will be presented. At this point, you can continue with the install or click the Cancel button to end it. Even if the installation is cancelled, the recorded response file is created. </p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/07/26/oracle-universal-installer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OS Prep for Oracle 11g installation &#8211; Redhat EL 5 or Centos 5.2 &#8211; 64bit Installation</title>
		<link>http://oracle-on-linux.net/2009/07/24/os-prep-for-oracle-11g-installation-redhat-el-5-or-centos-5-2-64bit-installation/</link>
		<comments>http://oracle-on-linux.net/2009/07/24/os-prep-for-oracle-11g-installation-redhat-el-5-or-centos-5-2-64bit-installation/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 17:56:09 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[CentOS 5.2]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[Redhat EL 5]]></category>
		<category><![CDATA[Kernel Parameters]]></category>
		<category><![CDATA[Oracle Installation]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/2009/07/24/os-prep-for-oracle-11g-installation-redhat-el-5-or-centos-5-2-64bit-installation/</guid>
		<description><![CDATA[OS Installation At least 1 GB to /tmp&#160; Current Server has 4 GB for /tmp Package Installation Follow the Oracle recommended practice of using a &#34;default RPMs&#34; installation. Accept the default software selection. Additional RPMs are required to run Oracle Database 11g Release 1. These will be installed later. Disable Firewall Select Disabled SELinux. Verify [...]]]></description>
			<content:encoded><![CDATA[<p><b>OS Installation</b></p>
<ol>
<li>At least 1 GB to /tmp&#160; Current Server has 4 GB for /tmp </li>
<li>Package Installation
<ul>
<li>Follow the Oracle recommended practice of using a &quot;default RPMs&quot; installation. Accept the default software selection. </li>
<li>Additional RPMs are required to run Oracle Database 11<i>g</i> Release 1. These will be installed later. </li>
</ul>
</li>
<li>Disable Firewall </li>
<li>Select Disabled SELinux. </li>
</ol>
<p><b></b></p>
<p><b>Verify &amp; Configure </b><b>OS Installation</b><b>&#160; -&#160; </b><b>64-bit (x86_64) Installations</b></p>
<p>Required kernel version: 2.6.18 This kernel, or any of the kernels supplied in updates, works with Oracle Database 11<i>g</i> Release 1 . </p>
<p>Check your kernel version by running the following command: </p>
<p>uname -rm    <br />Ex:     <br /># uname -rm     <br />2.6.18-8.el5 x86_64</p>
<p>Required package versions (or later):</p>
<ul>
<li>binutils-2.17.50.0.6 </li>
<li>compat-libstdc++-33-3.2.3 </li>
<li>compat-libstdc++-33-3.2.3 (32 bit) </li>
<li>elfutils-libelf-0.125 </li>
<li>elfutils-libelf-devel-0.125 </li>
<li>gcc-4.1.1 </li>
<li>gcc-c++-4.1.1 </li>
<li>glibc-2.5-12 </li>
<li>glibc-2.5-12 (32 bit) </li>
<li>glibc-common-2.5 </li>
<li>glibc-devel-2.5 </li>
<li>glibc-devel-2.5-12 (32 bit) </li>
<li>libaio-0.3.106 </li>
<li>libaio-0.3.106 (32 bit) </li>
<li>libaio-devel-0.3.106 </li>
<li>libgcc-4.1.1 </li>
<li>libgcc-4.1.1 (32 bit) </li>
<li>libstdc++-4.1.1 </li>
<li>libstdc++-4.1.1 (32 bit) </li>
<li>libstdc++-devel 4.1.1 </li>
<li>make-3.81 </li>
<li>sysstat-7.0.0 </li>
</ul>
<p>Note that there are a number of packages where both the 64-bit and 32-bit RPMs must be installed. Fortunately, both should be provided on the 64-bit Linux installation media. </p>
<p>If you&#8217;ve performed a &quot;default RPMs&quot; install as suggested by Oracle, there are still some required packages that must be installed:</p>
<ul>
<li>compat-libstdc++-33-3.2.3 </li>
<li>compat-libstdc++-33-3.2.3 (32 bit) </li>
<li>elfutils-libelf-devel-0.125 </li>
<li>gcc-4.1.1 </li>
<li>gcc-c++-4.1.1 </li>
<li>glibc-devel-2.5 </li>
<li>glibc-devel-2.5-12 (32 bit) </li>
<li>libaio-devel-0.3.106 </li>
<li>libstdc++-devel 4.1.1 </li>
<li>sysstat-7.0.0 </li>
</ul>
<p>To install the remaining packages, mount the RedHat Enterprise Linux media and move to the directory containing the RPMs.</p>
<p>Some required packages are dependent upon other packages, so the dependant packages must be installed as well. Login as <b>root</b> and run the following commands to install the remaining required packages and their dependent packages:</p>
<p>Using Yum</p>
<p>yum install elfutils-libelf-devel*.x86_64.rpm glibc-devel-2* gcc-4*.x86_64.rpm gcc-c++-4*.x86_64.rpm libstdc++-devel-4*.x86_64.rpm glibc-headers*.x86_64.rpm libgomp*.x86_64.rpm compat-libstdc++-33* libaio-devel*.x86_64.rpm sysstat*</p>
<p>Using installation CDs</p>
<p>Mount CD 2</p>
<p>&#160;&#160;&#160; mount -t iso9660 -r /dev/cdrom /media    <br />&#160;&#160;&#160; cd /media/Server</p>
<p>&#160;&#160;&#160; rpm -ivh elfutils-libelf-devel*.x86_64.rpm glibc-devel-2* gcc-4*.x86_64.rpm gcc-c++-4*.x86_64.rpm libstdc++-devel-4*.x86_64.rpm glibc-headers*.x86_64.rpm libgomp*.x86_64.rpm</p>
<p>&#160;&#160;&#160; Ex:    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; # rpm -ivh elfutils-libelf-devel*.x86_64.rpm glibc-devel-2* gcc-4*.x86_64.rpm gcc-c++-4*.x86_64.rpm libstdc++-devel-4*.x86_64.rpm glibc-headers*.x86_64.rpm libgomp*.x86_64.rpm     <br />warning: elfutils-libelf-devel-0.125-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; Preparing&#8230; ########################################### [100%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1:glibc-headers ########################################### [ 11%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2:glibc-devel ########################################### [ 22%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 3:libgomp ########################################### [ 33%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4:gcc ########################################### [ 44%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 5:libstdc++-devel ########################################### [ 56%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 6:gcc-c++ ########################################### [ 67%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 7:glibc-devel ########################################### [ 78%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 8:elfutils-libelf-devel-s########################################### [ 89%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 9:elfutils-libelf-devel ########################################### [100%]     <br />&#160;&#160;&#160; cd /     <br />&#160;&#160;&#160; eject     <br />Mount CD 3</p>
<p>&#160;&#160;&#160; mount -t iso9660 -r /dev/cdrom /media    <br />&#160;&#160;&#160; cd /media/Server</p>
<p>&#160;&#160;&#160; rpm -ivh compat-libstdc++-33* libaio-devel*.x86_64.rpm</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; Ex:    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; # rpm -ivh compat-libstdc++-33* libaio-devel*.x86_64.rpm     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; warning: compat-libstdc++-33-3.2.3-61.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; Preparing&#8230; ########################################### [100%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1:libaio-devel ########################################### [ 33%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2:compat-libstdc++-33 ########################################### [ 67%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 3:compat-libstdc++-33 ########################################### [100%]</p>
<p>&#160;&#160;&#160; cd /    <br />&#160;&#160;&#160; eject</p>
<p>Mount CD 4</p>
<p>&#160;&#160;&#160; mount -t iso9660 -r /dev/cdrom /media    <br />&#160;&#160;&#160; cd /media/Server</p>
<p>&#160;&#160;&#160; rpm -ivh sysstat*</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; Ex:    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; # rpm -ivh sysstat*     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; warning: sysstat-7.0.0-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; Preparing&#8230; ########################################### [100%]     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1:sysstat ########################################### [100%]</p>
<p>&#160;&#160;&#160; cd /    <br />&#160;&#160;&#160; eject</p>
<p>To verify that the required packages have been installed on your system, run the following command: </p>
<p>rpm -q &#8211;queryformat &quot;%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n&quot; binutils \    <br />compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc \     <br />glibc-common glibc-devel-2.5 libaio libaio-devel libgcc libstdc++ libstdc++-devel \     <br />make sysstat</p>
<p>&#160;&#160;&#160; Ex:    <br />&#160;&#160;&#160; # rpm -q &#8211;queryformat &quot;%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n&quot; binutils \</p>
<p>&#160;&#160;&#160; &gt; compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc \</p>
<p>&#160;&#160;&#160; &gt; glibc-common glibc-devel-2.5 libaio libaio-devel libgcc libstdc++ libstdc++-devel \</p>
<p>&#160;&#160;&#160; &gt; make sysstat</p>
<p>&#160;&#160;&#160; binutils-2.17.50.0.6-2.el5 (x86_64)</p>
<p>&#160;&#160;&#160; compat-libstdc++-33-3.2.3-61 (i386)</p>
<p>&#160;&#160;&#160; compat-libstdc++-33-3.2.3-61 (x86_64)</p>
<p>&#160;&#160;&#160; elfutils-libelf-0.125-3.el5 (x86_64)</p>
<p>&#160;&#160;&#160; elfutils-libelf-devel-0.125-3.el5 (x86_64)</p>
<p>&#160;&#160;&#160; gcc-4.1.1-52.el5 (x86_64)</p>
<p>&#160;&#160;&#160; gcc-c++-4.1.1-52.el5 (x86_64)</p>
<p>&#160;&#160;&#160; glibc-2.5-12 (i686)</p>
<p>&#160;&#160;&#160; glibc-2.5-12 (x86_64)</p>
<p>&#160;&#160;&#160; glibc-common-2.5-12 (x86_64)</p>
<p>&#160;&#160;&#160; glibc-devel-2.5-12 (x86_64)</p>
<p>&#160;&#160;&#160; glibc-devel-2.5-12 (i386)</p>
<p>&#160;&#160;&#160; libaio-0.3.106-3.2 (x86_64)</p>
<p>&#160;&#160;&#160; libaio-0.3.106-3.2 (i386)</p>
<p>&#160;&#160;&#160; libaio-devel-0.3.106-3.2 (x86_64)</p>
<p>&#160;&#160;&#160; libgcc-4.1.1-52.el5 (x86_64)</p>
<p>&#160;&#160;&#160; libgcc-4.1.1-52.el5 (i386)</p>
<p>&#160;&#160;&#160; libstdc++-4.1.1-52.el5 (x86_64)</p>
<p>&#160;&#160;&#160; libstdc++-4.1.1-52.el5 (i386)</p>
<p>&#160;&#160;&#160; libstdc++-devel-4.1.1-52.el5 (x86_64)</p>
<p>&#160;&#160;&#160; make-3.81-1.1 (x86_64)</p>
<p>&#160;&#160;&#160; sysstat-7.0.0-3.el5 (x86_64)</p>
<p>To install support for ODBC the required packages have to be installed on your system.</p>
<p>unixODBC-2.2.11 (32 bit) or later</p>
<p>unixODBC-devel-2.2.11 (64 bit) or later</p>
<p>unixODBC-2.2.11 (64 bit) or later</p>
<p>Use yum to install if Needed</p>
<p># yum install unixODBC*</p>
<p><b>Create Oracle Account</b></p>
<p>Create Oracle groups and user account:    <br />In the same terminal window as root do the following:</p>
<p>/usr/sbin/groupadd oinstall    <br />/usr/sbin/groupadd dba     <br />/usr/sbin/useradd -m -g oinstall -G dba oracle     <br />id oracle</p>
<p>Expected output:    <br />uid=501(Oracle) gid=501(oinstall) groups=501(oinstall),502(dba)</p>
<p>Set the password for Oracle:</p>
<p>$ passwd oracle    <br />Changing password for user oracle.     <br />New password:     <br />Retype new password:     <br />passwd: all authentication tokens updated successfully.</p>
<p><b></b></p>
<p><b>Set Kernel Parameters</b></p>
<p>Cut and paste the following commands while logged in as root into a script and run it or directly at a terminal prompt: </p>
<p>cat &gt;&gt; /etc/sysctl.conf &lt;&lt;EOF    <br />kernel.shmall = 2097152     <br />kernel.shmmax = 2147483648</p>
<p>kernel.shmmni = 4096    <br />kernel.sem = 250 32000 100 128     <br />fs.file-max = 65536     <br />net.ipv4.ip_local_port_range = 1024 65000     <br />net.core.rmem_default = 4194304     <br />net.core.wmem_default = 262144     <br />net.core.rmem_max = 4194304</p>
<p>net.core.wmem_max = 1048576    <br />EOF     <br />/sbin/sysctl -p</p>
<p>The output should be:    <br />net.ipv4.ip_forward = 0     <br />net.ipv4.conf.default.rp_filter = 1     <br />net.ipv4.conf.default.accept_source_route = 0     <br />kernel.sysrq = 0     <br />kernel.core_uses_pid = 1     <br />kernel.shmall = 2097152     <br />kernel.shmmax = 2147483648     <br />kernel.shmmni = 4096     <br />kernel.sem = 250 32000 100 128     <br />fs.file-max = 65536     <br />net.ipv4.ip_local_port_range = 1024 65000     <br />net.core.rmem_default = 4194304     <br />net.core.wmem_default = 262144     <br />net.core.rmem_max = 4194304</p>
<p>net.core.wmem_max = 1048576</p>
<p>Next run the following commands as root to verify your settings: </p>
<p>/sbin/sysctl -a | egrep “shm|sem|file-max|ip_local_port_range| rmem_default|rmem_max|wmem_default|wmem_max”</p>
<p>The output should be:</p>
<p>net.ipv4.ip_local_port_range = 1024 65000    <br />net.core.rmem_default = 4194304     <br />net.core.wmem_default = 262144     <br />net.core.rmem_max = 4194304     <br />net.core.wmem_max = 1048576     <br />vm..hugetlb_shm_group = 0     <br />kernel.sem = 250 32000 100 128     <br />kernel.shmmni = 4096     <br />kernel.shmall = 2097152     <br />kernel.shmmax = 2147483648     <br />fs.file-max = 65536</p>
<p><b></b></p>
<p><b>Create Directories</b></p>
<p>Now create directories to store the Oracle software and the database files (again as root in the same window):</p>
<p>mkdir -p /u01/app/oracle    <br />chown -R oracle:oinstall /u01/app     <br />chmod -R 775 /u01/app</p>
<p><b></b></p>
<p><b>Set Shell Limits for Oracle User</b></p>
<p>An easy way to set these values is to create a quick script in /tmp. Cut and paste the following commands while logged in as root into a script and run it:</p>
<p>cat &gt;&gt; /etc/security/limits.conf &lt;&lt;EOF1    <br />oracle soft nproc 2047     <br />oracle hard nproc 16384     <br />oracle soft nofile 1024     <br />oracle hard nofile 65536     <br />EOF1     <br />cat &gt;&gt; /etc/pam.d/login &lt;&lt;EOF2     <br />session required /lib/security/pam_limits.so     <br />EOF2     <br />cat &gt;&gt; /etc/profile &lt;&lt;EOF3     <br />if [ \$USER = &quot;oracle&quot; ]; then     <br />if [ \$SHELL = &quot;/bin/ksh&quot; ]; then     <br />ulimit -p 16384     <br />ulimit -n 65536     <br />else ulimit -u 16384 -n 65536     <br />fi     <br />umask 022     <br />fi     <br />EOF3     <br />cat &gt;&gt; /etc/csh.login &lt;&lt;EOF4     <br />if ( \$USER == &quot;oracle&quot; ) then     <br />limit maxproc 16384     <br />limit descriptors 65536     <br />umask 022     <br />endif     <br />EOF4</p>
<p>Now the OS is ready for the Oracle Software installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/07/24/os-prep-for-oracle-11g-installation-redhat-el-5-or-centos-5-2-64bit-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating A CentOS 5.2 64 bit Virtual machine using VMware 2.0 &#8211; Part 2</title>
		<link>http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-2/</link>
		<comments>http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-2/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 04:16:55 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[CentOS 5.2]]></category>
		<category><![CDATA[VMware 2.0]]></category>
		<category><![CDATA[Creating a Virtual Machine in VMware 2.0]]></category>
		<category><![CDATA[Installing CentOS 64 bit in VMware]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-2/</guid>
		<description><![CDATA[Now that you have created you new virtual machine we need to get it ready to install CentOS and eventually Oracle on to it. Lets add some more disks: One for the Oracle installation (8 gig) 4 for 2 mirrored ASM Disk Groups (10 gig) Hopefully you remember how to log in a get to [...]]]></description>
			<content:encoded><![CDATA[<p>Now that you have created you new virtual machine we need to get it ready to install CentOS and eventually Oracle on to it.</p>
<p>Lets add some more disks:</p>
<ul>
<li>One for the Oracle installation (8 gig) </li>
<li>4 for 2 mirrored ASM Disk Groups (10 gig) </li>
</ul>
<p>Hopefully you remember how to log in a get to look at your virtual machine you created in <a href="http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-1/">Part 1</a></p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image11.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb11.png" width="244" height="135" /></a> </p>
<blockquote><p><strong><font size="4">Adding Hard disks to your Virtual Machine</font></strong></p>
<p>Under the Commands section click the Add Hardware Link.</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image12.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb12.png" width="244" height="135" /></a></p>
<p>Click Add Hard Disk</p>
<p>Click Next – Choose the size of the disk you want to create</p>
<p>For the Oracle 11g installation with ASM I am creating an 8 gig disk for the Oracle installation and four 10 gig disks to be used as ASM Disk Groups</p>
<p>Repeat this step until all necessary disks are created</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image13.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb13.png" width="244" height="135" /></a>&#160; </p>
<p>Now your Hard disks are created and you are ready to move on</p>
</blockquote>
<p>&#160;</p>
<p><strong><font size="4">Starting up your Virtual Machine</font></strong></p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image14.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb14.png" width="244" height="135" /></a>&#160;&#160; Select your Virtual Machine and either click the Green arrow or under commands – select Power On</p>
<p>Once your Virtual machine is powered up Click on the Console tab</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image15.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb15.png" width="244" height="135" /></a> </p>
<p>Then click on the Screen to luanch the virtual machine Screen</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image16.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb16.png" width="244" height="193" /></a> </p>
<blockquote><p><font style="background-color: #ffffff" size="4"><strong>Installing CentOS 5.2 64 bit on your Virtual Machine</strong></font></p>
<p><font style="background-color: #ffffff" size="1">At this point you should either insert your CentOS Installation CD/DVD in your Drive or click the CD icon in the lower right corner and select your CentOS ISO.</font></p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image17.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb17.png" width="244" height="202" /></a> Press Enter to start your Installation</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image18.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb18.png" width="244" height="155" /></a>&#160; I skip the media check</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image19.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb19.png" width="244" height="199" /></a> Click Next</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image20.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb20.png" width="244" height="199" /></a> I speak English so… Click Next</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image21.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb21.png" width="244" height="199" /></a> …&#160; English Keyboard … NEXT</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image22.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb22.png" width="244" height="199" /></a> Select Yes – This is the Drive we are installing CentOS on… gotta format it.. Don’t worry there isn’t any data on it.&#160; Remember we just created it at the top of this post</p>
<p>Repeat the YES selection for all the drives you Created.</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image23.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb23.png" width="244" height="199" /></a> Deselect all the Drives other then the one your planning on using for your installation.</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image24.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb24.png" width="244" height="199" /></a> Check the box for Review and Modify Partition Layout / Click Next</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image25.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb25.png" width="244" height="199" /></a>&#160; Select yes to deleting all data</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image26.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb26.png" width="244" height="199" /></a> Create the /u01 Partition on sdb filling it to maximum size</p>
<p>Create a partition on sda for /tmp size it at a minimum of 1024mb</p>
<p>Click Next</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image27.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb27.png" width="244" height="199" /></a></p>
<p>Leave the Grub Boot Loader (Defualt setting) – Click Next</p>
<p>I am Using NAT so I have left the defualt network setting of DHCP</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image28.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb28.png" width="244" height="199" /></a> </p>
<p>Click Next</p>
<p>Select your appropriate time zone</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image29.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb29.png" width="244" height="199" /></a> </p>
<p>Click Next</p>
<p>Set your Root password</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image30.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb30.png" width="244" height="199" /></a> </p>
<p>Click Next</p>
<p>Select your Installation type:</p>
<ul>
<li>Desktop Gnome </li>
<li>Server </li>
<li>Customize Now </li>
</ul>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image31.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb31.png" width="244" height="199" /></a> </p>
<p>Click Next</p>
<p>Select the Development tools</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image32.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb32.png" width="244" height="199" /></a> </p>
<p>Click Next </p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image33.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb33.png" width="244" height="199" /></a> </p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image34.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb34.png" width="244" height="199" /></a> </p>
<p>Click Next</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image35.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb35.png" width="244" height="199" /></a> </p>
<p>&#160;</p>
<p>&#160;</p>
</blockquote>
<p><strong><font size="4">&#160;</font></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating A CentOS 5.2 64 bit Virtual machine using VMware 2.0 &#8211; Part 1</title>
		<link>http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-1/</link>
		<comments>http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-1/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 03:44:00 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[CentOS 5.2]]></category>
		<category><![CDATA[VMware 2.0]]></category>
		<category><![CDATA[Creating a Virtual Machine in VMware 2.0]]></category>
		<category><![CDATA[Installing CentOS 64 bit in VMware]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-1/</guid>
		<description><![CDATA[&#160; Start the VMware Server Homepage &#160; Log In Click The Virtual Machines Tab Creating A New Virtual Machine Then Click Create Virtual Machine Change the name of the virtual machine Click Next Select Linux Operating System Then Select – Other 2.6x Linux (64 bit) Click Next If Planning to install Oracle later you need [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Start the VMware Server Homepage</p>
<p>&#160;</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb.png" width="244" height="135" /></a></p>
<p>Log In</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image1.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb1.png" width="244" height="135" /></a> </p>
<p>Click The Virtual Machines Tab </p>
<blockquote><p><font style="background-color: #ffffff" size="4"><strong>Creating A New Virtual Machine</strong></font></p>
<p><font style="background-color: #ffffff"></font></p>
<p><font style="background-color: #ffffff">Then Click Create Virtual Machine</font></p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb2.png" width="244" height="135" /></a> </p>
<p>Change the name of the virtual machine</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image3.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb3.png" width="244" height="135" /></a> </p>
<p>Click Next</p>
<p>Select Linux Operating System</p>
<p>Then Select – Other 2.6x Linux (64 bit)</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image4.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb4.png" width="244" height="135" /></a> </p>
<p>Click Next</p>
<p>If Planning to install Oracle later you need to up the amount of RAM dedicated to the virtual machine.&#160; I suggest 1024MB or Higher.</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image5.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb5.png" width="244" height="135" /></a> </p>
<p>Click Next</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image6.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb6.png" width="244" height="135" /></a> </p>
<p>Select create a new virtual disk.&#160; Select the size you would like for your new Virtual disk.</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image7.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb7.png" width="244" height="135" /></a> </p>
<p>Click Next</p>
<p>Click Add a Network Adapter</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image8.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb8.png" width="244" height="135" /></a> </p>
<p>You can then select the type of networking you need: Bridged, NAT, or Host Only</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image9.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb9.png" width="244" height="135" /></a> </p>
<p>Click Next</p>
<p>CD/DVD Drive – I recommend using the Physical device</p>
<p>Click Next</p>
<p>Floppy Drive – Don’t install a floppy – Unless you have a physical device or floppy images you plan on using</p>
<p>Click next</p>
<p>USB Controller – I used default setting for the USB Controller</p>
<p>Click next</p>
<p><a href="http://oracle-on-linux.net/wp-content/uploads/2009/07/image10.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://oracle-on-linux.net/wp-content/uploads/2009/07/image_thumb10.png" width="244" height="135" /></a>&#160; </p>
<p>Click Finish</p>
<p>You have now created the virtual Machine to install CentOS on.</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/07/21/creating-a-centos-5-2-64-bit-virtual-machine-using-vmware-2-0-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to see the files stored in ASM &#8211; Oracle Automatic Storage Management</title>
		<link>http://oracle-on-linux.net/2009/07/07/how-to-see-the-files-stored-in-asm-oracle-automatic-storage-management/</link>
		<comments>http://oracle-on-linux.net/2009/07/07/how-to-see-the-files-stored-in-asm-oracle-automatic-storage-management/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 15:39:19 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[ASM]]></category>
		<category><![CDATA[Automatic Storage Management]]></category>
		<category><![CDATA[Oracle 10g R2]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[asmcmd]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/?p=22</guid>
		<description><![CDATA[#asmcmd -p Asmcmd lets you view directory structuture and files stored inside Oracle ASM usitlizing a CLI and unix like commands. Command Description cd Changes the current directory to the specified directory. du Displays the total disk space occupied by ASM files in the specified ASM directory and all its subdirectories, recursively. exit Exits ASMCMD. [...]]]></description>
			<content:encoded><![CDATA[<p>#asmcmd -p</p>
<p>Asmcmd lets you view directory structuture and files stored inside Oracle ASM usitlizing a CLI and unix like commands.</p>
<table title="Summary of ASM Commands" dir="ltr" border="1" cellspacing="0" cellpadding="3" width="100%" frame="hsides" rules="groups" summary="ASMCMD Command Summary">
<thead>
<tr align="left" valign="top">
<th id="r1c1-t6" align="left" valign="bottom">Command</th>
<th id="r1c2-t6" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td id="r2c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABFHHBB">cd</a></td>
<td align="left">Changes the current directory to the specified directory.</td>
</tr>
<tr align="left" valign="top">
<td id="r3c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABIDEII">du</a></td>
<td align="left">Displays the total disk space occupied by ASM files in the specified ASM directory and all its subdirectories, recursively.</td>
</tr>
<tr align="left" valign="top">
<td id="r4c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BCFHAEGE">exit</a></td>
<td align="left">Exits ASMCMD.</td>
</tr>
<tr align="left" valign="top">
<td id="r5c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABECFIF">find</a></td>
<td align="left">Lists the paths of all occurrences of the specified name (with wildcards) under the specified directory.</td>
</tr>
<tr align="left" valign="top">
<td id="r6c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABFIEAJ">help</a></td>
<td align="left">Displays the syntax and description of ASMCMD commands.</td>
</tr>
<tr align="left" valign="top">
<td id="r7c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABEEEDG">ls</a></td>
<td align="left">Lists the contents of an ASM directory, the attributes of the specified file, or the names and attributes of all disk groups.</td>
</tr>
<tr align="left" valign="top">
<td id="r8c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABDAGIH">lsct</a></td>
<td align="left">Lists information about current ASM clients.</td>
</tr>
<tr align="left" valign="top">
<td id="r9c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABHHCBH">lsdg</a></td>
<td align="left">Lists all disk groups and their attributes.</td>
</tr>
<tr align="left" valign="top">
<td id="r10c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABHBEDG">mkalias</a></td>
<td align="left">Creates an alias for a system-generated filename.</td>
</tr>
<tr align="left" valign="top">
<td id="r11c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABGEEDI">mkdir</a></td>
<td align="left">Creates ASM directories.</td>
</tr>
<tr align="left" valign="top">
<td id="r12c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABJBCGF">pwd</a></td>
<td align="left">Displays the path of the current ASM directory.</td>
</tr>
<tr align="left" valign="top">
<td id="r13c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABDIIJH">rm</a></td>
<td align="left">Deletes the specified ASM files or directories.</td>
</tr>
<tr align="left" valign="top">
<td id="r14c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABCIJEB">rmalias</a></td>
<td align="left">Deletes the specified alias, retaining the file that the alias points to.</td>
</tr>
</tbody>
</table>
<p>Wildcard</p>
<p>The wildcard characters &#8220;*&#8221; and &#8220;%&#8221; match zero or more characters anywhere within an absolute or relative path. The two characters behave identically. The ASMCMD commands that accept wildcards are <code>ls</code>, <code>du</code>, <code>rm</code>, and <code>find</code>. The following examples illustrate the use of wildcards.</p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/07/07/how-to-see-the-files-stored-in-asm-oracle-automatic-storage-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Shell Limits for Oracle User on CentOS 5.2</title>
		<link>http://oracle-on-linux.net/2009/07/04/setting-shell-limits-for-oracle-user-on-centos-5-2/</link>
		<comments>http://oracle-on-linux.net/2009/07/04/setting-shell-limits-for-oracle-user-on-centos-5-2/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 22:12:32 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[CentOS 5.2]]></category>
		<category><![CDATA[Oracle 11g]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/?p=13</guid>
		<description><![CDATA[Set Shell Limits for Oracle User An easy way to set these values is to create a quick script in /tmp. Cut and paste the following commands while logged in as root into a script and run it:   cat &#62;&#62; /etc/security/limits.conf &#60;&#60;EOF1 oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Arial';"><strong><span style="font-size: x-small;">Set Shell Limits for Oracle User</span></strong></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Arial';"><span style="font-size: x-small;">An easy way to set these values is to create a quick script in /tmp. Cut and paste the following commands while logged in as root into a script and run it:</span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Arial';"><span style="font-size: x-small;"> </span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">cat &gt;&gt; /etc/security/limits.conf &lt;&lt;EOF1</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">oracle soft nproc 2047</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">oracle hard nproc 16384</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">oracle soft nofile 1024</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">oracle hard nofile 65536</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">EOF1</span></span></p>
<p><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">cat &gt;&gt; /etc/pam.d/login &lt;&lt;EOF2</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">session required /lib/security/pam_limits.so</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">EOF2</span></span></p>
<p><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">cat &gt;&gt; /etc/profile &lt;&lt;EOF3</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">if [ \$USER = "oracle" ]; then </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">if [ \$SHELL = "/bin/ksh" ]; then </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">ulimit -p 16384 </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">ulimit -n 65536 </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">else ulimit -u 16384 -n 65536 </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">fi </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">umask 022</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">fi</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">EOF3</span></span></p>
<p><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">cat &gt;&gt; /etc/csh.login &lt;&lt;EOF4</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">if ( \$USER == &#8220;oracle&#8221; ) then </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">limit maxproc 16384 </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">limit descriptors 65536 </span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">umask 022</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">endif</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">EOF4</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/07/04/setting-shell-limits-for-oracle-user-on-centos-5-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Kernel Parameters for Oracle 11g on Redhat EL &amp; CentOS 5.2</title>
		<link>http://oracle-on-linux.net/2009/07/04/setting-kernel-parameters-for-oracle-11g-on-redhat-el-centos-5-2/</link>
		<comments>http://oracle-on-linux.net/2009/07/04/setting-kernel-parameters-for-oracle-11g-on-redhat-el-centos-5-2/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 22:10:36 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[CentOS 5.2]]></category>
		<category><![CDATA[Oracle 11g]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/?p=11</guid>
		<description><![CDATA[Set Kernel Parameters Cut and paste the following commands while logged in as root into a script and run it or directly at a terminal prompt:   cat &#62;&#62; /etc/sysctl.conf &#60;&#60;EOF kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 fs.file-max = 65536 net.ipv4.ip_local_port_range = 1024 65000 net.core.rmem_default = [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Arial';"><strong><span style="font-size: x-small;">Set Kernel Parameters</span></strong></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Arial';"><span style="font-size: x-small;">Cut and paste the following commands while logged in as root into a script and run it</span></span><span style="color: #000000; font-family: 'Arial';"><span style="font-size: x-small;"> or directly at a terminal prompt</span></span><span style="color: #000000; font-family: 'Arial';"><span style="font-size: x-small;">: </span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Arial';"><span style="font-size: x-small;"> </span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">cat &gt;&gt; /etc/sysctl.conf &lt;&lt;EOF</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.shmall = 2097152</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.shmmax = </span></span><span style="font-family: 'Courier New';"><span style="font-size: x-small;">2147483648</span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.shmmni = 4096</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.sem = 250 32000 100 128</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">fs.file-max = 65536</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.ipv4.ip_local_port_range = 1024 65000</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.core.rmem_default = </span></span><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">4194304</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.core.wmem_default = 262144</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.core.rmem_max = 4194304</span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.core.wmem_max = </span></span><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">1048576</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">EOF</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">/sbin/sysctl -p</span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Arial';"><span style="font-size: x-small;"> </span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Arial';"><span style="font-size: x-small;">The output should be:</span></span></p>
<p><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.ipv4.ip_forward = 0</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.ipv4.conf.default.rp_filter = 1</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.ipv4.conf.default.accept_source_route = 0</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.sysrq = 0</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.core_uses_pid = 1</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.shmall = 2097152</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.shmmax = </span></span><span style="font-family: 'Courier New';"><span style="font-size: x-small;">2147483648</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.shmmni = 4096</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">kernel.sem = 250 32000 100 128</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">fs.file-max = 65536</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.ipv4.ip_local_port_range = 1024 65000</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.core.rmem_default = </span></span><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">4194304</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.core.wmem_default = 262144</span></span><br />
<span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.core.rmem_max = </span></span><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">4194304</span></span></p>
<p style="margin-left: 0pt; margin-right: 0pt;"><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">net.core.wmem_max = </span></span><span style="color: #000000; font-family: 'Courier New';"><span style="font-size: x-small;">1048576</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/07/04/setting-kernel-parameters-for-oracle-11g-on-redhat-el-centos-5-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

