<?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 10g R2</title>
	<atom:link href="http://oracle-on-linux.net/category/oracle-10g-r2/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>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 [...]]]></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
                                       [...]]]></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 steps [...]]]></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>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>
	</channel>
</rss>
