<?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 &#187; Oracle 11g</title>
	<atom:link href="http://oracle-on-linux.net/tag/oracle-11g/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>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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 &#38; Configure [...]]]></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>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.


find
Lists the paths of all occurrences of the specified name [...]]]></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
oracle hard nofile 65536
EOF1
cat &#62;&#62; /etc/pam.d/login &#60;&#60;EOF2
session [...]]]></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 = 4194304
net.core.wmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_max = 1048576
EOF
/sbin/sysctl -p
 
The output [...]]]></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>
		<item>
		<title>Setting Up Environment Variables for Oracle 11g on Centos 5.2</title>
		<link>http://oracle-on-linux.net/2009/07/04/oracle11g_environment_variables/</link>
		<comments>http://oracle-on-linux.net/2009/07/04/oracle11g_environment_variables/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 19:24:08 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[CentOS 5.2]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[Environment Variables]]></category>

		<guid isPermaLink="false">http:/?p=1</guid>
		<description><![CDATA[Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
]]></description>
			<content:encoded><![CDATA[<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/07/04/oracle11g_environment_variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
