<?xml version="1.0" encoding="ISO-8859-1"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ref="http://purl.org/rss/1.0/modules/reference/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://www.idbas.com/blog/rss.rdf">
		<title>Welcome to iDBAs</title>
		<link>http://www.idbas.com/blog/index.php</link>
		<description><![CDATA[© 2010 All Rights Reserved by iDBAs.com.]]></description>
		<items>
			<rdf:Seq>
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry100801-222813" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry100801-174030" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry100722-125756" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry100722-123616" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry100722-123414" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry100702-164939" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry100702-105815" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry100702-105347" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry100702-103931" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry100630-133716" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry100615-170605" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry100317-163709" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry100315-140402" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry100315-135258" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry100315-133222" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry100308-174235" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry100308-171156" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry091231-165557" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry091230-175931" />
				<rdf:li resource="http://www.idbas.com/blog/index.php?entry=entry091230-174204" />
			</rdf:Seq>
		</items>
	</channel>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry100801-222813">
		<title>How to copy raw files to file system</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry100801-222813</link>
		<description><![CDATA[Here is the another simple trick , I learned in my recent project. This command helps to build a copy script a database with raw-to- raw  or raw to regular file system.<br />If possible, we can even use this step for  ASM database too. but make sure we create the ASM Disk groups. We still need to explore this method in ASM.<br /><br />select &#039;dd if=&#039;||FILE_NAME||&#039; bs=256k|gzip --fast |ssh urban &quot;gunzip|dd &#039;||&#039; of=&#039;||replace(FILE_NAME,(&#039;SOURCE_SID&#039;),(&#039;TARGET_SID&#039;))||&#039; bs=256k&#039; ||&#039; &quot; &#039; from dba_data_files order by file_name;<br /><br /><br /><br /><b>@idbas.com </b>we take every optimize approach to accomplish.We always give 100% database availability using Framework Approach.<br />Disclaimer : We are not responsible for commands.Information for reference only,not for execution. Before executing strongly recomend to test it]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry100801-174030">
		<title>How to check for when did the last gather schema stats run.</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry100801-174030</link>
		<description><![CDATA[From my last experience , I have learned that these simple statements are life savors.. I would like to share these tiny statements to make other dba&#039;s life easy.. <br /><br />Gather stats information ready sql scripts for DBA : @ iDBA&#039;s we thought these are the useful quick statements to find out the status of gather status :<br /><br /><br />Script to find-out last gather apps stats ran in Oracle applications : It should work fine between R11 -R12 . Assuming that gather schema stats job is scheduled every wk.<br /><br />For Apps schema : <br /><br />select count(1)<br />from apps.fnd_concurrent_programs_vl p , apps.fnd_concurrent_requests r<br />where r.concurrent_program_id = p.concurrent_program_id<br />and r.program_application_id = p.application_id<br />and p.user_concurrent_program_name in (<br />&#039;OnDemand Gather Schema Statistics&#039;,<br />&#039;Gather Schema Statistics&#039;,<br />&#039;Gather Schema Statistics (IT_ANALYZE)&#039;<br />)<br />and (r.phase_code = &#039;C&#039; and r.status_code= &#039;C&#039; and r.actual_start_date &gt;= sysdate-7)<br />/<br /><br />For Non-Apps schemas : <br /><br />set pages 0 echo off head off termout off verify off feed off lines 1000<br />select count(1)<br />from apps.fnd_concurrent_programs_vl p , apps.fnd_concurrent_requests r<br />where r.concurrent_program_id = p.concurrent_program_id<br />and r.program_application_id = p.application_id<br />and p.user_concurrent_program_name in (<br />&#039;Gather Statistics for Non-Apps Schema&#039;<br />)<br />and (r.phase_code = &#039;C&#039; and r.status_code= &#039;C&#039; and r.actual_start_date &gt;= sysdate-7)<br /><br /><br /><br />Tofind-out list of tables analyzed since last wk.<br /><br />select count(1) from dba_tables where last_analyzed &lt; sysdate -7 <br /><br />On the same note : Step to find-out for owner sys. Fur standad or small application based databases, some times it is recomend to gather on sys too.<br /><br />select count(1) from dba_Tables where owner=&#039;SYS&#039; and last_analyzed is not null<br />/<br /><br />]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry100722-125756">
		<title>Re-create the listener.ora  and tnsnames.ora files  :  Using netca  ~</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry100722-125756</link>
		<description><![CDATA[Non- RAC<br />./netca /silent \<br />            /responseFile $ORACLE_HOME/network/install/netca_typ.rsp \<br />            /inscomp server \<br />            /nodeinfo &lt;DB Server Name&gt;<br /><br />            <br />RAC :            <br />./netca /silent \<br />           /responseFile $ORACLE_HOME/network/install/netca_typ.rsp \<br />            /inscomp server \<br />            /nodeinfo node1,node2]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry100722-123616">
		<title>Runaway   and inactive processes ~</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry100722-123616</link>
		<description><![CDATA[Found these querys are very useful for dba&#039;s.<br />Sql Used for run away.<br /><br />#######################################################<br />                  1  select a.spid,b.inst_id,b.sid,b.process,b.module,b.status,machine,round(b.last_call_et/60,0) &quot;Minutes Running&quot; from gv$process a, gv$session b where<br />  2  b.last_call_et &gt;= 3600 *10 and a.addr=b.paddr and b.process=&#039;1234&#039;<br />                 3  and type !=&#039;BACKGROUND&#039;<br />                4* order by  8 desc<br /><br /> Top 20 Active processes running more than 10 hours :<br />#######################################################<br /><br />  1  select a.spid,b.inst_id,b.sid,b.process,b.module,b.status,machine,round(b.last_call_et/60,0) &quot;Minutes Running&quot; from gv$process a, gv$session b where<br />  2  b.last_call_et &gt;= 3600 *10 and a.addr=b.paddr<br />  3  and type !=&#039;BACKGROUND&#039; and status=&#039;ACTIVE&#039;<br />  4* order by  8 desc<br />]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry100722-123414">
		<title>How to configure retention policy : ~</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry100722-123414</link>
		<description><![CDATA[Here are the steps to configure retention policy : ~<br /><br />RMAN&gt; show RETENTION POLICY;<br />RMAN configuration parameters are:<br />CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default<br />RMAN&gt; CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 8 DAYS;<br />new RMAN configuration parameters:<br />CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 8 DAYS; new RMAN configuration parameters are successfully stored<br />RMAN&gt; show RETENTION POLICY;<br />RMAN configuration parameters are:<br />CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 8 DAYS;]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry100702-164939">
		<title>Using kfed in ASM</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry100702-164939</link>
		<description><![CDATA[srvctl stop asm -n ora-node-rac-1<br />srvctl stop asm -n ora-node-rac-2<br /><br />cd $ORACLE_HOME/rdbms/lib<br />make -f ins_rdbms.mk ikfed <br />As ROOT on BOTH NODES<br />setasm<br />vi /etc/sysconfig/oracleasm file, make sure to have these values set:<br /><br />	ORACLEASM_ENABLED=false<br />	ORACLEASM_SCANBOOT=false<br /><br />/etc/init.d/oracleasm stop<br />/etc/init.d/oracleasm disable<br /><br />As ROOT ON FIRST NODE ONLY<br />kfed read /dev/sdg1 &gt; read.out<br />vi read.out --   find value  kfdhdb.grpname change tag from DATA to CLNE and save file<br />kfed merge /dev/sdh1 text=merge.out<br /><br />As ROOT on BOTH NODES<br />vi /etc/sysconfig/oracleasm  update values of two tags <br />	ORACLEASM_ENABLED=true<br />	ORACLEASM_SCANBOOT=false<br />/etc/init.d/oracleasm enable<br /><br />As ROOT ON FIRST NODE ONLY<br />/etc/init.d/oracleasm force-renamedisk /dev/sdh1 CLNE<br /><br />As ROOT on BOTH NODES<br />/etc/init.d/oracleasm listdisks<br />chown oracle:oinstall /dev/sdg1 /dev/sdh1<br />As USER ORACLE ON BOTH NODES<br />sqlplus &quot;/ as sysdba&quot;<br />alter system set asm_diskgroups =&#039;DATA&#039;, &#039;CLNE&#039;;<br />alter system set asm_diskstring = &#039;/dev/sdg1&#039;,&#039;/dev/sdh1&#039;<br />alter diskgroup data mount;<br />alter diskgroup clne mount;<br />exit <br /><br /><br />asmcmd<br />ls -l<br />ASMCMD&gt; ls -l<br />State    Type    Rebal  Unbal  Name<br />MOUNTED  EXTERN  N      N      CLNE/<br />MOUNTED  EXTERN  N      N      DATA/<br />]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry100702-105815">
		<title>Application Performance Impacted by Garbage Collection Pauses</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry100702-105815</link>
		<description><![CDATA[Issues most of the users encoutner with Garbage collection :<br />-----------------------------------------------------------------<br />An application running on OC4J appears unresponsive, with simple requests experiencing noticeable delays. The cause is that the JVM has crossed the low memory threshold and is running a full garbage collection to free up memory.<br />Solution can be varry from setup to setup:<br />-----------------------------------------------------------------<br />Consider using the incremental low pause collector, which avoids long major garbage collection pauses by doing portions of the major collection work at each minor collection. This collector (also known as the train collector) collects portions of the tenured generation - a memory pool holding objects that are typically collected in a major collection - at each minor collection. The result is shorter pauses spread over many minor collections.<br />The incremental collector is even slower than the default tenured generation collector when considering overall throughput.<br />To use the incremental collector, the -Xincgc option must be passed in on the Java command line at application startup. Set the initial and maximum size of the young generation (object pool) to the same value using the XX:NewSize and -XX:MaxNewSize options. Set the initial and the maximum Java heap sizes to the same value using the -Xms and-Xmx options.<br />For example, to use this collector with a server with 1 GB of physical memory:<br />java -server -Xincgc -XX:NewSize=64m -XX:MaxNewSize=64m -Xms512m -Xmx512m<br />]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry100702-105347">
		<title>Steps to Upgrade to sun-jdk-6u20-linux-x64</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry100702-105347</link>
		<description><![CDATA[1.	Download the 64 bit Sun JDK Media<br /><br />Download the sun-jdk-6u20-linux-x64 media from Sun Website.<br /><br />$HOME/sun-jdk-6u20-linux-x64/jdk-6u20-linux-x64.bin<br /><br />2.	Copy the media into the following temporary location<br /><br />Download required jdk from site : sun-jdk-6u20-linux-x64<br />cp -p jdk-6u20-linux-x64.bin $HOME<br /><br />cd $HOME<br />./jdk-6u20-linux-x64.bin<br />Follow thru and accept the agreement, and the jdk install will complete and create the following dir under $HOME/jdk1.6.0_20<br /><br /><br />3.	Perform the following steps for any Oracle Homes upgrading from 32 bit sun jdk to 64 bit sun jdk ( in our case it is SOA and WSM Oracle homes)<br /><br /><br />Steps shown for SOA oracle home:<br />----------------------------------<br /><br />.setenv<br />opmnctl stopall<br /><br />cd $ORACLE_HOME<br />mv jdk jdk.32bit.orig<br />cp -rp $HOME/jdk1.6.0_20 .<br />mv jdk1.6.0_20 jdk<br /><br />cd $ORACLE_HOME/opmn/conf<br />Edit opmn.xml file and remove any OC4J instance java options referencing jdk1.5.0_17.<br />Remove the following line in opmn.xml file for all OC4J_SOA instances.<br />&lt;data id=&quot;java-bin&quot; value=&quot;/oracle/products/jdk1.5.0_17/bin/java&quot;/&gt;<br /><br />Start the servers<br />opmnctl startall<br />---------------------------------<br />4.	Similarly follow the above steps for WSM oracle homes.<br />5.	Valide that the 64 bit Sun JDK is being used <br />java -version (to check the version is JDK 6 u 20 x_64)<br /><br />ps -ef | grep java ( to ensure &lt;oracle_home&gt;/jdk/bin/java is being used)<br /><br /><br />]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry100702-103931">
		<title>Configuring Notification Service in BPEL</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry100702-103931</link>
		<description><![CDATA[Edit the /oracle/products/10.1.3.1/SOA/bpel/system/services/config/ns_emails.xml file for the following as shown in blue color<br /><br /><br /><br />&lt;EmailAccounts xmlns=&quot;http://xmlns.oracle.com/ias/pcbpel/NotificationService&quot;<br />               EmailMimeCharset=&quot;&quot;<br />               NotificationMode=&quot;EMAIL&quot;&gt;<br />   &lt;EmailAccount&gt;<br />      &lt;Name&gt;Default&lt;/Name&gt;<br />      &lt;GeneralSettings&gt;<br />         &lt;FromName&gt;Customer Service&lt;/FromName&gt;<br />         &lt;FromAddress&gt;email@xxx.com&lt;/FromAddress&gt;<br />      &lt;/GeneralSettings&gt;<br />      &lt;OutgoingServerSettings&gt;<br />         &lt;SMTPHost&gt;smtp.company.com&lt;/SMTPHost&gt;<br />         &lt;SMTPPort&gt;25&lt;/SMTPPort&gt;<br />      &lt;/OutgoingServerSettings&gt;<br />      &lt;IncomingServerSettings&gt;<br />         &lt;Server&gt;smtp.company.com&lt;/Server&gt;<br />         &lt;Port&gt;110&lt;/Port&gt;<br />         &lt;Protocol&gt;pop3&lt;/Protocol&gt;<br />         &lt;UserName&gt;accountId&lt;/UserName&gt;<br />         &lt;Password ns0:encrypted=&quot;false&quot; xmlns:ns0=&quot;http://xmlns.oracle.com/ias/pcbpel/NotificationService&quot;&gt;password&lt;/Password&gt;<br />         &lt;UseSSL&gt;false&lt;/UseSSL&gt;<br />         &lt;Folder&gt;Inbox&lt;/Folder&gt;<br />         &lt;PollingFrequency&gt;1&lt;/PollingFrequency&gt;<br />         &lt;PostReadOperation&gt;<br />            &lt;MarkAsRead/&gt;<br />         &lt;/PostReadOperation&gt;<br />      &lt;/IncomingServerSettings&gt;<br />   &lt;/EmailAccount&gt;<br /><br />&lt;/EmailAccounts&gt;]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry100630-133716">
		<title>EM agent clonning steps to add new databases to repository</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry100630-133716</link>
		<description><![CDATA[Tar and copy from the source location to target location.<br />Use tar -cvzf  to create tar file<br />use tar -xvzf to untar the zip file.<br />Or gunzip the tar file to rquired location :<br /><br />cd &lt;Agent Home &gt;<br />gunzip &lt; agent10g.tar.gz | tar xvf -<br /><br />cd /oracle/products<br />rm -rf agent10g.tar.gz<br /><br />cd &lt;Agent Home &gt;/oui/bin<br /><br />./runInstaller -clone -forceClone ORACLE_HOME=&lt;Complete Agent Path &gt; ORACLE_HOME_NAME=agent10g -noconfig -silent<br /><br />exit<br /><br />Login in another session and run.. root.sh<br /><br />cd &lt;Agent Home &gt;/bin<br /><br />./agentca -f<br /><br />./emctl secure agent<br /><br />Pass the required autheticated passwd.<br /><br />./emctl start agent<br />]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry100615-170605">
		<title>RAC on VMware </title>
		<link>http://www.idbas.com/blog/index.php?entry=entry100615-170605</link>
		<description><![CDATA[Oracle RAC Virtualization Rocks on Esx4.0. But keep in mind for the best practices.<br />We have learned that , set of database parameters which need to addressed to get optimum performance.<br />Besides adding more number of cpu and more memory these are the additional parameter which need to considered.<br /><br />Since Virtual and Database (shared memory) fights for memory management and database settings get big stake of it. so back to old school, consider<br />setting &quot;.db_cache_advice=&#039;OFF&#039; and set pga ,sga and shared memory parameters manually.<br />As a regular practice , also plan to setup huge page to suggested values. Jumbo Frame works just fine in Virtual RAC.<br />CPU Best practice and Number of Virtual CPUS :<br />Configure as many cpu as your development strategy is required.. Like UAT (needed less cpus ) and QA needed more CPU and Pre-production requires.. optimum production equal or less cpu.<br />Unused virtual cpu imposes unwanted extra overhead... which lead to consume more memory, process timer, process migrations in guests leads to extra overhead..<br />SMP VM&#039;s : Bring up all vcpus at once when scheduling smp vm.<br /><br /><br />Memory Virtualization :<br />Recent Operating Systems uses Paging. applications use virtual address to access memory. O/S Maintains virtual address to physical address mapping of every process which is called guest page table..<br />Since Virtual memory maintains Hypervisor guest table to physical address. Each matching address mapping to shadow page tables..<br /><br /><br /><br />Process (A) ---&gt; Process (A) (Location1) ---&gt; Process (A) (Location10) <br />Ex : xx90x00 Ex : xx90x00 Ex : xx90x00<br />Process (B) ---&gt; Process (B) (Location4) ---&gt; Process (B) (Location13) <br />Ex : xx90x00 Ex : xx90x00 Ex : xx90x00<br />Process (C) ---&gt; Process (C) (Location6) ---&gt; Process (C) (Location17) <br />Ex : xx90x00 Ex : xx90x00 Ex : xx90x00<br />Process (D) ---&gt; Process (D) (Location8) ---&gt; Process (D) (Location20) <br />Ex : xx90x00 Ex : xx90x00 Ex : xx90x00<br /><br />Virtual address for Process Guest physical Address (Operating system ) Shadow Page Table..<br /><br />In case of VM .. Gust page table directly uses shadow page tables.. this is where the performance conflicts...<br /><br />Do a memory reservations equal to the memory required by the database and Operating system...Please check with syadmin to fix this.<br />Being virtualized not only saves money.. it also saves a lot time..<br /><br />I will be covering how to do RAC- to - RAC clone. Including EBS,SOA,Fusin Middleware database and application servers are functioning for optimum performance.<br />In today’s&#039; world customers who cannot offered to have to physical RAC&#039;s or multiple RAC environments for Development environment, we will recommend going for virtual will give 200% productivity and growth.<br />Here in idbas.com we will help your onsite dba, how to Build and clone a RAC environment in 6 hrs. In general , it takes 30-60 hrs to build another clone environment.<br />]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry100317-163709">
		<title>What is TOGAF, It&#039;s time for Frame work again ~</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry100317-163709</link>
		<description><![CDATA[Do we need TOGAF (The Open Group architecture Framework ) to support SOA. Yes!  TOGAF is a mature EA framework which is widely adopted in the industry.  SOA is architecture style that is extensively being used in the industry now.<br /><br /> <b>What is TOGAF :</b>   An Architecuture framework that enables you to design, evaluate and build the right architecture for your oraganization.<br />SOA styles are developed using TOGAF.<br /><br /> <b>TOGAF consists of  3 main parts </b>  :<br />1.The TOGAF Architecture Development Method.<br />2.The Enterprise continuum.<br />3.The TOGAF Resourece Base.<br /><br /><br /> <b>ABCDEFGH.. of TOGAF :</b> <br />Preliminary Phase :Define Priniciples, Adapt Framework.<br />A.Architecure Vision.  :  Define Scope,create vision, obtain apporovals.<br />B.Business Architecture : Develop Business Architecture.<br />C.Information systems Architecture  : Develop Data and Application Architecture.<br />D.Technology Architecture  : Develop a technology architecture.<br />E.Opportunities and solutions  : Check point suitability for implementation.<br />F.Migration Planning.  : Prioritize, select major work packages,develop migration plan.<br />G.Implementation Governence. : Provide architectural Oversight of the implementation.<br />H.Architecture change Management :Establish for procedures for managing change to new architecture.<br /><br /><br />To start with , have your objectives ready prior to building a Framework.<br /><br />Objectives<br /> To ensure everyone is committed to architecture process.<br /> To define the architecture principles.<br /> To define scope and assumptions.<br /> To assess SOA readiness, maturity and define SOA adoption plan.<br /> To define framework and detail methodologies (i.e. ADM)<br /> To setup and monitor a process.<br /> To define criteria for architecture tools.<br /><br /><br />@idbas.com We will deliver end-2-end SOA ,IDM,B2B,BI Design,Install and setup/configure.  for more information, please reach us @ <a href="mailto:info@idbas.com" target="_blank" >info@idbas.com</a>.<br />]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry100315-140402">
		<title>How to Detach and Attach your OracleHome to OraInventory from command line</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry100315-140402</link>
		<description><![CDATA[ <b>Detach from oracle inventory</b> <br /><br /> Run the following steps to remove the source nodes reference in inventory.   This will detach and attach your new oracle home to the Oracle Inventory.   <br /><br />o	Execute this as user &quot;oracle&quot;.<br />o	$ cd $ORACLE_HOME/oui/bin<br /><br />Run this and it will detach oracle home of source server from inventory<br /><br />o	./runInstaller -silent -detachHome -local -noClusterEnabled -invPtrLoc $ORACLE_HOME/oraInst.loc -ignorePreReq ORACLE_HOME=$ORACLE_HOME ORACLE_HOME_NAME=Ora10gR2_DBNAME    &lt;&lt; change DBNAME<br /><br /> <b>Attach to oracle inventory</b> <br />Run this and it will attach oracle home of target server from inventory<br /><br />o	./runInstaller -silent -attachHome -local -noClusterEnabled -invPtrLoc $ORACLE_HOME/oraInst.loc -ignorePreReq ORACLE_HOME=$ORACLE_HOME ORACLE_HOME_NAME=Ora10gR2_DBNAME CLUSTER_NODES=node1   &lt;&lt; change this to actual hostname ( target server ) &amp; DBNAME<br />]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry100315-135258">
		<title>Oracle eBusiness DB/Apps Hardening </title>
		<link>http://www.idbas.com/blog/index.php?entry=entry100315-135258</link>
		<description><![CDATA[@ iDBAs.com We will help customer to fine tune their environment hardening  for SDLC or Project portfolio execution.  Please reach for <a href="mailto:info@idbas.com" target="_blank" >info@idbas.com</a> for Database/application Hardning report.<br /><br /><br /> <b>Sample Hardning report includes :</b> <br /><br />Account Hardening :<br />1.	OS users <br />2.	Database Users <br />3.	Application Users<br /><br />Check for Installed/Non-Installed modules.<br /><br />Process Hardening.<br />File system Hardening.<br />Application servers Hardening.<br />Networking Hardening.<br /><br />]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry100315-133222">
		<title>OMF used RAC to ASM RAC CLONE</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry100315-133222</link>
		<description><![CDATA[@ idbas.com <br />In order to clone ASM Database using rman from OMF.  Rman will not convert OMF (Oracle manged files ) to ASM.  Apart from using db_file_name_convert and log_file_name_convert, also need to use  db_create_file_dest with OMF and ASM RAC. <br /><br /><br />Set ths parameter in init.ora file :<br />db_create_file_dest=&#039;+DATA&#039;  or What ever the diskstring for ASM to be redirected.<br /><br /><br />]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry100308-174235">
		<title>OPMN Configuration</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry100308-174235</link>
		<description><![CDATA[OPMN Configuration<br /><br />One of the most important components of an Application Server install is the OPMN. OPMN is essential to the running the Application Server. <br />It is the one component that allows managing various components within the Application Server. <br />The opmn consists of three components.<br />a)	The Oracle Notification Server<br />b)	The Process Manager<br />c)	Process Manager Modules<br /><br />ONS is a pub/sub based transport mechanism that allows for notifications to be sent among components within the Application Server. The notifications are related to the startup/failure/recvery of the components on the server. <br /><br />The Process Manager is the centralized process management mechanism in Oracle Application Server, and is used to manage App Server processes. It is responsible for starting/stopping/restarting/monitoring every process it manages.Any requests sent to OPMN about controlling a process/obtaining status about a process are redirected to the Process Manager. Even the Enterprise manager uses the PM to manage the processes on the Application Server. The Process manager uses the ONS to detect any process initialization, port usages, and obtain runtime information about any component on the application server.<br />In case there are multiple application server nodes , the PM running on each node uses ONS to communicate with the PM on the other node and collects information about components in either containers. Note that ONS uses dynamic discovery to announce new servers and join them into the ONS topology dynamically. There are three ways to configure dynamic discovery.<br />a)	Multi-cast<br />b)	Discovery Server<br />c)	Gateway<br />]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry100308-171156">
		<title>Fasten the bulkdelete Process  for OID/IDM</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry100308-171156</link>
		<description><![CDATA[iDBA&#039;s learn that, in-order to fasten the bulk-delete process. Make sure  you have set  _hash_join_enabled to false.<br />alter system set &quot;_hash_join_enabled&quot;=false scope=spfile;<br /><br />And turn off for your bulk insert/generate.<br />Once Bulkdelete has finished please run the following<br />alter system set &quot;_hash_join_enabled&quot;=true scope=spfile;<br />Bounce the database.  <br /><br /><br /><br /><br /><br />@idbas.com we take every optimize approach to accomplish.We always give 100% database availability using Framework Approach.<br />Disclaimer : We are not responsible for commands.Information for reference only,not for execution. Before executing strongly recomend to test it.]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry091231-165557">
		<title>is Scalability solution for Application Server Clustering?  Yes!</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry091231-165557</link>
		<description><![CDATA[I have recently worked on OTM Installation  with High avalibility.Oracle simplified the process with term called  &quot;Scalability&quot;.  I will be covering this post only on Scalability of OTM and basic information about OTM.Scalability name given to Oracle Transportation Management (OTM) oracle owned solution for Application server clustering.Scalability is a custom written mechanism to handle application server clustering and distributed communications.<br /><br /><br /><b>What is OTM?</b><br />OTM Stands for Oracle Transportation Management,earlier known as GLOG. Widely used in Transportation and Fleet world.Scalability allows for high availability of OTM by providing automatic failover to another application server.<br /><br /><br /><b>Components of OTM :</b><br /><br />WebServer :Oracle Transportation Management Web server uses the Apache Web server and the Tomcat Java servlet engine to manage the user interface and communications with the Application server.<br /><br />Application Server<br />The Application Server controls the application logic and communicates that logic between the Web server and the Database. The Application server runs Oracle Application Server software from Oracle (all supported platforms), WebLogic Server software from BEA Systems (all supported platforms) or WebSphere Application Server from IBM (AIX and Linux only) to manage system-level details and operates at the center of the Oracle Transportation Management multi-tier architecture. In this architecture, business logic is executed in the application server, rather than in client applications. The resulting &quot;thin&quot; client, allows the client to manage the presentation layer, the application server to Manage the business logic, and the back-end data services to manage the data.<br /><br />And Database Server.<br /><br /><b>High Scalability </b>:  Following are types  configurations for application servers usage.<br /><br />1. Active -Active  Servers, based on weighted Routing we can distribute the load to each servers.<br />2. Active - Passive.  (1Failover cluster with 1 Passive server).<br />3.Domain Separation.<br />1Default cluster with n active servers.(M Domain clusters, each dedicated to a specified domain with 1 active server).<br /> Example : Company has two web portals,it can used to distribute application servers based on weight routing on each server.<br />4.Functional Separation.<br />1 default cluster with n active servers.This will help to differentiate the load between schedule work and other related work.<br /><br /><br /><b>Advance Topologies </b>:  <br />Partition Bulk plan Scalability :  These are the most advance high availability, it would be good idea to build a strong testing strategy before implementing.<br />This type to clusters scalability helps to further drill down on weighted routing based on Bulk plan Partitions. Parent job spawn a child process to use scalability.<br />And other advance scalability options are :<br />OAQ Scalability : Oracle Advance queuing Scalability.<br />Integration and staging Scalability.<br /><br />F<b>ew Tips about installation </b>:  <br /><br />1.Please clearly follow the installation document.<br />2.Need root access to start and stop web tier and application tiers.<br />3.changeme is the default paswd for dba.admin username.<br />4.Scalabilty is the only option for high availability.<br />5.Any change to the application and web server propettyfiles would require services bounce.<br />6.It is very is to diagnose the issue with Oracle structured logging mechanism.<br />7.Jar files are key files,please make sure you have good backup during patching.<br />8.Following are sample domains in OTM.<br />GUEST – This is a sample domain that you can use to get started using Oracle Transportation Management and experiment with all of the software functionality and data.<br />SERVPROV – This is a special domain for use with service providers. Special logic is built into Oracle Transportation Management to provide security for service providers that access Oracle, Transportation Management for web tendering. This is the domain that must be used for all	Service providers.<br />PUBLIC – This domains stores public data that can be accessed by all other domains.<br /><br />@ <a href="http://idbas.com" target="_blank" >idbas.com </a> <b>with our domain expertise, we are ready to setup and support your Deployment strategy on Oracle application server or Oracle Weblogic servers  for OTM. Please reach us for more information. <a href="mailto:info@idbas.com" target="_blank" >info@idbas.com</a></b><br /><br /><br />Source :Oracle Installation ,Administration and scalability document from Oracle.<br />Disclaimer : Above details are for information only .We strongly recommend to test before using production system.<br />]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry091230-175931">
		<title>iDBA&#039;s Support details.</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry091230-175931</link>
		<description><![CDATA[<img src="images/Copy_of_Busi-cards2.gif" width="500" height="375" border="0" alt="" /><br />]]></description>
	</item>
	<item rdf:about="http://www.idbas.com/blog/index.php?entry=entry091230-174204">
		<title>How query in SQL Server Optimized to execute in less than 3 sec?</title>
		<link>http://www.idbas.com/blog/index.php?entry=entry091230-174204</link>
		<description><![CDATA[We have learned that, how stats helped to optimize 30 minutes query to 2 seconds in SQL Server.<br /><br /><b>Problem </b>: A particular query was taking more than 30 min and was still executing on warehouse database before it had be killed .<br />This  earlier used to take less than a min .<br /> <br /><b>Solution :</b><br />1.  Found the missing Statistics for salesorderplaneitem table.<br />2.  Right Mouse Clicked on the Result pane and created the statistics for salesorderplaneitem.<br />3.  Ran sp_updatestats for the database and the query started executing in 8 min .<br /> <br /><b>The problem again re-occurred.</b><br />1. Checked the Database properties and found both Auto_Create_Statistics &amp; Torn_Page_Detection was not configured on warehouse object.<br />2. Checked the Display Estimated Execution Plan &amp; found in the  Statistics, the cost to be 92% for salesorderplaneitem.<br />3. Checked when the statistics was updated using DBCC SHOW_STATISTICS.<br />4.Ran update stats for the particular table using update statistics salesorderplaneitem and brought down the cost factor to 5% .<br /> <br />The query executed in 2sec .<br /><br /><a href="http://idbas.com" target="_blank" >@idbas.com</a> we take every optimize approach to accomplish.We always give 100% database availability using Framework Approach.<br />Disclaimer : We are not responsible for commands.Information for reference only,not for execution. Before executing strongly recomend to test it.]]></description>
	</item>
</rdf:RDF>
