<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Exploring Oracle</title>
	<atom:link href="http://exploreoracle.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://exploreoracle.wordpress.com</link>
	<description>Shaik Abdul Khaleel Technical blog</description>
	<lastBuildDate>Thu, 08 Jan 2009 18:36:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='exploreoracle.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Exploring Oracle</title>
		<link>http://exploreoracle.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://exploreoracle.wordpress.com/osd.xml" title="Exploring Oracle" />
	<atom:link rel='hub' href='http://exploreoracle.wordpress.com/?pushpress=hub'/>
		<item>
		<title>ORA-28031: maximum of 148 enabled roles exceeded</title>
		<link>http://exploreoracle.wordpress.com/2009/01/08/ora-28031-maximum-of-148-enabled-roles-exceeded/</link>
		<comments>http://exploreoracle.wordpress.com/2009/01/08/ora-28031-maximum-of-148-enabled-roles-exceeded/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 17:54:00 +0000</pubDate>
		<dc:creator>kshaik1981</dc:creator>
				<category><![CDATA[ORA - Errors]]></category>

		<guid isPermaLink="false">http://exploreoracle.wordpress.com/2009/01/08/ora-28031-maximum-of-148-enabled-roles-exceeded/</guid>
		<description><![CDATA[Error DescriptionWhile connect to database as a normal user it fails withORA-28031: maximum of 148 enabled roles exceeded Cause of The ProblemIn a database at one time 148 user-defined roles can be enabled. Enabling more than 148 user-defined roles causes ORA-28031. Solution of The ProblemAt first time you can think about max_enabled_roles parameter but max_enabled_roles [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=295&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight:bold;"><u>Error Description</u></span><br />While connect to database as a normal user it fails with<br />ORA-28031: maximum of 148 enabled roles exceeded</p>
<p><span style="font-weight:bold;"><u>Cause of The Problem</u></span><br />In a database at one time 148 user-defined roles can be enabled. Enabling more than 148 user-defined roles causes ORA-28031.</p>
<p><span style="font-weight:bold;"><u>Solution of The Problem</u></span><br />At first time you can think about max_enabled_roles parameter but max_enabled_roles parameter has nothing to do if you enable 148 user-defined roles.</p>
<p>In fact this parameter is deprecated. It is retained for backward compatibility only. You can see this parameter settings by,</p>
<p><span style="font-weight:bold;">SQL&gt; show parameter max_enable</span></p>
<p>NAME                                 TYPE                              VALUE<br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />max_enabled_roles                    integer                           150</p>
<p>Though this parameter is set to 150 and you have enabled 148 user defined roles but additional user-defined roles can&#8217;t be enabled because of the actual number of roles that users can enable is 148. So max_enabled_roles is 2 plus 148, because each user has two additional roles, PUBLIC and the user&#8217;s own role.</p>
<p>As there is limit to 148 so you have to disable fewer roles or drop some roles and reorganize your database role policy.</p>
<p>You can enable or disable roles by using the SET ROLE statement for your current session.</p>
<p>If you want to enable all roles except manager and clerk role then use,</p>
<p><span style="font-weight:bold;">SET ROLE ALL EXCEPT manager, clerk;</span></p>
<p>Remember roles listed in the EXCEPT clause must be roles granted directly to you. They cannot be roles granted to you through other roles.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/exploreoracle.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/exploreoracle.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/exploreoracle.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/exploreoracle.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/exploreoracle.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/exploreoracle.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/exploreoracle.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/exploreoracle.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/exploreoracle.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/exploreoracle.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/exploreoracle.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/exploreoracle.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/exploreoracle.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/exploreoracle.wordpress.com/295/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=295&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://exploreoracle.wordpress.com/2009/01/08/ora-28031-maximum-of-148-enabled-roles-exceeded/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3df6bd88509d612d8bcfed01d9c24d48?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kshaik1981</media:title>
		</media:content>
	</item>
		<item>
		<title>How to monitor alert log file in Oracle</title>
		<link>http://exploreoracle.wordpress.com/2009/01/08/how-to-monitor-alert-log-file-in-oracle/</link>
		<comments>http://exploreoracle.wordpress.com/2009/01/08/how-to-monitor-alert-log-file-in-oracle/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 17:53:00 +0000</pubDate>
		<dc:creator>kshaik1981</dc:creator>
				<category><![CDATA[FAQ]]></category>

		<guid isPermaLink="false">http://exploreoracle.wordpress.com/2009/01/08/how-to-monitor-alert-log-file-in-oracle/</guid>
		<description><![CDATA[We know in a UNIX system with tail -f we can monitor alert log file to see how alert log file is populated. For example the latest happenings in alert log file can be seen by,$tail -f background_dump_dest location/alert_$ORACLE_SID.ora But in windows there is not tail command. We can monitor the alert log within oracle [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=294&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We know in a UNIX system with tail -f we can monitor alert log file to see how alert log file is populated. For example the latest happenings in alert log file can be seen by,<br />$tail -f background_dump_dest location/alert_$ORACLE_SID.ora</p>
<p>But in windows there is not tail command. We can monitor the alert log within oracle itself regardless of platform. This can be archived by following steps.</p>
<p>1)Create an External Table to read the alert log.</p>
<p><span style="font-weight:bold;">column a_log new_value ALOG noprint<br />column value new_value bkgd_dmp noprint</p>
<p>select &#8216;alert_&#8217;||instance_name||&#8217;.log&#8217; a_log<br />from v$instance;</p>
<p>select value<br />from v$parameter<br />where name = &#8216;background_dump_dest&#8217;;</p>
<p>create or replace directory data_dir as &#8216;&amp;&amp;bkgd_dmp&#8217;;</p>
<p>CREATE TABLE alert_t<br />(<br />text_line varchar2(255)<br />)<br />ORGANIZATION EXTERNAL<br />(<br />   TYPE ORACLE_LOADER<br />   DEFAULT DIRECTORY data_dir<br />   ACCESS PARAMETERS<br />   (<br />       records delimited by newline<br />       fields<br />       REJECT ROWS WITH ALL NULL FIELDS<br />   )<br />   LOCATION<br />   (<br />       &#8216;&amp;&amp;ALOG&#8217;<br />   )<br />)<br />REJECT LIMIT unlimited;</span></p>
<p>2)Query from the External Table.</p>
<p>For example, you can then query the last 21 lines of the alert log in this manner:</p>
<p><span style="font-weight:bold;">select text_line<br />from (<br />select rownum rn, text_line<br />from alert_t<br />)<br />where rn between (select max(rn) &#8211; 20 from (select rownum rn from<br />alert_t))<br />        and (select max(rn) from (select rownum rn from alert_t)); </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/exploreoracle.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/exploreoracle.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/exploreoracle.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/exploreoracle.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/exploreoracle.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/exploreoracle.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/exploreoracle.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/exploreoracle.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/exploreoracle.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/exploreoracle.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/exploreoracle.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/exploreoracle.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/exploreoracle.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/exploreoracle.wordpress.com/294/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=294&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://exploreoracle.wordpress.com/2009/01/08/how-to-monitor-alert-log-file-in-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3df6bd88509d612d8bcfed01d9c24d48?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kshaik1981</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Schedule or Automate Backup through Crontab</title>
		<link>http://exploreoracle.wordpress.com/2009/01/08/how-to-schedule-or-automate-backup-through-crontab/</link>
		<comments>http://exploreoracle.wordpress.com/2009/01/08/how-to-schedule-or-automate-backup-through-crontab/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 17:53:00 +0000</pubDate>
		<dc:creator>kshaik1981</dc:creator>
				<category><![CDATA[FAQ]]></category>

		<guid isPermaLink="false">http://exploreoracle.wordpress.com/2009/01/08/how-to-schedule-or-automate-backup-through-crontab/</guid>
		<description><![CDATA[Schedule or Automate Backup is a needed thing almost in all environment. We can do automate or scheduling tasks through two ways, one is DBMS_SCHEDULER packager which will be discusses in another topic and another is OS scheduler. If you think about OS scheduler then on unix box use crontab and on windows box use [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=293&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Schedule or Automate Backup is a needed thing almost in all environment. We can do automate or scheduling tasks through two ways, one is DBMS_SCHEDULER packager which will be discusses in another topic and another is OS scheduler. If you think about OS scheduler then on unix box use crontab and on windows box use scheduling jobs.</p>
<p>In this topic I have shown how we can take automate backup through crontab tool.</p>
<p>To avoid error Verify that ORACLE_HOME is set properly error like as below<br />Message file RMAN.msb not found<br />Verify that ORACLE_HOME is set properly</p>
<p>set proper ORACLE_HOME and ORACLE_SID in your backup file.<br />So I created my backup_job.sh as below.</p>
<p><span style="font-weight:bold;">bash-3.00$ vi backup_job.sh<br />#!/bin/bash<br />export ORACLE_HOME=/oracle/app/oracle/product/10.2.0/db_1<br />export ORACLE_SID=dbase<br />/oracle/app/oracle/product/10.2.0/db_1/bin/rman target sys/a@moon:1522/dbase cmdfile=/oradata1/<br />backup/backup_job2.sh</span></p>
<p>If you don&#8217;t set $ORACLE_HOME and don&#8217;t give full path of rman then possibly in the output file you get rman:not found error.<br />/oradata1/backup/backup_job.sh: rman: not found</p>
<p>In the script I provided full path of rman.</p>
<p>The actual backup script are in backup_job2.sh and from backup_job.sh it will be called through rman.</p>
<p><span style="font-weight:bold;">bash-3.00$ vi backup_job2.sh<br />backup database format &#8216;/oradata1/backup/%U&#8217;;</span></p>
<p>If you don&#8217;t make these script executable or don&#8217;t change permission to 777 then you likely get error in the output file as,<br />sh: /oradata1/backup/backup_job.sh: cannot execute<br />So change the permission as</p>
<p><span style="font-weight:bold;">bash-3.00$ chmod 777 backup_job.sh<br />bash-3.00$ chmod 777 backup_job2.sh</span><br />To write contents within crontab in vi editor issue,<br /><span style="font-weight:bold;">bash-3.00$export EDITOR=vi</span><br /><span style="font-weight:bold;">bash-3.00$ crontab -e<br />35 06 * * *  /oradata1/backup/backup_job1.sh &gt; /oradata1/backup/backupdata.log</span></p>
<p>By default cron jobs sends a email to the user account executing the cronjob. If this is not needed put the following command At the end of the cron job line .</p>
<p>4<span style="font-weight:bold;">8 06 * * *  /oradata1/backup/backup_job.sh &gt; /oradata1/backup/backupdata.log 2&gt;&amp;1</span></p>
<p>Now I will discuss some aspects of cronjob.</p>
<p><span style="font-weight:bold;"><u>Crontab Restrictions</u></span><br />-You can execute crontab if your name appears in the file /usr/lib/cron/cron.allow.</p>
<p>-If that file does not exist, you can use crontab if your name does not appear in the file /usr/lib/cron/cron.deny.</p>
<p>-If only cron.deny exists and is empty, all users can use crontab.</p>
<p>-If neither file exists, only the root user can use crontab.</p>
<p>-The allow/deny files consist of one user name per line.</p>
<p><span style="font-weight:bold;"><u>Crontab Commands</u></span><br />Before invoking crontab use export EDITOR=vi ;to specify a editor to open crontab file.<br />Now open crontab as below<br />-crontab -e      :Edit your crontab file, or create one if it doesn&#8217;t already exist.<br />-crontab -l      <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> isplay your crontab file.<br />-crontab -r      :Remove your crontab file.<br />-crontab -v      <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> isplay the last time you edited your crontab file. (This option is only available on a few systems.)</p>
<p><span style="font-weight:bold;"><u>Crontab syntax option</u></span><br /><span style="font-weight:bold;">MINUTE   HOUR   DAY_OF_MONTH   MONTH   DAY_OF_WEEK   USER   COMMAND</span><br />for any field multiple value could assign, where they are separated by comma.</p>
<p>MINUTE       accept value from 00 to 59<br />HOUR         accept value from 00 to 23<br />DAY_OF_MONTH accept value from 01 to 31<br />MONTH        accept value from 01 to 12<br />DAY_OF_WEEK  accept value from 0 to 6 [0 for sunday, 1 for monday, ...]<br />&#8211;USER         means that who will execute the command (optional/not common)<br />COMMAND      the command for execution</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/exploreoracle.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/exploreoracle.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/exploreoracle.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/exploreoracle.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/exploreoracle.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/exploreoracle.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/exploreoracle.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/exploreoracle.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/exploreoracle.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/exploreoracle.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/exploreoracle.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/exploreoracle.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/exploreoracle.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/exploreoracle.wordpress.com/293/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=293&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://exploreoracle.wordpress.com/2009/01/08/how-to-schedule-or-automate-backup-through-crontab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3df6bd88509d612d8bcfed01d9c24d48?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kshaik1981</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Monitor traffic between nodes</title>
		<link>http://exploreoracle.wordpress.com/2009/01/08/how-to-monitor-traffic-between-nodes/</link>
		<comments>http://exploreoracle.wordpress.com/2009/01/08/how-to-monitor-traffic-between-nodes/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 17:52:00 +0000</pubDate>
		<dc:creator>kshaik1981</dc:creator>
				<category><![CDATA[FAQ]]></category>

		<guid isPermaLink="false">http://exploreoracle.wordpress.com/2009/01/08/how-to-monitor-traffic-between-nodes/</guid>
		<description><![CDATA[With the command netstat -i we can monitor the traffic in the network nodes. The sample output of netstat -i is below. # netstat -iKernel Interface tableIface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flgeth0 1500 0 226707 0 0 0 68280 0 0 0 BMRUlo 16436 0 13 0 0 0 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=292&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>With the command <span style="font-weight:bold;">netstat -i</span> we can monitor the traffic in the network nodes. The sample output of netstat -i is below.<br />
<blockquote>#  <span style="font-weight:bold;">netstat -i</span><br />Kernel Interface table<br />Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg<br />eth0   1500 0    226707      0      0      0    68280      0      0      0 BMRU<br />lo    16436 0        13      0      0      0       13      0      0      0 LRU<br />vmnet  1500 0         0      0      0      0        6      0      0      0 BMRU</p></blockquote>
<p>We can get the the elaboration of the preceding terms below.<br />   * Name &#8211; The type of the Ethernet interface<br />   * Mtu &#8211; The maximum size of the packets that are transmitted on the network.<br />   * Net/Dest &#8211; The subnet address<br />   * Address &#8211; The name of the system<br />   * Ipkts &#8211; The number of packets received<br />   * Ierrs &#8211; The number of received packets that have errors<br />   * Opkts &#8211; The number of packets sent<br />   * Oerrs &#8211; The number of sent packets that have errors<br />   * Collis &#8211; The number of output packets that result in collision<br />   * Queue &#8211; The number of packets that are queued<br /><span style="font-weight:bold;"><br /><u>Considerations on the output</u></span><br />   *  The Queue field should have a 0 value.<br />   *  The Collis field value should not be greater than 5% of the no. of Opkts.<br />* If Ierrs field value is greater than 25% of the Ipkts field value the system is dropping packets, which causes a high number of input errors.</p>
<p>It is difficult to interpret the output of the netstat utility for a system with many network interfaces. In that case you can use,<br /><span style="font-weight:bold;">$netstat -i eth1(interface name)</span><br />to get traffic of a particular interface.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/exploreoracle.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/exploreoracle.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/exploreoracle.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/exploreoracle.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/exploreoracle.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/exploreoracle.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/exploreoracle.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/exploreoracle.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/exploreoracle.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/exploreoracle.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/exploreoracle.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/exploreoracle.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/exploreoracle.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/exploreoracle.wordpress.com/292/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=292&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://exploreoracle.wordpress.com/2009/01/08/how-to-monitor-traffic-between-nodes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3df6bd88509d612d8bcfed01d9c24d48?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kshaik1981</media:title>
		</media:content>
	</item>
		<item>
		<title>Overview of Oracle Clusterware and Oracle RAC</title>
		<link>http://exploreoracle.wordpress.com/2009/01/08/overview-of-oracle-clusterware-and-oracle-rac/</link>
		<comments>http://exploreoracle.wordpress.com/2009/01/08/overview-of-oracle-clusterware-and-oracle-rac/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 17:51:00 +0000</pubDate>
		<dc:creator>kshaik1981</dc:creator>
				<category><![CDATA[RAC]]></category>

		<guid isPermaLink="false">http://exploreoracle.wordpress.com/2009/01/08/overview-of-oracle-clusterware-and-oracle-rac/</guid>
		<description><![CDATA[In a database whenever you query from V$database to know the name of the database and want to know the name of the instance from v$thread they return similar result. Suppose, SQL&#62; select name from v$database;NAME&#8212;&#8212;&#8212;DBASESQL&#62; select instance from v$thread; INSTANCE&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;dbase which indicates in the database there is only one instance that is database have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=291&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In a database whenever you query from V$database to know the name of the database and want to know the name of the instance from v$thread they return similar result. Suppose,</p>
<p><span style="font-weight:bold;">SQL&gt; select name from v$database;</span><br />NAME<br />&#8212;&#8212;&#8212;<br />DBASE<br /><span style="font-weight:bold;"><br />SQL&gt; select instance from v$thread;</span></p>
<p>INSTANCE<br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />dbase</p>
<p>which indicates in the database there is only one instance that is database have a one-to-one relationship between datafiles and the instance. Oracle RAC environments, however, have a one-to-many relationship between datafiles and instances. In RAC environments multiple instances form a single database. The instances can reside on different servers which is referred as nodes in RAC environment.</p>
<p>• In RAC environment the set of interconnected instances that allows the servers to work together is called cluster. The physical structures that make up the database must reside on shared storage that is accessible from all servers that are part of the cluster. Each server in the cluster runs the Oracle RAC software.</p>
<p>• In RAC database each instance has its own memory and background processes but every instances share the same data files. So while any data need to write or retrieve they use the same datafiles but each instance use it&#8217;s own memory.</p>
<p>Now question is if one instance read data and modify it in the buffer cache and if another instance need that data then how oracle manages it?</p>
<p>• In RAC Oracle uses Cache Fusion Technology to synchronize the data stored in the buffer cache of each cluster database instance. Cache Fusion moves current data blocks (which reside in memory) between database instances, rather than having one database instance write the data blocks to disk and requiring another database instance to reread the data blocks from disk.</p>
<p>• When a data block is needed for one instance which resides in the buffer cache of another instance, Cache Fusion transfers the data block directly between the instances using the interconnect, enabling the Oracle RAC database to access and modify data as if the data resided in a single buffer cache.</p>
<p>Oracle RAC provides high availability and scalability.</p>
<p>If one instance fails in RAC environment still another instance can do the task and thus prevents the server from being a single point of failure.</p>
<p>In a RAC environment transactions are distributed over multiple instances. Thus minimize load from one instance.</p>
<p>• Never mix with oracle clusterware with Oracle RAC. The Oracle Clusterware is software that when installed on servers, enables the servers to be bound together to operate as if they were one server. Before you install oracle RAC you need to install clusterware. Without clusterware you can&#8217;t install oracle RAC.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/exploreoracle.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/exploreoracle.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/exploreoracle.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/exploreoracle.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/exploreoracle.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/exploreoracle.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/exploreoracle.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/exploreoracle.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/exploreoracle.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/exploreoracle.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/exploreoracle.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/exploreoracle.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/exploreoracle.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/exploreoracle.wordpress.com/291/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=291&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://exploreoracle.wordpress.com/2009/01/08/overview-of-oracle-clusterware-and-oracle-rac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3df6bd88509d612d8bcfed01d9c24d48?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kshaik1981</media:title>
		</media:content>
	</item>
		<item>
		<title>Various Tools for Installing, Configuring Oracle RAC</title>
		<link>http://exploreoracle.wordpress.com/2009/01/08/various-tools-for-installing-configuring-oracle-rac/</link>
		<comments>http://exploreoracle.wordpress.com/2009/01/08/various-tools-for-installing-configuring-oracle-rac/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 17:50:00 +0000</pubDate>
		<dc:creator>kshaik1981</dc:creator>
				<category><![CDATA[RAC]]></category>

		<guid isPermaLink="false">http://exploreoracle.wordpress.com/2009/01/08/various-tools-for-installing-configuring-oracle-rac/</guid>
		<description><![CDATA[1)Oracle Universal Installer (OUI)- After configuring the pre-installation tasks of the nodes OUI installs the Oracle Clusterware and the Oracle Database software with Oracle RAC. It also can install oracle software on the other nodes using a network connection. 2)Cluster Verification Utility (CVU)- The CVU is a command-line tool. It is very useful to check [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=290&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight:bold;">1)Oracle Universal Installer (OUI)-</span> After configuring the pre-installation tasks of the nodes OUI installs the Oracle Clusterware and the Oracle Database software with Oracle RAC. It also can install oracle software on the other nodes using a network connection.</p>
<p><span style="font-weight:bold;">2)Cluster Verification Utility (CVU)-</span> The CVU is a command-line tool. It is very useful to check the nodes for preinstallation as well as postinstallation requirements of the cluster environment. In fact OUI runs the CVU after the Oracle Clusterware installation to verify the environment.</p>
<p><span style="font-weight:bold;">3)Oracle Enterprise Manager-</span> With EM it is easy to configure RAC environments. It has both the Database Control and Grid Control graphical user interfaces (GUIs).</p>
<p><span style="font-weight:bold;">4)Server Control (SRVCTL)-</span> SRVCTL is a command-line interface that you can use to manage an Oracle RAC database from a single point. Using SRVCTL you can start or stop or manage any instance on the cluster.</p>
<p><span style="font-weight:bold;">5)Cluster Ready Services Control (CRSCTL)-</span> CRSCTL is a command-line tool that you can use to manage Oracle Clusterware. You can use CRSCTL to start and stop Oracle Clusterware and to determine the current status of your Oracle Clusterware installation.</p>
<p><span style="font-weight:bold;">6)Oracle Interface Configuration Tool (OIFCFG)-</span> OIFCFG is a command-line tool which you can use to allocate and de-allocate network interfaces to components. You can use OIFCFG to direct components to use specific network interfaces and to retrieve component configuration information.</p>
<p><span style="font-weight:bold;">7)OCR Configuration Tool (OCRCONFIG)-</span> OCRCONFIG is a command-line tool for OCR administration. You can also use the OCRCHECK and OCRDUMP utilities to troubleshoot configuration problems that affect the OCR.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/exploreoracle.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/exploreoracle.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/exploreoracle.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/exploreoracle.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/exploreoracle.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/exploreoracle.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/exploreoracle.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/exploreoracle.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/exploreoracle.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/exploreoracle.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/exploreoracle.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/exploreoracle.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/exploreoracle.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/exploreoracle.wordpress.com/290/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=290&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://exploreoracle.wordpress.com/2009/01/08/various-tools-for-installing-configuring-oracle-rac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3df6bd88509d612d8bcfed01d9c24d48?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kshaik1981</media:title>
		</media:content>
	</item>
		<item>
		<title>Requirements to check before install Oracle RAC</title>
		<link>http://exploreoracle.wordpress.com/2009/01/08/requirements-to-check-before-install-oracle-rac/</link>
		<comments>http://exploreoracle.wordpress.com/2009/01/08/requirements-to-check-before-install-oracle-rac/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 17:50:00 +0000</pubDate>
		<dc:creator>kshaik1981</dc:creator>
				<category><![CDATA[RAC]]></category>

		<guid isPermaLink="false">http://exploreoracle.wordpress.com/2009/01/08/requirements-to-check-before-install-oracle-rac/</guid>
		<description><![CDATA[1)Checking the Hardware Requirements•Physical memory: At least 1GB RAM. •Swap space: If RAM is between 1 GB and 2 GB then make swap space to 1.5 times of the size of RAM.If RMAN is more than 2GB then make swap space to the equal of the size of the RAM. •Temporary space: At least 400 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=289&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight:bold;"><u>1)Checking the Hardware Requirements</u></span><br /><span style="font-weight:bold;">•Physical memory:</span> At least 1GB RAM.</p>
<p><span style="font-weight:bold;">•Swap space:</span> If RAM is between 1 GB and 2 GB then make swap space to 1.5 times of the size of RAM.<br />If RMAN is more than 2GB then make swap space to the equal of the size of the RAM.</p>
<p><span style="font-weight:bold;">•Temporary space: </span>At least 400 MB. Typically in /tmp directory.</p>
<p><span style="font-weight:bold;">•Processor type (CPU):</span> Need to be certified with the version of the Oracle software being installed.</p>
<p><span style="font-weight:bold;">•Hard Disk Space:</span> 1.5 GB for oracle database home directory+1.5GB for the ASM home directory+120 oracle clusterware software installation+Two Oracle Clusterware components OCR 256 MB each, or 512 MB total disk space+Three Oracle Clusterware components Voting Disk 256 MB each, or 768 MB total disk space.</p>
<p>•All the nodes in the cluster must have same hardware architecture. However can have machines of different speeds and size in the same cluster.</p>
<p>On *nix system you can check hardware components as follows.</p>
<p>•To determine physical RAM size, <span style="font-weight:bold;"># grep MemTotal /proc/meminfo</span></p>
<p>•To determine the configured swap space, <span style="font-weight:bold;"># grep SwapTotal /proc/meminfo</span></p>
<p>•To determine the amount of disk space available in the /tmp directory, # df -k /tmp</p>
<p>•To determine free disk space on the system, <span style="font-weight:bold;">#df -h</span> or <span style="font-weight:bold;">#df -k</span></p>
<p>•To determine whether the system architecture, <span style="font-weight:bold;"># grep &#8220;model name&#8221; /proc/cpuinfo</span></p>
<p><span style="font-weight:bold;"><u>Checking the Network Requirements</u></span><br /><span style="font-weight:bold;"><u>Network Hardware Requirements</u></span><br />•One private interconnect is needed for Oracle Custerware for the use to synchronize each instance&#8217;s use of the shared resources and for Oracle RAC to interconnect to transmit data blocks that are shared between the instances. Thus each node need <span style="font-weight:bold;">at least two network interface cards, or network adapters.</span> One adapter is for the public network and the other adapter is for the private network</p>
<p>•The <span style="font-weight:bold;">public interface names associated with the network adapters for each network must be the same on all nodes</span>, and the private interface names associated with the network adaptors should be the same on all nodes. For example if in server1/node1, eth0 is the public interface then on server2/node2 eth0 must be the public interface.</p>
<p>•For the public network, each network adapter must support TCP/IP.</p>
<p>•For the private network, the interconnect must support the user datagram protocol (UDP) using high-speed network adapters and switches that support TCP/IP.</p>
<p>•Note UDP is the default interconnect protocol for Oracle RAC, and TCP is the interconnect protocol for Oracle Clusterware.</p>
<p>•For the private network, the endpoints of all designated interconnect interfaces must be completely reachable on the network. All nodes must be accessible between through private network. You can check the reachability by ping command.<br /><span style="font-weight:bold;"><br /><u>Network Parameter Requirements</u></span><br />If NFS is used for the shared storage, then you must set the values for the NFS buffer size parameters rsize and wsize to at least 16384. Oracle recommends that you use the value 32768.<br />You can set the value by updating the /etc/fstab file on each node with an entry similar to the following,</p>
<p><span style="font-weight:bold;">clusternode:/vol/DATA/oradata  /home/oradata/app     nfs    <br />rw,bg,vers=3,tcp,hard,nointr,timeo=600,rsize=32768,wsize=32768,actimeo=0  1 2</span><br /><span style="font-weight:bold;"><br /><u>IP Address Requirements</u></span><br />•You must have at least three IP addresses available for each node<br />1.An IP address for the public interface. Interface name should be the name of the node name.<br />2.An IP address for the private interface. Interface name should be hostname-priv.<br />3.One virtual IP address with an associated network name. Interface name should be hostname-vip.</p>
<p>•The VIP is on the same subnet as your public interface and it address will be not used currently in the network.</p>
<p>•For public and virtual addresses register with an associated network name in DNS. If you do not have an available DNS, then record the all network names and interface names in the system hosts file, /etc/hosts.</p>
<p>•Identify the interface names and associated IP addresses for all network adapters by running the following command on each node:</p>
<p><span style="font-weight:bold;"># /sbin/ifconfig</span></p>
<p><span style="font-weight:bold;"><u>Node Time Requirements</u></span><br />Ensure that each member node of the cluster is set as closely as possible to the same date and time. Oracle strongly recommends using the Network Time Protocol (NTP) feature of most operating systems for this purpose.</p>
<p><span style="font-weight:bold;"><u>Verifying the Installed Operating System and Software Requirements</u></span><br />•To determine which distribution and version of Linux is installed, run the following command as the root user:<br /><span style="font-weight:bold;">#cat /etc/issue</span></p>
<p>•The Linux kernel is updated to fix bugs. These kernel updates are referred to as erratum kernels or errata levels. To determine if the required errata level is installed, use the following procedure as the root user:</p>
<p><span style="font-weight:bold;">#uname -r</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/exploreoracle.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/exploreoracle.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/exploreoracle.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/exploreoracle.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/exploreoracle.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/exploreoracle.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/exploreoracle.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/exploreoracle.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/exploreoracle.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/exploreoracle.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/exploreoracle.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/exploreoracle.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/exploreoracle.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/exploreoracle.wordpress.com/289/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=289&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://exploreoracle.wordpress.com/2009/01/08/requirements-to-check-before-install-oracle-rac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3df6bd88509d612d8bcfed01d9c24d48?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kshaik1981</media:title>
		</media:content>
	</item>
		<item>
		<title>Configure server to install Oracle RAC</title>
		<link>http://exploreoracle.wordpress.com/2009/01/08/configure-server-to-install-oracle-rac/</link>
		<comments>http://exploreoracle.wordpress.com/2009/01/08/configure-server-to-install-oracle-rac/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 17:49:00 +0000</pubDate>
		<dc:creator>kshaik1981</dc:creator>
				<category><![CDATA[RAC]]></category>

		<guid isPermaLink="false">http://exploreoracle.wordpress.com/2009/01/08/configure-server-to-install-oracle-rac/</guid>
		<description><![CDATA[Configuring Operating System Users and Groups in All NodesOn windows you don&#8217;t need to create separate user to install oracle or don&#8217;t need to create groups. OUI automatically do it. However on unix you must create the following operating system groups are required if you are installing Oracle RAC for the first time. •The OSDBA [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=288&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight:bold;"><u>Configuring Operating System Users and Groups in All Nodes</u></span><br />On windows you don&#8217;t need to create separate user to install oracle or don&#8217;t need to create groups. OUI automatically do it. However on unix you must create the following operating system groups are required if you are installing Oracle RAC for the first time.</p>
<p>•The OSDBA group (typically, dba) -This is the OS user who has SYSDBA privilege.</p>
<p>•The Oracle Inventory group (typically, oinstall) -This group owns all Oracle software installed on the system.</p>
<p>The following operating system users are required</p>
<p>•A user that owns the Oracle software (typically, oracle).</p>
<p>•An unprivileged user (for example, the nobody user on Linux systems).</p>
<p><span style="font-weight:bold;"><u>Create the required groups and users</u></span><br />Do this steps on all nodes of your cluster.<br />As a root user,</p>
<p><span style="font-weight:bold;">/usr/sbin/groupadd oinstall<br />/usr/sbin/groupadd dba<br />useradd -u 200 -g oinstall -G dba -d /home/oracle -r oracle</span><br />Change the password by,<br /><span style="font-weight:bold;">passwd oracle</span></p>
<p>Verify the user by,<br /><span style="font-weight:bold;">id oracle </span></p>
<p><u>Note that in this example in stead of using node1 use your original node name and instead of using node2 use your original node name.</u></p>
<p><span style="font-weight:bold;"><u>Configuring SSH on All Cluster Nodes</u></span><br />When installing Oracle RAC on UNIX and Linux platforms, the software is installed on one node, and OUI uses secure communication to copy the software binary files to the other cluster nodes. OUI uses the Secure Shell (SSH) for the communication.</p>
<p>So you must have configured SSH on all nodes.</p>
<p>•To configure SSH, you must first create Rivest-Shamir-Adleman (RSA) keys and Digital Signature Algorithm (DSA) keys on each cluster node. After you have created the private and public keys, you copy the keys from all cluster node members into an authorized keys file that is identical on each node.</p>
<p><span style="font-weight:bold;"><u>Generating RSA and DSA Keys</u></span><br />1)Log on as oracle user.</p>
<p>2)See whether .ssh directory exist or not. If does not exist then create one.<br /><span style="font-weight:bold;">$ mkdir ~/.ssh<br />$ chmod 700 ~/.ssh</span></p>
<p>3)Create the RSA-type public and private encryption keys by,<br /><span style="font-weight:bold;">/usr/bin/ssh-keygen -t rsa</span><br />This command creates the public key in the /home/oracle/.ssh/id_rsa.pub file and the private key in the /home/oracle/.ssh/id_rsa file.</p>
<p>4)Create the DSA type public and private keys.<br /><span style="font-weight:bold;">/usr/bin/ssh-keygen -t dsa</span><br />This command creates the public key in the /home/oracle/.ssh/id_dsa.pub file and the private key in the /home/oracle/.ssh/id_dsa file.</p>
<p>5)Repeat step 1 through 4 in all the nodes.</p>
<p><span style="font-weight:bold;"><u>Adding the Keys to an Authorized Key File</u></span><br />1)Go to .ssh directory<br /><span style="font-weight:bold;">$ cd ~/.ssh</span></p>
<p>2)Add the RSA and DSA keys to the authorized_keys files.<br /><span style="font-weight:bold;">$ cat id_rsa.pub &gt;&gt;authorized_keys<br />$ cat id_dsa.pub &gt;&gt;authorized_keys</span></p>
<p>3)Using SCP copy the authorized_keys file to the oracle user .ssh directory on a remote node.<br /><span style="font-weight:bold;">scp authorized_keys node2:/home/oracle/.ssh/</span></p>
<p>4)Using SSH, log in to the node where you copied the authorized_keys file, using the passphrase you created. Then change to the .ssh directory, and using the cat command, add the RSA and DSA keys for the second node to authorized_keys file.<br /><span style="font-weight:bold;">ssh node2<br />Enter passphrase for key &#8216;/home/oracle/.ssh/id_rsa&#8217;:<br />cd ~/.ssh<br />cat id_rsa.pub  &gt;&gt; authorized_keys<br />cat id_dsa.pub  &gt;&gt; authorized_keys</span></p>
<p>5)If you have more than 2 nodes in your cluster, repeat step 3 and step 4 for each node you intend to add to your cluster. Copy the most recently updated authorized_keys file to the next node, then add the public keys for that node to the authorized_keys file.</p>
<p>6)After updating the authorized_keys file on all nodes, use SCP to copy the complete authorized_keys file from the last node to be updated to all the other cluster nodes, overwriting the existing version on the other nodes. For example,<br /><span style="font-weight:bold;">scp authorized_keys node1:/home/oracle/.ssh/</span></p>
<p><span style="font-weight:bold;"><u>Configure SSH User Equivalency on Cluster Member Nodes</u></span><br />1)Log on as a oracle user.</p>
<p>2)Start the SSH agent and load the SSH keys into memory.<br /><span style="font-weight:bold;">$ exec /usr/bin/ssh-agent $SHELL<br />$ /usr/bin/ssh-add</span></p>
<p>3)Complete the SSH configuration by using the ssh command to retrieve the date on each node in the cluster.<br /><span style="font-weight:bold;">$ ssh node1 date<br />$ ssh node2 date</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/exploreoracle.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/exploreoracle.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/exploreoracle.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/exploreoracle.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/exploreoracle.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/exploreoracle.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/exploreoracle.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/exploreoracle.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/exploreoracle.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/exploreoracle.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/exploreoracle.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/exploreoracle.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/exploreoracle.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/exploreoracle.wordpress.com/288/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=288&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://exploreoracle.wordpress.com/2009/01/08/configure-server-to-install-oracle-rac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3df6bd88509d612d8bcfed01d9c24d48?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kshaik1981</media:title>
		</media:content>
	</item>
		<item>
		<title>How to configure(modify,see) Kernel Parameters in Linux</title>
		<link>http://exploreoracle.wordpress.com/2009/01/08/how-to-configuremodifysee-kernel-parameters-in-linux/</link>
		<comments>http://exploreoracle.wordpress.com/2009/01/08/how-to-configuremodifysee-kernel-parameters-in-linux/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 17:49:00 +0000</pubDate>
		<dc:creator>kshaik1981</dc:creator>
				<category><![CDATA[FAQ]]></category>

		<guid isPermaLink="false">http://exploreoracle.wordpress.com/2009/01/08/how-to-configuremodifysee-kernel-parameters-in-linux/</guid>
		<description><![CDATA[Kernel Parameters, Recommended Values to install Oracle and Associated Files1)semmsl semmns semopm semmni: Corresponding recommended values to install oracle are 250 32000 100 128 or over and associated the default settings of these kernel parameter are in file /proc/sys/kernel/sem2)shmmax: Recommended value to install oracle is the half the size of physical memory (in bytes) or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=287&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight:bold;"><u>Kernel Parameters, Recommended Values to install Oracle and Associated Files</u></span><br /><span style="font-weight:bold;">1)semmsl semmns semopm semmni:</span> Corresponding recommended values to install oracle are 250 32000 100 128 or over and associated the default settings of these kernel parameter are in file /proc/sys/kernel/sem<br /><span style="font-weight:bold;"><br />2)shmmax:</span> Recommended value to install oracle is the half the size of physical memory (in bytes) or over. The default setting of this kernel parameter is in /proc/sys/kernel/shmmax<br /><span style="font-weight:bold;"><br />3)shmmni:</span> Recommended value to install oracle is 4096 or over. The default setting of this kernel parameter is in /proc/sys/kernel/shmmni</p>
<p><span style="font-weight:bold;">4)shmall:</span> Recommended value to install oracle is 2097152 or over. The default setting of this kernel parameter is in /proc/sys/kernel/shmall</p>
<p><span style="font-weight:bold;">5)ip_local_port_range:</span> Recommended value to install oracle is Minimum: 1024 and Maximum: 65000 or over. The default setting of this kernel parameter is in /proc/sys/net/ipv4/ip_local_port_range</p>
<p><span style="font-weight:bold;">6)rmem_default:</span> Recommended value to install oracle is 1048576 or over. The default setting of this kernel parameter is in /proc/sys/net/core/rmem_default<br /><span style="font-weight:bold;"><br />7)rmem_max: </span>Recommended value to install oracle is 1048576 or over. The default setting of this kernel parameter is in /proc/sys/net/core/rmem_max</p>
<p><span style="font-weight:bold;">8)wmem_default:</span> Recommended value to install oracle is 262144 or over. The default setting of this kernel parameter is in /proc/sys/net/core/wmem_default</p>
<p><span style="font-weight:bold;">9)wmem_max:</span> Recommended value to install oracle is 262144 or over. The default setting of this kernel parameter is in /proc/sys/net/core/wmem_max</p>
<p><span style="font-weight:bold;"><u>How to see the current value of the kernel parameters</u></span><br /><span style="font-weight:bold;"><br />1)semmsl, semmns, semopm, and semmni: # /sbin/sysctl -a | grep sem</p>
<p>2)shmall, shmmax, and shmmni: # /sbin/sysctl -a | grep shm</p>
<p>3)ip_local_port_range: # /sbin/sysctl -a | grep ip_local_port_range</p>
<p>4)rmem_default, rmem_max, wmem_default, and wmem_max: # /sbin/sysctl -a | grep net.core</span></p>
<p><span style="font-weight:bold;"><u>How to modify the Kernel Parameter in Linux</u></span><br />1)Modifying /etc/sysctl.conf startup file.<br />With any text editor you can edit /etc/sysctl.conf file and then either put of change the entry like,<br /><span style="font-weight:bold;">kernel.shmall = 2097152<br />kernel.shmmax = 536870912<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=262144<br />net.core.wmem_default=262144<br />net.core.rmem_max=262144<br />net.core.wmem_max=262144</span></p>
<p>Or to change a certain parameter like kernel.shmmax you can insert it in the /etc/sysctl.conf like,<br /><span style="font-weight:bold;"># echo &#8220;kernel.shmmax=2147483632&#8243; &gt;&gt; /etc/sysctl.conf</span></p>
<p>Note that settings in /etc/sysctl.conf is persistent but not immediate affect. That is whenever your system will restart then it will in effect. In order the affect the setting of the value immediately use,<br /><span style="font-weight:bold;">/sbin/sysctl -p </span> -On Red Hat Linux system.</p>
<p>On SUSE linux to set persistently use<br /><span style="font-weight:bold;"># /sbin/chkconfig boot.sysctl on</span></p>
<p><span style="font-weight:bold;">2)Modifying /proc file system.</span><br />If you wanted to dynamically alter the value of SHMMAX without rebooting the machine, you can make this change directly to the /proc file system. This command can be made permanent by putting it into the /etc/rc.local startup file:<br />Like,<br /><span style="font-weight:bold;">debian:/home/Shaik# echo &#8220;6553&#8243; &gt; /proc/sys/fs/file-max</span><br /><span style="font-weight:bold;"><br />3) Using sysctl command</span></p>
<p>With sysctl command you can also change the value of SHMMAX:</p>
<p><span style="font-weight:bold;"># sysctl -w kernel.shmmax=2147483228</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/exploreoracle.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/exploreoracle.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/exploreoracle.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/exploreoracle.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/exploreoracle.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/exploreoracle.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/exploreoracle.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/exploreoracle.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/exploreoracle.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/exploreoracle.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/exploreoracle.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/exploreoracle.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/exploreoracle.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/exploreoracle.wordpress.com/287/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=287&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://exploreoracle.wordpress.com/2009/01/08/how-to-configuremodifysee-kernel-parameters-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3df6bd88509d612d8bcfed01d9c24d48?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kshaik1981</media:title>
		</media:content>
	</item>
		<item>
		<title>Pre-Installation RAC environement setup check with CVU</title>
		<link>http://exploreoracle.wordpress.com/2009/01/08/pre-installation-rac-environement-setup-check-with-cvu/</link>
		<comments>http://exploreoracle.wordpress.com/2009/01/08/pre-installation-rac-environement-setup-check-with-cvu/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 17:48:00 +0000</pubDate>
		<dc:creator>kshaik1981</dc:creator>
				<category><![CDATA[RAC]]></category>

		<guid isPermaLink="false">http://exploreoracle.wordpress.com/2009/01/08/pre-installation-rac-environement-setup-check-with-cvu/</guid>
		<description><![CDATA[Checking the Network Setup with CVUTo verify node connectivity among all nodes in your cluster use following syntax as an oracle user,/mount_point/crs/Disk1/cluvfy/runcluvfy.sh comp nodecon -n node_list [-verbose] If you have two nodes node1 and node2 and your mountpoint is /dev/cdrom then enter following command./dev/cdrom/crs/Disk1/cluvfy/runcluvfy.sh comp nodecon -n node1,node2 -verbose Checking the Hardware and Operating System [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=286&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight:bold;"><u>Checking the Network Setup with CVU</u></span><br />To verify node connectivity among all nodes in your cluster use following syntax as an oracle user,<br /><span style="font-weight:bold;">/mount_point/crs/Disk1/cluvfy/runcluvfy.sh comp nodecon -n node_list [-verbose]</span></p>
<p>If you have two nodes node1 and node2 and your mountpoint is /dev/cdrom then enter following command.<br /><span style="font-weight:bold;">/dev/cdrom/crs/Disk1/cluvfy/runcluvfy.sh comp nodecon -n node1,node2 -verbose</span></p>
<p><span style="font-weight:bold;"><u>Checking the Hardware and Operating System Setup with CV</u></span><br />As an oracle user use the following command syntax to start Cluster Verification Utility (CVU) stage verification to check hardware and OS setup:</p>
<p><span style="font-weight:bold;">/mountpoint/crs/Disk1/cluvfy/runcluvfy.sh stage –post hwos –n node_list [-verbose]</span><br />If you have two nodes node1 and node2 and your mountpoint is /dev/cdrom then enter following command,<br /><span style="font-weight:bold;">/dev/cdrom/crs/Disk1/cluvfy/runcluvfy.sh stage –post hwos –n node1,node2</span></p>
<p><span style="font-weight:bold;"><u>Checking the Operating System Requirements Setup with CVU</u></span><br />To check if your system meets the operating system requirement pre-installation tasks use the following syntax,<br /><span style="font-weight:bold;">/mountpoint/crs/Disk1/cluvfy/runcluvfy.sh comp sys -n node_list -p {crs|database}<br />-osdba osdba_group -orainv orainv_group -verbose</span></p>
<p>If you have two nodes node1 and node2 and your mountpoint is /dev/cdrom with the OSDBA dba and Oracle inventory group oinstall then enter following command,<br /><span style="font-weight:bold;">/dev/cdrom/crs/Disk1/cluvfy/runcluvfy.sh comp sys -n node1,node2 -p crs -osdba crs -orainv oinstall</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/exploreoracle.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/exploreoracle.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/exploreoracle.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/exploreoracle.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/exploreoracle.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/exploreoracle.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/exploreoracle.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/exploreoracle.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/exploreoracle.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/exploreoracle.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/exploreoracle.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/exploreoracle.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/exploreoracle.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/exploreoracle.wordpress.com/286/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=exploreoracle.wordpress.com&amp;blog=6100061&amp;post=286&amp;subd=exploreoracle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://exploreoracle.wordpress.com/2009/01/08/pre-installation-rac-environement-setup-check-with-cvu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3df6bd88509d612d8bcfed01d9c24d48?s=96&#38;d=identicon" medium="image">
			<media:title type="html">kshaik1981</media:title>
		</media:content>
	</item>
	</channel>
</rss>
