<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1087934578230954245</id><updated>2012-01-29T06:35:51.392-08:00</updated><category term='DBA&apos;s discussion table......'/><category term='HAPPY LEARNING'/><title type='text'>Oracle DBA Scripts</title><subtitle type='html'>Oracle Apps 11i/R12 ---
Oracle 10gAS ---
Oracle 9i,10g,11g</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>85</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-8789683955248660856</id><published>2011-10-21T04:23:00.000-07:00</published><updated>2011-10-21T04:29:06.458-07:00</updated><title type='text'>Understand Oracle Locking</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" height="20" style="width: 654px;"&gt;&lt;tbody&gt;&lt;tr&gt;       &lt;td colspan="2" valign="top" width="696"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td height="51" valign="top" width="96"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan="2" height="37" valign="top" width="696"&gt;&lt;h1&gt;&lt;span lang="en-us" style="font-size: large;"&gt;Overview&lt;/span&gt;&lt;/h1&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family: Verdana,Arial,Helvetica,sans-serif;"&gt;I&lt;/span&gt;n multi-user systems, many users may update the same information at the same           time. Locking allows only one user to update a particular data block; another person           cannot modify the same data.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;The basic idea of locking is that when a user modifies data           through a transaction, that data is locked by that transaction until the transaction is           committed or rolled back. The lock is held until the transaction is complete - this known           as &lt;b&gt;&lt;i&gt;data concurrency.&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;The second purpose of locking is to ensure that all processes can           always access (read) the original data as they were at the time the query began           (uncomm&lt;/span&gt;ited &lt;span lang="en-us"&gt;modification), This is known as &lt;b&gt;&lt;i&gt;read           consistency&lt;/i&gt;&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;Although locks are vital to enforce database consistency, they can           create performance problems. Every time one process issues a lock, another user may be           shut out from processing the locked row or table. Oracle allows to lock whatever           resources you need - a single row, many rows, an entire table, even many tables. But the           larger the scope of the lock, the more processes you potentially shut out&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;/td&gt;     &lt;/tr&gt;&lt;tr&gt;       &lt;td colspan="2" height="37" valign="top" width="696"&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;Oracle provides two different levels of locking: &lt;i&gt;&lt;b&gt;Row           Level&lt;/b&gt;&lt;/i&gt; Lock and &lt;b&gt;&lt;i&gt;Table Level&lt;/i&gt;&lt;/b&gt; Lock.&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="big"&gt;&lt;span lang="en-us"&gt;Row-Level Locking&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;With a row-level locking strategy, each row within a table can be           locked individually. Locked rows can be updated only by the locking process. All other           rows in the table are still available for updating by other processes. Of course, other           processes continue to be able to read any row in the table, including the one that is           actually being updated. When other processes do read updated rows, they see only the old           version of the row prior to update (via a rollback segment) until the changes are           actually committed. This is known as a &lt;i&gt;&lt;b&gt;consistent read&lt;/b&gt;&lt;/i&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;When a process places a row level lock on a record, what really           happens?&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span lang="en-us"&gt;First, a data manipulation language &lt;b&gt;(DML) lock&lt;/b&gt; is placed             over the row. This lock prevents other processes from updating (or locking) the row.             This lock is released only when the locking process successfully commits the             transaction to the database (i.e., makes the updates to that transaction permanent) or             when the process is rolled back.&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span lang="en-us"&gt;Next, a data dictionary language &lt;b&gt;(DDL) lock&lt;/b&gt; is placed             over the table to prevent structural alterations to the table. For example, this type             of lock keeps the DBA from being able to remove a table by issuing a DROP statement             against the table. This lock is released only when the locking process successfully             commits the transaction to the database or when the process is rolled back.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/blockquote&gt;&lt;div class="big"&gt;&lt;span lang="en-us"&gt;Table-Level Locking&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;With table-level locking, the entire table is locked as an entity.           Once a process has locked a table, only that process can update (or lock) any row in the           table. None of the rows in the table are available for updating by any other process. Of           course, other processes continue to be able to read any row in the table, including the           one that is actually being updated.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;How does table-level locking work?&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;The first DML operation that needs to update a row in a table           obtains what's called a Row Share Exclusive lock over the entire table. All other           query-only processes needing access to the table are informed that they must use the           rollback information for the locking process. The lock is released only when the locking           process successfully commits the transaction to the database or when the process is           rolled back.&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="big"&gt;&lt;span lang="en-us"&gt;Releasing Locks&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;Many users believe that they are the only users on the system - at           least the only ones who count. Unfortunately, this type of attitude is what causes           locking problems. We've often observed applications that were completely stalled because           one user decided to go to lunch without having committed his or her changes. Remember           that all locking (row or table) will prevent other users from updating information. Every           application has a handful of central, core tables. Inadvertently locking such tables can           affect many other people in a system.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;Many users, and some programmers, don't understand that terminating           a process does not always release locks. Switching off your workstation before you go           home does not always release locks. Locks are released only when changes are committed or           rolled back. A user's action is the only thing that distinguishes between committing,           aborting, and rolling back changes. Make it a priority to train your users to commit or           roll back all outstanding changes before leaving their current screens.&lt;/span&gt;&lt;/blockquote&gt;&lt;h1&gt;&lt;span lang="en-us" style="font-size: large;"&gt;Modes of Locking&lt;/span&gt;&lt;/h1&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;Oracle uses &lt;b&gt;two modes&lt;/b&gt; of locking in a multi-user           database:&lt;/span&gt;&lt;br /&gt;&lt;ul class="LB1"&gt;&lt;li class="LB1" type="disc"&gt;&lt;span lang="en-us"&gt;&lt;b&gt;Exclusive lock mode (X)&lt;/b&gt; prevents             the associates resource from being shared. This lock mode is obtained to modify data.             The first transaction to lock a resource exclusively is the only transaction that can             alter the resource until the exclusive lock is released.&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="LB1" type="disc"&gt;&lt;span lang="en-us"&gt;&lt;b&gt;Share lock mode (S)&lt;/b&gt; allows the             associated resource to be shared, depending on the operations involved. Multiple users             reading data can share the data, holding share locks to prevent concurrent access by a             writer (who needs an exclusive lock). Several transactions can acquire share locks on             the same resource.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;&lt;div class="big"&gt;&lt;span lang="en-us"&gt;Exclusive Locks&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;table border="1" cellpadding="4" cellspacing="0" height="140" id="AutoNumber3" style="border-collapse: collapse;"&gt;&lt;tbody&gt;&lt;tr&gt;               &lt;td height="21" width="77%"&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;SQL Statement&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td height="21" width="23%"&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;Mode of Lock&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" width="77%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;SELECT ... FROM &lt;i&gt;table&lt;/i&gt;...&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td align="center" height="16" width="23%"&gt;&lt;span lang="en-us"&gt;No Lock&lt;/span&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" width="77%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;INSERT INTO &lt;i&gt;table&lt;/i&gt; ...&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td align="center" height="16" width="23%"&gt;&lt;span lang="en-us"&gt;RX&lt;/span&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" width="77%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;UPDATE &lt;i&gt;table&lt;/i&gt; ...&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td align="center" height="16" width="23%"&gt;&lt;span lang="en-us"&gt;RX&lt;/span&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" width="77%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;DELETE FROM &lt;i&gt;table&lt;/i&gt; ...&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td align="center" height="16" width="23%"&gt;&lt;span lang="en-us"&gt;RX&lt;/span&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" width="77%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;LOCK TABLE &lt;i&gt;table&lt;/i&gt; IN ROW&amp;nbsp;EXCLUSIVE                 MODE&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td align="center" height="16" width="23%"&gt;&lt;span lang="en-us"&gt;RX&lt;/span&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" width="77%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;LOCK TABLE &lt;i&gt;table&lt;/i&gt; IN SHARE ROW                 EXCLUSIVE MODE&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td align="center" height="16" width="23%"&gt;&lt;span lang="en-us"&gt;SRX&lt;/span&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" width="77%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;LOCK TABLE &lt;i&gt;table&lt;/i&gt; IN EXCLUSIVE                 MODE&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td align="center" height="16" width="23%"&gt;X&lt;/td&gt;             &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/blockquote&gt;&lt;div class="big"&gt;&lt;span lang="en-us"&gt;Share Locks&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;table border="1" cellpadding="4" cellspacing="0" height="140" id="AutoNumber3" style="border-collapse: collapse;"&gt;&lt;tbody&gt;&lt;tr&gt;               &lt;td height="21" width="77%"&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;SQL Statement&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td height="21" width="23%"&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;Mode of Lock&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" width="77%"&gt;&lt;span lang="en-us"&gt;&lt;code&gt;SELECT ... FROM&lt;/code&gt;               &lt;i&gt;&lt;code&gt;table&lt;/code&gt;&lt;/i&gt; &lt;code&gt;&amp;nbsp;FOR&amp;nbsp;UPDATE OF ...&lt;/code&gt;&lt;/span&gt;&lt;/td&gt;                &lt;td align="center" height="16" width="23%"&gt;&lt;span lang="en-us"&gt;RS&lt;/span&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" width="77%"&gt;&lt;span lang="en-us"&gt;&lt;code&gt;LOCK TABLE&lt;/code&gt;               &lt;i&gt;&lt;code&gt;table&lt;/code&gt;&lt;/i&gt; &lt;code&gt;IN ROW&amp;nbsp;SHARE MODE&lt;/code&gt;&lt;/span&gt;&lt;/td&gt;                &lt;td align="center" height="16" width="23%"&gt;&lt;span lang="en-us"&gt;RS&lt;/span&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" width="77%"&gt;&lt;span lang="en-us"&gt;&lt;code&gt;LOCK TABLE&lt;/code&gt;               &lt;i&gt;&lt;code&gt;table&lt;/code&gt;&lt;/i&gt; &lt;code&gt;IN SHARE MODE&lt;/code&gt;&lt;/span&gt;&lt;/td&gt;                &lt;td align="center" height="16" width="23%"&gt;S&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" width="77%"&gt;&lt;span lang="en-us"&gt;&lt;code&gt;LOCK TABLE&lt;/code&gt;               &lt;i&gt;&lt;code&gt;table&lt;/code&gt;&lt;/i&gt; &lt;code&gt;IN SHARE ROW EXCLUSIVE MODE&lt;/code&gt;&lt;/span&gt;&lt;/td&gt;                &lt;td align="center" height="16" width="23%"&gt;SRX&lt;/td&gt;             &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;RS:&amp;nbsp;&amp;nbsp; Row Share&lt;br /&gt;RX:&amp;nbsp;&amp;nbsp; Row Exclusive&lt;br /&gt;S:&amp;nbsp;&amp;nbsp;&amp;nbsp; Share&lt;br /&gt;SRX:&amp;nbsp; Share Row Exclusive&lt;br /&gt;X:&amp;nbsp;&amp;nbsp;&amp;nbsp; Exclusive&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;h1&gt;&lt;span lang="en-us" style="font-size: large;"&gt;Description of each Lock Mode&lt;/span&gt;&lt;/h1&gt;&lt;blockquote&gt;&lt;div class="BP"&gt;&lt;span lang="en-us"&gt;The following sections explain each mode of lock, from           &lt;b&gt;least restrictive to most restrictive&lt;/b&gt;.&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="big"&gt;&lt;span lang="en-us"&gt;Row Share Table Locks (RS)&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;A row share table lock (also sometimes called a subshare table           lock, SS) indicates that the transaction holding the lock on the table has locked rows in           the table and intends to update them. A row share table lock is automatically acquired           for a table when one of the following SQL statements is executed:&lt;/span&gt;&lt;br /&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;&lt;b&gt;SELECT ... FROM&lt;/b&gt; &lt;i&gt;table&lt;/i&gt; &lt;b&gt;... FOR           UPDATE OF ... ;&lt;br /&gt;LOCK TABLE&lt;/b&gt; &lt;i&gt;table&lt;/i&gt; &lt;b&gt;IN ROW SHARE MODE;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;span lang="en-us"&gt;A row share table lock is the least restrictive mode of table lock,           offering the highest degree of concurrency for a table.&lt;/span&gt;&lt;/blockquote&gt;&lt;i&gt;&lt;span lang="en-us"&gt;Permitted Operations:&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;A row share table lock held by a transaction allows other           transactions to:&lt;/span&gt;&lt;br /&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;SELECT (query the table)&lt;br /&gt;INSERT, UPDATE, DELETE&lt;br /&gt;or lock rows concurrently in the same table.&lt;/span&gt;&lt;/div&gt;&lt;span lang="en-us"&gt;Therefore, other transactions can obtain simultaneous row share,           row exclusive, share, and share row exclusive table locks for the same table.&lt;/span&gt;&lt;/blockquote&gt;&lt;i&gt;&lt;span lang="en-us"&gt;Prohibited Operations:&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;A row share table lock held by a transaction prevents other           transactions from exclusive write access to the same table.&lt;/span&gt;&lt;/blockquote&gt;&lt;span lang="en-us"&gt;&lt;i&gt;When to Lock with ROW SHARE Mode:&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;Your transaction needs to prevent another transaction from           acquiring an intervening share, share row, or exclusive table lock for a table before the           table can be updated in your transaction. If another transaction acquires an intervening           share, share row, or exclusive table lock, no other transactions can update the table           until the locking transaction commits or rolls back.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;Your transaction needs to prevent a table from being altered or           dropped before the table can be modified later in your transaction.&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;Example&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;We use the EMP table for the next examples.&lt;br /&gt;&lt;div class="courier"&gt;&lt;span style="color: blue;"&gt;&lt;span lang="en-us"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           EMPNO ENAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JOB&lt;br /&gt;---------- ---------- ---------&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7369 Smith&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLERK&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7499 Allen&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SALESMAN&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7521 Ward&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SALESMAN&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7566 Jones&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MANAGER&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7654 Martin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SALESMAN&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7698 Blake&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MANAGER&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7782 Clark&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MANAGER&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7788 Scott&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ANALYST&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7839 King&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           PRESIDENT&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7844 Turner&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SALESMAN&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7876 Adams&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLERK&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7900 James&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TEST&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7902 Ford&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ANALYST&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7934 Miller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           CLERK&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;table border="1" cellpadding="5" cellspacing="0" height="103" id="AutoNumber1" style="border-collapse: collapse;"&gt;&lt;tbody&gt;&lt;tr&gt;               &lt;td height="23" valign="top" width="35%"&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;Session 1&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td height="23" valign="top" width="65%"&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;Session 2&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="144" rowspan="8" valign="top" width="35%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;select job from emp&lt;br /&gt;&amp;nbsp;where job = 'CLERK'&lt;br /&gt;&amp;nbsp;&amp;nbsp; for update of empno;&lt;br /&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;OK&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td height="32" valign="top" width="65%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;select job from emp&lt;br /&gt;&amp;nbsp;where job = 'CLERK'&lt;br /&gt;&amp;nbsp;&amp;nbsp; for update of empno;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;Waiting ....&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" valign="top" width="65%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;select job from emp&lt;br /&gt;&amp;nbsp;where job = 'MANAGER'&lt;br /&gt;&amp;nbsp;&amp;nbsp; for update of empno;&lt;br /&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;OK&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" valign="top" width="65%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;lock table emp in share mode;&lt;br /&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;OK&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" valign="top" width="65%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;lock table emp in exclusive mode;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;Waiting ....&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" valign="top" width="65%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;insert into emp (empno,ename)&lt;br /&gt;&amp;nbsp;values (9999,'Test');&lt;br /&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;OK&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" valign="top" width="65%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;delete from emp where empno = 9999;&lt;br /&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;OK&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;              &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" valign="top" width="65%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;delete from emp where empno = 7876;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;Waiting .... (Blocked&lt;/span&gt;&lt;/b&gt;&lt;/span&gt; &lt;b&gt;&lt;span style="color: red;"&gt;&lt;span lang="en-us"&gt;by Session 1)&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;              &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" valign="top" width="65%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;update emp set job = 'CLIMBER'&lt;br /&gt;&amp;nbsp;where empno = 7876;&lt;br /&gt;&lt;span style="color: red;"&gt;&lt;b&gt;Waiting .... (Blocked&lt;/b&gt;&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;b&gt;&lt;span lang="en-us"&gt;by Session 1)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span lang="en-us"&gt;A first look about the locking situation can be found in           DBA_LOCKS&lt;/span&gt;&lt;br /&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;SELECT SUBSTR(TO_CHAR(session_id),1,5) "SID",&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUBSTR(lock_type,1,15) "Lock Type",&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUBSTR(mode_held,1,15) "Mode Held",&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUBSTR(blocking_others,1,15) "Blocking?"&lt;br /&gt;&amp;nbsp; FROM dba_locks&lt;br /&gt;/&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;SID&amp;nbsp;&amp;nbsp; Lock Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mode           Held&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocking?&lt;br /&gt;----- --------------- --------------- ---------------&lt;br /&gt;&lt;b&gt;95&amp;nbsp;&amp;nbsp;&amp;nbsp; Transaction&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;            Exclusive&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocking&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/b&gt;           &amp;lt;- This is Session 1&lt;b&gt;&lt;br /&gt;95&amp;nbsp;&amp;nbsp;&amp;nbsp;           DML&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Row-S           (SS)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Not Blocking&lt;br /&gt;98&amp;nbsp;&amp;nbsp;&amp;nbsp;           DML&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Row-X           (SX)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Not Blocking&amp;nbsp;&lt;/b&gt; &amp;lt;- This is Session 2&lt;b&gt;&lt;br /&gt;98&amp;nbsp;&amp;nbsp;&amp;nbsp; Transaction&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;            None&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Not           Blocking&lt;/b&gt;&lt;br /&gt;110&amp;nbsp;&amp;nbsp; Temp Segment&amp;nbsp;&amp;nbsp;&amp;nbsp; Row-X (SX)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           Not Blocking&lt;br /&gt;111&amp;nbsp;&amp;nbsp;            RS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Row-S           (SS)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Not Blocking&lt;br /&gt;111&amp;nbsp;&amp;nbsp; Control File&amp;nbsp;&amp;nbsp;&amp;nbsp; Row-S (SS)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           Not Blocking&lt;br /&gt;111&amp;nbsp;&amp;nbsp;           XR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           Null&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Not Blocking&lt;br /&gt;112&amp;nbsp;&amp;nbsp; Redo Thread&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           Exclusive&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Not Blocking&lt;br /&gt;113&amp;nbsp;&amp;nbsp; Media Recovery&amp;nbsp;           Share&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Not Blocking&lt;br /&gt;113&amp;nbsp;&amp;nbsp; Media Recovery&amp;nbsp;           Share&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Not Blocking&lt;br /&gt;113&amp;nbsp;&amp;nbsp; Media Recovery&amp;nbsp;           Share&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Not Blocking&lt;br /&gt;113&amp;nbsp;&amp;nbsp; Media Recovery&amp;nbsp;           Share&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Not Blocking&lt;br /&gt;113&amp;nbsp;&amp;nbsp; Media Recovery&amp;nbsp;           Share&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Not Blocking&lt;br /&gt;113&amp;nbsp;&amp;nbsp; Media Recovery&amp;nbsp;           Share&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Not Blocking&lt;br /&gt;113&amp;nbsp;&amp;nbsp; Media Recovery&amp;nbsp;           Share&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Not Blocking&lt;br /&gt;113&amp;nbsp;&amp;nbsp;           PW&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Row-X           (SX)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Not Blocking&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="big"&gt;&lt;span lang="en-us"&gt;Row Exclusive Table Locks (RX)&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;A row exclusive table lock (also called a subexclusive table lock,           SX) generally indicates that the transaction holding the lock has made one or more           updates to rows in the table. A row exclusive table lock is acquired automatically for a           table modified by the following types of statements:&lt;/span&gt;&lt;br /&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;&lt;b&gt;INSERT INTO&lt;/b&gt; &lt;i&gt;table&lt;/i&gt; &lt;b&gt;... ;&lt;br /&gt;UPDATE&lt;/b&gt; &lt;i&gt;table&lt;/i&gt; &lt;b&gt;... ;&lt;br /&gt;DELETE FROM&lt;/b&gt; &lt;i&gt;table&lt;/i&gt; &lt;b&gt;... ;&lt;br /&gt;LOCK TABLE&lt;/b&gt; &lt;i&gt;table&lt;/i&gt; &lt;b&gt;IN ROW EXCLUSIVE MODE;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="BP"&gt;&lt;span lang="en-us"&gt;A row exclusive table lock is slightly more restrictive           than a row share table lock.&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;i&gt;&lt;span lang="en-us"&gt;Permitted Operations:&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;div class="BP"&gt;&lt;span lang="en-us"&gt;A row exclusive table lock held by a transaction allows           other transactions to&lt;/span&gt;&lt;/div&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;SELECT (query the table)&lt;br /&gt;INSERT, UPDATE, DELETE&lt;br /&gt;or lock rows concurrently in the same table.&lt;/span&gt;&lt;/div&gt;&lt;div class="BP"&gt;&lt;span lang="en-us"&gt;Therefore, row exclusive table locks allow multiple           transactions to obtain simultaneous row exclusive and row share table locks for the same           table.&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;i&gt;&lt;span lang="en-us"&gt;Prohibited Operations:&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;div class="BP"&gt;&lt;span lang="en-us"&gt;A row exclusive table lock held by a transaction           prevents other transactions from manually locking the table for exclusive reading or           writing. Therefore, other transactions cannot concurrently lock the table using the           following statements:&lt;/span&gt;&lt;/div&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;LOCK TABLE &lt;i&gt;table&lt;/i&gt; IN SHARE MODE;&lt;br /&gt;LOCK TABLE &lt;i&gt;table&lt;/i&gt; IN EXCLUSIVE MODE;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;span lang="en-us"&gt;&lt;i&gt;When to Lock with ROW EXCLUSIVE Mode:&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;&amp;nbsp;This is the &lt;b&gt;Default Locking&lt;/b&gt;&lt;/span&gt; &lt;b&gt;&lt;span lang="en-us"&gt;Behaviour&lt;/span&gt;&lt;/b&gt; &lt;span lang="en-us"&gt;of Oracle.&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;Example&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;table border="1" cellpadding="5" cellspacing="0" height="85" id="AutoNumber1" style="border-collapse: collapse;"&gt;&lt;tbody&gt;&lt;tr&gt;               &lt;td height="22" valign="top" width="35%"&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;Session 1&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td height="22" valign="top" width="65%"&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;Session 2&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="42" valign="top" width="35%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;update emp&lt;br /&gt;set ename = 'Zahn';&lt;br /&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;OK&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td height="42" valign="top" width="65%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;lock table emp in exclusive mode;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;Waiting ....&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/blockquote&gt;&lt;div class="big"&gt;&lt;span lang="en-us"&gt;Share Table Locks (S)&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div class="BP"&gt;&lt;span lang="en-us"&gt;A share table lock is acquired automatically for the           table specified in the following statement:&lt;/span&gt;&lt;/div&gt;&lt;pre class="CE"&gt;&lt;span lang="en-us"&gt;&lt;b&gt;LOCK TABLE table IN SHARE MODE;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;span lang="en-us"&gt;&lt;i&gt;Permitted Operations:&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;A share table lock held by a transaction allows other transactions           only to&lt;/span&gt;&lt;br /&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;to SELECT (query the table)&lt;br /&gt;to lock specific rows with SELECT ... FOR UPDATE&lt;br /&gt;or to execute LOCK TABLE ... IN SHARE MODE&lt;/span&gt;&lt;/div&gt;&lt;span lang="en-us"&gt;statements successfully. No updates are allowed by other           transactions. Multiple transactions can hold share table locks for the same table           concurrently. In this case, no transaction can update the table (even if a transaction           holds row locks as the result of a SELECT statement with the FOR UPDATE clause).           Therefore, a transaction that has a share table lock can update the table only if no           other transactions also have a share table lock on the same table.&lt;/span&gt;&lt;/blockquote&gt;&lt;span lang="en-us"&gt;&lt;i&gt;Prohibited Operations:&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;A share table lock held by a transaction prevents other           transactions from modifying the same table and from executing the following           statements:&lt;/span&gt;&lt;br /&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;LOCK TABLE table IN SHARE ROW EXCLUSIVE MODE;&lt;br /&gt;LOCK TABLE table IN EXCLUSIVE MODE;&lt;br /&gt;LOCK TABLE table IN ROW EXCLUSIVE MODE;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;&lt;i&gt;When to Lock with SHARE Mode&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;Your transaction only queries the table, and           requires a consistent set of the table's data for the duration of the           transaction.&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;You can hold up other transactions that try to           update the locked table, until all transactions that hold SHARE locks on the table either           commit or roll back.&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;Other transactions may acquire concurrent SHARE           table locks on the same table, also allowing them the option of transaction-level read           consistency.&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;Caution:&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;Your transaction may or may not update the table           later in the same transaction. However, if multiple transactions concurrently hold share           table locks for the same table, no transaction can update the table (even if row locks           are held as the result of a SELECT... FOR UPDATE statement). Therefore, if concurrent           share table locks on the same table are common, updates cannot proceed and &lt;b&gt;deadlocks           are common&lt;/b&gt;. In this case, &lt;b&gt;use share row exclusive or exclusive table locks           instead&lt;/b&gt;.&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;Example 1&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;table border="1" cellpadding="5" cellspacing="0" height="85" id="AutoNumber1" style="border-collapse: collapse;"&gt;&lt;tbody&gt;&lt;tr&gt;               &lt;td height="22" valign="top" width="50%"&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;Session 1&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td height="22" valign="top" width="50%"&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;Session 2&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="42" valign="top" width="50%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;lock table emp&lt;br /&gt;in share mode;&lt;br /&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;OK&lt;br /&gt;&lt;/span&gt;&lt;/b&gt; update emp&lt;br /&gt;set ename = 'Zahn'&lt;br /&gt;where empno = 7900;&lt;span style="color: blue;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt; &lt;b&gt;commit;&lt;span style="color: blue;"&gt;&lt;br /&gt;OK&lt;br /&gt;&lt;/span&gt;&lt;/b&gt; lock table emp&lt;br /&gt;in share mode;&lt;br /&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;OK&lt;br /&gt;&lt;/span&gt;&lt;/b&gt; &lt;span style="color: blue;"&gt;This and other Transactions have to wait                 until Session 2 commits the Transaction.&lt;/span&gt;&lt;b&gt;&lt;span style="color: red;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt; update emp&lt;br /&gt;set ename = 'MÃ¼ller'&lt;br /&gt;where empno = 7900;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;Waiting ....&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td height="42" valign="top" width="50%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;select * from emp;&lt;br /&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;OK&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt; &lt;span style="color: blue;"&gt;This and other Transactions have to wait                 until Session 1 commits the Transaction.&lt;/span&gt;&lt;b&gt;&lt;span style="color: red;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt; &lt;span style="color: blue;"&gt;This and other Transactions can&lt;br /&gt;get a Share Lock &lt;b&gt;(Lock Switch)&lt;/b&gt;.&lt;/span&gt;&lt;b&gt;&lt;span style="color: red;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt; lock table emp&lt;br /&gt;in share mode;&lt;br /&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;OK&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/blockquote&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;Example 2&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;For example, assume that two tables, &lt;i&gt;emp&lt;/i&gt; and           &lt;i&gt;budget&lt;/i&gt;, require a consistent set of data in a third table, &lt;i&gt;dept&lt;/i&gt;. For a           given department number, you want to update the information in both of these tables, and           ensure that no new members are added to the department between these two           transactions.&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;Although this scenario is quite rare, it can be           accommodated by locking the dept table in SHARE MODE, as shown in the following example.           Because the &lt;i&gt;dept&lt;/i&gt; table &lt;b&gt;is rarely updated&lt;/b&gt;, locking it probably does not           cause many other transactions to wait long.&lt;/span&gt;&lt;/div&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;LOCK TABLE dept IN SHARE MODE;&amp;nbsp; &lt;span style="color: blue;"&gt;/* Other Transa&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span lang="en-us"&gt;ctions           have to wait */&lt;/span&gt;&lt;/span&gt; &lt;span lang="en-us"&gt;&lt;br /&gt;UPDATE emp&lt;br /&gt;&amp;nbsp; SET sal = sal * 1.1&lt;br /&gt;&amp;nbsp; WHERE deptno IN&lt;br /&gt;&amp;nbsp; (SELECT deptno FROM dept WHERE loc = 'DALLAS');&lt;br /&gt;&lt;br /&gt;UPDATE budget&lt;br /&gt;&amp;nbsp; SET Totsal = Totsal * 1.1&lt;br /&gt;&amp;nbsp; WHERE deptno IN&lt;br /&gt;&amp;nbsp; (SELECT deptno FROM dept WHERE Loc = 'DALLAS');&lt;br /&gt;&lt;br /&gt;COMMIT; &lt;span style="color: blue;"&gt;/* This releases the lock */&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="big"&gt;&lt;span lang="en-us"&gt;Exclusive Table Locks (X)&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;An exclusive table lock is &lt;b&gt;the most restrictive           mode&lt;/b&gt; of table lock, allowing the transaction that holds the lock exclusive write           access to the table. An exclusive table lock is acquired for a table as           follows:&lt;/span&gt;&lt;/div&gt;&lt;div class="courier"&gt;&lt;b&gt;&lt;span lang="en-us"&gt;LOCK TABLE table IN EXCLUSIVE           MODE;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="normal"&gt;&lt;i&gt;&lt;span lang="en-us"&gt;Permitted Operations:&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;Only one transaction can obtain an exclusive table           lock for a table. An exclusive table lock permits other transactions only to query the           table.&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="normal"&gt;&lt;i&gt;&lt;span lang="en-us"&gt;Prohibited Operations:&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;An exclusive table lock held by a transaction           prohibits other transactions from performing any type of DML statement or placing any           type of lock on the table.&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;span lang="en-us"&gt;&lt;i&gt;Be careful to use an EXCLUSIVE lock!&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;Your transaction requires immediate update access to the locked           table. When your transaction holds an exclusive table lock, other transactions cannot           lock specific rows in the locked table.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;Your transaction also ensures transaction-level read consistency           for the locked table until the transaction is committed or rolled back.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;You are not concerned about low levels of data concurrency, making           transactions that request exclusive table locks wait in line to update the table           sequentially.&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;Example&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;table border="1" cellpadding="5" cellspacing="0" height="85" id="AutoNumber1" style="border-collapse: collapse;"&gt;&lt;tbody&gt;&lt;tr&gt;               &lt;td height="22" valign="top" width="50%"&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;Session 1&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td height="22" valign="top" width="50%"&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;Session 2&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="42" valign="top" width="50%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;lock table emp&lt;br /&gt;in exclusive mode;&lt;br /&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;OK&lt;br /&gt;&lt;/span&gt;&lt;/b&gt; update emp&lt;br /&gt;set ename = 'Zahn'&lt;br /&gt;where empno = 7900;&lt;span style="color: blue;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt; &lt;b&gt;commit;&lt;span style="color: blue;"&gt;&lt;br /&gt;OK&lt;br /&gt;&lt;/span&gt;&lt;/b&gt; lock table emp&lt;br /&gt;in exclusive mode;&lt;br /&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;OK&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td height="42" valign="top" width="50%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;select * from emp;&lt;br /&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;OK&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt; &lt;span style="color: blue;"&gt;This and other Transactions have to wait                 until Session 1 commits the Transaction.&lt;/span&gt;&lt;b&gt;&lt;span style="color: red;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt; &lt;span style="color: red;"&gt;This and other Transactions&lt;/span&gt;&lt;/span&gt;                  &lt;span style="color: red;"&gt;&lt;span lang="en-us"&gt;cannot&lt;br /&gt;get any other Lock &lt;b&gt;(&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span lang="en-us"&gt;No Lock                 Switch)&lt;/span&gt;&lt;/b&gt;&lt;span lang="en-us"&gt;.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt; &lt;span lang="en-us"&gt;lock table emp&lt;br /&gt;in share mode;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;Waiting ....&lt;br /&gt;&lt;/span&gt;&lt;/b&gt; lock table emp&lt;br /&gt;in exclusive mode;&lt;/span&gt; &lt;b&gt;&lt;span lang="en-us"&gt;&lt;span style="color: red;"&gt;Waiting                 ....&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt; &lt;span lang="en-us"&gt;update emp&lt;br /&gt;set ename = 'Zahn'&lt;br /&gt;where empno = 7900;&lt;/span&gt; &lt;b&gt;&lt;span lang="en-us"&gt;&lt;span style="color: red;"&gt;Waiting                 ....&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/blockquote&gt;&lt;h1&gt;&lt;span lang="en-us"&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Data Lock Conversion Versus Lock Escalation&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;blockquote&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;A transaction holds exclusive row locks for all rows           inserted, updated, or deleted within the transaction. Because row locks are acquired at           the highest degree of restrictiveness, no lock conversion is required or           performed.&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;Oracle automatically converts a table lock of lower           restrictiveness to one of higher restrictiveness as appropriate. For example, assume that           a transaction uses a SELECT statement with the FOR UPDATE clause to lock rows of a table.           As a result, it acquires the exclusive row locks and a row share table lock for the           table. If the transaction later updates one or more of the locked rows, the row share           table lock is automatically converted to a row exclusive table lock.&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;&lt;b&gt;Lock escalation&lt;/b&gt; occurs when numerous locks           are held at one level of granularity (for example, rows) and a database raises the locks           to a higher level of granularity (for example, table). For example, if a single user           locks many rows in a table, some databases automatically escalate the user's row locks to           a single table. The number of locks is reduced, but the restrictiveness of what is being           locked is increased.&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;&lt;b&gt;Oracle never escalates locks&lt;/b&gt;. Lock escalation           greatly increases the likelihood of deadlocks.&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;h1&gt;&lt;span lang="en-us" style="font-size: large;"&gt;Deadlocks&lt;/span&gt;&lt;/h1&gt;&lt;blockquote&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;A deadlock can occur when two or more users are           waiting for data locked by each other. Deadlocks prevent some transactions from           continuing to work. The next example illustrates two transactions in a           deadlock.&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="big"&gt;&lt;span lang="en-us"&gt;Example&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;table border="1" cellpadding="5" cellspacing="0" height="85" id="AutoNumber1" style="border-collapse: collapse;"&gt;&lt;tbody&gt;&lt;tr&gt;               &lt;td height="22" valign="top" width="45%"&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;Session 1&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td height="22" valign="top" width="45%"&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;Session 2&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td height="22" valign="top" width="10%"&gt;&lt;span lang="en-us"&gt;Time&lt;/span&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="42" valign="top" width="45%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;update emp set&lt;br /&gt;&amp;nbsp; sal = sal * 1.1&lt;br /&gt;&amp;nbsp; where empno = &lt;span style="color: blue;"&gt;&lt;b&gt;7369&lt;/b&gt;&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;1 row updated.&lt;br /&gt;&lt;/span&gt; update emp set&lt;br /&gt;&amp;nbsp; sal = sal * 1.1&lt;br /&gt;&amp;nbsp; where empno = &lt;b&gt;&lt;span style="color: green;"&gt;7934&lt;/span&gt;&lt;/b&gt;;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;ERROR at line 1:&lt;br /&gt;ORA-00060: deadlock detected while waiting for resource&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td height="42" valign="top" width="45%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;update emp set&lt;br /&gt;&amp;nbsp; mgr = 1342&lt;br /&gt;&amp;nbsp; where empno = &lt;b&gt;&lt;span style="color: green;"&gt;7934&lt;/span&gt;&lt;/b&gt;;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;1 row updated.&lt;br /&gt;&lt;/span&gt; update emp set&lt;br /&gt;&amp;nbsp; mgr = 1342&lt;br /&gt;&amp;nbsp; where empno = &lt;span style="color: blue;"&gt;&lt;b&gt;7369&lt;/b&gt;&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;Waiting ...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;                &lt;td height="42" valign="top" width="10%"&gt;&lt;div align="center" class="courier"&gt;&lt;span lang="en-us"&gt;&lt;b&gt;A&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;B&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;C&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;              &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;In the example, no problem exists at time point A,           as each transaction has a row lock on the row it attempts to update. Each transaction           proceeds without being terminated. However, each tries next to update the row currently           held by the other transaction. Therefore, a deadlock results at time point B, because           neither transaction can obtain the resource it needs to proceed or terminate. It is a           deadlock because no matter how long each transaction waits, the conflicting locks are           held.&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="big"&gt;&lt;span lang="en-us"&gt;Automatic Deadlock Detection&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;Oracle performs automatic deadlock detection for           enqueue locking deadlocks. Deadlock detection is initiated whenever an enqueue wait times           out, if the resource type required is regarded as deadlock sensitive, and if the lock           state for the resource has not changed. If any session that is holding a lock on the           required resource in an incompatible mode is waiting directly or indirectly for a           resource that is held by the current session in an incompatible mode, then a deadlock           exists.&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;If a deadlock is detected, the session that was           unlucky enough to find it aborts its lock request and rolls back its current statement in           order to break the deadlock. Note that this is a rollback of the current statement only,           not necessarily the entire transaction. Oracle places an implicit savepoint at the           beginning of each statement, called the default savepoint, and it is to this savepoint           that the transaction is rolled back in the first case. This is enough to resolve the           technical deadlock. However, the interacting sessions may well remain blocked.&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="big"&gt;&lt;span lang="en-us"&gt;ORA-60 error in ALERT.LOG&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;An ORA-60 error is returned to the session that           found the deadlock, and if this exception is not handled, then depending on the rules of           the application development tool, the entire transaction is normally rolled back, and a           deadlock state dump written to the user dump destination directory. This, of course,           resolves the deadlock entirely. The &lt;i&gt;enqueue deadlocks&lt;/i&gt; statistic in           &lt;i&gt;V$SYSSTAT&lt;/i&gt; records the number of times that an enqueue deadlock has been           detected.&lt;/span&gt;&lt;/div&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;&lt;b&gt;select name, value&lt;br /&gt;&amp;nbsp; from v$sysstat&lt;br /&gt;where name = 'enqueue deadlocks';&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE&lt;br /&gt;------------------------------------------------------------ ----------&lt;br /&gt;enqueue deadlocks&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="big"&gt;&lt;span lang="en-us"&gt;How to avoid Deadlocks&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;Application developers can eliminate all risk of           enqueue deadlocks by ensuring that transactions requiring multiple resources &lt;b&gt;always           lock them in the same order&lt;/b&gt;. However, in complex applications, this is easier said           than done, particularly if an ad hoc query tool is used. To be safe, you should adopt a           strict locking order, but you must also &lt;b&gt;handle the ORA-60 exception&lt;/b&gt; appropriately.           In some cases it may be sufficient to pause for three seconds, and then retry the           statement. However, in general, it is safest to roll back the transaction entirely,           before pausing and retrying.&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;h1&gt;&lt;span lang="en-us" style="font-size: large;"&gt;Referential Integrity Locks (RI Locks)&lt;/span&gt;&lt;/h1&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;With the introduction of automated referential integrity (RI) came           a whole new suite of locking problems. What seems at first to be a DBA's blessing can           turn out to be an absolute nightmare when the DBA doesn't fully understand the           implications of this feature. Why is this so?&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;RI constraints are validated by the database via a simple SELECT           from the dependent (parent) table in question-very simple, very straightforward. If a row           is deleted or a primary key is modified within the parent table, all associated child           tables need to be scanned to make sure no orphaned records will result. If a row is           inserted or the foreign key is modified, the parent table is scanned to ensure that the           new foreign key value(s) is valid. If a &lt;b&gt;DELETE CASCADE&lt;/b&gt; clause is included, all           associated child table records are deleted. Problems begin to arise when we look at how           the referential integrity is enforced.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;Oracle assumes the &lt;b&gt;existence of an index over every foreign           key&lt;/b&gt; within a table. This assumption is valid for a primary key constraint or even a           unique key constraint but a little presumptuous for every foreign key.&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="big"&gt;&lt;span lang="en-us"&gt;Index or no Index on Foreign Key's ?&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;If an index exists on the foreign key column of the child table,           &lt;b&gt;no DML locks&lt;/b&gt;, other than a lock over the rows being modified, are           required.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;If the index is not created, &lt;b&gt;a share lock is taken&lt;/b&gt; out on           the child table for the duration of the transaction.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;The referential integrity validation could take several minutes or           even hours to resolve. The share lock over the child table will allow other users to           simultaneously read from the table, while restricting certain types of modification. The           share lock over the table can actually block other normal, everyday modification of other           rows in that table.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;You can use the script: &lt;a href="http://www.akadia.com/download/documents/show_missing_fk_index.sql" target="_top"&gt;show_missing_fk_index.sql&lt;/a&gt; to check           unindexed foreign keys:&lt;/span&gt;&lt;br /&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;SQL&amp;gt; &lt;b&gt;start show_missing_fk_index.sql&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Please enter Owner Name and Table Name. Wildcards allowed (DEFAULT: %)&lt;br /&gt;&lt;br /&gt;eg.:&amp;nbsp; SCOTT, S% OR %&lt;br /&gt;eg.:&amp;nbsp; EMP, E% OR %&lt;br /&gt;&lt;br /&gt;Owner&amp;nbsp; &amp;lt;%&amp;gt;: SCOTT&lt;br /&gt;Tables &amp;lt;%&amp;gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;Unindexed Foreign Keys owned by Owner: SCOTT&lt;br /&gt;&lt;br /&gt;Table           Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           1.           Column&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           Constraint Name&lt;br /&gt;------------------------ ------------------------ ---------------&lt;br /&gt;EMP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEPTNO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FK_EMP_DEPT&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="big"&gt;&lt;span lang="en-us"&gt;What is so dangerous about a Cascading Delete         ?&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;Oracle allows to enhance a referential integrity definition to           included cascading deletion. If a row is deleted from a parent table, all of the           associated children will be automatically purged. This behavior obviously will affect an           application's locking strategy, again circumnavigating normal object locking, removing           control from the programmer.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;What is so dangerous about a cascading delete? A deleted child           table might, in turn, have its own child tables. Even worse, the child tables could have           table-level triggers that begin to fire. What starts out as a simple, single-record           delete from a harmless table could turn into an uncontrollable torrent of cascading           deletes and stored database triggers.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;DELETE CASCADE constraints can be found with the following           script:&lt;/span&gt;&lt;br /&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;SQL&amp;gt; SELECT OWNER,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CONSTRAINT_NAME,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CONSTRAINT_TYPE,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TABLE_NAME,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DELETE_RULE&lt;br /&gt;&amp;nbsp;FROM USER_CONSTRAINTS&lt;br /&gt;WHERE DELETE_RULE IS NOT NULL;&lt;/span&gt;&lt;/div&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;&lt;span style="color: blue;"&gt;CONSTRAINT_NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;            C TABLE_NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DELETE_RU&lt;br /&gt;------------------------------ - ----------------- ---------&lt;br /&gt;FK_EMP_DEPT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; R EMP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CASCADE&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;h1&gt;&lt;span lang="en-us" style="font-size: large;"&gt;Blocking Locks&lt;/span&gt;&lt;/h1&gt;&lt;blockquote&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;Oracle resolves true enqueue deadlocks so quickly           that overall system activity is scarcely affected. However, blocking locks &lt;b&gt;can bring           application processing to a standstill&lt;/b&gt;. For example, if a long-running transaction           takes a shared mode lock on a key application table, then all updates to that table must           wait.&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;There are numerous ways of attempting to diagnose           blocking lock situations, normally with the intention of killing the offending           session.&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;&lt;b&gt;Blocking locks are almost always TX (transaction)           locks or TM (table) locks&lt;/b&gt; . When a session waits on a TX lock, it is waiting for that           transaction to either commit or roll back. The reason for waiting is that the transaction           has modified a data block, and the waiting session needs to modify the same part of that           block. In such cases, the row wait columns of &lt;b&gt;&lt;i&gt;V$SESSION&lt;/i&gt;&lt;/b&gt; can be useful in           identifying the database object, file, and block numbers concerned, and even the row           number in the case of row locks. &lt;b&gt;&lt;i&gt;V$LOCKED_OBJECT&lt;/i&gt;&lt;/b&gt; can then be used to obtain           session information for the sessions holding DML locks on the crucial database object.           This is based on the fact that sessions with blocking TX enqueue locks always hold a DML           lock as well, unless DML locks have been disabled.&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;It may not be adequate, however, to identify a           single blocking session, because it may, in turn, be blocked by another session. To           address this requirement, Oracle's &lt;b&gt;UTLLOCKT.SQL&lt;/b&gt; script gives a tree-structured           report showing the relationship between blocking and waiting sessions. Some DBAs are           loath to use this script because it creates a temporary table, which will block if           another space management transaction is caught behind the blocking lock. Although this is           extremely unlikely, the same information can be obtained from the &lt;i&gt;DBA_WAITERS&lt;/i&gt; view           if necessary. The DBA_WAITERS view is created by Oracle's catblock.sql script.&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;Some application developers attempt to evade           blocking locks by preceding all updates with a &lt;b&gt;&lt;span style="font-family: Courier New;"&gt;SELECT FOR           UPDATE NOWAIT&lt;/span&gt;&lt;/b&gt; or &lt;span style="font-family: Courier New;"&gt;&lt;b&gt;SELECT FOR UPDATE SKIP           LOCKED&lt;/b&gt;&lt;/span&gt; statement. However, if they allow user interaction between taking a           sub-exclusive lock in this way and releasing it, then a more subtle blocking lock           situation can still occur. If a user goes out to lunch while holding a sub-exclusive lock           on a table, then any shared lock request on the whole table will block at the head of the           request queue, and all other lock requests will queue behind it.&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;Diagnosing such situations and working out which           session to kill is not easy, because the diagnosis depends on the order of the waiters.           Most blocking lock detection utilities do not show the request order, and do not consider           that a waiter can block other sessions even when it is not actually holding any           locks.&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="big"&gt;&lt;span lang="en-us"&gt;Lock Detection Scripts&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;The following scripts can be used to track and           identify blocking locks. The scripts shows the following lock situation.&lt;/span&gt;&lt;/div&gt;&lt;table border="0" cellpadding="0" cellspacing="0" height="43" id="AutoNumber2" style="border-collapse: collapse;"&gt;&lt;tbody&gt;&lt;tr&gt;               &lt;td height="27" width="50%"&gt;&lt;span lang="en-us"&gt;Session 1&lt;/span&gt;&lt;/td&gt;                &lt;td height="27" width="50%"&gt;&lt;span lang="en-us"&gt;Session 2&lt;/span&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;tr&gt;               &lt;td height="16" width="50%"&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family: Courier New;"&gt;select               empno&lt;br /&gt;&amp;nbsp; from emp for update of empno;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;                &lt;td height="16" width="50%"&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;update emp set ename = 'MÃ¼ller'&lt;br /&gt;&amp;nbsp; where empno = 7369;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;             &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/blockquote&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;&lt;a href="http://www.akadia.com/download/documents/show_dml_locks.sql" target="_top"&gt;show_dml_locks.sql&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;This script&lt;/span&gt; s&lt;span lang="en-us"&gt;hows actual DML-Locks (incl.           Table-Name), WAIT = YES means&lt;br /&gt;that users are waiting for a lock.&lt;/span&gt;&lt;br /&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;&lt;span style="color: blue;"&gt;WAI OSUSER&amp;nbsp;           PROCESS&amp;nbsp; LOCKER&amp;nbsp; T_OWNER&amp;nbsp; OBJECT_NAME&amp;nbsp;&amp;nbsp; PROGRAM&lt;br /&gt;--- ------- -------- ------- -------- ------------- --------------&lt;br /&gt;NO&amp;nbsp; zahn&amp;nbsp;&amp;nbsp;&amp;nbsp; 8935&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCOTT&amp;nbsp;&amp;nbsp;           -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Record(s)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;            sqlplus@akira&lt;br /&gt;YES zahn&amp;nbsp;&amp;nbsp;&amp;nbsp; 8944&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCOTT&amp;nbsp;&amp;nbsp;           -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Record(s)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           sqlplus@akira&lt;br /&gt;NO&amp;nbsp; zahn&amp;nbsp;&amp;nbsp;&amp;nbsp; 8935&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCOTT&amp;nbsp;&amp;nbsp;           SCOTT&amp;nbsp;&amp;nbsp;&amp;nbsp; EMP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           sqlplus@akira&lt;br /&gt;NO&amp;nbsp; zahn&amp;nbsp;&amp;nbsp;&amp;nbsp; 8944&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCOTT&amp;nbsp;&amp;nbsp;           SCOTT&amp;nbsp;&amp;nbsp;&amp;nbsp; EMP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           sqlplus@akira&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;&lt;a href="http://www.akadia.com/download/documents/show_blocking_sessions.sql" target="_top"&gt;show_blocking_sessions.sql&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;This script show users waiting for a lock, the locker and the           SQL-Command they are waiting for a lock, the osuser, schema and PIDs are shown as           well.&lt;/span&gt;&lt;br /&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;&lt;span style="color: blue;"&gt;Current Lock-Waits&lt;br /&gt;&lt;br /&gt;OS_LOCKER&amp;nbsp; LOCKER_SCHEMA&amp;nbsp; LOCKER_PID OS_WAITER&amp;nbsp;&amp;nbsp;           WAITER_SCHEMA&amp;nbsp;&amp;nbsp; WAITER_PID&lt;br /&gt;---------- -------------- ---------- ----------- --------------- ----------&lt;br /&gt;zahn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;            SCOTT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           8935&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zahn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           SCOTT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8944&lt;br /&gt;&lt;br /&gt;SQL_TEXT_WAITER&lt;br /&gt;--------------------------------------------------------------------------&lt;br /&gt;TX: update emp set ename = 'MÃ¼ller' where empno = 7369&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="header"&gt;&lt;span lang="en-us"&gt;&lt;a href="http://www.akadia.com/download/documents/utllockt.sql" target="_top"&gt;utllockt.sql&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;This is the original Oracle script to print out the lock wait-for           graph in a tree structured fashion. This script prints the sessions in the system that           are waiting for locks, and the locks that they are waiting for. The printout is tree           structured. If a sessionid is printed immediately below and to the right of another           session, then it is waiting for that session. The session ids printed at the left hand           side of the page are the ones that everyone is waiting for (Session 96 is waiting for           session 88 to complete):&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span lang="en-us"&gt;&lt;span style="color: blue;"&gt;WAITING_SESSION   LOCK_TYPE    MODE_REQUESTED MODE_HELD  LOCK_ID1  LOCK_ID2&lt;br /&gt;----------------- ------------ -------------- ---------- --------- --------&lt;br /&gt;88                None&lt;br /&gt;   96             Transaction  Exclusive      Exclusive  262144    3206&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span lang="en-us"&gt;The lock information to the right of the session id describes the           lock that the session is waiting for (not the lock it is holding). Note that this is a           script and not a set of view definitions because connect-by is used in the implementation           and therefore a temporary table is created and dropped since you cannot do a join in a           connect-by.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;This script has two small disadvantages. One, a table is created           when this script is run. To create a table a number of locks must be acquired. This might           cause the session running the script to get caught in the lock problem it is trying to           diagnose. Two, if a session waits on a lock held by more than one session (share lock)           then the wait-for graph is no longer a tree and the conenct-by will show the session (and           any sessions waiting on it) several times.&lt;/span&gt;&lt;/blockquote&gt;&lt;h1&gt;&lt;span lang="en-us" style="font-size: large;"&gt;Distributed Transactions&lt;/span&gt;&lt;/h1&gt;&lt;blockquote&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;For distributed transactions, Oracle &lt;b&gt;is unable to           distinguish blocking locks and deadlocks&lt;/b&gt;, because not all of the lock information is           available locally. To prevent distributed transaction deadlocks, Oracle times out any           call in a distributed transaction if it has not received any response within the number           of seconds specified by the &lt;i&gt;_DISTRIBUTED_LOCK_TIMEOUT&lt;/i&gt; parameter. This timeout           defaults to 60 seconds. If a distributed transaction times out, an ORA-2049 error is           returned to the controlling session. Robust applications should handle this exception in           the same way as local enqueue deadlocks.&lt;/span&gt;&lt;/div&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;select name,value&lt;br /&gt;&amp;nbsp;from v$parameter&lt;br /&gt;where name = 'distributed_lock_timeout';&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE&lt;br /&gt;----------------------------- ------&lt;br /&gt;distributed_lock_timeout&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           60&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;h1&gt;&lt;span lang="en-us" style="font-size: large;"&gt;ITL Entry Shortages&lt;/span&gt;&lt;/h1&gt;&lt;blockquote&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;There is an &lt;b&gt;interested transaction list (ITL)&lt;/b&gt;           in the variable header of each Oracle data block. When a new block is formatted for a           segment, the initial number of entries in the ITL is set by the &lt;b&gt;INITRANS&lt;/b&gt; parameter           for the segment. Free space permitting, the ITL can grow dynamically if required, up to           the limit imposed by the database block size, or the &lt;b&gt;MAXTRANS&lt;/b&gt; parameter for the           segment, whichever is less.&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;Every transaction that modifies a data block must           record its transaction identifier and the rollback segment address for its changes to           that block in an ITL entry. (However, for discrete transactions, there is no rollback           segment address for the changes.) Oracle searches the ITL for a reusable or free entry.           If all the entries in the ITL are occupied by uncommitted transactions, then a new entry           will be dynamically created, if possible.&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;If the block does not have enough internal free           space (24 bytes) to dynamically create an additional ITL entry, then the transaction must           wait for a transaction using one of the existing ITL entries to either commit or roll           back. The blocked transaction waits in shared mode on the TX enqueue for one of the           existing transactions, chosen pseudo-randomly. The row wait columns in &lt;i&gt;V$SESSION&lt;/i&gt;           show the object, file, and block numbers of the target block. However, the ROW_WAIT_ROW#           column remains unset, indicating that the transaction is not waiting on a row-level lock,           but is probably waiting for a free ITL entry.&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;&lt;b&gt;The most common cause of ITL entry shortages is a           zero PCTFREE setting&lt;/b&gt;. Think twice before setting PCTFREE to zero on a segment that           might be subject to multiple concurrent updates to a single block, even though those           updates may not increase the total row length. The degree of concurrency that a block can           support is dependent on the size of its ITL, and failing that, the amount of internal           free space. Do not, however, let this warning scare you into using unnecessarily large           INITRANS or PCTFREE settings. Large PCTFREE settings compromise data density and degrade           table scan performance, and non-default INITRANS settings are seldom           warranted.&lt;/span&gt;&lt;/div&gt;&lt;div class="normal"&gt;&lt;span lang="en-us"&gt;One case in which a non-default INITRANS setting is           warranted is for segments subject to parallel DML. If a child transaction of a PDML           transaction encounters an ITL entry shortage, it will check whether the other ITL entries           in the block are all occupied by its sibling transactions and, if so, the transaction           will roll back with an ORA-12829 error, in order to avoid self-deadlock. The solution in           this case is to be content with a lower degree of parallelism, or to rebuild the segment           with a higher INITRANS setting. A higher INITRANS value is also needed if multiple           serializable transactions may have concurrent interest in any one block.&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="big"&gt;Check ITL Waits&lt;/div&gt;&lt;blockquote&gt;&lt;div class="normal"&gt;The following SQL-Statement shows the number of ITL-Waits per table           (Interested Transaction List). INITRANS and/or PCTFREE for those tables is to small           (could also be that MAXTRANS is too small). Note that STATISTICS_LEVEL must be set to           TYPICAL or ALL, MAXTRANS has been desupported in Oracle 10g and now is always 255           (maximum).&lt;/div&gt;&lt;div class="courier"&gt;&lt;span lang="en-us"&gt;select name,value&lt;br /&gt;&amp;nbsp;from v$parameter&lt;br /&gt;where name = 'statistics_level';&lt;/span&gt;&lt;/div&gt;&lt;div class="courier"&gt;&lt;span style="color: blue;"&gt;&lt;span lang="en-us"&gt;NAME&lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span lang="en-us"&gt;VALUE&lt;br /&gt;------------------------------------ -----------&lt;br /&gt;statistics_level&lt;/span&gt;           &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           &lt;span lang="en-us"&gt;TYPICAL&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="courier"&gt;TTITLE "ITL-Waits per table (INITRANS to small)"&lt;br /&gt;set pages 1000&lt;br /&gt;col owner format a15 trunc&lt;br /&gt;col object_name format a30 word_wrap&lt;br /&gt;col value format 999,999,999 heading "NBR. ITL WAITS"&lt;br /&gt;--&lt;br /&gt;&lt;b&gt;select owner,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; object_name||' '||subobject_name object_name,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value&lt;br /&gt;&amp;nbsp; from v$segment_statistics&lt;br /&gt;&amp;nbsp;where statistic_name = 'ITL waits'&lt;br /&gt;&amp;nbsp;and value &amp;gt; 0&lt;br /&gt;order by 3,1,2;&lt;/b&gt;&lt;br /&gt;--&lt;br /&gt;col owner clear&lt;br /&gt;col object_name clear&lt;br /&gt;col value clear&lt;br /&gt;ttitle off&lt;br /&gt;/&lt;/div&gt;&lt;/blockquote&gt;&lt;h1&gt;&lt;span lang="en-us" style="font-size: large;"&gt;Conclusion&lt;/span&gt;&lt;/h1&gt;&lt;blockquote&gt;&lt;span lang="en-us"&gt;Exclusive Locks lock a resource exclusively, Share Locks can be           acquired by more than one Session as long as the other Session holding a Share Lock have           no open Transaction. A Share Lock can be "switched" from one Session to           another.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;Application developers can eliminate the risk of deadlocks by           ensuring that transactions requiring multiple resources always lock them in the same           order.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;A DELETE CASCADE can start out as a simple, single-record delete           from a harmless table could turn into an uncontrollable torrent of cascading deletes and           stored database triggers.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;Blocking locks are almost always TX (transaction) locks or TM           (table) locks. Oracle always performs locking automatically to ensure data concurrency,           data integrity, and statement-level read consistency. Usually, the default locking           mechanisms should not be overriden.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;For distributed transactions, Oracle is unable to distinguish           blocking locks and deadlocks.&lt;/span&gt;&lt;br /&gt;&lt;span lang="en-us"&gt;The most common cause of ITL entry shortages is a zero PCTFREE           setting.&lt;/span&gt;&lt;/blockquote&gt;HAPPY LEARNING!&lt;br /&gt;AJITHPATHIYIL&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;     &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-8789683955248660856?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/8789683955248660856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=8789683955248660856' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/8789683955248660856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/8789683955248660856'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2011/10/oracle-locking.html' title='Understand Oracle Locking'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-7882550658079030500</id><published>2011-10-21T03:25:00.000-07:00</published><updated>2011-10-21T03:26:56.403-07:00</updated><title type='text'>Rollback Of Single Transaction</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;SQL&amp;gt; select local_tran_id from dba_2pc_pending;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;LOCAL_TRAN_ID&lt;br /&gt;----------------------&lt;br /&gt;10.1.1306666&lt;br /&gt;11.29.1398766&lt;br /&gt;12.21.996344&lt;br /&gt;17.27.1267023&lt;br /&gt;26.30.1222781&lt;br /&gt;3.4.1280743&lt;br /&gt;31.13.928667&lt;br /&gt;38.1.469932&lt;br /&gt;40.33.554319&lt;br /&gt;42.2.502494&lt;br /&gt;52.8.263605&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;LOCAL_TRAN_ID&lt;br /&gt;----------------------&lt;br /&gt;56.19.234600&lt;br /&gt;58.12.278189&lt;br /&gt;66.9.233351&lt;br /&gt;7.32.277783&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;15 rows selected.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;SQL&amp;gt; Rollback Force '26.30.1222781';&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;Rollback complete.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;SQL&amp;gt; select local_tran_id from dba_2pc_pending where  local_tran_id='26.30.1222781';&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;LOCAL_TRAN_ID&lt;br /&gt;----------------------&lt;br /&gt;26.30.1222781&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;SQL&amp;gt; execute dbms_transaction.purge_lost_db_entry('26.30.1222781');&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;PL/SQL procedure successfully completed.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;SQL&amp;gt; select local_tran_id from dba_2pc_pending where  local_tran_id='26.30.1222781';&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;no rows selected&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;SQL&amp;gt; select name from v$database;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;NAME&lt;br /&gt;---------&lt;br /&gt;AJITHDB&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-7882550658079030500?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/7882550658079030500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=7882550658079030500' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/7882550658079030500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/7882550658079030500'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2011/10/rollback-of-single-transaction.html' title='Rollback Of Single Transaction'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-9083496421286693308</id><published>2011-10-13T05:32:00.000-07:00</published><updated>2011-10-13T09:19:26.590-07:00</updated><title type='text'>ORACLE PROCESSES, SESSIONS AND CONNECTIONS</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;In linux/unix systems a process is a physical process or thread which can be seen with "ps" command for example, There are many types of processes in Oracle, Background processes like &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ajithpathiyil:/export/home/oracle&amp;gt;&amp;gt;ps -ef|grep ora_&lt;br /&gt;oracle 103 1 0 Oct 02 ? 45:01 ora_lmon_AJITHDB&lt;br /&gt;oracle 89 1 0 Oct 02 ? 27:30 ora_pmon_AJITHDB&lt;br /&gt;oracle 105 1 0 Oct 02 ? 41:55 ora_lmd0_AJITHDB&lt;br /&gt;oracle 159 1 0 Oct 02 ? 29:27 ora_lgwr_AJITHDB&lt;br /&gt;oracle 161 1 0 Oct 02 ? 9:59 ora_ckpt_AJITHDB&lt;br /&gt;oracle 163 1 0 Oct 02 ? 1:56 ora_smon_AJITHDB&lt;br /&gt;oracle 165 1 0 Oct 02 ? 0:02 ora_reco_AJITHDB&lt;br /&gt;oracle 791 1 0 Oct 02 ? 7:00 ora_arc0_AJITHDB&lt;br /&gt;..&lt;br /&gt;..&lt;br /&gt;..&lt;br /&gt;ajithpathiyil:/export/home/oracle&amp;gt;&amp;gt;&lt;br /&gt;&lt;br /&gt;etc..... Meanwhil user processes are like dedicated servers or shared server (multi-threaded server -- aka MTS -- configuration)&lt;br /&gt;&lt;br /&gt;A connection is a "physical circuit", a pathway to a database. You can be connected to a database yet have 0 or 1 or MORE sessions going on that connection. We can see that with sqlplus, consider (single user system here, its all about me)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ajithpathiyil:/export/home/oracle&amp;gt;&amp;gt;$ ps -auxww |grep oracleora920&lt;br /&gt;&lt;br /&gt;ajithpathiyil:/export/home/oracle&amp;gt;&amp;gt;$ sqlplus /nolog&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 9.2.0.1.0 - Production on Sat Sep 28 10:36:03 2002&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; !ps -auxww |grep oracleora920&lt;br /&gt;ajithpathiyil 19971 0.0 0.1 2196 916 pts/1 S 10:36 0:00 /bin/bash -c ps -auxww &lt;br /&gt;grep oracleora920&lt;br /&gt;ajithpathiyil 19973 0.0 0.1 1736 564 pts/1 S 10:36 0:00 grep oracleora920&lt;br /&gt;SQL&amp;gt;&lt;br /&gt;&lt;br /&gt;no process, no nothing&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; connect /&lt;br /&gt;Connected.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; !ps -auxww &lt;br /&gt;grep oracleora920&lt;br /&gt;ora920 19974 1.5 2.2 230976 11752 ? S 10:36 0:00 oracleora920 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))&lt;br /&gt;ajithpathiyil 19975 0.0 0.1 2196 916 pts/1 S 10:36 0:00 /bin/bash -c ps -auxww &lt;br /&gt;grep oracleora920&lt;br /&gt;ajithpathiyil 19977 0.0 0.1 1736 564 pts/1 S 10:36 0:00 grep oracleora920&lt;br /&gt;&lt;br /&gt;got my process now...&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; disconnect&lt;br /&gt;Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production&lt;br /&gt;&lt;br /&gt;With the Partitioning, OLAP and Oracle Data Mining options&lt;br /&gt;&lt;br /&gt;JServer Release 9.2.0.1.0 - Production&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; !ps -auxww |grep oracleora920&lt;br /&gt;&lt;br /&gt;ora920 19974 0.6 2.3 230976 11876 ? S 10:36 0:00 oracleora920 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))&lt;br /&gt;ajithpathiyil 19978 0.0 0.1 2196 916 pts/1 S 10:36 0:00 /bin/bash -c ps -auxww &lt;br /&gt;grep oracleora920&lt;br /&gt;ajithpathiyil 19980 0.0 0.1 1736 564 pts/1 S 10:36 0:00 grep oracleora920&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; select * from dual;&lt;br /&gt;&lt;br /&gt;SP2-0640: Not connected&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;still have my process, but no session, the message is a little "misleading". Technically -- I have a connection, I don't have a session further, autotrace in sqlplus can be used to show that you can have &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;a) a connection&lt;br /&gt;b) that uses a single process&lt;br /&gt;c) to service two sessions:&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; select username from v$session where username is not null;&lt;br /&gt;&lt;br /&gt;USERNAME&lt;br /&gt;------------------------------&lt;br /&gt;AJITHPATHIYIL&lt;br /&gt;&lt;br /&gt;SQL&amp;gt;&lt;br /&gt;&lt;br /&gt;one session, ME&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; select username, program from v$process;&lt;br /&gt;&lt;br /&gt;USERNAME PROGRAM&lt;br /&gt;--------------- ------------------------------------------------&lt;br /&gt;PSEUDO&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (PMON)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (DBW0)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (LGWR)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (CKPT)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (SMON)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (RECO)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (CJQ0)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (QMN0)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (S000)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (D000)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (ARC0)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (ARC1)&lt;br /&gt;ajithpathiyil&amp;nbsp;&lt;a href="mailto:oracle@ajithpathiyil.home.com"&gt;oracle@ajithpathiyil.home.com&lt;/a&gt; (TNS V1-V3)&lt;br /&gt;&lt;br /&gt;14 rows selected.&lt;br /&gt;&lt;br /&gt;SQL&amp;gt;&lt;br /&gt;&lt;br /&gt;you can see all of the backgrounds and my dedicated server...&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; set autotrace on statistics;&lt;br /&gt;&lt;br /&gt;Autotrace for statistics uses ANOTHER session so it can query up the stats for your CURRENT session without impacting the STATS for that session!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ajithpathiyil:/export/home/oracle&amp;gt; select username from v$session where username is not null;&lt;br /&gt;&lt;br /&gt;USERNAME&lt;br /&gt;------------------------------&lt;br /&gt;AJITHPATHIYIL&lt;br /&gt;AJITHPATHIYIL&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;see, two sessions but....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Statistics&lt;br /&gt;----------------------------------------------------------&lt;br /&gt;0 recursive calls&lt;br /&gt;0 db block gets&lt;br /&gt;0 consistent gets&lt;br /&gt;0 physical reads&lt;br /&gt;0 redo size&lt;br /&gt;418 bytes sent via SQL*Net to client&lt;br /&gt;499 bytes received via SQL*Net from client&lt;br /&gt;2 SQL*Net roundtrips to/from client&lt;br /&gt;0 sorts (memory)&lt;br /&gt;0 sorts (disk)&lt;br /&gt;2 rows processed&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; select username, program from v$process;&lt;br /&gt;&lt;br /&gt;USERNAME PROGRAM&lt;br /&gt;--------------- ------------------------------------------------&lt;br /&gt;PSEUDO&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (PMON)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (DBW0)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (LGWR)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (CKPT)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (SMON)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (RECO)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (CJQ0)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (QMN0)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (S000)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (D000)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (ARC0)&lt;br /&gt;ora920 oracle@ajithpathiyil.home.com (ARC1)&lt;br /&gt;ajithpathiyil oracle@ajithpathiyil.home.com (TNS V1-V3)&lt;br /&gt;&lt;br /&gt;14 rows selected.&lt;br /&gt;&lt;br /&gt;SQL&amp;gt;&lt;br /&gt;same 14 processes...&lt;br /&gt;&lt;br /&gt;Statistics&lt;br /&gt;----------------------------------------------------------&lt;br /&gt;0 recursive calls&lt;br /&gt;0 db block gets&lt;br /&gt;0 consistent gets&lt;br /&gt;0 physical reads&lt;br /&gt;0 redo size&lt;br /&gt;1095 bytes sent via SQL*Net to client&lt;br /&gt;499 bytes received via SQL*Net from client&lt;br /&gt;2 SQL*Net roundtrips to/from client&lt;br /&gt;0 sorts (memory)&lt;br /&gt;0 sorts (disk)&lt;br /&gt;14 rows processed&lt;br /&gt;&lt;br /&gt;SQL&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;span id="goog_438234941"&gt;&lt;/span&gt;&lt;span id="goog_438234943"&gt;&lt;/span&gt;&lt;span id="goog_438234945"&gt;&lt;/span&gt;&lt;span id="goog_438234947"&gt;&lt;/span&gt;A connection is a physical circuit between you and the database. &lt;br /&gt;&lt;br /&gt;A connection might be one of many types -- most popular begin DEDICATED server and SHARED server. &lt;br /&gt;&lt;br /&gt;Zero, one or more sessions may be established over a given connection to the database as show above with sqlplus. &lt;br /&gt;&lt;br /&gt;A process will be used by a session to execute statements. &lt;br /&gt;Sometimes there is a one to one relationship between CONNECTION-&amp;gt;SESSION-&amp;gt;PROCESS (eg: a normal dedicated server connection). &lt;br /&gt;Sometimes there is a one to many from connection to sessions (eg: like autotrace, one connection, two sessions, one process). &lt;br /&gt;&lt;br /&gt;A process does not have to be dedicated to a specific connection or session however, for example when &lt;br /&gt;&lt;br /&gt;Using shared server (MTS), your SESSION will grab a process from a pool of processes in order to execute a statement. &lt;br /&gt;&lt;br /&gt;When the call is over, that process is released back to the pool of processes.&lt;br /&gt;&lt;span id="goog_438234948"&gt;&lt;/span&gt;&lt;span id="goog_438234946"&gt;&lt;/span&gt;&lt;span id="goog_438234944"&gt;&lt;/span&gt;&lt;span id="goog_438234942"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Happy Learning!&lt;br /&gt;&lt;br /&gt;Ajithpathiyil&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-9083496421286693308?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/9083496421286693308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=9083496421286693308' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/9083496421286693308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/9083496421286693308'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2011/10/oracle-processes-sessions-and.html' title='ORACLE PROCESSES, SESSIONS AND CONNECTIONS'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-682779761057984389</id><published>2011-09-30T22:07:00.000-07:00</published><updated>2011-09-30T22:17:37.364-07:00</updated><title type='text'>RAC Cheatsheet-2</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Opatch in RAC&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;===============&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;. All-Node Patch&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Shutdown all Oracle instances on all nodes&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Apply the patch to all nodes&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Bring all nodes up&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;. Minimum downtime&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Shutdown the Oracle instance on node 1&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Apply the patch to the Oracle instance on node 1&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Shutdown the Oracle instance on node 2&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Apply the patch to the Oracle instance on node 2&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Shutdown the Oracle instance on node 3&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. At this point, instances on nodes 1 and 2 can be brought up&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Apply the patch to the Oracle instance on node 3&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Startup the Oracle instance on node 3&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;. Rolling patch (no downtime)&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Shutdown the Oracle instance on node 1&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Apply the patch to the Oracle instance on node 1&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Start the Oracle instance on node 1&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Shutdown the Oracle instance on node 2&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Apply the patch to the Oracle instance on node 2&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Start the Oracle instance on node 2&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Shutdown the Oracle instance on node 3&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Apply the patch to the Oracle instance on node 3&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. Start the Oracle instance on node 3&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;&lt;u&gt;5 - How to determine if a patch is a "rolling patch" or not?&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; - 9i or 10gR1: (run)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; $ opatch query -is_rolling&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; Opatch will ask the patch location and then will inform if the patch is or&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; not a "rolling patch"&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; - 10gR2: (run)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; $ opatch query -all &lt;patch_location&gt; | grep rolling&lt;/patch_location&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Patching one node at time&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; The Opatch strategies discussed above (All-Node, Min. Down-Time, and Rolling)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; presumes that all nodes will be patched at the same time. Additionally,&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; each node can be patched individually, at different times, using the "-local"&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; key word, which will patch only the local node.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;opatch apply -local&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;What is OCR and Voting disk&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;===========================&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;The voting disk is a file that contains and manages information of all the node memberships&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;OCR is a file that manages the cluster and RAC configuration.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Version of CRS&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;---------------&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;crsctl query crs activeversion&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;command gives the details about voting disk&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;crsctl query css votedisk&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;to backup voting disk&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;---------------------&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;dd if=voting_disk_name of=backup_file_name&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;alpgadbq02sec:/export/users/crsqa $ dd if=/ocrvoteqa/crsqa/oracle/admin/vote_file of=/export/users/crsqa/vote_file2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;20000+0 records in&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;20000+0 records out&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;alpgadbq02sec:/export/users/crsqa $ ls -lrt /export/users/crsqa/vote_file2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-rw-r--r-- &amp;nbsp; 1 crsqa &amp;nbsp; &amp;nbsp;dbaqa &amp;nbsp; &amp;nbsp;10240000 Mar 25 09:38 /export/users/crsqa/vote_file2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;alpgadbq02sec:/export/users/crsqa $ ls -lrt /ocrvoteqa/crsqa/oracle/admin/vote_file&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-rw-r--r-- &amp;nbsp; 1 crsqa &amp;nbsp; &amp;nbsp;dbaqa &amp;nbsp; &amp;nbsp;10240000 Mar 25 09:39 /ocrvoteqa/crsqa/oracle/admin/vote_file&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;alpgadbq02sec:/export/users/crsqa $ file /export/users/crsqa/vote_file2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Recover voting disk from file&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-----------------------------&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Take a backup of all voting disk:&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;dd if=voting_disk_name of=backup_file_name&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;The following can be used to restore the voting disk from the backup file created.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;dd if=backup_file_name of=voting_disk_name&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;As CRS User&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp01sec:/crslab1/oracle/product/10.2.0/crslab1/cdata/crslab1 $ dd if=/ocrvote/crslab1/oracle/admin/Vote_File of=/crslab1/oracle/product/10.2.0/crslab1/log/vote&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;crsctl command to add and delete the voting disks&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;In 11g online voting disk removal&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;In 10g it's offline&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp01sec # /crslab1/oracle/product/10.2.0/crslab1/bin/crsctl delete css votedisk /ocrvote/crslab1/oracle/admin/Vote_File2 -force&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;successful deletion of votedisk /ocrvote/crslab1/oracle/admin/Vote_File2.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp01sec #&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;crsctl delete css votedisk path&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;crsctl add css votedisk path&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;use -force option when cluster is down&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;crsctl add css votedisk path -force&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;Location of OCR&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;==================&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;crs home=""&gt;/cdata/&lt;cluster name=""&gt;&lt;/cluster&gt;&lt;/crs&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ocrconfig -showbackup&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;atlease 2 backup in 4 hr gap&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;one daily back&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;one weekly back&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ocrconfig -help&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Manual backup of CRS&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;---------------------&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;As root&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Backup=&amp;gt; ocrconfig -export &lt;file_name&gt;&lt;/file_name&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Bringdown CRS&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Restore=&amp;gt; ocrconfig -import &lt;file_name&gt;&lt;/file_name&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Bring up CRS&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp01sec # /crslab1/oracle/product/10.2.0/crslab1/bin/ocrconfig -export /crslab1/oracle/product/10.2.0/crslab1/log/ocr_bak&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp01sec # /crslab1/oracle/product/10.2.0/crslab1/bin/ocrconfig -Import /crslab1/oracle/product/10.2.0/crslab1/log/ocr_bak&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;To change loc&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;==============&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ocrconfig -backuploc &lt;directory name=""&gt;&lt;/directory&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;Voting disk details&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;====================&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;crsctl query css votedisk&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ocrcheck&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;To check No of instances&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;==========================&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;SELECT * FROM V$ACTIVE_INSTANCES;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;pfile parameters&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;=================&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ebizdb1.__db_cache_size=377487360&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ebizdb2.__db_cache_size=394264576..etc&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;*.cluster_database_instances=2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;*.cluster_database=true&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ebizdb2.instance_number=2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ebizdb1.instance_number=1&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ebizdb1.undo_tablespace='UNDOTBS1'&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ebizdb2.undo_tablespace='UNDOTBS2'&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;To stop the instance and Db&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;============================&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;export ORACLE_SID=ebizdb2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;emctl stop dbconsole&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;srvctl stop instance -d ebizdb -i ebizdb1&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;srvctl stop asm -n ebizdb1&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;srvctl stop nodeapps -n ebizdb1&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;srvctl status database -d ebizdb&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;srvctl status instance -d ebizdb -i ebizdb1&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;no of node&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;===========&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ORA_CRS_HOME/bin/olsnodes -n&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cihsnsddb001.sensing.ge.com&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;To stop clusterware&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;====================&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;crsctl check crs&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;crsctl stop crs&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/init.d/init.crs stop&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;crs_stat -t&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;pa55word&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;crs_start -all&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;crsctl query css votedisk&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;can i try to delete a node from RAC and add it again&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;fdisk -l&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;iscsi-ls&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/init.d/o2cb status&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;OCFS&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;======&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;create&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;mkfs.ocfs2 -b 4k -C 32K -N 4 -L ebizdata_2 /dev/sdd1&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;mkfs.ocfs2 -b 4K -C 32K -N 4 -L ebizdata_3 /dev/sdc1&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;mkfs.ocfs2 -b 4K -C 32K -N 4 -L R12data_1 /dev/hda1&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;mount (cat /etc/fstab)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;mount -t ocfs2 -o datavolume,nointr -L "crs" /d01/crsdata/ebizdb&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;mount -t ocfs2 -o datavolume,nointr -L "ebizdata_3" /d02/oradata/ebizdb&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ASM&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;create&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/init.d/oracleasm createdisk VOL2 /dev/sde1&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;check&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;openfiler&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;============&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;service iscsi-target restart&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;rac node&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;========&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;service iscsi restart&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/init.d/oracleasm listdisks&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;after mount add value in&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/fstab&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;dmesg | sort | grep '^Attached scsi disk'&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;add "DiscoveryAddress=openfiler-priv:3260" in /etc/iscsi.conf&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;DiscoveryAddress=openfiler-priv:3260&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;rpm -Uvh ocfs2-2.6.9-42.ELsmp-1.2.9-1.el4.i686.rpm ocfs2console-1.2.7-1.el4.i386.rpm ocfs2-tools-1.2.7-1.el4.i386.rpm ocfs2-tools-1.2.7-1.el4.i386.rpm&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ebizdb1:/root $ ./iscsi-ls-map.sh&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Host / SCSI ID &amp;nbsp; &amp;nbsp;SCSI Device Name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; iSCSI Target Name&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;---------------- &amp;nbsp;----------------------- &amp;nbsp;-----------------&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /dev/sdc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ebizdata_3&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /dev/sdb &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ebizdata_2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /dev/sdd &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ebizdata_1&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /dev/sde &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; asm3&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;6 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /dev/sdf &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; asm2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;7 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /dev/sdh &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; asm1&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;8 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /dev/sdg &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; crs&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ebizdb1:/root $&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ebizdb1:/root $&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ebizdb1:/root $ fdisk /dev/sdc&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Command (m for help): n&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Command action&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;e &amp;nbsp; extended&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;p &amp;nbsp; primary partition (1-4)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;p&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Partition number (1-4): 1&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;First cylinder (1-1019, default 1):&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Using default value 1&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Last cylinder or +size or +sizeM or +sizeK (1-1019, default 1019):&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Using default value 1019&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Command (m for help): w&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;The partition table has been altered!&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Calling ioctl() to re-read partition table.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Syncing disks.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ebizdb1:/root $ ./iscsi-ls-map.sh&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Host / SCSI ID &amp;nbsp; &amp;nbsp;SCSI Device Name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; iSCSI Target Name&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;---------------- &amp;nbsp;----------------------- &amp;nbsp;-----------------&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /dev/sdc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ebizdata_3&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /dev/sdb &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ebizdata_2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /dev/sdd &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ebizdata_1&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /dev/sde &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; asm3&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;6 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /dev/sdf &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; asm2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;7 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /dev/sdh &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; asm1&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;8 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /dev/sdg &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; crs&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ebizdb1:/root $ mkfs.ocfs2 -b 4K -C 32K -N 4 -L ebizdata_3 /dev/sdc1&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;COLUMN instance_name FORMAT a13&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;COLUMN host_name FORMAT a9&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;COLUMN failover_method FORMAT a15&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;COLUMN failed_over FORMAT a11&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;SELECT instance_name , host_name , NULL AS failover_type , NULL AS failover_method , NULL AS failed_over FROM v$instance&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;UNION&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;SELECT NULL , NULL , failover_type , failover_method , failed_over&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;FROM v$session WHERE username = 'SYSTEM';&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;388577.1-convert to RAC&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;[root@ebizdb1 ~]# service iscsi restart&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Searching for iscsi-based multipath maps&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Found 0 maps&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Stopping iscsid: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [ &amp;nbsp;OK &amp;nbsp;]&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Removing iscsi driver: ERROR: Module iscsi_sfnet is in use&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[FAILED]&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;[root@ebizdb1 ~]#&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;[root@ebizdb1 ~]#&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;[root@ebizdb1 ~]# service iscsi restart&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Searching for iscsi-based multipath maps&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Found 0 maps&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Stopping iscsid: iscsid not running&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Removing iscsi driver: ERROR: Module iscsi_sfnet is in use&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[FAILED]&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;to install&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;===========&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;rpm -Uvh compat*&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;check&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;=====&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;rpm -q compa*&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;15920685&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/dev/hdc6&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;[root@ebizapp apps_12]# rpm -Uvh compat*&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;warning: compat-gcc-c++-7.3-2.96.128.i386.rpm: V3 DSA signature: NOKEY, key ID 73307de6&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Preparing... &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;########################################### [100%]&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; file /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so from install of compat-libstdc++-7.3-2.96.128 conflicts with file from package compat-libstdc++-296-2.96-132.7.2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; file /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so from install of compat-libstdc++-7.3-2.96.128 conflicts with file from package compat-libstdc++-296-2.96-132.7.2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;[root@ebizapp apps_12]#&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;'&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"'&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;runcluvfy.sh stage -post crs -n ebizdb1,ebizdb2 -verbose&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;./runcluvfy.sh stage -pre dbinst -n ebizdb1,ebizdb2 -r 10gR2 -verbose&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Manually deleting the services and clean-up&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;Removing a Node from a 10g RAC Cluster&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;======================================&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Doc ID: &amp;nbsp;Note:269320.1&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;=======================&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/init.d/init.evmd stop&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/init.d/init.evmd disable&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/init.d/init.cssd stop&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/init.d/init.cssd disable&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/init.d/init.crsd stop&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/init.d/init.crsd disable&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/init.d/init.crs stop&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/init.d/init.crs disable&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;rm -rf /etc/oracle /etc/oraInst.loc /etc/oratab&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;rm -rf /etc/init.d/init.crsd /etc/init.d/init.crs /etc/init.d/init.cssd /etc/init.d/init.evmd&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;rm -rf /etc/rc2.d/K96init.crs /etc/rc2.d/S96init.crs etc/rc3.d/K96init.crs \&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;rm -rf /etc/rc3.d/S96init.crs /etc/rc4.d/K96init.crs /etc/rc4.d/S96init.crs \&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;rm -rf /etc/rc5.d/K96init.crs /etc/rc5.d/S96init.crs /etc/rc.d/rc0.d/K96init.crs \&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;rm -rf /etc/rc.d/rc1.d/K96init.crs /etc/rc.d/rc6.d/K96init.crs /etc/rc.d/rc4.d/K96init.crs&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cp /etc/inittab.orig /etc/inittab&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;rm -rf /etc/inittab.crs /etc/inittab.no_crs&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;rm -rf /tmp/*&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;rm -rf /tmp/.oracle&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;rm -rf /usr/local/bin/dbhome /usr/local/bin/oraenv /usr/local/bin/coraenv&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;rm -rf /var/tmp/.oracle&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;rm -rf /opt/oracle/*&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;rm -rf /u03/oracrs/&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;./runInstaller -updateNodeList ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1 CLUSTER_NODES=ebizdb1,ebizdb2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;runInstaller -updateNodeList -noClusterEnabled ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1 CLUSTER_NODES=ebizdb1,ebizdb2 CRS=false &amp;nbsp;"INVENTORY_LOCATION=/u01/app/oraInventory" LOCAL_NODE=&lt;node be="" command="" is="" on="" run="" to="" which=""&gt;.&lt;/node&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;[root@ebizdb3 install]# ./rootdelete.sh local nosharedvar nosharedhome&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;[root@ebizdb1 install]# ./rootdeletenode.sh ebizdb3,3&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;runInstaller -updateNodeList ORACLE_HOME=/u01/app/crs CLUSTER_NODES=ebizdb1,ebizdb2 CRS=TRUE&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;Node addition&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;===============&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;prepare the hardware similar to existing nodes&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Verify Remote Access / User Equivalence&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;run $ORA_CRS_HOME/oui/bin/addNode.sh&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;it will ask to run as root for below script&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/ORA_CRS_HOME/install/rootaddnode.sh from running node&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/ORA_CRS_HOME/root.sh from new node&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;oraInstRoot.sh creates inventory location if it's not available.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Although Oracle CRS replaces the Oracle Cluster Manager (ORACM) in Oracle9i RAC, it does continue support for the Global Services Daemon (GSD), which in Oracle9i is responsible for communicating with the Oracle RAC database. In Oracle 10g, GSD's sole purpose is to serve Oracle9i clients (such as SRVCTL, Database Configuration Assistant, and Oracle Enterprise Manager). Financially, this is a very positive benefit since one is not bound to buy new client licenses and hardware to support an Oracle 10g database.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;To check interfaces between the RAC nodes&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;----------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ORA_CRS_HOME/bin/oifcfg iflist&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp01sec:/export/users/crslab1 $ $ORA_CRS_HOME/bin/oifcfg iflist&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce0 &amp;nbsp;3.112.44.0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce2 &amp;nbsp;3.112.44.0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce3 &amp;nbsp;192.168.22.0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce3 &amp;nbsp;192.168.21.0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce5 &amp;nbsp;172.17.0.0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce7 &amp;nbsp;192.168.24.0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce7 &amp;nbsp;192.168.23.0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce7 &amp;nbsp;192.168.25.0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce9 &amp;nbsp;3.24.138.0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp01sec:/export/users/crslab1 $&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;3.112.45.199 &amp;nbsp; &amp;nbsp;cinohapdbp01sec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cinohapdbp01sec.security.ge.com loghost&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;3.112.45.205 &amp;nbsp; &amp;nbsp;cinohapdbp01sec-vip &amp;nbsp; &amp;nbsp; cinohapdbp01sec-vip.security.ge.com&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;192.168.21.1 &amp;nbsp; &amp;nbsp;cinohapdbp01sec-priv&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;3.112.45.202 &amp;nbsp; &amp;nbsp;cinohapdbp02sec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cinohapdbp02sec.security.ge.com&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;3.112.45.206 &amp;nbsp; &amp;nbsp;cinohapdbp02sec-vip &amp;nbsp; &amp;nbsp; cinohapdbp02sec-vip.security.ge.com&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;192.168.21.2 &amp;nbsp; &amp;nbsp;cinohapdbp02sec-priv&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/usr/bin/netstat -f inet&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Logfile Location&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-----------------&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cd $ORA_CRS_HOME/log/node_name&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;alert&lt;node&gt;.log&lt;/node&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;evmd/evmd.log&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cssd/cssd.log&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;crsd/crsd.log&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cd racg&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ora.&lt;node&gt;.vip.log&lt;/node&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ora.&lt;node&gt;.ons.log&lt;/node&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ora.&lt;node&gt;.gsd.log&lt;/node&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;To relocate the crs services&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;----------------------------&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;crs_relocate&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;crs_relocate ora.cinohapdbp02sec.vip&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Enable debug for particulare RAC services&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-----------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;crsctl debug log res '&lt;service&gt;:5'&lt;/service&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;to diable&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;----------&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;crsctl debug log res 'ora.cinohapdbp02sec.vip'&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp02sec:/export/users/crslab1 $ crsctl help&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Usage: crsctl check crs - checks the viability of the Oracle Clusterware&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl check cssd &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- checks the viability of Cluster Synchronization Services&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl check crsd &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- checks the viability of Cluster Ready Services&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl check evmd &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- checks the viability of Event Manager&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl check cluster [-node &lt;nodename&gt;] - checks the viability of CSS across nodes&lt;/nodename&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl set css &lt;parameter&gt; &lt;value&gt; - sets a parameter override&lt;/value&gt;&lt;/parameter&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl get css &lt;parameter&gt; - gets the value of a Cluster Synchronization Services parameter&lt;/parameter&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl unset css &lt;parameter&gt; - sets the Cluster Synchronization Services parameter to its default&lt;/parameter&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl query css votedisk - lists the voting disks used by Cluster Synchronization Services&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl add css votedisk &lt;path&gt; - adds a new voting disk&lt;/path&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl delete css votedisk &lt;path&gt; - removes a voting disk&lt;/path&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl enable crs - enables startup for all Oracle Clusterware daemons&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl disable crs - disables startup for all Oracle Clusterware daemons&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl start crs [-wait] - starts all Oracle Clusterware daemons&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl stop crs [-wait] - stops all Oracle Clusterware daemons. Stops Oracle Clusterware managed resources in case of cluster.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl start resources - starts Oracle Clusterware managed resources&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl stop resources - stops Oracle Clusterware managed resources&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl debug statedump css - dumps state info for Cluster Synchronization Services objects&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl debug statedump crs - dumps state info for Cluster Ready Services objects&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl debug statedump evm - dumps state info for Event Manager objects&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl debug log css [module:level] {,module:level} ... - turns on debugging for Cluster Synchronization Services&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl debug log crs [module:level] {,module:level} ... - turns on debugging for Cluster Ready Services&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl debug log evm [module:level] {,module:level} ... - turns on debugging for Event Manager&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl debug log res [resname:level] ... - turns on debugging for Event Manager&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl debug trace css [module:level] {,module:level} ... - turns on debugging for Cluster Synchronization Services&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl debug trace crs [module:level] {,module:level} ... - turns on debugging for Cluster Ready Services&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl debug trace evm [module:level] {,module:level} ... - turns on debugging for Event Manager&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl query crs softwareversion [&lt;nodename&gt;] - lists the version of Oracle Clusterware software installed&lt;/nodename&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl query crs activeversion - lists the Oracle Clusterware operating version&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl lsmodules css - lists the Cluster Synchronization Services modules that can be used for debugging&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl lsmodules crs - lists the Cluster Ready Services modules that can be used for debugging&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsctl lsmodules evm - lists the Event Manager modules that can be used for debugging&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;If necessary any of these commands can be run with additional tracing by adding a 'trace'&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;argument at the very front. Example: crsctl trace check css&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp02sec:/export/users/crslab1&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;export _USR_ORA_VIP=3.112.45.205&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;export _USR_ORA_NETMASK=255.255.252.0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;export _USR_ORA_IF=ce2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;export _CAA_NAME=cinohapdbp01sec&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;export _USR_ORA_VIP=3.112.45.206&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;export _USR_ORA_NETMASK=255.255.252.0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;export _USR_ORA_IF=ce2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;export _CAA_NAME=cinohapdbp02sec&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp02sec # /crslab1/oracle/product/10.2.0/crslab1/bin/racgvip check&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp02sec # /crslab1/oracle/product/10.2.0/crslab1/bin/racgvip start&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;checking the cluster configuration&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;===================================&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp02sec:/crslab1/oracle/product/10.2.0/crslab1/log/cinohapdbp02sec/evmd $ srvctl config nodeapps -n cinohapdbp02sec&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;VIP exists.: /cinohapdbp02sec-vip/3.112.45.206/255.255.252.0/ce2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;GSD exists.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ONS daemon exists.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Listener does not exist.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp02sec:/crslab1/oracle/product/10.2.0/crslab1/log/cinohapdbp02sec/evmd $&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Doc ID: &amp;nbsp;283107.1&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-----------------&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;bash-3.00$ ifconfig -a&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;lo0: flags=2001000849&lt;up,loopback,running,multicast,ipv4,virtual&gt; mtu 8232 index 1&lt;/up,loopback,running,multicast,ipv4,virtual&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 127.0.0.1 netmask ffffff00&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce0: flags=19040843&lt;up,broadcast,running,multicast,deprecated,ipv4,nofailover,failed&gt; mtu 1500 index 2&lt;/up,broadcast,running,multicast,deprecated,ipv4,nofailover,failed&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 3.112.45.207 netmask fffffc00 broadcast 3.112.47.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; groupname IPMP0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce2: flags=29040843&lt;up,broadcast,running,multicast,deprecated,ipv4,nofailover,standby&gt; mtu 1500 index 3&lt;/up,broadcast,running,multicast,deprecated,ipv4,nofailover,standby&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 3.112.45.208 netmask fffffc00 broadcast 3.112.47.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; groupname IPMP0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce2:1: flags=21000843&lt;up,broadcast,running,multicast,ipv4,standby&gt; mtu 1500 index 3&lt;/up,broadcast,running,multicast,ipv4,standby&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 3.112.45.199 netmask fffffc00 broadcast 3.112.47.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce2:2: flags=21000843&lt;up,broadcast,running,multicast,ipv4,standby&gt; mtu 1500 index 3&lt;/up,broadcast,running,multicast,ipv4,standby&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 3.112.45.201 netmask fffffc00 broadcast 3.112.47.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce2:3: flags=21040843&lt;up,broadcast,running,multicast,deprecated,ipv4,standby&gt; mtu 1500 index 3&lt;/up,broadcast,running,multicast,deprecated,ipv4,standby&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 3.112.45.205 netmask fffffc00 broadcast 3.112.47.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce3: flags=1000843&lt;up,broadcast,running,multicast,ipv4&gt; mtu 1500 index 7&lt;/up,broadcast,running,multicast,ipv4&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 192.168.22.1 netmask ffffff00 broadcast 192.168.22.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce3:1: flags=1000843&lt;up,broadcast,running,multicast,ipv4&gt; mtu 1500 index 7&lt;/up,broadcast,running,multicast,ipv4&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 192.168.21.1 netmask ffffff00 broadcast 192.168.21.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce5: flags=1000843&lt;up,broadcast,running,multicast,ipv4&gt; mtu 1500 index 4&lt;/up,broadcast,running,multicast,ipv4&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 172.17.7.185 netmask ffffc000 broadcast 172.17.63.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce7: flags=1000843&lt;up,broadcast,running,multicast,ipv4&gt; mtu 1500 index 8&lt;/up,broadcast,running,multicast,ipv4&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 192.168.24.1 netmask ffffff00 broadcast 192.168.24.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce7:1: flags=1000843&lt;up,broadcast,running,multicast,ipv4&gt; mtu 1500 index 8&lt;/up,broadcast,running,multicast,ipv4&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 192.168.23.1 netmask ffffff00 broadcast 192.168.23.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce7:2: flags=1000843&lt;up,broadcast,running,multicast,ipv4&gt; mtu 1500 index 8&lt;/up,broadcast,running,multicast,ipv4&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 192.168.25.1 netmask ffffff00 broadcast 192.168.25.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce9: flags=1000843&lt;up,broadcast,running,multicast,ipv4&gt; mtu 1500 index 5&lt;/up,broadcast,running,multicast,ipv4&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 3.24.138.216 netmask fffffe00 broadcast 3.24.139.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;bash-3.00$ hostname&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp01sec&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp02sec # ifconfig -a&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;lo0: flags=2001000849&lt;up,loopback,running,multicast,ipv4,virtual&gt; mtu 8232 index 1&lt;/up,loopback,running,multicast,ipv4,virtual&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 127.0.0.1 netmask ff000000&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce0: flags=9040843&lt;up,broadcast,running,multicast,deprecated,ipv4,nofailover&gt; mtu 1500 index 2&lt;/up,broadcast,running,multicast,deprecated,ipv4,nofailover&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 3.112.45.210 netmask fffffc00 broadcast 3.112.47.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; groupname IPMP0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ether 0:14:4f:74:53:64&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce0:1: flags=1000843&lt;up,broadcast,running,multicast,ipv4&gt; mtu 1500 index 2&lt;/up,broadcast,running,multicast,ipv4&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 3.112.45.202 netmask fffffc00 broadcast 3.112.47.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce0:2: flags=1040843&lt;up,broadcast,running,multicast,deprecated,ipv4&gt; mtu 1500 index 2&lt;/up,broadcast,running,multicast,deprecated,ipv4&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 3.112.45.206 netmask fffffc00 broadcast 3.112.47.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce2: flags=69040843&lt;up,broadcast,running,multicast,deprecated,ipv4,nofailover,standby,inactive&gt; mtu 1500 index 3&lt;/up,broadcast,running,multicast,deprecated,ipv4,nofailover,standby,inactive&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 3.112.45.211 netmask fffffc00 broadcast 3.112.47.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; groupname IPMP0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ether 0:14:4f:1f:3d:f8&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce3: flags=1000843&lt;up,broadcast,running,multicast,ipv4&gt; mtu 1500 index 6&lt;/up,broadcast,running,multicast,ipv4&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 192.168.22.2 netmask ffffff00 broadcast 192.168.22.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ether 0:14:4f:1f:3d:f9&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce3:1: flags=1000843&lt;up,broadcast,running,multicast,ipv4&gt; mtu 1500 index 6&lt;/up,broadcast,running,multicast,ipv4&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 192.168.21.2 netmask ffffff00 broadcast 192.168.21.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce5: flags=1000843&lt;up,broadcast,running,multicast,ipv4&gt; mtu 1500 index 4&lt;/up,broadcast,running,multicast,ipv4&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 172.17.7.186 netmask ffffc000 broadcast 172.17.63.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ether 0:14:4f:1f:3d:fb&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce7: flags=1000843&lt;up,broadcast,running,multicast,ipv4&gt; mtu 1500 index 8&lt;/up,broadcast,running,multicast,ipv4&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 192.168.23.2 netmask ffffff00 broadcast 192.168.23.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ether 0:14:4f:1f:1c:9d&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce7:1: flags=1000843&lt;up,broadcast,running,multicast,ipv4&gt; mtu 1500 index 8&lt;/up,broadcast,running,multicast,ipv4&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 192.168.25.2 netmask ffffff00 broadcast 192.168.25.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce7:2: flags=1000843&lt;up,broadcast,running,multicast,ipv4&gt; mtu 1500 index 8&lt;/up,broadcast,running,multicast,ipv4&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 192.168.24.2 netmask ffffff00 broadcast 192.168.24.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce9: flags=1000843&lt;up,broadcast,running,multicast,ipv4&gt; mtu 1500 index 5&lt;/up,broadcast,running,multicast,ipv4&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inet 3.24.138.214 netmask fffffe00 broadcast 3.24.139.255&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ether 0:14:4f:1f:1c:9f&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp02sec #&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce2 is standby IP Multipathing (IPMP)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;What is the difference between VIP and IPMP ?&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;================================================&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;IPMP can failover an address to another interface, but not failover to the other node.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;Oracle VIP can failover to another interface on the same node or to another host in the cluster.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp02sec # srvctl modify nodeapps -n cinohapdbp02sec -A cinohapdbp02sec-vip/255.255.252.0/ce2\|ce0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp02sec # srvctl config nodeapps -n cinohapdbp02sec&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;VIP exists.: /cinohapdbp02sec-vip/3.112.45.206/255.255.252.0/ce2:ce0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;GSD exists.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ONS daemon exists.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Listener does not exist.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp02sec # srvctl modify nodeapps -n cinohapdbp01sec -A cinohapdbp01sec-vip/255.255.252.0/ce2\|ce0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp02sec # srvctl start nodeapps -n cinohapdbp02sec&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp02sec # srvctl status nodeapps -n cinohapdbp02sec&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;VIP is running on node: cinohapdbp02sec&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;GSD is running on node: cinohapdbp02sec&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;PRKO-2016 : Error in checking condition of listener on node: cinohapdbp02sec&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ONS daemon is running on node: cinohapdbp02sec&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp02sec #&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Srvctl tools to add new db instance&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;srvctl add database -d lab1 -o /lab1/oracle/product/10.2.0/lab1&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;srvctl add instance -d lab1 -i lab11 -n cinohapdbp01sec&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;srvctl add instance -d lab1 -i lab12 -n cinohapdbp02sec&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;srvctl setenv instance -d lab1 -i lab11 -t TNS_ADMIN=/lab1/oracle/product/10.2.0/lab1/network/admin/lab11_cinohapdbp01sec&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;srvctl setenv instance -d lab1 -i lab12 -t TNS_ADMIN=/lab1/oracle/product/10.2.0/lab1/network/admin/lab12_cinohapdbp02sec&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;3.112.45.199 &amp;nbsp; &amp;nbsp;cinohapdbp01sec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cinohapdbp01sec.security.ge.com loghost&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;3.112.45.205 &amp;nbsp; &amp;nbsp;cinohapdbp01sec-vip &amp;nbsp; &amp;nbsp; cinohapdbp01sec-vip.security.ge.com&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;192.168.21.1 &amp;nbsp; &amp;nbsp;cinohapdbp01sec-priv&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;3.112.45.202 &amp;nbsp; &amp;nbsp;cinohapdbp02sec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cinohapdbp02sec.security.ge.com loghost&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;3.112.45.206 &amp;nbsp; &amp;nbsp;cinohapdbp02sec-vip &amp;nbsp; &amp;nbsp; cinohapdbp02sec-vip.security.ge.com&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;192.168.21.2 &amp;nbsp; &amp;nbsp;cinohapdbp02sec-priv&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ORA_CRS_HOME/bin/oifcfg getif&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp01sec $ ./oifcfg getif&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce2 &amp;nbsp;3.112.44.0 &amp;nbsp;global &amp;nbsp;public&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce3 &amp;nbsp;192.168.21.0 &amp;nbsp;global &amp;nbsp;cluster_interconnect&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp02sec $ ./oifcfg getif&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce2 &amp;nbsp;3.112.44.0 &amp;nbsp;global &amp;nbsp;public&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ce3 &amp;nbsp;192.168.21.0 &amp;nbsp;global &amp;nbsp;cluster_interconnect&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;from 10201&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;before cluster instll&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cd /lab1/oradata/recovery/arch01/lab11/software/10201_cluster/cluvfy&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;./runcluvfy.sh comp nodecon -n cinohapdbp01sec,cinohapdbp02sec -verbose&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;./runcluvfy.sh stage -pre crsinst -n all -verbose&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;After Cluster install&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ORA_CRS_HOME/bin/cluvfy stage -post crsinst -n cinohapdbp01sec,cinohapdbp02sec&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;from 11.1.0.6&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cd /lab1/oradata/recovery/arch01/lab11/software/11106_software/clusterware&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;./runcluvfy.sh stage -pre crsinst -n cinohapdbp01sec,cinohapdbp02sec -verbose&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;before db binray install&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;./runcluvfy.sh stage -pre dbinst -n cinohapdbp02sec,cinohapdbp01sec -verbose&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Before dbca&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;./runcluvfy.sh stage -pre dbcfg -n cinohapdbp02sec,cinohapdbp01sec -d /lab1/oracle/product/11.1.0/lab1 -verbose&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;From CRS_HOME&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;220863/Target!18&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;TAF&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;---&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Add the below entry in client and db tnsnames.ora&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;LAB1_TAF =&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; (DESCRIPTION =&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; (ADDRESS = (PROTOCOL = TCP)(HOST = cinohapdbp01sec-vip.security.ge.com)(PORT = 1529))&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; (ADDRESS = (PROTOCOL = TCP)(HOST = cinohapdbp02sec-vip.security.ge.com)(PORT = 1529))&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; (LOAD_BALANCE = yes)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; (CONNECT_DATA =&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (SERVER = DEDICATED)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (SERVICE_NAME = LAB1_TAF)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (FAILOVER_MODE =&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (TYPE = SELECT)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (METHOD = BASIC)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (RETRIES = 180)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (DELAY = 5)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; )&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;Check the failover Information&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;===============================&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;COLUMN instance_name &amp;nbsp; &amp;nbsp;FORMAT a13&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;COLUMN host_name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FORMAT a9&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;COLUMN failover_method &amp;nbsp;FORMAT a15&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;COLUMN failed_over &amp;nbsp; &amp;nbsp; &amp;nbsp;FORMAT a11&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;SELECT&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; instance_name&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; , host_name&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; , NULL AS failover_type&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; , NULL AS failover_method&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; , NULL AS failed_over&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;FROM v$instance&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;UNION&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;SELECT&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; NULL&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; , NULL&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; , failover_type&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; , failover_method&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; , failed_over&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;FROM v$session&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;WHERE username = 'SYSTEM';&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Check Veritas cluster file system installation&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;modinfo | grep vxfs&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cinohapdbp01sec # hastatus -summary&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-- SYSTEM STATE&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-- System &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; State &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Frozen&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;A &amp;nbsp;cinohapdbp01sec &amp;nbsp; &amp;nbsp; &amp;nbsp;RUNNING &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;A &amp;nbsp;cinohapdbp02sec &amp;nbsp; &amp;nbsp; &amp;nbsp;RUNNING &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-- GROUP STATE&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-- Group &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Probed &amp;nbsp; &amp;nbsp; AutoDisabled &amp;nbsp; &amp;nbsp;State&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;B &amp;nbsp;clustmon &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cinohapdbp01sec &amp;nbsp; &amp;nbsp; &amp;nbsp;Y &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;N &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ONLINE&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;B &amp;nbsp;clustmon &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cinohapdbp02sec &amp;nbsp; &amp;nbsp; &amp;nbsp;Y &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;N &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OFFLINE&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;B &amp;nbsp;cvm &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cinohapdbp01sec &amp;nbsp; &amp;nbsp; &amp;nbsp;Y &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;N &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ONLINE&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;B &amp;nbsp;cvm &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cinohapdbp02sec &amp;nbsp; &amp;nbsp; &amp;nbsp;Y &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;N &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ONLINE&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Check Veritas mount in the system&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;bash-3.00$ df -F vxfs&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/crslab1/oracle &amp;nbsp; &amp;nbsp;(/dev/vx/dsk/cinohapdbp01secdg/crsprod_oracle): 9530832 blocks &amp;nbsp; 148914 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/lab1/oradata/system01(/dev/vx/dsk/lab1system_dg/system01):82405744 blocks &amp;nbsp;1287565 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/lab1/oradata/recovery/redo04/lab12(/dev/vx/dsk/lab1redo_dg/redo04_2):26761600 blocks &amp;nbsp; 418136 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/lab1/oradata/recovery/redo04/lab11(/dev/vx/dsk/lab1redo_dg/redo04):26462288 blocks &amp;nbsp; 413470 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/backup/data &amp;nbsp; &amp;nbsp; &amp;nbsp; (/dev/vx/dsk/bkpdata_dg/bkpdata):459034640 blocks &amp;nbsp;7172416 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/lab1/oradata/custom01(/dev/vx/dsk/lab1custom_dg/custom01):47658544 blocks &amp;nbsp; 744638 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/lab1/oradata/data01(/dev/vx/dsk/lab1data_dg/data01):59864944 blocks &amp;nbsp; 935387 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/lab1/oradata/recovery/redo01/lab11(/dev/vx/dsk/lab1redo_dg/redo01):26446368 blocks &amp;nbsp; 413216 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/lab1/oradata/recovery/redo01/lab12(/dev/vx/dsk/lab1redo_dg/redo01_2):26705264 blocks &amp;nbsp; 417243 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/lab1/oradata/data05(/dev/vx/dsk/lab1data_dg/data05):102242272 blocks &amp;nbsp;1597506 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/lab1/oradata/data04(/dev/vx/dsk/lab1data_dg/data04):96421840 blocks &amp;nbsp;1506561 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/lab1/oradata/recovery/redo02/lab12(/dev/vx/dsk/lab1redo_dg/redo02_2):26705584 blocks &amp;nbsp; 417271 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/lab1/oradata/recovery/redo02/lab11(/dev/vx/dsk/lab1redo_dg/redo02):24309104 blocks &amp;nbsp; 379828 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/lab1/oradata/data02(/dev/vx/dsk/lab1data_dg/data02):81311632 blocks &amp;nbsp;1270493 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/lab1/oradata/data03(/dev/vx/dsk/lab1data_dg/data03):90363840 blocks &amp;nbsp;1411904 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/lab1/oradata/recovery/redo03/lab11(/dev/vx/dsk/lab1redo_dg/redo03):24426528 blocks &amp;nbsp; 381658 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/lab1/oradata/recovery/redo03/lab12(/dev/vx/dsk/lab1redo_dg/redo03_2):26761600 blocks &amp;nbsp; 418136 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/ocrvote &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (/dev/vx/dsk/ocrvotedg1/ocrvotevol): 1956522 blocks &amp;nbsp; 244564 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/lab1/oracle &amp;nbsp; &amp;nbsp; &amp;nbsp; (/dev/vx/dsk/lab1bin_dg/oracle):14202576 blocks &amp;nbsp; 221888 files&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/VRTSvcs/conf/config/main.cf&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Online redo log file&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;--------------------&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;select l.group#, thread#, member&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;from v$log l, v$logfile lf&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;where l.group#=lf.group#;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;select THREAD#,GROUPS,INSTANCE,SEQUENCE# from V$thread;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;HAPPY LEARNING!&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;Ajith Pathiyil&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-682779761057984389?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/682779761057984389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=682779761057984389' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/682779761057984389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/682779761057984389'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2011/09/rac-cheatsheet-2.html' title='RAC Cheatsheet-2'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-6488140939583960960</id><published>2011-09-08T01:34:00.000-07:00</published><updated>2011-09-08T01:34:00.073-07:00</updated><title type='text'>RAC - Issues &amp; Troubleshooting</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Whenever a node is having issues joining the cluster back post reboot, here is a quick check list I would suggest:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/var/log/messages&lt;br /&gt;&lt;br /&gt;ifconfig&lt;br /&gt;&lt;br /&gt;ip route&lt;br /&gt;&lt;br /&gt;/etc/hosts&lt;br /&gt;&lt;br /&gt;/etc/sysconfig/network-scripts/ifcfg-eth* &lt;br /&gt;&lt;br /&gt;ethtool&lt;br /&gt;&lt;br /&gt;mii-tool&lt;br /&gt;&lt;br /&gt;cluvfy&lt;br /&gt;&lt;br /&gt;$ORA_CRS_HOME/log &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Let us now take a closer look at specifc issues with examples and steps taken for their resolution.&lt;br /&gt;&lt;br /&gt;These are all tested on Oracle 10.2.0.4 database on RHEL4 U8 x-64&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. srvctl not able to start Oracle Instance but sqlplus able to start&lt;br /&gt;&lt;br /&gt;a. Check racg log for actual error message.&lt;br /&gt;&lt;br /&gt;% more $ORACLE_HOME/log/`hostname -s`/racg/ora.{DBNAME}.{INSTANCENAME}.inst.log&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;b. Check if srvctl is configured to use correct parameter file(pfile/spfile)&lt;br /&gt;&lt;br /&gt;% srvctl config database -d {DBNAME} -a&lt;br /&gt;&lt;br /&gt;You can also validate parameter file by using sqlplus to see the exact error message.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;c. Check ownership for $ORACLE_HOME/log&lt;br /&gt;&lt;br /&gt;If this is owned by root, srvctl won't be able to start instance as oracle user.&lt;br /&gt;&lt;br /&gt;# chown -R oracle:dba $ORACLE_HOME/log&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. VIP has failed over to another node but is not coming back to the original node&lt;br /&gt;&lt;br /&gt;Fix: The node where the VIP has failed over, bring it down manually as root&lt;br /&gt;&lt;br /&gt;Example: ifconfig eth0:2 down&lt;br /&gt;&lt;br /&gt;PS: Be careful to bring down only VIP. A small typo may bring down your public interface:)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. Moving OCR to a different location&lt;br /&gt;&lt;br /&gt;PS: This can be done while CRS is up as root.&lt;br /&gt;&lt;br /&gt;While trying to change ocr mirror or the ocr to a new location, ocrconfig complaints.&lt;br /&gt;&lt;br /&gt;The fix is to touch the new file.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;# ocrconfig -replace ocrmirror /crs_new/cludata/ocrfile&lt;br /&gt;&lt;br /&gt;PROT-21: Invalid parameter&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# touch /crs_new/cludata/ocrfile&lt;br /&gt;&lt;br /&gt;# chown root:dba /crs_new/cludata/ocrfile&lt;br /&gt;&lt;br /&gt;# ocrconfig -replace ocrmirror /crs_new/cludata/ocrfile&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Verify:&lt;br /&gt;&lt;br /&gt;a. Validate using "ocrcheck". Device/File Name should point to the new one with integrity check succeeded.&lt;br /&gt;&lt;br /&gt;b. Ensure OCR inventory is updated correctly&lt;br /&gt;&lt;br /&gt;# cat /etc/oracle/ocr.loc&lt;br /&gt;&lt;br /&gt;ocrconfig_loc and ocrmirrorconfig_loc should point to correct locations.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. Moving Voting Disk to a different location&lt;br /&gt;&lt;br /&gt;PS: CRS must be down while moving the voting disk.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The idea is to add new voting disks and delete the older ones.&lt;br /&gt;&lt;br /&gt;Find below sample errors and their fix.&lt;br /&gt;&lt;br /&gt;# crsctl add css votedisk /crs_new/cludata/cssfile_new&lt;br /&gt;&lt;br /&gt;Cluster is not in a ready state for online disk addition&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We need to use force option. However, before using force option, ensure CRS is down.&lt;br /&gt;&lt;br /&gt;If CRS is up, DO NOT use force option else it may corrupt your OCR.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# crsctl add css votedisk /crs_new/cludata/cssfile_new -force&lt;br /&gt;&lt;br /&gt;Now formatting voting disk: /crs_new/cludata/cssfile_new&lt;br /&gt;&lt;br /&gt;successful addition of votedisk /crs_new/cludata/cssfile_new.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Verify using "crsctl query css votedisk" and then delete the old votedisks.&lt;br /&gt;&lt;br /&gt;While deleting too, you'll need to use force option.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Also verify the permissions of the voting disk files. It should be oracle:dba&lt;br /&gt;&lt;br /&gt;If voting disks were added using root, the permission should be changed to oracle:dba&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5. Manually registering listener resource to OCR&lt;br /&gt;&lt;br /&gt;Listener was registered manually with OCR but srvctl was unable to bring up the listener&lt;br /&gt;&lt;br /&gt;Let us first see example of how to manually do this.&lt;br /&gt;&lt;br /&gt;From an existing available node, print the listener resource&lt;br /&gt;&lt;br /&gt;% crs_stat -p ora.test-server2.LISTENER_TEST-SERVER2.lsnr &amp;gt; /tmp/res&lt;br /&gt;&lt;br /&gt;% cat /tmp/res&lt;br /&gt;&lt;br /&gt;NAME=ora.test-server2.LISTENER_TEST-SERVER2.lsnr&lt;br /&gt;&lt;br /&gt;TYPE=application&lt;br /&gt;&lt;br /&gt;ACTION_SCRIPT=/orahome/ora10g/product/10.2.0/db_1/bin/racgwrap&lt;br /&gt;&lt;br /&gt;ACTIVE_PLACEMENT=0&lt;br /&gt;&lt;br /&gt;AUTO_START=1&lt;br /&gt;&lt;br /&gt;CHECK_INTERVAL=600&lt;br /&gt;&lt;br /&gt;DESCRIPTION=CRS application for listener on node&lt;br /&gt;&lt;br /&gt;FAILOVER_DELAY=0&lt;br /&gt;&lt;br /&gt;FAILURE_INTERVAL=0&lt;br /&gt;&lt;br /&gt;FAILURE_THRESHOLD=0&lt;br /&gt;&lt;br /&gt;HOSTING_MEMBERS=test-server2&lt;br /&gt;&lt;br /&gt;OPTIONAL_RESOURCES=&lt;br /&gt;&lt;br /&gt;PLACEMENT=restricted&lt;br /&gt;&lt;br /&gt;REQUIRED_RESOURCES=ora.test-server2.vip&lt;br /&gt;&lt;br /&gt;RESTART_ATTEMPTS=5&lt;br /&gt;&lt;br /&gt;SCRIPT_TIMEOUT=600&lt;br /&gt;&lt;br /&gt;START_TIMEOUT=0&lt;br /&gt;&lt;br /&gt;STOP_TIMEOUT=0&lt;br /&gt;&lt;br /&gt;UPTIME_THRESHOLD=7d&lt;br /&gt;&lt;br /&gt;USR_ORA_ALERT_NAME=&lt;br /&gt;&lt;br /&gt;USR_ORA_CHECK_TIMEOUT=0&lt;br /&gt;&lt;br /&gt;USR_ORA_CONNECT_STR=/ as sysdba&lt;br /&gt;&lt;br /&gt;USR_ORA_DEBUG=0&lt;br /&gt;&lt;br /&gt;USR_ORA_DISCONNECT=false&lt;br /&gt;&lt;br /&gt;USR_ORA_FLAGS=&lt;br /&gt;&lt;br /&gt;USR_ORA_IF=&lt;br /&gt;&lt;br /&gt;USR_ORA_INST_NOT_SHUTDOWN=&lt;br /&gt;&lt;br /&gt;USR_ORA_LANG=&lt;br /&gt;&lt;br /&gt;USR_ORA_NETMASK=&lt;br /&gt;&lt;br /&gt;USR_ORA_OPEN_MODE=&lt;br /&gt;&lt;br /&gt;USR_ORA_OPI=false&lt;br /&gt;&lt;br /&gt;USR_ORA_PFILE=&lt;br /&gt;&lt;br /&gt;USR_ORA_PRECONNECT=none&lt;br /&gt;&lt;br /&gt;USR_ORA_SRV=&lt;br /&gt;&lt;br /&gt;USR_ORA_START_TIMEOUT=0&lt;br /&gt;&lt;br /&gt;USR_ORA_STOP_MODE=immediate&lt;br /&gt;&lt;br /&gt;USR_ORA_STOP_TIMEOUT=0&lt;br /&gt;&lt;br /&gt;USR_ORA_VIP=&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Modify relevant parameters in the resource file to point to correct instance.&lt;br /&gt;&lt;br /&gt;Rename as resourcename.cap&lt;br /&gt;&lt;br /&gt;% mv /tmp/res /tmp/ora.test-server1.LISTENER_TEST-SERVER1.lsnr.cap&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Register with OCR&lt;br /&gt;&lt;br /&gt;% crs_register ora.test-server1.LISTENER_TEST-SERVER1.lsnr -dir /tmp/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Start listener&lt;br /&gt;&lt;br /&gt;% srvctl start listener -d testdb -n test-server1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;While trying to start listener, srvctl is throwing errors like "Unable to read from listener log file"&lt;br /&gt;&lt;br /&gt;The listener log file exists.&lt;br /&gt;&lt;br /&gt;If resource is registered using root, then srvctl won't be able to start using oracle user.&lt;br /&gt;&lt;br /&gt;So all the aforementioned operations while registering the listener manually should be done using oracle user.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6. Services&lt;br /&gt;&lt;br /&gt;While checking status of a service, it says "not running"&lt;br /&gt;&lt;br /&gt;If we try to start it using srvctl, the error message is "No such service exists" or "already running"&lt;br /&gt;&lt;br /&gt;If we try to add service with same name, it says "already exists"&lt;br /&gt;&lt;br /&gt;This happens because the service is in an "Unknown" state in the OCR&lt;br /&gt;&lt;br /&gt;Using crs_stat, check if any related resource for service(resource names ending with .srv and .cs) is still lying around.&lt;br /&gt;&lt;br /&gt;srvctl remove service -f has been tried and the issue persists.&lt;br /&gt;&lt;br /&gt;Here is the fix:&lt;br /&gt;&lt;br /&gt;# crs_stop -f {resourcename}&lt;br /&gt;&lt;br /&gt;# crs_unregister {resourcename}&lt;br /&gt;&lt;br /&gt;Now service can be added and started correctly.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7. Post host reboot, CRS is not starting&lt;br /&gt;&lt;br /&gt;After host reboot, CRS was not coming up. No CRS logs in $ORA_CRS_HOME&lt;br /&gt;&lt;br /&gt;Check /var/log/messages&lt;br /&gt;&lt;br /&gt;"Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.9559"&lt;br /&gt;&lt;br /&gt;No logs seen in /tmp/crsctl.*&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Run cluvfy to identify the issue&lt;br /&gt;&lt;br /&gt;$ORA_CRS_HOME/bin/cluvfy stage -post crsinst -n {nodename}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/tmp was not writable&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/etc/fstab was incorrect and was fixed for making /tmp available&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you see messages like "Shutdown CacheLocal. my hash ids don't match" in the CRS log, then&lt;br /&gt;&lt;br /&gt;check if /etc/oracle/ocr.loc is same across all nodes of the cluster.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;8. CRS binary restored by copying from existing node in the cluster&lt;br /&gt;&lt;br /&gt;CRS not starting with following messages in /var/log/messages;&lt;br /&gt;&lt;br /&gt;"Id "h1" respawning too fast: disabled for 5 minutes"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CRSD log showing "no listener"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If CRS binary is restored by copying from existing node in the cluster, then you need to ensure:&lt;br /&gt;&lt;br /&gt;a. Hostnames are modified correctly in $ORA_CRS_HOME/log&lt;br /&gt;&lt;br /&gt;b. You may need to cleanup socket files from /var/tmp/.oracle&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PS:Exercise caution while working with the socket files. If CRS is up, you should never touch those files otherwise reboot may be inevitable.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;9. CRS rebooting frequently by oprocd&lt;br /&gt;&lt;br /&gt;Check /etc/oracle/oprocd/ and grep for "Rebooting".&lt;br /&gt;&lt;br /&gt;Check /var/log/messages and grep for "restart"&lt;br /&gt;&lt;br /&gt;If the timestamps are matching, this confirms reboots are being initated by oprocd process.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;%ps -ef&lt;br /&gt;grep oprocd&lt;br /&gt;&lt;br /&gt;root 10409 9937 0 Feb27 ? 00:00:00 /oracle/product/crs/bin/oprocd.bin run -t 1000 -m 500 -f&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-t 1000 means oprocd would wake up every 1000ms&lt;br /&gt;&lt;br /&gt;-m 500 means allow upto 500ms margin of error&lt;br /&gt;&lt;br /&gt;Basically with these options if oprocd wakes up after &amp;gt; 1.5 secs it’s going to force a reboot.&lt;br /&gt;&lt;br /&gt;This is conceptually analogous to what hangcheck timer used to do pre 10.2.0.4 Oracle releases on Linux.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Fix is to set CSS diagwait to 13&lt;br /&gt;&lt;br /&gt;#crsctl set css diagwait 13 -force&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# /oracle/product/crs/bin/crsctl get css diagwait&lt;br /&gt;&lt;br /&gt;13&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This actually changes what parameters oprocd runs with&lt;br /&gt;&lt;br /&gt;%ps -ef&lt;br /&gt;grep oprocd&lt;br /&gt;&lt;br /&gt;root 10409 9937 0 Feb27 ? 00:00:00 /oracle/product/crs/bin/oprocd.bin run -t 1000 -m 10000 -hsi 5:10:50:75:90 -f&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note that the margin has now changed to 10000ms i.e 10 seconds in place of the default 0.5 seconds.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PS: Setting diagwait requires a full shutdown of Oracle Clusterware on ALL nodes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;10. Cluster hung. All SQL queries on GV$ views are hanging.&lt;br /&gt;&lt;br /&gt;Alert log from all instance have message like below:&lt;br /&gt;&lt;br /&gt;INST1: IPC Send timeout detected. Receiver ospid 1650&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;INST2:IPC Send timeout detected.Sender: ospid 24692&lt;br /&gt;&lt;br /&gt;Receiver: inst 1 binc 150 ospid 1650&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;INST3: IPC Send timeout detected.Sender: ospid 12955&lt;br /&gt;&lt;br /&gt;Receiver: inst 1 binc 150 ospid 1650&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The ospid on all instances belong to LCK0 - Lock Process&lt;br /&gt;&lt;br /&gt;In case of inter-instance lock issues, it's important to identify the instance from where it's initiating.&lt;br /&gt;&lt;br /&gt;As seen from above, INST1 is the one that needs to be fixed.&lt;br /&gt;&lt;br /&gt;Just identify the process that is causing row cache lock and kill it otherwise reboot node 1.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;11. Inconsistent OCR with invalid permissions&lt;br /&gt;&lt;br /&gt;% srvctl add db -d testdb -o /oracle/product/10.2&lt;br /&gt;&lt;br /&gt;PRKR-1005 : adding of cluster database testdb configuration failed, PROC-5: User does not have permission to perform a cluster registry operation on this key. Authentication error [User does not have permission to perform this operation] [0]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;crs_stat doesn't have any trace of it so utilities like crs_setperm/crs_unregister/crs_stop won't work in this case.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ocrdump shows:&lt;br /&gt;&lt;br /&gt;[DATABASE.LOG.testdb]&lt;br /&gt;&lt;br /&gt;UNDEF :&lt;br /&gt;&lt;br /&gt;SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_ALL_ACCESS, OTHER_PERMISSION : PROCR_READ, USER_NAME : root, GROUP_NAME : root}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[DATABASE.LOG.testdb.INSTANCE]&lt;br /&gt;&lt;br /&gt;UNDEF :&lt;br /&gt;&lt;br /&gt;SECURITY : {USER_PERMISSION : PROCR_ALL_ACCESS, GROUP_PERMISSION : PROCR_ALL_ACCESS, OTHER_PERMISSION : PROCR_READ, USER_NAME : root, GROUP_NAME : root}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;These logs are owned by root and that's the problem.&lt;br /&gt;&lt;br /&gt;This means that the resource was perhaps added into OCR using root.&lt;br /&gt;&lt;br /&gt;Though it has been removed by root but now it cannot be added by oracle user unless we get rid of the aforementioned.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Shutdown the entire cluster and either restore from previous good backup of OCR using:&lt;br /&gt;&lt;br /&gt;ocrconfig -restore backupfilename&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can get list of backups using:&lt;br /&gt;&lt;br /&gt;ocrconfig -showbackup&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you are not sure of last good backup, there you can also do the following:&lt;br /&gt;&lt;br /&gt;Take export backup of OCR using:&lt;br /&gt;&lt;br /&gt;ocrconfig -export /tmp/export -s online&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Edit /tmp/export and remove those 2 lines pointing to DATABASE.LOG.testdb and DATABASE.LOG.testdb.INSTANCE owned by root &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Import it back now&lt;br /&gt;&lt;br /&gt;ocrconfig -import /tmp/export&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After starting the cluster, verify using ocrdump.&lt;br /&gt;&lt;br /&gt;The OCRDUMPFILE should not have any trace of those leftover log entries owned by root.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-6488140939583960960?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/6488140939583960960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=6488140939583960960' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/6488140939583960960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/6488140939583960960'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2011/09/rac-issues-troubleshooting.html' title='RAC - Issues &amp; Troubleshooting'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-3572833582220904257</id><published>2011-01-10T10:51:00.000-08:00</published><updated>2011-01-10T10:51:07.628-08:00</updated><title type='text'>Self Service or DMZ Setup (from 11.5.10)</title><content type='html'>In Self Service or DMZ Setup (from 11.5.10) you might have noticed new configuration file url_fw.conf under $IAS_ORACLE_HOME/Apache/Apache/conf . In this post We’ll understand requirement of this file , building blocks of this file, mod_rewrite module of apache and regular expressions.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Overview of url_fw.conf file is required ?&lt;br /&gt;&lt;br /&gt;This file is delievered by patch 3942483 (included in 11.5.10) and called by Apache/Webserver configuration file httpd.conf .&lt;br /&gt;&lt;br /&gt;This file uses mod_rewrite module of Apache to allow/disallow URL’s matched by regular expression.&lt;br /&gt;&lt;br /&gt;What this does? - &amp;gt; This file provide extra security for DMZ or Self Service implementation accessible over internet. Only few URL’s opened/allowed by this file are accessible thus protecting secured URL which should not be accessible via internet.&lt;br /&gt;&lt;br /&gt;Why its decided to include url_fw.conf -&amp;gt; If node trust level is marked as external (Three type of Node Trust level for a node , External, Internal, Administration) then Autoconfig includes url_fw.conf file in httpd.conf&lt;br /&gt;&lt;br /&gt;What is mod_rewrite and where to get more information -&amp;gt; mod_rewrite is URL Rewrite Engine in Apache (on which Oracle-Apache or Oracle HTTP Server or Web Server in Apps). mod_rewrite is powerful tool for URL manipulation like to&lt;br /&gt;&lt;br /&gt;- Restrict Access to directories and files&lt;br /&gt;&lt;br /&gt;- Conditional redirection of access&lt;br /&gt;&lt;br /&gt;- Relocating Servers, File System or Directories&lt;br /&gt;&lt;br /&gt;- Regeneration of static pages based on HTTP Header Variable&lt;br /&gt;&lt;br /&gt;For more information on mod_rewrite module of apache visit http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html&lt;br /&gt;&lt;br /&gt;How to debug mod_rewite issues ?&lt;br /&gt;&lt;br /&gt;If you think some of URL’s (complete url or partial - gif, jpg, html or jsp file) are blocked by above URL Firewall and you wish to know which file is blocked , you can enable logging by adding following directive in url_fw.conf&lt;br /&gt;&lt;br /&gt;RewriteLog “/your_log_directory/rewrite.log”&lt;br /&gt;&lt;br /&gt;RewriteLogLevel 7&lt;br /&gt;&lt;br /&gt;By default logging is disabled , logLevel value is from 0-10 (0 means no logging and 10 is log everything which records all steps mod_rewrite is doing in background) a sensible value is 6 or 7 and you will see in log what URL is blocked and by what rule; so that if you think user should have access to that URL you can grant access on that resource by adding new rule in url_fw.conf&lt;br /&gt;&lt;br /&gt;Sample url_fw.conf value and its meaning -&lt;br /&gt;&lt;br /&gt;RewriteRule ^/$ /OA_HTML/AppsLocalLogin.jsp [R,L]&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;RewriteRule ^/OA_HTML/jsp/fnd/fndhelp.jsp$ - [L]&lt;br /&gt;&lt;br /&gt;Here first rule is saying that when user type / i.e. after hostname , domainname and port number and then /; redirect user to /OA_HTML/AppsLocalLogin.jsp and stop applying any rewrite rule after that.&lt;br /&gt;&lt;br /&gt;In second rule; - which means don’t do any thing and present User same url as mentioned in left side i.e. /OA_HTML/jsp/fnd/fndhelp.jsp&lt;br /&gt;&lt;br /&gt;here [R,L] in end &lt;br /&gt;&lt;br /&gt;R- Means Rewrite&lt;br /&gt;&lt;br /&gt;L - Last rewrite rule (No more rule to apply after this)&lt;br /&gt;&lt;br /&gt;In order to understand above rules , you should know regular expression and here few tips/meta characters on regular expressions&lt;br /&gt;&lt;br /&gt;1) . (dot) means matches any characters&lt;br /&gt;&lt;br /&gt;2) [] specifies a class&lt;br /&gt;&lt;br /&gt;i.e.&lt;br /&gt;&lt;br /&gt;—&amp;gt; [a-z] matches any lower case characters from a to z&lt;br /&gt;&lt;br /&gt;—&amp;gt;[a-zA-Z0-9] matches any character upper or lower case from a to z and numeric 0 to 9&lt;br /&gt;&lt;br /&gt;—&amp;gt; [abc$] matches a or b or c or $&lt;br /&gt;&lt;br /&gt;—&amp;gt; [^0-9] matches anything except digit 0 to 9 . Here ^ is negation&lt;br /&gt;&lt;br /&gt;Meta Characters in Regular Expressions&lt;br /&gt;&lt;br /&gt;^ -&amp;gt; Matches Start of a line&lt;br /&gt;&lt;br /&gt;$ -&amp;gt; Matches End of line&lt;br /&gt;&lt;br /&gt;like&lt;br /&gt;&lt;br /&gt;^appsdba -&amp;gt; Matches any line starting with appsdba&lt;br /&gt;&lt;br /&gt;appsdba$ -&amp;gt; Matches any line ending with appsdba&lt;br /&gt;&lt;br /&gt;^appsdba$ -&amp;gt; Matches any line which consist of just one word appsdba&lt;br /&gt;&lt;br /&gt;Quantifiers for Characters&lt;br /&gt;&lt;br /&gt;–&amp;gt; ? matches zero or one instance of character&lt;br /&gt;&lt;br /&gt;–&amp;gt; + matches one or more instance of character&lt;br /&gt;&lt;br /&gt;–&amp;gt; * matches zero or more instance of character&lt;br /&gt;&lt;br /&gt;For Example&lt;br /&gt;&lt;br /&gt;appsdba? matches appsdb or appsdba&lt;br /&gt;&lt;br /&gt;appasdba+ matches appsdba, appsdbaa, appsdbaaa and so on&lt;br /&gt;&lt;br /&gt;appsdba* matches appsdb, appsdba, appsdbaa, appsdbaaa and so on&lt;br /&gt;&lt;br /&gt;Few error messages related to URL Firewall are&lt;br /&gt;&lt;br /&gt;– Access to requested URL has been blocked by the url firewall&lt;br /&gt;&lt;br /&gt;– Gone URL you are looking for is blocked by url Firewall&lt;br /&gt;&lt;br /&gt;– Error in opening up attachments or date picker in iStore, iRec, iProc&lt;br /&gt;&lt;br /&gt;– FW-1 at Firewall-2: Access denied&lt;br /&gt;&lt;br /&gt;For more information on DMZ and E-Business Suite visit Steven Chan’s post at&lt;br /&gt;&lt;br /&gt;http://blogs.oracle.com/schan/2006/05/17&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HAPPY LEARNING!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-3572833582220904257?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/3572833582220904257/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=3572833582220904257' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/3572833582220904257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/3572833582220904257'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2011/01/self-service-or-dmz-setup-from-11510.html' title='Self Service or DMZ Setup (from 11.5.10)'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-337051522827262823</id><published>2011-01-10T10:31:00.000-08:00</published><updated>2011-01-10T10:47:03.515-08:00</updated><title type='text'></title><content type='html'>Oracle E –Business suite 11.5.10.2 Database upgradation from 10.2.01. to 10.2.0.2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;1. Introduction&lt;br /&gt;&lt;br /&gt;Upgrading from Oracle database from 10.2.0.1 to 10.2.0.2 on Sun OS using DBUA is as we upgrade on other platforms using DBUA on other platforms. Following are the differences in various platforms&lt;br /&gt;&lt;br /&gt;• Setting operating system parameters like kernel configuration, &lt;br /&gt;&lt;br /&gt;• Checking memory, &lt;br /&gt;&lt;br /&gt;• Disks and other resources.&lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;2. Assumption&lt;br /&gt;&lt;br /&gt;• The Sun Solaris (UNIX) Operating System is installed on the Sun Solaris Hardware with all the required resources.&lt;br /&gt;&lt;br /&gt;• All the required file systems are created with sufficient disk space as required for Oracle Applications Software and Database.&lt;br /&gt;&lt;br /&gt;• The Staging area for Oracle Database is created&lt;br /&gt;&lt;br /&gt;• Application DBA performing installation has a graphical interface with the Sun OS system. We are going to use xmanger 2.0 software for accessing the Sun OS from remote client.&lt;br /&gt;&lt;br /&gt;• The openwin - xterm process is running on the server.&lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;3 Pre – Requisite&lt;br /&gt;&lt;br /&gt;Before Starting Upgrading process we have to apply two important patches in the Source&lt;br /&gt;&lt;br /&gt;1. 10g Release 2 interoperability patch for 11.5.10 (4653225)&lt;br /&gt;&lt;br /&gt;2. 5478710 (TXK (FND &amp;amp; ADX) AUTOCONFIG ROLLUP PATCH O&lt;br /&gt;&lt;br /&gt;Refer Metalink Note 362203.1&lt;br /&gt;&lt;br /&gt;4. Creating Staging Area on the Server&lt;br /&gt;&lt;br /&gt;Staging Area is an area from where you will stage the Oracle 10GR2/Companion Software and run the installation program. Staging area for Oracle 10GR2 requires around 3-4 GB of disk space.&lt;br /&gt;&lt;br /&gt;Mount the DVD’s of Oracle 10GR2/Download from oracle websites otn.oracle.com on the server and copy the DVD’s in the staging location.&lt;br /&gt;&lt;br /&gt;Create directories named as the stage (this you can get from the DVD’s component.label file).&lt;br /&gt;&lt;br /&gt;Copy all the DVD’s of similar components in same stage area.&lt;br /&gt;&lt;br /&gt;Stage No. of DVD’s DVD Contents&lt;br /&gt;&lt;br /&gt;Oracle11 Software 1 Disk1 /d33/stage&lt;br /&gt;&lt;br /&gt;Oracle Companion 1 Disk2 d33/stage /stage1&lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;5. Checking the Sun Operating System&lt;br /&gt;&lt;br /&gt;System and hardware Configuration:&lt;br /&gt;&lt;br /&gt;Hardware Status: sun4 (UNIX command; ‘arch’)&lt;br /&gt;&lt;br /&gt;Operating System: SunOS 5.11 Generic sun4u sparc SUNW, Sun-Fire-V240 (UNIX command; ‘uname –a’).&lt;br /&gt;&lt;br /&gt;CPU: 2 CPU’s. Each having the sparcv9 processor operates at 1503 MHz and has a sparcv9 floating point processor (UNIX command; ‘psrinfo –v’).&lt;br /&gt;&lt;br /&gt;Memory size: 5120 Megabytes (UNIX command; ‘prtconf &lt;br /&gt;grep size’).&lt;br /&gt;&lt;br /&gt;Swap Total: (45440k bytes allocated + 4032k reserved = 49472k used) 14468936k available, i.e., 14GB (UNIX command; ‘swap –s’).&lt;br /&gt;&lt;br /&gt;Check file System mounted and its respective size (UNIX command; ‘df -h’).&lt;br /&gt;&lt;br /&gt;6. Create base directories for Oracle 10GR2 installation&lt;br /&gt;&lt;br /&gt;From the mounted file system decide which file system will hold the database tier&lt;br /&gt;&lt;br /&gt;For Ex:&lt;br /&gt;&lt;br /&gt;/d35 – 32 GB – Oracle 10G Database Software (ORACLE_10GHOME RDBMS,)Create directory “/d35/ora10G/10.2.0”&lt;br /&gt;&lt;br /&gt;7. Create OS group and Users and granting required privileges and file permissions&lt;br /&gt;&lt;br /&gt;Create operating system group “DBA” and OS users “ora10G” for database tier . Note that we are planning to upgrade database tier owned by “oracle” user but both on the same host / system. But new Oracle_10G Home owner and source Oracle_9i Home owner should fall under same group.&lt;br /&gt;&lt;br /&gt;Check the group created in “/etc/group”&lt;br /&gt;&lt;br /&gt;# cat /etc/group &lt;br /&gt;grep dba&lt;br /&gt;&lt;br /&gt;dba::110:&lt;br /&gt;&lt;br /&gt;Create Unix Users “oracle ”&lt;br /&gt;&lt;br /&gt;Add these lines in “/etc/passwd” file:&lt;br /&gt;&lt;br /&gt;ora10G:x:113:110::/orahome/ora10g:/bin/sh&lt;br /&gt;&lt;br /&gt;Add these lines in “/etc/shadow” file:&lt;br /&gt;&lt;br /&gt;Ora10g:30oQlK30ch6xY:13187::::::&lt;br /&gt;&lt;br /&gt;Note that the user id is always unique and also the home directory given is the base directory as created above.&lt;br /&gt;&lt;br /&gt;Give ownership of “/d35/ora10G” to “ora10G” .&lt;br /&gt;&lt;br /&gt;# chown -R ora10G:dba /d35/ora10G&lt;br /&gt;&lt;br /&gt;# ls -lrt /d35&lt;br /&gt;&lt;br /&gt;/u01:&lt;br /&gt;&lt;br /&gt;total 18&lt;br /&gt;&lt;br /&gt;drwx—— 2 root root 8192 Jan 13 13:16 lost+found&lt;br /&gt;&lt;br /&gt;drwxr-xr-x 2 oracle dba 512 Jan 23 12:34 ora10G&lt;br /&gt;&lt;br /&gt;Give full file permissions on the staging area of Oracle Applications. Give “777” privileges on the staging area. Some unzip files are not able to get unzipped and then the installation gives error.&lt;br /&gt;&lt;br /&gt;# pwd&lt;br /&gt;&lt;br /&gt;/u06/stage&lt;br /&gt;&lt;br /&gt;# ls&lt;br /&gt;&lt;br /&gt;install runInstaller stage1&lt;br /&gt;&lt;br /&gt;doc response stage welcome.html&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;# chmod -R 777 *&lt;br /&gt;&lt;br /&gt;# pwd&lt;br /&gt;&lt;br /&gt;/u06/stage&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;8. Universal Installer&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;9. Starting the X Windows session&lt;br /&gt;&lt;br /&gt;Login to Server from a graphical interface console.&lt;br /&gt;&lt;br /&gt;We are using Xmanager2.0 software for Oracle Universal Install and DBUA.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_-_hPD20HpD4/TStPo3DF8iI/AAAAAAAAA6c/HXblls8ZTmM/s1600/00.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="180" n4="true" src="http://4.bp.blogspot.com/_-_hPD20HpD4/TStPo3DF8iI/AAAAAAAAA6c/HXblls8ZTmM/s320/00.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Go to option and select -&amp;gt;Session-&amp;gt;Java Desktop System 3 &lt;br /&gt;&lt;br /&gt;Environment settings&lt;br /&gt;&lt;br /&gt;Logged in as “ora10G” and set the profile Example ORACLE_BASE=/d35/test/v10G;export ORACLE_BASEORACLE_HOME=$ORACLE_BASE/10.2.0; export ORACLE_HOMEORACLE_SID=PATCH ; export ORACLE_SIDLD_LIBRARY_PATH=$ORACLE_HOME/lib ; export LD_LIBRARY_PATHPATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin:$ORACLE_HOME/bin ; export PATHVerify the profile using $ env&lt;br /&gt;more Check the inventory_loc in Sun Solaris it is located in /var/opt/oracle/oraInst.loc change the inventory location Check the oratab file in Sun Solaris it is located in /var/opt/oracle/oratab and comment the source instance because we are following the same ORACLE_SID for new ORACLE_10G .Example is below :- #v1:/d35/oracle/v1db/9.2.0:N&lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;9.1 Starting Oracle 10G Software Installation.&lt;br /&gt;&lt;br /&gt;Go to”/d33/stage” and execute “./runInstaller” command. The “Oracle 10g Database Installation Screen will Appear”.&lt;br /&gt;&lt;br /&gt;In this screen change Global Database Name and enter password click Next.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_-_hPD20HpD4/TStPweM9pXI/AAAAAAAAA6g/tCP2m5FejWk/s1600/1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="301" n4="true" src="http://1.bp.blogspot.com/_-_hPD20HpD4/TStPweM9pXI/AAAAAAAAA6g/tCP2m5FejWk/s400/1.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;9.2 Product Specific Prerequisite Checks&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;In “Product Specific Prerequisite Checks” Click Next . If any errors or warning appears rectify an proceed&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_-_hPD20HpD4/TStPycdVduI/AAAAAAAAA6k/6KTIIlY-ARI/s1600/2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="297" n4="true" src="http://4.bp.blogspot.com/_-_hPD20HpD4/TStPycdVduI/AAAAAAAAA6k/6KTIIlY-ARI/s400/2.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;.&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;9.3 Configuration Options&lt;br /&gt;&lt;br /&gt;Select “Install Database Software Only ” and click “Next”.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_-_hPD20HpD4/TStQxSxmluI/AAAAAAAAA6o/n2RqR8J20aw/s1600/3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="296" n4="true" src="http://1.bp.blogspot.com/_-_hPD20HpD4/TStQxSxmluI/AAAAAAAAA6o/n2RqR8J20aw/s400/3.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;9.4 Oracle Universal Installer Summary&lt;br /&gt;&lt;br /&gt;In the “Oracle Universal Installer Summary” screen accept the default and click “Install ”.&lt;br /&gt;&lt;br /&gt;9.5 Install&lt;br /&gt;&lt;br /&gt;In “Install” You have to monitor the log file. The log file location has been highlighted in the screen.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_-_hPD20HpD4/TStRBIN-RII/AAAAAAAAA6s/SSTnwkAw8kg/s1600/4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="296" n4="true" src="http://1.bp.blogspot.com/_-_hPD20HpD4/TStRBIN-RII/AAAAAAAAA6s/SSTnwkAw8kg/s400/4.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;9.6 Execute Configuration Scripts&lt;br /&gt;&lt;br /&gt;In “Configuration Scripts” screen select “ok” and follow the instruction the screen.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_-_hPD20HpD4/TStRUvJJ5YI/AAAAAAAAA6w/TYJk2ltV7mo/s1600/5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="250" n4="true" src="http://4.bp.blogspot.com/_-_hPD20HpD4/TStRUvJJ5YI/AAAAAAAAA6w/TYJk2ltV7mo/s400/5.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;9.7 End of Installation&lt;br /&gt;&lt;br /&gt;In the “End of Installation” Screen click Exit&lt;br /&gt;&lt;br /&gt;9.8 Oracle 10G Companion Software Installation&lt;br /&gt;&lt;br /&gt;Go to”/d33/stage/stage1” and execute “./runInstaller” command. In the welcome screen click next&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_-_hPD20HpD4/TStRqI8-rcI/AAAAAAAAA60/-5N5sdM_TV0/s1600/6.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="296" n4="true" src="http://3.bp.blogspot.com/_-_hPD20HpD4/TStRqI8-rcI/AAAAAAAAA60/-5N5sdM_TV0/s400/6.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;9.9 Select Product to Install&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_-_hPD20HpD4/TStR3Y16OUI/AAAAAAAAA64/POtGxI1ZGKU/s1600/7.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="296" n4="true" src="http://1.bp.blogspot.com/_-_hPD20HpD4/TStR3Y16OUI/AAAAAAAAA64/POtGxI1ZGKU/s400/7.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;9.10 Specify Home Details&lt;br /&gt;&lt;br /&gt;In the “Specify home Details” screen update the details as required and click “Next”.&lt;br /&gt;&lt;br /&gt;9.11 Product Specific Prerequisite Checks&lt;br /&gt;&lt;br /&gt;In “Product Specific Prerequisite Checks” Click Next. If any errors or warning appears rectify and proceed.&lt;br /&gt;&lt;br /&gt;9.12 Oracle Universal Installer Summary&lt;br /&gt;&lt;br /&gt;In the “Oracle Universal Installer Summary” screen accept the default and click “Install”.&lt;br /&gt;&lt;br /&gt;9.13 End of Installation&lt;br /&gt;&lt;br /&gt;In the “End of Installation” Screen click Exit.&lt;br /&gt;&lt;br /&gt;9.14 Post Install Checks Check the log file for any errors .Login as Oracle 10G_home owner and check whether you are able to connect as sys $ sqlplus “/as sysdba”&lt;br /&gt;&lt;br /&gt;you will get the follwing output $ sqlplus “/as sysdba” SQL*Plus: Release 10.2.0.1.0 - Production on Wed May 23 13:19:31 2007 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to an idle instance:Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit ProductionWith the Partitioning, OLAP and Data Mining options SQL&amp;gt; &lt;br /&gt;&lt;br /&gt;9.15 Before you Begin Up gradation in Source Database &lt;br /&gt;&lt;br /&gt;a. Log in to the system as the owner of the new 10gR2 ORACLE_HOME and copy the following files from the 10gR2 ORACLE_HOME/rdbms/admin directory to a directory outside of the Oracle home, such as the /tmp directory on your system: ORACLE_HOME/rdbms/admin/utlu102i.sql ORACLE_HOME/rdbms/admin/utltzuv2.sql Make a note of the new location of these files. &lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;b. Login as ORACLE_SOURCE home owner. Go to /var/opt/oracle/oratab remove the comment and startup the database. Now you connect as sys owner from location where you have copied utlu102i.sql and utltzuv2.sql in sqlplus $ sqlplus “/as sysdba” SQL&amp;gt;@ utlu102i.sqlSQL&amp;gt; spool off &lt;br /&gt;&lt;br /&gt;c. The above sql generate output file called updatelog.lst review the output made the changes accordingly in target init.ora .SQL&amp;gt;@ utltzuv2.sqlSQL&amp;gt; spool off The above sql generate output file called timezone.log review the output and change accordingly . &lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;d. Check for the deprecated CONNECT Role After upgrading to 10gR2, the CONNECT role will only have the CREATE SESSIONprivilege; the other privileges granted to the CONNECT role in earlier releases will be revoked during the upgrade. &lt;br /&gt;&lt;br /&gt;To identify which users and roles in your database are granted the CONNECT role, use the following query: &lt;br /&gt;&lt;br /&gt;SELECT grantee FROM dba_role_privs &lt;br /&gt;&lt;br /&gt;WHERE granted_role = ‘CONNECT’ and grantee NOT IN ( ‘SYS’, ‘OUTLN’, ‘SYSTEM’, ‘CTXSYS’, ‘DBSNMP’, ‘LOGSTDBY_ADMINISTRATOR’, ‘ORDSYS’, ‘ORDPLUGINS’, ‘OEM_MONITOR’, ‘WKSYS’, ‘WKPROXY’, ‘WK_TEST’, ‘WKUSER’, ‘MDSYS’, ‘LBACSYS’, ‘DMSYS’, ‘WMSYS’, ‘OLAPDBA’, ‘OLAPSVR’, ‘OLAP_USER’, ’OLAPSYS’, ‘EXFSYS’, ‘SYSMAN’, ‘MDDATA’, ’SI_INFORMTN_SCHEMA’, ‘XDB’, ‘ODM’); &lt;br /&gt;&lt;br /&gt;If users or roles require privileges other than CREATE SESSION, then grant the specific required privileges prior to upgrading. The upgrade scripts adjust the privilegesfor the Oracle-supplied users.&lt;br /&gt;&lt;br /&gt;. &lt;br /&gt;&lt;br /&gt;e. In Oracle 9.2.x and 10.1.x CONNECT role includes the following privileges: &lt;br /&gt;&lt;br /&gt;SELECT GRANTEE,PRIVILEGE FROM DBA_SYS_PRIVSWHERE GRANTEE=’CONNECT’ ;&lt;br /&gt;&lt;br /&gt;GRANTEE PRIVILEGE—————————— —————————CONNECT CREATE VIEWCONNECT CREATE TABLECONNECT ALTER SESSIONCONNECT CREATE CLUSTERCONNECT CREATE SESSIONCONNECT CREATE SYNONYMCONNECT CREATE SEQUENCECONNECT &lt;br /&gt;&lt;br /&gt;CREATE DATABASE LINK In Oracle 10.2 the CONNECT role only includes CREATE SESSION privilege. &lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;f. Create the script for dblink incase of downgrade of the database. During the upgrade to 10gR2, any passwords in database links will be encrypted. To downgrade back to the original release, all of the database links with encrypted passwords must be dropped prior to the downgrade. Consequently, the database links will not exist in the downgraded database. If you anticipate a requirement to be able to downgrade back to your original release, then save the information about affected database links from the SYS.LINK$ table, so that you can recreate the database links after the downgrade. &lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;g. Following script can be used to construct the dblink. &lt;br /&gt;&lt;br /&gt;SELECT‘create ‘&lt;br /&gt;&lt;br /&gt;DECODE(U.NAME,’PUBLIC’,'public ‘)&lt;br /&gt;&lt;br /&gt;’database link ‘&lt;br /&gt;&lt;br /&gt;CHR(10)&lt;br /&gt;&lt;br /&gt;DECODE(U.NAME,’PUBLIC’,Null, U.NAME&lt;br /&gt;&lt;br /&gt;’.')&lt;br /&gt;&lt;br /&gt;L.NAME&lt;br /&gt;&lt;br /&gt;chr(10) &lt;br /&gt;&lt;br /&gt;’connect to ‘ &lt;br /&gt;&lt;br /&gt;L.USERID &lt;br /&gt;&lt;br /&gt;‘ identified by ”’&lt;br /&gt;&lt;br /&gt;L.PASSWORD&lt;br /&gt;&lt;br /&gt;”’ using ”’ &lt;br /&gt;&lt;br /&gt;L.host &lt;br /&gt;&lt;br /&gt;”” &lt;br /&gt;&lt;br /&gt;chr(10)&lt;br /&gt;&lt;br /&gt;’;’ TEXTFROM sys.link$ L, sys.user$ UWHERE L.OWNER# = U.USER# ; &lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;h. Check the invalid objects in source instance using the following qyery :-&lt;br /&gt;&lt;br /&gt;spool invalid_pre.lstselect substr(owner,1,12) owner, substr(object_name,1,30) object, substr(object_type,1,30) type, status from dba_objects where status &amp;lt;&amp;gt;’VALID’; &lt;br /&gt;&lt;br /&gt;spool off &lt;br /&gt;&lt;br /&gt;Compile all the invalid objects using Run the following script and then requery invalid objects: This script must be run as a user with SYSDBA privs using SQL*Plus:&lt;br /&gt;&lt;br /&gt;$ cd $ORACLE_HOME/rdbms/admin&lt;br /&gt;&lt;br /&gt;$ sqlplus ‘/as sysdba’&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; @utlrp.sql &lt;br /&gt;&lt;br /&gt;Even compile all the objects using Adamin utility of Oracle E –Business Suit . &lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;i. Take Complete Backup of source Application and Database &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;9.16 Copy the Important Parameter files&lt;br /&gt;&lt;br /&gt;a. Login to Source ORACLE_HOME $ cd $ORACLE_HOME/dbsCopy init&lt;sid&gt;.ora to target ORACLE_10G home $ORACLE_HOME/network &lt;br /&gt;&lt;br /&gt;Copy tnsnames.ora and listener.ora to target TNS_ADMIN directory &lt;br /&gt;&lt;br /&gt;b. Made changes in init&lt;sid&gt;.ora and the changes which was suggested by the utlu102i.sql output.c. Made changes in Tnsanames.ora and Listener.ora as per situation. &lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;10. Database Upgrade Assistant &lt;br /&gt;&lt;br /&gt;Login to Xsession again as target Oracle_10g home owner &lt;br /&gt;&lt;br /&gt;$cd $ORACLE_HOME/bin $./dbua &lt;br /&gt;&lt;br /&gt;10.1 Database Upgrade Assistant Welcome Screen&lt;br /&gt;&lt;br /&gt;In the “Database Upgrade Assistant Welcome Screen” Click Next &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_-_hPD20HpD4/TStR8cd03pI/AAAAAAAAA7A/er7QvhKCRvc/s1600/8.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="288" n4="true" src="http://2.bp.blogspot.com/_-_hPD20HpD4/TStR8cd03pI/AAAAAAAAA7A/er7QvhKCRvc/s400/8.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;10.2 Database Upgrade Assistant Steps 1&lt;br /&gt;&lt;br /&gt;In “Database Upgrade Assistant” choose the proper source database click Next&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_-_hPD20HpD4/TStTDS5l31I/AAAAAAAAA7g/e8rii1Qu85s/s1600/9.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_-_hPD20HpD4/TStTFde4hYI/AAAAAAAAA7k/xEXJMe-1Pkk/s1600/11.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_-_hPD20HpD4/TStTJJ6bxfI/AAAAAAAAA7o/fykWO43iDVs/s1600/12.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;10.3 Database Upgrade Assistant Steps 2&lt;br /&gt;&lt;br /&gt;In “Database Upgrade Assistant Steps 2 “ It will take 20 to 30 minutes to get the database information and then click Next. &lt;br /&gt;&lt;br /&gt;10.4 Database Upgrade Assistant Steps 3&lt;br /&gt;&lt;br /&gt;In the “Database Upgrade Assistant Steps 3” Click Yes &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_-_hPD20HpD4/TStTDS5l31I/AAAAAAAAA7g/e8rii1Qu85s/s1600/9.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="276" n4="true" src="http://4.bp.blogspot.com/_-_hPD20HpD4/TStTDS5l31I/AAAAAAAAA7g/e8rii1Qu85s/s400/9.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;10.5 Database Upgrade Assistant Steps 4&lt;br /&gt;&lt;br /&gt;In the “Database Upgrade Assistant Steps 4” Change the datafile location according to requirement Click Next &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_-_hPD20HpD4/TStTFde4hYI/AAAAAAAAA7k/xEXJMe-1Pkk/s1600/11.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="288" n4="true" src="http://1.bp.blogspot.com/_-_hPD20HpD4/TStTFde4hYI/AAAAAAAAA7k/xEXJMe-1Pkk/s400/11.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;10.6 Database Upgrade Assistant Steps 5&lt;br /&gt;&lt;br /&gt;Compile invalid Objects&lt;br /&gt;&lt;br /&gt;In the “Database Upgrade Assistant Steps 5 Compile Invalid Objects” Select Degree of Parallelism. Degree of Parallelism depend on Number of CPU. &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_-_hPD20HpD4/TStTJJ6bxfI/AAAAAAAAA7o/fykWO43iDVs/s1600/12.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="296" n4="true" src="http://2.bp.blogspot.com/_-_hPD20HpD4/TStTJJ6bxfI/AAAAAAAAA7o/fykWO43iDVs/s400/12.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;10.7 Database Upgrade Assistant Steps 6&lt;br /&gt;&lt;br /&gt;In “Database Upgrade Assistant Steps 6” Select “I have already backed up my database”&lt;br /&gt;&lt;br /&gt;And click Next &lt;br /&gt;&lt;br /&gt;10.8 Database Upgrade Assistant Steps 7 Database Credentials&lt;br /&gt;&lt;br /&gt;In “Database Upgrade Assistant Steps 7 Database Credentials” Enter password and click Next&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_-_hPD20HpD4/TStTvytC6CI/AAAAAAAAA7s/zPNtj36yRnA/s1600/13.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="277" n4="true" src="http://4.bp.blogspot.com/_-_hPD20HpD4/TStTvytC6CI/AAAAAAAAA7s/zPNtj36yRnA/s400/13.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_-_hPD20HpD4/TStTzeDk8rI/AAAAAAAAA7w/Ppo0DhoIZKY/s1600/14.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_-_hPD20HpD4/TStT042PlTI/AAAAAAAAA70/tjUCW9EYHCM/s1600/15.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_-_hPD20HpD4/TStT1wn9ITI/AAAAAAAAA74/S5b8_IKIU9M/s1600/16.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;10.9 Database Upgrade Assistant Steps 7 of 7 Summary&lt;br /&gt;&lt;br /&gt;In “Database Upgrade Assistant Steps 7 of 7 Summary” Click Finish &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_-_hPD20HpD4/TStTzeDk8rI/AAAAAAAAA7w/Ppo0DhoIZKY/s1600/14.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="280" n4="true" src="http://2.bp.blogspot.com/_-_hPD20HpD4/TStTzeDk8rI/AAAAAAAAA7w/Ppo0DhoIZKY/s400/14.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;10.10 Database Upgrade Assistant Progress&lt;br /&gt;&lt;br /&gt;Now its time to monitor log file &lt;br /&gt;&lt;br /&gt;End of Database Upgrade Assistant&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_-_hPD20HpD4/TStT042PlTI/AAAAAAAAA70/tjUCW9EYHCM/s1600/15.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="262" n4="true" src="http://2.bp.blogspot.com/_-_hPD20HpD4/TStT042PlTI/AAAAAAAAA70/tjUCW9EYHCM/s400/15.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;11a Errors Encountered and the Solution &lt;br /&gt;&lt;br /&gt;a. While running runInstaller Script encountered the following errors :- ./runInstaller: /backup/database/install/.oui: cannot execute This error was due to bad media, So I downloaded following files from otn.oracle.com&lt;br /&gt;&lt;br /&gt;1. 10Gr2_db_sol.cpio (Oracle 10GR2 Software ) &lt;br /&gt;&lt;br /&gt;2. 10Gr2_companion_sol.cpio (Oracle Companion Software) &lt;br /&gt;&lt;br /&gt;Create Stage directory in any mount point give e.g. /d33/stage 777 permission to that directory # cat 10Gr2_db_sol.cpio &lt;br /&gt;cpio –icd &lt;enter&gt;&lt;br /&gt;&lt;br /&gt;It will extract entire software under stage directory. &lt;br /&gt;&lt;br /&gt;Create Stage1 directory under stage directory e.g. d33/stage /stage1 give 777 permission to that directory &lt;br /&gt;&lt;br /&gt;# cat 10Gr2_companion_sol.cpio &lt;br /&gt;cpio –icd &lt;enter&gt;&lt;br /&gt;&lt;br /&gt;It will extract entire software under stage directory. &lt;br /&gt;&lt;br /&gt;b. While Running DBUA I have found the following errors :-&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_-_hPD20HpD4/TStT1wn9ITI/AAAAAAAAA74/S5b8_IKIU9M/s1600/16.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="250" n4="true" src="http://2.bp.blogspot.com/_-_hPD20HpD4/TStT1wn9ITI/AAAAAAAAA74/S5b8_IKIU9M/s400/16.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is due to target and the source database owner is not in same group&lt;br /&gt;&lt;br /&gt;Login as root; Example source oracle database owner group is dba , so change it accordingly .&lt;br /&gt;&lt;br /&gt;# usermod -g dba ora10g&lt;br /&gt;&lt;br /&gt;Login as ora10g owner and execute the following command&lt;br /&gt;&lt;br /&gt;$cd $ORACLE_HOME&lt;br /&gt;&lt;br /&gt;$ ls -l `find . ! -user ora10g`&lt;br /&gt;&lt;br /&gt;In my system it gave the following output&lt;br /&gt;&lt;br /&gt;-rwsr-x— 1 root dba 69028 2006-07-17 21:20 ./bin/extjob*&lt;br /&gt;&lt;br /&gt;-rwsr-s— 1 root dba 18845 2006-06-21 09:13 ./bin/nmb*&lt;br /&gt;&lt;br /&gt;-rwsr-s— 1 root dba 19999 2006-06-21 09:13 ./bin/nmo*&lt;br /&gt;&lt;br /&gt;-r-sr-s— 1 root dba 14456 2006-02-04 21:57 ./bin/oradism*&lt;br /&gt;&lt;br /&gt;-rw-r—– 1 root dba 1534 2005-12-22 13:39 ./rdbms/admin/externaljob.ora&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Change ownership to the Oracle_10g Home using following command&lt;br /&gt;&lt;br /&gt;#chown –R ora10g:dba /&lt;location&gt; (Loging as Oracle_10g home owner) example ora10g&lt;br /&gt;&lt;br /&gt;$ cd $ORACLE_HOME/rdbms/lib&lt;br /&gt;&lt;br /&gt;$mv config.o config.o.bkpEdit config.s file&lt;br /&gt;&lt;br /&gt;and change the lines /* 0×0008 15 */ .ascii “v2dba”/* 0×0014 20 */ .align 8.L13:/* 0×0014 22 */ .ascii “v2dba”to/* 0×0008 15 */ .ascii “dba”/* 0×0014 20 */ .align 8 .L13:/* 0×0014 22 */ .ascii “dba”$Edit env_rdbms.mk From : KPIC_OPTION=-K PICTo : KPIC_OPTION=-xarch=v9 -K PIC$ make -f ins_rdbms.mk config.o ioracleIt has solved the problem &lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;14. Summary&lt;br /&gt;&lt;br /&gt;In this document we have covered:&lt;br /&gt;&lt;br /&gt;1. Preparing the Sun Solaris system for Oracle 10GR2 Up gradation .&lt;br /&gt;&lt;br /&gt;2. Creating Staging Area of Oracle 10GR2 Software.&lt;br /&gt;&lt;br /&gt;3. Installing Oracle 10GR2 along with Companion Products on Sun Solaris Server.&lt;br /&gt;&lt;br /&gt;4. Upgrading Oracle Database from 9.2.0.6 to 10GR2&lt;br /&gt;&lt;br /&gt;15. References&lt;br /&gt;&lt;br /&gt;Oracle Metalink: https://metalink.oracle.com &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HAPPY LEARNING!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img height="71" src="http://4.bp.blogspot.com/_-_hPD20HpD4/TStPycdVduI/AAAAAAAAA6k/6KTIIlY-ARI/s320/2.jpg" style="filter: alpha(opacity=30); left: 191px; mozopacity: 0.3; opacity: 0.3; position: absolute; top: 4587px;" width="96" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-337051522827262823?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/337051522827262823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=337051522827262823' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/337051522827262823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/337051522827262823'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2011/01/oracle-e-business-suite-11.html' title=''/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_-_hPD20HpD4/TStPo3DF8iI/AAAAAAAAA6c/HXblls8ZTmM/s72-c/00.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-6541687004472991512</id><published>2010-10-09T00:22:00.000-07:00</published><updated>2010-10-09T00:23:58.415-07:00</updated><title type='text'>SGA &amp; Hugepages Myth</title><content type='html'>Hi All,&lt;br /&gt;&lt;br /&gt;I'd like to shed some light on how Hugepages works and its relation to SGA in order to eliminate some confusion you might have.&lt;br /&gt;&lt;br /&gt;1- These 2 are not related, no need for huegapgaes to be set, but it's advisable to set it for better memory utilization.&lt;br /&gt;&lt;br /&gt;2- If hugepages is set, then the value is affected by the SGA size&lt;br /&gt;&lt;br /&gt;3- If SGA is changing(increase/decrease) , hugepages must be recalculated accordingly. &lt;br /&gt;&lt;br /&gt;Let me illustrate it:&lt;br /&gt;&lt;br /&gt;_*Case 1 -- Hugepages not set*_&lt;br /&gt;========================&lt;br /&gt;&lt;br /&gt;* cat /proc/meminfo and if HugePages_Total = 0 , this indicates, that the hugepages not set&lt;br /&gt;&lt;br /&gt;* Suppose we want to set the hugepages for 5GB SGA, do the following:&lt;br /&gt;&lt;br /&gt;o 1st we must convert the 5GB to MB, so 5*1024 which equals to 5120MB&lt;br /&gt;&lt;br /&gt;o Divide the above value by 2, so 5120/2 = 2560&lt;br /&gt;&lt;br /&gt;o Add 3% (for over head)to the above value, so 2560+85(3%)= 2645 which is value of hugepages&lt;br /&gt;&lt;br /&gt;o Set vm.nr_hugepages = 2645 in /etc/sysctl.conf&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;_*Case 2 - SGA size changed*_&lt;br /&gt;======================&lt;br /&gt;&lt;br /&gt;* If the SGA is changed(buffer cache or shared_pool), then we need to adjust the hugepages accordingly as follows:&lt;br /&gt;&lt;br /&gt;* Suppose we're increasing the SGA by 2GB (from 5GB to 7GB), so we must increase the hugepages by 2 GB or set it to 7GB if it's not set; let's assume that the current value is set correctly and we just need to increase it by 2 GB; then we do:&lt;br /&gt;&lt;br /&gt;o Convert the 2GB to MB, so 2*1024 which equals to 2048MB&lt;br /&gt;&lt;br /&gt;o Divide the above value by 2, so 2048/2 = 1024 and add 3%&lt;br /&gt;&lt;br /&gt;o Add the above value to he current hugepages value, so 2645+1054= 3799 which is the new value of hugepages&lt;br /&gt;&lt;br /&gt;o Set vm.nr_hugepages = 3749 in /etc/sysctl.conf&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And remember that you must always check the value of kernel.shmmax &amp;amp; kernel.shmall in /etc/sysctl.conf&lt;br /&gt;&lt;br /&gt;Pls refer to the attached table below on how to set the value for these parameter:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_-_hPD20HpD4/TLAYEJdGypI/AAAAAAAAA4Y/X9A4iwG_m_8/s1600/Kernal_Parameters.bmp" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" ex="true" src="http://3.bp.blogspot.com/_-_hPD20HpD4/TLAYEJdGypI/AAAAAAAAA4Y/X9A4iwG_m_8/s1600/Kernal_Parameters.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HAPPY LEARNING!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-6541687004472991512?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/6541687004472991512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=6541687004472991512' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/6541687004472991512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/6541687004472991512'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2010/10/hi-all-id-like-to-shed-some-light-on.html' title='SGA &amp; Hugepages Myth'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_-_hPD20HpD4/TLAYEJdGypI/AAAAAAAAA4Y/X9A4iwG_m_8/s72-c/Kernal_Parameters.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-4103449158342443733</id><published>2010-10-09T00:05:00.000-07:00</published><updated>2010-10-09T00:11:51.436-07:00</updated><title type='text'>How To Prevent Inactive JDBC Connections In Oracle Applications</title><content type='html'>Applies to:&lt;br /&gt;=======&lt;br /&gt;Oracle Application Object Library - Version: 11.5.9 to 11.5.10.2&lt;br /&gt;This problem can occur on any platform.&lt;br /&gt;&lt;br /&gt;Symptoms&lt;br /&gt;=======&lt;br /&gt;Many Inactive JDBC connections causing performance issues in the database and in framework pages&lt;br /&gt;&lt;br /&gt;Cause&lt;br /&gt;=====&lt;br /&gt;There are many reasons for the inactive JDBC sessions to happen. Following are the brief details how the JDBC connections are established and are maintained in pool.&lt;br /&gt;&lt;br /&gt;In E-Business suite environment, the JDBC connections are established with the server when there is a database connection request comes from the client. &lt;br /&gt;&lt;br /&gt;In Oracle applications we use the JDBC thin driver out of various database connection drivers. &lt;br /&gt;&lt;br /&gt;The dbc file present under $FND_TOP/secure directory contains various parameters which are responsible for the connection to the database upon receiving a request from Apache Jserv.The following are the important parameters in the dbc file :&lt;br /&gt;&lt;br /&gt;FND_MAX_JDBC_CONNECTIONS=100&lt;br /&gt;FND_JDBC_BUFFER_MIN=5&lt;br /&gt;FND_JDBC_BUFFER_MAX=5&lt;br /&gt;FND_JDBC_BUFFER_DECAY_INTERVAL=60&lt;br /&gt;FND_JDBC_BUFFER_DECAY_SIZE=1&lt;br /&gt;FND_JDBC_USABLE_CHECK=true&lt;br /&gt;FND_JDBC_CONTEXT_CHECK=true&lt;br /&gt;FND_JDBC_PLSQL_RESET=false&lt;br /&gt;&lt;br /&gt;The AOLJ Database connection pool is intended to have a farm of open JDBC connections to the database which can be borrowed by the java code running in the OACoreGroup for a short time. Performance wise this is more efficient since it saves opening and closing of a JDBC connection each time. This however means that a connection can be idle for quite a long time when there is little activity in the system.&lt;br /&gt;&lt;br /&gt;Note that each JVM has it's own connection pool. So, if there are 2 JVMs running for OACore, then there are also 2 connection pools. &lt;br /&gt;&lt;br /&gt;This is important since it also means that the max number of JDBC connections in this case is 2 x FND_MAX_JDBC_CONNECTIONS. &lt;br /&gt;&lt;br /&gt;Specially in large environments with multiple MT servers and multiple JVM's the total number of connection could become too large. &lt;br /&gt;&lt;br /&gt;Unfortunately there is no mechanism implemented in the connection pool which performs some kind of 'heartbeat' (like we have in Forms) for idle connections.&lt;br /&gt;&lt;br /&gt;Also there is no mechanism in the Connection pool to determine whether the JDBC connection to the database has been dropped. &lt;br /&gt;&lt;br /&gt;So the JDBC connection in the pool still seems to be valid until some code borrows it and then finds out that the connection has been dropped. &lt;br /&gt;&lt;br /&gt;We can drop all the INACTIVE connections at once. Later, when high number of new requests for JDBC connections are received then a lot of new connections have to be created which does not benefit system performance. The JDBC connection pool, neither knows nor cares whether a given user is still logged in. It only cares how many different user sessions need access to the database right now.&lt;br /&gt;&lt;br /&gt;Solution&lt;br /&gt;======&lt;br /&gt;Following proactive checks can be done to prevent high number of inactive JDBC connections :&lt;br /&gt;&lt;br /&gt;1. Check the for the JDK version being used it the instance. From JDK 1.4.2 onwards as a thumb rule it is suggested to use 1 JVM per CPU for 100 active connected users to OACoreGroup.&lt;br /&gt;&lt;br /&gt;Use the script to determine "active users" for OACoreGroup :&lt;br /&gt;&lt;br /&gt;REM&lt;br /&gt;REM SQL to count number of Apps 11i users&lt;br /&gt;REM Run as APPS user&lt;br /&gt;REM&lt;br /&gt;select 'Number of user sessions : ' &lt;br /&gt;count( distinct session_id) How_many_user_sessions from icx_sessions icx where disabled_flag != 'Y'&lt;br /&gt;and PSEUDO_FLAG = 'N'&lt;br /&gt;and (last_connect + decode(FND_PROFILE.VALUE('ICX_SESSION_TIMEOUT'), NULL,limit_time, 0,limit_time,FND_PROFILE.VALUE('ICX_SESSION_TIMEOUT')/60)/24) &amp;gt; sysdate and counter &amp;lt; limit_connects;&lt;br /&gt;REM&lt;br /&gt;REM END OF SQL&lt;br /&gt;REM&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note 362851.1 : Guidelines to setup the JVM in Apps Ebusiness Suite 11i and R12&lt;br /&gt;&lt;br /&gt;2. For application version 11.5.10 onwards ensure ATG_PF.H is applied onto the instance. Also ensure that you are using the latest version of the JDBC driver. You may run the following sql to get the current JDBC driver version in the system :&lt;br /&gt;&lt;br /&gt;select bug_number, decode(bug_number,&lt;br /&gt;'3043762','JDBC drivers 8.1.7.3',&lt;br /&gt;'2969248','JDBC drivers 9.2.0.2',&lt;br /&gt;'3080729','JDBC drivers 9.2.0.4 (OCT-2003)',&lt;br /&gt;'3423613','JDBC drivers 9.2.0.4 (MAR-2004)',&lt;br /&gt;'3585217','JDBC drivers 9.2.0.4 (MAY-2004)',&lt;br /&gt;'3882116','JDBC drivers 9.2.0.5 (OCT-2004)',&lt;br /&gt;'3966003','JDBC drivers 9.2.0.5 (OCT-2004)',&lt;br /&gt;'3981178','JDBC drivers 9.2.0.5 (NOV-2004)',&lt;br /&gt;'4090504','JDBC drivers 9.2.0.5 (JAN-2005)',&lt;br /&gt;'4201222','JDBC drivers 9.2.0.6 (MAY-2005)') Patch_description&lt;br /&gt;from ad_bugs&lt;br /&gt;where bug_number in&lt;br /&gt;('3043762',&lt;br /&gt;'2969248',&lt;br /&gt;'3080729',&lt;br /&gt;'3423613',&lt;br /&gt;'3585217',&lt;br /&gt;'3882116',&lt;br /&gt;'3966003',&lt;br /&gt;'3981178',&lt;br /&gt;'4090504',&lt;br /&gt;'4201222'&lt;br /&gt;) order by 2;&lt;br /&gt;&lt;br /&gt;3. Ensure that you have all the database initialization parameters set and all the recommended database performance patches applied on the instance as per the following notes :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note 216205.1 : Database Initialization Parameters for Oracle Applications 11i&lt;br /&gt;Note 396009.1 : Database Initialization Parameters for Oracle Applications Release 12&lt;br /&gt;Note 244040.1 : Oracle E-Business Suite Recommended Performance Patches&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. Implement a strategy to minimize the JDBC connections&lt;br /&gt;&lt;br /&gt;If JDBC connections are being retained in the pool then this will ensure connections are dropped as soon as the application has finished with it. &lt;br /&gt;&lt;br /&gt;Apart from ensuring minimum DB connections it will also help to identify if there is a JDBC connection leak&lt;br /&gt;&lt;br /&gt;a) De-tune JDBC connection pool&lt;br /&gt;&lt;br /&gt;Do through Autoconfig (or manually update DBC file) on all Middle Tier servers&lt;br /&gt;&lt;br /&gt;FND_JDBC_BUFFER_DECAY_INTERVAL=120&lt;br /&gt;FND_JDBC_BUFFER_MIN=0&lt;br /&gt;FND_JDBC_BUFFER_MAX=0&lt;br /&gt;FND_MAX_JDBC_CONNECTIONS=256&lt;br /&gt;FND_JDBC_USABLE_CHECK=true&lt;br /&gt;FND_JDBC_BUFFER_DECAY_SIZE=5&lt;br /&gt;&lt;br /&gt;Note : "FND_JDBC_USABLE_CHECK=true" is preferred for RAC, as discussed in note&lt;br /&gt;Note 278868.1 : AOL/J JDBC Connection Pool White Paper&lt;br /&gt;Note 294652.1 : E-Business Suite 11i on RAC : Configuring Database Load balancing &amp;amp; Failover&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5. Ensure that the current TCP settings are set as recommended by Oracles tcpset.sh script and also from OS vendor web site&lt;br /&gt;&lt;br /&gt;Parameter Recommended value&lt;br /&gt;&lt;br /&gt;tcp_ip_abort_interval 60,000&lt;br /&gt;tcp_keepalive_interval 900,000&lt;br /&gt;tcp_rexmit_interval_initial 1500&lt;br /&gt;&lt;br /&gt;6. Check the jserv.properties "security" settings&lt;br /&gt;&lt;br /&gt;Ensure that the current setting does not allow more connections to the JVM than JDBC connections, which is not best practice. &lt;br /&gt;&lt;br /&gt;Changing security.backlog, in particular, can lead to user connections hanging.&lt;br /&gt;Maintain default settings&lt;br /&gt;security.maxConnections=256&lt;br /&gt;# security.backlog=5&lt;br /&gt;&lt;br /&gt;7. Check ApJServRetryAttempts parameter in Jserv.conf&lt;br /&gt;&lt;br /&gt;This setting will delay any recovery of a dead JVM by mod_oprocmgr. If a JVM is not responding in 45 minutes (default setting) then tuning should be implemented to resolve this, rather than allowing 45 minutes of no response. &lt;br /&gt;&lt;br /&gt;Maintain default settings&lt;br /&gt;&lt;br /&gt;ApJServRetryAttempts 3&lt;br /&gt;&lt;br /&gt;8. Disable JVM Distributed Caching&lt;br /&gt;&lt;br /&gt;If some JVMs out of many are not servicing requests and generating "java.lang.NoClassDefFoundError" errors. Disabling Distributed JVM caching would eliminate this cause of the problem.&lt;br /&gt;&lt;br /&gt;Disabling Distributed JVM Cache is achieved by changing "LONG_RUNNING_JVM=" from "true" to "false" in the jserv.properties. This is controlled by AutoConfig parameter "s_long_running_jvm"&lt;br /&gt;&lt;br /&gt;9. Prevent wastage of database connections on the system by setting the profile option &lt;br /&gt;&lt;br /&gt;'FND: Application Module Pool Minimum Available Size' value to 0 (which is the default).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After doing the above monitor the progress in terms of connection utilization. Also keep collecting the following information from system periodically:&lt;br /&gt;&lt;br /&gt;column module heading "Module Name" format a48;&lt;br /&gt;column machine heading "Machine Name" format a15;&lt;br /&gt;column process heading "Process ID" format a10;&lt;br /&gt;column inst_id heading "Instance ID" format 99;&lt;br /&gt;prompt&lt;br /&gt;prompt Connection Usage Per Module and process&lt;br /&gt;select to_char(sysdate, 'dd-mon-yyyy hh24:mi') Time from dual&lt;br /&gt;/&lt;br /&gt;prompt ~~~~&lt;br /&gt;select count(*), machine, process, module from v$session&lt;br /&gt;where program like 'JDBC%' group by machine, process, module order by 1 asc&lt;br /&gt;/&lt;br /&gt;&lt;br /&gt;10. The following sqls can be useful&lt;br /&gt;&lt;br /&gt;+ To find total number of open database connections for a given JVM PID&lt;br /&gt;&lt;br /&gt;SELECT s.process, Count(*) all_count FROM v$session s WHERE s.process IN (&lt;jvm pids=""&gt;) GROUP BY s.process&lt;br /&gt;&lt;br /&gt;+ To find number of database connections per JVM that were inactive for longer then 30 minutes&lt;br /&gt;&lt;br /&gt;SELECT s.process, Count(*) olderConnection_count FROM v$session s WHERE s.process IN (&lt;jvm pids=""&gt;) &lt;br /&gt;and s.last_call_et&amp;gt;=(30*60) and s.status='INACTIVE' GROUP BY s.process&lt;br /&gt;&lt;br /&gt;+ To find the modules responsible to JDBC connections for a process id&lt;br /&gt;&lt;br /&gt;SELECT Count(*), process,machine, program, MODULE FROM v$session s &lt;br /&gt;WHERE s.process IN ('&amp;amp;id')GROUP BY process,machine, program, MODULE ORDER BY process,machine, program, MODULE;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;11. For processes that show the highest counts in query result above, Log in to the JVM machine and run&lt;br /&gt;&lt;br /&gt;"kill -3 jvmid".&lt;br /&gt;&lt;br /&gt;where jvmid is the process seen in query output above.&lt;br /&gt;&lt;br /&gt;The output goes to OACoreGroup.*.stdout file. Post those files to Oracle Support for reveiw.&lt;br /&gt;&lt;br /&gt;12. If there seems to be a lot of blocked sessions in the database. Check 2 or 3 locked/blocked sessions to ascertain the user, sql and row locked.&lt;br /&gt;&lt;br /&gt;You can use utllockt.sql ( Note 166534.1 : Resolving locking issues using utllockt.sql script ) as the starting point. Post the output from utllockt.sql in addition to the SQL / row lock information for 2 or 3 sessions to Oracle Support.&lt;br /&gt;&lt;br /&gt;References&lt;br /&gt;========&lt;br /&gt;Note 164317.1 - Upgrading JDBC drivers with Oracle Applications 11i&lt;br /&gt;Note 166534.1 - Resolving locking issues using utllockt.sql script&lt;br /&gt;Note 216205.1 - Database Initialization Parameters for Oracle Applications Release 11i&lt;br /&gt;Note 244040.1 - Oracle E-Business Suite Recommended Performance Patches&lt;br /&gt;Note 278868.1 - AOL/J JDBC Connection Pool White Paper&lt;br /&gt;Note 294652.1 - E-Business Suite 11i on RAC : Configuring Database Load balancing &amp;amp; Failover&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HAPPY LEARNING!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-4103449158342443733?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/4103449158342443733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=4103449158342443733' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/4103449158342443733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/4103449158342443733'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2010/10/how-to-prevent-inactive-jdbc.html' title='How To Prevent Inactive JDBC Connections In Oracle Applications'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-6417597510962213006</id><published>2010-10-08T09:32:00.000-07:00</published><updated>2010-10-08T23:46:48.848-07:00</updated><title type='text'>AWR- Wait Event Classes</title><content type='html'>&lt;div style="text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Hi,&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;I have tried to classify the AWR wait events and the actions to be taken&amp;nbsp;for each wait events. This chart should help in diagnosing the wait events shown in AWR reports.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://1.bp.blogspot.com/_-_hPD20HpD4/TK9GSkfWZeI/AAAAAAAAA4U/o2FilocL_w0/s1600/Wait_Event_Classes.bmp" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" ex="true" height="611" src="http://1.bp.blogspot.com/_-_hPD20HpD4/TK9GSkfWZeI/AAAAAAAAA4U/o2FilocL_w0/s640/Wait_Event_Classes.bmp" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;To view the chart clearly, click on the chart it will be opened in a new page.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;HAPPY LEARNING!&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-6417597510962213006?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/6417597510962213006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=6417597510962213006' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/6417597510962213006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/6417597510962213006'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2010/10/awr-wait-event-classes.html' title='AWR- Wait Event Classes'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_-_hPD20HpD4/TK9GSkfWZeI/AAAAAAAAA4U/o2FilocL_w0/s72-c/Wait_Event_Classes.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-4427873474471648752</id><published>2010-10-02T21:52:00.000-07:00</published><updated>2010-10-02T21:52:21.563-07:00</updated><title type='text'>Oracle Application Server FAQ</title><content type='html'>1. Which are the main 3 Oracle e-business platform components ?&lt;br /&gt;2. What is the Oracle Application Server ?&lt;br /&gt;3. Which are the key components of Oracle Application Server (OAS) ?&lt;br /&gt;4. Which are the key components of the OAS Identity Management ?&lt;br /&gt;5. Which are the 2 main components of Oracle Application Server ?&lt;br /&gt;6. Which are the Middle-Tier components ?&lt;br /&gt;7. Which are the main components of OracleAS Infrastructure ?&lt;br /&gt;8. Which are the 3 categories of Metadata Repository ?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Which are the main 3 Oracle e-business platform components ?&lt;br /&gt;• Oracle Application Server: to help deploy Internet applications &lt;br /&gt;• Oracle Database Server: to store enterprise business data &lt;br /&gt;• Oracle Developer Suite: to develop Internet applications &lt;br /&gt;&lt;br /&gt;2. What is the Oracle Application Server ?&lt;br /&gt;The Oracle Application Server is an Integrated Software Infrastructure for Enterprise Applications used to deploy Internet applications but also to create and manage enterprise portals and mobile devices, to automate business process and to provide real-time business intelligence. &lt;br /&gt;&lt;br /&gt;3. Which are the key components of Oracle Application Server (OAS) ?&lt;br /&gt;• OC4J ( Oracle Application Server Containers for J2EE) &lt;br /&gt;• Oracle HTTP Server &lt;br /&gt;• Oracle Internet Directory&lt;br /&gt;• Oracle AS Web Cache &lt;br /&gt;• Oracle AS Portal &lt;br /&gt;• Oracle AS Wireless&lt;br /&gt;• Oracle Identity Management (in addition to OID, it includes the Oracle SSO and Oracle CA) &lt;br /&gt;• Management, Integration and Security Components (Oracle Application Server Control, Oracle Internet Directory ) &lt;br /&gt;• Oracle Business Intelligence (Oracle AS Discoverer) &lt;br /&gt;&lt;br /&gt;4. Which are the key components of the OAS Identity Management ?&lt;br /&gt;• Oracle Internet Directory (OID) = single store for all type of user information &lt;br /&gt;• Oracle Delegated Administrative Services (DAS) = manage the OID &lt;br /&gt;• Oracle Directory Integration and Provisioning. Directory Integration refers to the synchronization of the OID with other irectories and user repositories. Directory Provisioning refers to the Oracle AS 10g feature that enable the creation and management of users' accounts and privileges for various Oracle components and applications &lt;br /&gt;• OracleAS Single Sign-On (SSO) = provide the transparent logon to all SSO-enabled applications on all application servers in an Oracle AS farm &lt;br /&gt;• OracleAS Certificate Authority (CA) = manage the public-key certificates. &lt;br /&gt;&lt;br /&gt;5. Which are the 2 main components of Oracle Application Server ?&lt;br /&gt;• Oracle AS Infrastructure = supports the functioning of the Oracle AS middle-tier components &lt;br /&gt;• Oracle AS Middle-Tier = all the applications are deployed and run from middle-tier. &lt;br /&gt;&lt;br /&gt;6. Which are the Middle-Tier components ?&lt;br /&gt;• Oracle HTTP Server &lt;br /&gt;• Oracle Containers for J2EE (OC4J) &lt;br /&gt;• Oracle AS Portal &lt;br /&gt;• Oracle AS Web Cache &lt;br /&gt;&lt;br /&gt;7. Which are the main component of OracleAS Infrastructure ?&lt;br /&gt;• OracleAS Metadata Repository = a part of an Oracle Database which store information for various Oracle AS components; &lt;br /&gt;• Oracle Identity Managemant &lt;br /&gt;&lt;br /&gt;8. Which are the 3 categories of Metadata Repository ?&lt;br /&gt;• Product metadata = used by products like Oracle AS Portal or Oracle AS Wireless &lt;br /&gt;• Identity Management metadata = used by OID, SSO, CA &lt;br /&gt;• Configuration Management metadata &lt;br /&gt;&lt;br /&gt;Oracle AS 10g let you install the Oracle AS Metadata Repository into an existing Oracle database; otherwise, it creates a new Oracle Database 10g for this purpose.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HAPPY LEARNING !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-4427873474471648752?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/4427873474471648752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=4427873474471648752' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/4427873474471648752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/4427873474471648752'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2010/10/oracle-application-server-faq.html' title='Oracle Application Server FAQ'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-7288361544393402884</id><published>2010-10-01T20:14:00.000-07:00</published><updated>2010-10-01T20:22:02.427-07:00</updated><title type='text'>Configuring Middle-Tier JVMs for Applications 11i</title><content type='html'>When you call Oracle Support with a problem like apj12 errors in your mod_jserv.log, middle-tier Java Virtual Machines (JVMs) crashing, or poor middle-tier performance, then it will often be suggested to increase the number of JVM processes. So, the key question that likely occurs to you is, "How many JVMs are required for my system?"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Processing Java Traffic in Groups&lt;br /&gt;&lt;br /&gt;First, some quick background: web requests received by Oracle HTTP Server (Apache) to process Java code is sent to one of four different types of JVM groups to be processed. You can see this in the jserv.conf file:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ApJServGroup OACoreGroup 2 1 /usr/.../jserv.properties&lt;br /&gt;ApJServGroup DiscoGroup 1 1 /usr/.../viewer4i.properties&lt;br /&gt;ApJServGroup FormsGroup 1 1 /usr/.../forms.properties&lt;br /&gt;ApJServGroup XmlSvcsGrp 1 1 /usr/.../xmlsvcs.properties&lt;br /&gt;&lt;br /&gt;The number of JVMs for each group is signified by the first number on each line.&lt;br /&gt;&lt;br /&gt;OACoreGroup is the default group. This is where most Java requests will be serviced &lt;br /&gt;&lt;br /&gt;DiscoGroup is only used for Discoverer 4i requests&lt;br /&gt;&lt;br /&gt;FormsGroup is only used for Forms Servlet requests&lt;br /&gt;&lt;br /&gt;XmlSvcsGrp is for XML Gateway, Web Services, and SOAP requests&lt;br /&gt;&lt;br /&gt;In the example above, I have two JVMs configured for OACoreGroup and one JVM configured for each of the other groups. &lt;br /&gt;&lt;br /&gt;Factors Affecting Number of JVMs Required&lt;br /&gt;&lt;br /&gt;Determining how many JVMs to configure is a complex approximation, as many factors need to be taken into account. These include:&lt;br /&gt;&lt;br /&gt;Hardware specification and current utilization levels &lt;br /&gt;&lt;br /&gt;Operating system patches and kernel settings &lt;br /&gt;&lt;br /&gt;JDK version and tuning &lt;br /&gt;&lt;br /&gt;Applications code versions, especially JDBC and oJSP &lt;br /&gt;&lt;br /&gt;JServ configuration file tuning (jserv.properties and zone.properties) &lt;br /&gt;&lt;br /&gt;Applications modules being used &lt;br /&gt;&lt;br /&gt;How many active users &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;User behaviour&lt;br /&gt;&lt;br /&gt;Rough Guidelines for JVMs&lt;br /&gt;&lt;br /&gt;Luckily, Oracle Development have undertaken various performance tests to establish some rules of thumb that can be used to configure the initial number of JVMs for your system.&lt;br /&gt;&lt;br /&gt;OACoreGroup &lt;br /&gt;&lt;br /&gt;1 JVM per 100 active users&lt;br /&gt;&lt;br /&gt;DiscoGroup&lt;br /&gt;&lt;br /&gt;Use the capacity planning guide from Note 236124.1 "Oracle 9iAS 1.0.2.2 Discoverer 4i: A Capacity Planning Guide"&lt;br /&gt;&lt;br /&gt;FormsGroup &lt;br /&gt;&lt;br /&gt;1 JVM per 50 active forms users&lt;br /&gt;&lt;br /&gt;XmlSvcsGrp&lt;br /&gt;&lt;br /&gt;1 JVM is generally sufficient&lt;br /&gt;&lt;br /&gt;In addition to this, Oracle generally recommends no more than 2 JVMs per CPU. You also need to confirm there are enough operating system resources (e.g. physical memory) to cope with any additional JVMs.&lt;br /&gt;&lt;br /&gt;Your Mileage Will Vary&lt;br /&gt;&lt;br /&gt;The general guidelines above are just that -- they're very broad estimates, and your mileage will vary. As I write this, the Applications Technology Group is working on a JVM Sizing whitepaper that will provide guidelines based on whether your E-Business Suite deployment is small, medium, or large. I'll profile this whitepaper here as soon as it's released publicly.&lt;br /&gt;&lt;br /&gt;Until then, it's critical that you test your environment under load, using transactional tests that closely mirror what your users will be doing. It's useful to use automated testing tools for this, as you create your benchmarks. &lt;br /&gt;&lt;br /&gt;Here are a couple of quick-and-dirty tools that might be useful in sizing your JVMs.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;Script to determine "active users" for OACoreGroup&lt;/u&gt;&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;REM &lt;br /&gt;REM SQL to count number of Apps 11i users&lt;br /&gt;REM Run as APPS user&lt;br /&gt;REM&lt;br /&gt;&lt;br /&gt;select 'Number of user sessions : ' &lt;br /&gt;count( distinct session_id) How_many_user_sessions&lt;br /&gt;from icx_sessions icx&lt;br /&gt;where disabled_flag != 'Y'&lt;br /&gt;and PSEUDO_FLAG = 'N'&lt;br /&gt;and (last_connect + decode(FND_PROFILE.VALUE('ICX_SESSION_TIMEOUT'), NULL,limit_time, 0,limit_time,FND_PROFILE.VALUE('ICX_SESSION_TIMEOUT')/60)/24) &amp;gt; sysdate &lt;br /&gt;and counter &amp;lt; limit_connects;&lt;br /&gt;&lt;br /&gt;REM&lt;br /&gt;REM END OF SQL&lt;br /&gt;REM&lt;br /&gt;&lt;br /&gt;How to determine "active forms users" for FormsGroup&lt;br /&gt;&lt;br /&gt;Check the number of f60webmx processes on the Middle Tier server. For example:&lt;br /&gt;&lt;br /&gt;ps -ef &lt;br /&gt;grep f60webx &lt;br /&gt;wc -l&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;Conclusion&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;The number of required JVMs is extremely site-specific and can be complex to predict&lt;br /&gt;Use the rules of thumb as a starting point, but benchmark your environment carefully to see if they're adequate &lt;br /&gt;Proactively monitor your environment to determine the efficiency of the existing settings and reevaluate if required&lt;br /&gt;&lt;br /&gt;More on Java Memory Tuning Later&lt;br /&gt;&lt;br /&gt;Once you've established the right number of JVMs to use, it's then time to optimize them. I'm intending to discuss Java memory tuning and OutOfMemory issues in a future article. Stay tuned&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_-_hPD20HpD4/TKalOOO2oII/AAAAAAAAA34/SNmRH6gByt0/s1600/jvm-CONFIG.bmp" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://1.bp.blogspot.com/_-_hPD20HpD4/TKalOOO2oII/AAAAAAAAA34/SNmRH6gByt0/s1600/jvm-CONFIG.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;HAPPY LEARNING!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-7288361544393402884?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/7288361544393402884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=7288361544393402884' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/7288361544393402884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/7288361544393402884'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2010/10/configuring-middle-tier-jvms-for.html' title='Configuring Middle-Tier JVMs for Applications 11i'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_-_hPD20HpD4/TKalOOO2oII/AAAAAAAAA34/SNmRH6gByt0/s72-c/jvm-CONFIG.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-7380746442607067699</id><published>2010-10-01T19:39:00.000-07:00</published><updated>2010-10-01T19:47:42.663-07:00</updated><title type='text'>How to determine if I/O is the real issue from AWR report?</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_-_hPD20HpD4/TKabKQyRk2I/AAAAAAAAA3w/3jhYaWioeoI/s1600/one.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://2.bp.blogspot.com/_-_hPD20HpD4/TKabKQyRk2I/AAAAAAAAA3w/3jhYaWioeoI/s1600/one.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;DB FILE SEQUENTIAL READ&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;=======================&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;'Wait Time` = 493 x 100% / 83.2% = 592.54 (s)&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;'Service Time' = 11023 (s)&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;'Response Time' = 11023 + 592.54 = 11615.54 (s)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;If we now calculate percentages for all the 'Response Time' components:&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;CPU time = 94.8 %&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;db file sequential read = 4.24 %&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;control file sequential read = 0.16 %&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;control file parallel write = 0.1 %&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;db file parallel write = 0.07 %&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Summary:&lt;/span&gt; &lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;It is now obvious that the I/O-related Wait Events are not really a significant component of the overall Response Time and that subsequent tuning should be directed to the Service Time component i.e. CPU consumption.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HAPPY&amp;nbsp; LEARNING!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-7380746442607067699?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/7380746442607067699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=7380746442607067699' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/7380746442607067699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/7380746442607067699'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2010/10/how-to-determine-if-io-is-real-issue.html' title='How to determine if I/O is the real issue from AWR report?'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_-_hPD20HpD4/TKabKQyRk2I/AAAAAAAAA3w/3jhYaWioeoI/s72-c/one.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-947242196997183340</id><published>2010-10-01T19:29:00.000-07:00</published><updated>2010-10-01T19:29:58.092-07:00</updated><title type='text'>RAC- DBA Cheatsheet</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_-_hPD20HpD4/TKaY3RcpAYI/AAAAAAAAA3k/YVYEyIoUPAk/s1600/RAC_CheatSheet1.bmp" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://1.bp.blogspot.com/_-_hPD20HpD4/TKaY3RcpAYI/AAAAAAAAA3k/YVYEyIoUPAk/s1600/RAC_CheatSheet1.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_-_hPD20HpD4/TKaY6PfTkDI/AAAAAAAAA3o/BNjYjlKEmg0/s1600/RAC_CheatSheet2.bmp" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://4.bp.blogspot.com/_-_hPD20HpD4/TKaY6PfTkDI/AAAAAAAAA3o/BNjYjlKEmg0/s1600/RAC_CheatSheet2.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_-_hPD20HpD4/TKaY7htcAkI/AAAAAAAAA3s/rw4VRdWD0nk/s1600/RAC_CheatSheet3.bmp" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://1.bp.blogspot.com/_-_hPD20HpD4/TKaY7htcAkI/AAAAAAAAA3s/rw4VRdWD0nk/s1600/RAC_CheatSheet3.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HAPPY LEARNING!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-947242196997183340?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/947242196997183340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=947242196997183340' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/947242196997183340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/947242196997183340'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2010/10/rac-dba-cheatsheet.html' title='RAC- DBA Cheatsheet'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_-_hPD20HpD4/TKaY3RcpAYI/AAAAAAAAA3k/YVYEyIoUPAk/s72-c/RAC_CheatSheet1.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-3566432611824496057</id><published>2010-10-01T07:30:00.000-07:00</published><updated>2010-10-01T07:30:33.377-07:00</updated><title type='text'>R12- New File System Architecture</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_-_hPD20HpD4/TKXwRImB_CI/AAAAAAAAA3g/tQmOikHn2YY/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://3.bp.blogspot.com/_-_hPD20HpD4/TKXwRImB_CI/AAAAAAAAA3g/tQmOikHn2YY/s1600/1.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Base Directory: The directory where the Oracle Applications is installed. This is a generic directory. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I will suppose that the Base Directory is /APPS&lt;br /&gt;&lt;br /&gt;$ORACLE_HOME (for the database tier): /APPS/db/tech_st/10.2.0&lt;br /&gt;&lt;br /&gt;$APPL_TOP: /APPS/apps/apps_st/appl&lt;br /&gt;&lt;br /&gt;$COMMON_TOP: /APPS/apps/apps_st/comn&lt;br /&gt;&lt;br /&gt;$ORACLE_HOME (for the apps tier): /APPS/apps/tect_st/10.1.2&lt;br /&gt;&lt;br /&gt;$IAS_ORACLE_HOME (for the apps tier): /APPS/apps/tect_st/10.1.3&lt;br /&gt;&lt;br /&gt;$INST_TOP: /APPS/inst/apps/&lt;sid_localhost&gt; contains certifications, configurations, logs for the servers. &lt;br /&gt;&lt;br /&gt;HAPPY LEARNING!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-3566432611824496057?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/3566432611824496057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=3566432611824496057' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/3566432611824496057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/3566432611824496057'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2010/10/r12-new-file-system-architecture.html' title='R12- New File System Architecture'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_-_hPD20HpD4/TKXwRImB_CI/AAAAAAAAA3g/tQmOikHn2YY/s72-c/1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-896891216003172567</id><published>2010-10-01T06:52:00.000-07:00</published><updated>2010-10-01T07:12:55.624-07:00</updated><title type='text'>Installing Oracle Apps 11i</title><content type='html'>Introduction &lt;br /&gt;&lt;br /&gt;This post is about installing Oracle Apps 11i using rapid install. This is a very brief discription of the install document provided by Oracle. For details, you can always refer to the official docs of Oracle. I am providing the installation sequence for one of my test instance. I hope this will serve as a fast and simple docs for you to quickly understand the installation and the steps.&lt;br /&gt;&lt;br /&gt;Basic installation of Oracle Applications 11i is divided into 3 parts.&lt;br /&gt;&lt;br /&gt;1. Pre-installation &lt;br /&gt;&lt;br /&gt;2. Installation &lt;br /&gt;&lt;br /&gt;3. Post-installation. &lt;br /&gt;&lt;br /&gt;Pre-Installation&lt;br /&gt;&lt;br /&gt;i) Checking system requirement&lt;br /&gt;&lt;br /&gt;In pre-installation we check about&lt;br /&gt;&lt;br /&gt;1) Software Requirement&lt;br /&gt;&lt;br /&gt;2) CPU Requirement&lt;br /&gt;&lt;br /&gt;3) Memory Requirement&lt;br /&gt;&lt;br /&gt;4) Disk Space Requirement&lt;br /&gt;&lt;br /&gt;required for installing Oracle Applications.&lt;br /&gt;&lt;br /&gt;ii) Creating staging area&lt;br /&gt;&lt;br /&gt;We then create a staging area where we download and extract all the required files. The staging area after extracting the software will look as shown below.&lt;br /&gt;&lt;br /&gt;[root@ocvmrh2122 11i10_CU2_115102]# ls -rlt&lt;br /&gt;&lt;br /&gt;total 24&lt;br /&gt;&lt;br /&gt;drwxr-xr-x 5 root root 4096 Oct 13 2005 oraDB&lt;br /&gt;&lt;br /&gt;drwxr-xr-x 26 root root 4096 Oct 13 2005 oraAppDB&lt;br /&gt;&lt;br /&gt;drwxr-xr-x 6 root root 4096 Oct 13 2005 oraiAS&lt;br /&gt;&lt;br /&gt;drwxr-xr-x 10 root root 4096 Oct 13 2005 oraApps&lt;br /&gt;&lt;br /&gt;drwxr-xr-x 9 root root 4096 May 7 2007 startCD&lt;br /&gt;&lt;br /&gt;You need around 24G for staging area after extraction.&lt;br /&gt;&lt;br /&gt;iii) Creating User Accounts&lt;br /&gt;&lt;br /&gt;Before we start installation we need to create 2 users. One user (APPLMGR) will be the owner of middle tier and other user (ORACLE) will be the owner of database. Assign the primary owner as “oinstall” and secondary owner as “dba” for both the users.&lt;br /&gt;&lt;br /&gt;Check the display setting before starting the installation. You can set the DISPLAY to hostname:0.0&lt;br /&gt;&lt;br /&gt;Installation&lt;br /&gt;&lt;br /&gt;We begin installation by running rapidwiz present in startCD/Disk1/rapidwiz/ directory. Below are the screen shots that you will see. I have given the screen shots with my input for your easy referrence so that you can go through the same fast.&lt;br /&gt;&lt;br /&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_-_hPD20HpD4/TKXp7EREXCI/AAAAAAAAA18/69QsiQukTFk/s1600/1.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://1.bp.blogspot.com/_-_hPD20HpD4/TKXp7EREXCI/AAAAAAAAA18/69QsiQukTFk/s1600/1.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;Welcome screen lists the database version and the technology stack components that are installed with the E-Business Suite. Click on next.&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_-_hPD20HpD4/TKXqHEY3TsI/AAAAAAAAA2A/4o0XMEPOwHM/s1600/2.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://4.bp.blogspot.com/_-_hPD20HpD4/TKXqHEY3TsI/AAAAAAAAA2A/4o0XMEPOwHM/s1600/2.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;You can either make a new installation of upgrade an existing installation. In our case we are going to do a new installation. In case of Express Configuration you supply a few basic parameters, such as database type and name, top-level install directory, and increments for port settings. The remaining directories and mount points are supplied by Rapid Install using default values.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_-_hPD20HpD4/TKXqSPOPqaI/AAAAAAAAA2E/NYiMRYtW1vY/s1600/3.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://2.bp.blogspot.com/_-_hPD20HpD4/TKXqSPOPqaI/AAAAAAAAA2E/NYiMRYtW1vY/s1600/3.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;If you have previous installation saved configuration file you can give that as input. If you answer No, Rapid Install saves the configuration parameters you enter on the wizard screens in a new configuration file (config.txt) that it will use to configure your system for the new installation.&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_-_hPD20HpD4/TKXqbw2GEnI/AAAAAAAAA2I/kr3qTL3smYM/s1600/4.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://1.bp.blogspot.com/_-_hPD20HpD4/TKXqbw2GEnI/AAAAAAAAA2I/kr3qTL3smYM/s1600/4.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;You can either select a single node installation of a multi-node installation. In our case we are going for a single node installation.&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_-_hPD20HpD4/TKXqkbJ0u9I/AAAAAAAAA2M/2d8xjvRqvvs/s1600/5.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://2.bp.blogspot.com/_-_hPD20HpD4/TKXqkbJ0u9I/AAAAAAAAA2M/2d8xjvRqvvs/s1600/5.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;Select database type. We can either have a Vision demo database or a production database. Production database won’t have any data. Vision demo database will have test data present for our testing. If you are using Vision demo database then your database will need around 130G-140G of space. Else in case of production database space required would be 45G.&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_-_hPD20HpD4/TKXqpNx4zyI/AAAAAAAAA2Q/mivTFI-3uco/s1600/6.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://4.bp.blogspot.com/_-_hPD20HpD4/TKXqpNx4zyI/AAAAAAAAA2Q/mivTFI-3uco/s1600/6.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;Set up the Oracle user and base install directory. Once you set the base install directory, all other directories will be set automatically. You can also edit the individual directories like ORACLE_HOME or db file location as per your requirement.&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_-_hPD20HpD4/TKXq9lgFOMI/AAAAAAAAA2U/roxRXOhH8eA/s1600/7.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://3.bp.blogspot.com/_-_hPD20HpD4/TKXq9lgFOMI/AAAAAAAAA2U/roxRXOhH8eA/s1600/7.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;Select the type of licensing you got from Oracle. Completing a licensing screen does not constitute a license agreement. It simply registers your products as active.&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_-_hPD20HpD4/TKXrFa5NfsI/AAAAAAAAA2Y/NmZFTQuwXCQ/s1600/8.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://1.bp.blogspot.com/_-_hPD20HpD4/TKXrFa5NfsI/AAAAAAAAA2Y/NmZFTQuwXCQ/s1600/8.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;If you select E-Business Suite price bundle then you will see this screen with some of the checkbox grayed. The products that are checked and grayed are licensed automatically as a part of the suite. The ones that are not must be registered separately as additional products — they are not part of the E-Business Suite price bundle. Place a check mark next to any additional products you have licensed and want to register.&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_-_hPD20HpD4/TKXrJImewhI/AAAAAAAAA2c/JHAR4_YvguE/s1600/9.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://1.bp.blogspot.com/_-_hPD20HpD4/TKXrJImewhI/AAAAAAAAA2c/JHAR4_YvguE/s1600/9.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;Some systems require the country-specific functionality of a localized Applications product. For example, if your company operates in Canada, products such as Human Resources require additional features to accommodate the Canadian labor laws and codes that differ from those in the United States. In such situation, select the proper country. In my case there is no country specific functionality.&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_-_hPD20HpD4/TKXrYDxAPBI/AAAAAAAAA2g/_Eid3SfpxPc/s1600/10.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://3.bp.blogspot.com/_-_hPD20HpD4/TKXrYDxAPBI/AAAAAAAAA2g/_Eid3SfpxPc/s1600/10.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;Select additional language. By default US will be selected. If you want to install any more language, then you can always select from the available list.&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_-_hPD20HpD4/TKXraQHB1xI/AAAAAAAAA2k/SuhqLIw83lk/s1600/11.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://4.bp.blogspot.com/_-_hPD20HpD4/TKXraQHB1xI/AAAAAAAAA2k/SuhqLIw83lk/s1600/11.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;The Select Internationalization Settings screen derives information from the languages you entered on the Select Additional Languages screen. You use it to further define NLS configuration parameters.&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_-_hPD20HpD4/TKXrclz-qNI/AAAAAAAAA2o/eGwb6Jcn1uk/s1600/12.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://1.bp.blogspot.com/_-_hPD20HpD4/TKXrclz-qNI/AAAAAAAAA2o/eGwb6Jcn1uk/s1600/12.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;Select the user and base directory for the application side installation. Once you set the base install directory, all other directories will be set automatically. You can also edit the individual directories like APPL_TOP, COMMON_TOP etc. as per your requrement.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_-_hPD20HpD4/TKXrmkxs_nI/AAAAAAAAA2s/Fl1veWSzqZ4/s1600/13.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://3.bp.blogspot.com/_-_hPD20HpD4/TKXrmkxs_nI/AAAAAAAAA2s/Fl1veWSzqZ4/s1600/13.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;Provide the domain name and the port ranges. Give the ports that are not used before as per your knowledge. Anyway the installer will check for port conflicts before it installs the application. You can even change the individual port setting as well.&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_-_hPD20HpD4/TKXrorNBErI/AAAAAAAAA2w/lZjFSnHyOrw/s1600/14.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://2.bp.blogspot.com/_-_hPD20HpD4/TKXrorNBErI/AAAAAAAAA2w/lZjFSnHyOrw/s1600/14.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;You have now completed all the information Rapid Install needs to set up and install a single-node system. The Save Instance-specific Configuration screen asks you to save the values you have entered in the wizard in a configuration file.&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_-_hPD20HpD4/TKXrq1UKpYI/AAAAAAAAA20/Ap6DO0khRT0/s1600/15.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://2.bp.blogspot.com/_-_hPD20HpD4/TKXrq1UKpYI/AAAAAAAAA20/Ap6DO0khRT0/s1600/15.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;Review pre-install checks. This will check whether all the requirements are met or not.&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_-_hPD20HpD4/TKXsEpl055I/AAAAAAAAA3E/1EFYYmPxSrU/s1600/16.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://1.bp.blogspot.com/_-_hPD20HpD4/TKXsEpl055I/AAAAAAAAA3E/1EFYYmPxSrU/s1600/16.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;Once all the requirements are met, please proceed further to install the application.&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_-_hPD20HpD4/TKXsGiWAVNI/AAAAAAAAA3I/kAbSdlbcC6Q/s1600/17.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://4.bp.blogspot.com/_-_hPD20HpD4/TKXsGiWAVNI/AAAAAAAAA3I/kAbSdlbcC6Q/s1600/17.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;Before installation it will give the summary of the techstack its going to install. Click on next.&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_-_hPD20HpD4/TKXsIxBllWI/AAAAAAAAA3M/rbiAI0GufrA/s1600/18.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://1.bp.blogspot.com/_-_hPD20HpD4/TKXsIxBllWI/AAAAAAAAA3M/rbiAI0GufrA/s1600/18.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;You can see the progress of installation.&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_-_hPD20HpD4/TKXsKz-uRsI/AAAAAAAAA3Q/74sUGdqHJBc/s1600/19.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://3.bp.blogspot.com/_-_hPD20HpD4/TKXsKz-uRsI/AAAAAAAAA3Q/74sUGdqHJBc/s1600/19.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;Once all the installation is done, it will show the components installed and its status.&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_-_hPD20HpD4/TKXsNI3snkI/AAAAAAAAA3U/sYrdTS8TG-k/s1600/20.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://2.bp.blogspot.com/_-_hPD20HpD4/TKXsNI3snkI/AAAAAAAAA3U/sYrdTS8TG-k/s1600/20.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;Post-Installation&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;You can check for the post install steps from the metalink note ID 316365.1 as applicable.&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;Reference:&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;Oracle Apps 11i – Install Docs&lt;/div&gt;&lt;br /&gt;Metalink Note ID: 316365.1&lt;br /&gt;&lt;br /&gt;HAPPY LEARNING!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-896891216003172567?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/896891216003172567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=896891216003172567' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/896891216003172567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/896891216003172567'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2010/10/installing-oracle-apps-11i_01.html' title='Installing Oracle Apps 11i'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_-_hPD20HpD4/TKXp7EREXCI/AAAAAAAAA18/69QsiQukTFk/s72-c/1.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-6916703436184388503</id><published>2010-10-01T04:08:00.000-07:00</published><updated>2010-10-01T07:17:53.142-07:00</updated><title type='text'>Steps in Applying a Patch - Oracle Apps 11i</title><content type='html'>&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;a) login as applmgr and set the environment. For the Windows environment also, you have to test that CLASSPATH contains %JAVA_TOP%, %JAVA_TOP%\loadjava.zip &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;b) create a PATCH_TOP directory in the Base Directory (at the same level as APPL_TOP, COMMON_TOP, etc: this is just a recommandation) for the patches which will be downloaded. If this directory exists, this step can be skipped. An OS environment variable could be created for this directory. This will be done only one time, when the first patch will be applied. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;c) download the patch you want to apply in PATCH_TOP directory and unzip the patch. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;d) understand the README.txt file and complete the prerequisite or manual steps. Here, if there are any patched to apply as pre-requisite, in general, is created a document with all the steps involving in the patching process and the pre-requisite patches will be applied before the initial patch. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;e) assure that the PLATFORM variable environment (under UNIX, Linux, Solaris) is set&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;f) Shut down APPS services. The database services and the listener must be up and running. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;g) Enable Maintenance Mode.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;h) Start AutoPatch in interactive mode. this task must be done from the directory where the patch driver is/was unzipped. Also, respond to the adpatch prompts. If there are more drivers to apply (there is no unified drive: there could be a database (d), copy (c) or generate (g) drive) restart the adpatch and apply the other patches. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;i) Review the log files. By default, the location is $APPL_TOP/admin/&lt;sid&gt;/log and the file is adpatch.log.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;j) Review the customizations (if any). If a customization was modified by this patch, the customization must be applied again. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;For the customizations please look into the $APPL_TOP/admin/applcust.txt file. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;k) Disable Maintenance Mode&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;l) Restart APPS services&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;m) Archive or delete the AutoPatch backup files. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;2. How could I test the impact of the patch on the APPS environment ?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;AutoPatch must be run in test mode (apply=no). The APPS services must be stopped and the Maintenance Mode must be enabled as well. To see which is the impact on the system, you can use Patch Impact Analysis in the Patch Wizard. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;3. May I apply a patch if the APPS services are running and the Maintenance Mode is not enabled ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;If this is possible the README.txt will let you know. If the patch README.txt file will not state this explicitly, that means you have to stop the APPS processes and to enable the Maintenance Mode. The help files can always be applied without stopping the APPS services. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;If a patch can be applied without stopping the APPS services we have to use the option hotpatch.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;4. What is a non-standard patch ?&lt;/span&gt; &lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;A non-standard patch is a regular patch (with a similar structure as a standard patch), but the naming is not standard (the naming of the driver file).&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;A standard patch is named u&lt;patchnum&gt;.drv, c&lt;patchnum&gt;.drv, d&lt;patchnum&gt;.drv or g&lt;patchnum&gt;.drv. The &lt;patchnum&gt;has 6-8 digits. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;5. Which are the Oracle Applications Patch types ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_-_hPD20HpD4/TKXteVX783I/AAAAAAAAA3c/mD0tWpgbe-Q/s1600/pATCH.bmp" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" px="true" src="http://2.bp.blogspot.com/_-_hPD20HpD4/TKXteVX783I/AAAAAAAAA3c/mD0tWpgbe-Q/s1600/pATCH.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;HAPPY LEARNING!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-6916703436184388503?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/6916703436184388503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=6916703436184388503' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/6916703436184388503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/6916703436184388503'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2010/10/steps-in-applying-patch-oracle-apps-11i.html' title='Steps in Applying a Patch - Oracle Apps 11i'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_-_hPD20HpD4/TKXteVX783I/AAAAAAAAA3c/mD0tWpgbe-Q/s72-c/pATCH.bmp' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-642084540419393573</id><published>2010-10-01T03:38:00.001-07:00</published><updated>2010-10-01T03:38:32.090-07:00</updated><title type='text'>Oracle Advanced Replication - Setup</title><content type='html'>Steps for Setting Up Advanced Replication&lt;br /&gt;Step 1 - Create 2 users: REPADMIN and REPSYS.&lt;br /&gt;REPADMIN will perform all administration tasks related with advanced replication. REPSYS performs operations on SYS's behalf, as required by the advanced replication packages. SYSTEM will hold the replication tables. Set up the db links and grant the users the appropriate privileges. &lt;br /&gt;&lt;br /&gt;At the master definition site:&lt;br /&gt;&lt;br /&gt;REM Run this first on the main database as SYS.&lt;br /&gt;REM Function: sets up the advanced replication users.&lt;br /&gt;REM&lt;br /&gt;SET echo on&lt;br /&gt;SPOOL cr_rep1.out&lt;br /&gt;CONNECT sys/&amp;sys_passwd&lt;br /&gt;ALTER database rename global_name to NEMP.WORLD;&lt;br /&gt;&lt;br /&gt;CREATE USER repsys identified by &amp;repsys_passwd&lt;br /&gt;default tablespace  tools&lt;br /&gt;temporary tablespace temp&lt;br /&gt;quota unlimited on tools;&lt;br /&gt;&lt;br /&gt;GRANT connect,resource to repsys;&lt;br /&gt;DROP public database link PRODREP.world;&lt;br /&gt;&lt;br /&gt;CREATE PUBLIC database link PRODREP.WORLD using 'PRODREP.WORLD';&lt;br /&gt;DROP database link PRODREP.WORLD;&lt;br /&gt;&lt;br /&gt;CREATE DATABASE link PRODREP.WORLD connect to repsys identified by &amp;repsys_passwd;&lt;br /&gt;&lt;br /&gt;CREATE USER repadmin identified by &amp;repadmin_passwd&lt;br /&gt;default tablespace tools&lt;br /&gt;temporary tablespace temp&lt;br /&gt;quota unlimited on tools;&lt;br /&gt;&lt;br /&gt;GRANT dba to repadmin;&lt;br /&gt;GRANT execute on dbms_defer to repadmin with grant option;&lt;br /&gt;GRANT execute on dbms_defer_query to repadmin;&lt;br /&gt;EXECUTE dbms_repcat_admin.grant_admin_any_repgroup('repadmin');&lt;br /&gt;EXECUTE dbms_repcat_auth.grant_surrogate_repcat('repsys');&lt;br /&gt;CONNECT repadmin/&amp;repadmin_passwd&lt;br /&gt;DROP database link PRODREP.world;&lt;br /&gt;&lt;br /&gt;CREATE DATABASE link PRODREP.WORLD connect to repadmin&lt;br /&gt;identified by &amp;repadmin_passwd;&lt;br /&gt;GRANT execute on sys.dbms_defer to ACME;&lt;br /&gt;&lt;br /&gt;CONNECT ACME/&amp;ACME_passwd&lt;br /&gt;DROP database link PRODREP.world;&lt;br /&gt;&lt;br /&gt;CREATE DATABASE link PRODREP.WORLD connect to ACME&lt;br /&gt;identified by &amp;ACME_passwd;&lt;br /&gt;SPOOL off;&lt;br /&gt;Step 2 - Create the replication administration users at the master site, with the appropriate database links and database privileges.&lt;br /&gt;REM To be run on the master site as SYS&lt;br /&gt;REM Sites up the replication admin users and objects&lt;br /&gt;REM&lt;br /&gt;SET echo on&lt;br /&gt;SPOOL cr_rep1.out&lt;br /&gt;CONNECT sys/&amp;sys_passwd&lt;br /&gt;ALTER database rename global_name to PRODREP.WORLD;&lt;br /&gt;&lt;br /&gt;CREATE USER repsys identified by &amp;repsys_passwd&lt;br /&gt;default tablespace  tools&lt;br /&gt;temporary tablespace temp&lt;br /&gt;quota unlimited on tools;&lt;br /&gt;&lt;br /&gt;GRANT connect,resource to repsys;&lt;br /&gt;DROP public database link NEMP.WORLD;&lt;br /&gt;&lt;br /&gt;CREATE PUBLIC database link NEMP.WORLD using 'NEMP';&lt;br /&gt;DROP database link NEMP.WORLD;&lt;br /&gt;&lt;br /&gt;CREATE DATABASE link NEMP.WORLD connect to repsys&lt;br /&gt;identified by &amp;repsys_passwd;&lt;br /&gt;&lt;br /&gt;CREATE USER repadmin identified by &amp;repadmin_passwd&lt;br /&gt;default tablespace tools&lt;br /&gt;temporary tablespace temp&lt;br /&gt;quota unlimited on tools&lt;br /&gt;/&lt;br /&gt;&lt;br /&gt;GRANT dba to repadmin;&lt;br /&gt;GRANT execute on dbms_defer to repadmin with grant option;&lt;br /&gt;GRANT execute on dbms_defer_query to repadmin;&lt;br /&gt;EXECUTE dbms_repcat_admin.grant_admin_any_repgroup('repadmin');&lt;br /&gt;EXECUTE dbms_repcat_auth.grant_surrogate_repcat('repsys');&lt;br /&gt;CONNECT repadmin/&amp;repadmin_passwd&lt;br /&gt;DROP database link NEMP.WORLD;&lt;br /&gt;&lt;br /&gt;CREATE DATABASE link NEMP.WORLD connect to repadmin&lt;br /&gt;identified by &amp;repadmin_passwd;&lt;br /&gt;&lt;br /&gt;GRANT execute on sys.dbms_defer to ACME;&lt;br /&gt;CONNECT ACME/&amp;ACME_passwd&lt;br /&gt;DROP database link NEMP.WORLD;&lt;br /&gt;&lt;br /&gt;CREATE DATABASE link NEMP.WORLD connect to ACME&lt;br /&gt;identified by &amp;ACME_passwd;&lt;br /&gt;SPOOL off;&lt;br /&gt;SET echo off&lt;br /&gt;From here on, you must perform all tasks as the REPADMIN user!&lt;br /&gt;&lt;br /&gt;Step 3 - At the master site, pre-create the objects to be replicated.&lt;br /&gt;If the table is constantly changing at the master definition site, it is better to create just the structures and have the replication manager copy the rows while creating the replication objects.&lt;br /&gt;&lt;br /&gt;Step 4 - At the master definition site, create a replication schema.&lt;br /&gt;exec dbms_repcat.create_master_schema('ACME');&lt;br /&gt;Step 5 - At the master definition site, create the required replication group.&lt;br /&gt;exec dbms_repcat.create_master_repgroup('BILLING_RUN');&lt;br /&gt;Step 6 - Add the objects to the group. For example:&lt;br /&gt;exec dbms_repcat.create_master_repobject(-&lt;br /&gt;SNAME=&gt;'ACME',ONAME=&gt;'BILLINGSMELTERREDUCTION',TYPE=&gt;'TABLE',-&lt;br /&gt;USE_EXISTING_OBJECT=&gt;true,COPY_ROWS=&gt;true,GNAME=&gt;'BILLING_RUN');&lt;br /&gt;Step 7 - Generate replication support for the object.&lt;br /&gt;This will create the packages and triggers for advanced replication.&lt;br /&gt;&lt;br /&gt;exec dbms_repcat.generate_replication_support('BILLING_RUN', 'BILLINGSMELTERREDUCTION','TABLE');&lt;br /&gt;Step 8 - Add one or more master site to the group.&lt;br /&gt;exec dbms_repcat.create_master_database(-&lt;br /&gt;SNAME  =&gt; 'ACME',oname =&gt; 'BILLINGSMELTERREDUCTION',type=&gt;'TABLE',-&lt;br /&gt;USE_EXISTING_OBJECT=&gt;true,copy_rows =&gt; true,gname =&gt; 'BILLING_RUN');&lt;br /&gt;At this point, there should be a jobs submitted automatically to the master site and master definition site:&lt;br /&gt;&lt;br /&gt;JOB  WHAT&lt;br /&gt;---- ------------------------------------------------------------&lt;br /&gt;INTERVAL             LAST_DATE LAST_SEC BR NEXT_DATE NEXT_SEC&lt;br /&gt;-------------------- --------- -------- -- --------- --------&lt;br /&gt;  41 dbms_repcat.do_deferred_repcat_admin('"ACME"', FALSE);&lt;br /&gt;SYSDATE + (5/1440)    08-JUL-98 18:03:19 N  08-JUL-98 18:13:19&lt;br /&gt;This job will execute the tasks listed in the view DBA_REPCATLOG. For example, add replication object, add master site, etc.&lt;br /&gt;&lt;br /&gt;At the master definition site, the job to replicate all SQL command should also be automatically submitted. For example:&lt;br /&gt;&lt;br /&gt;JOB WHAT&lt;br /&gt;---- ------------------------------------------------------------&lt;br /&gt;INTERVAL             LAST_DATE LAST_SEC BR NEXT_DATE NEXT_SEC&lt;br /&gt;-------------------- --------- -------- -- --------- --------&lt;br /&gt;27 sys.dbms_defer_sys.execute(destination=&gt;'PRODREP.WORLD', execute_as_user=&gt;TRUE,&lt;br /&gt;   batch_size=&gt;140);&lt;br /&gt;sysdate+5/1440       08-JUL-98 18:01:12 N  08-JUL-98 18:06:12&lt;br /&gt;Step 9 - Resume master activity.&lt;br /&gt;Once DBA_REPCATLOG is cleared, ie, job 41 is completed successfully, you can resume master activity. Errors in executing job 41 will be recorded in DBA_REPCATLOG. To resume master activity, issue the command listed below.&lt;br /&gt;&lt;br /&gt;Exec dbms_repcat.resume_master_activity('BILLING_RUN');&lt;br /&gt;From this point the replication group should change from QUIESCED to NORMAL mode. While the database is in QUIESCED mode, only SELECT statements are allowed against the database. In NORMAL mode, all DMLs are allowed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HAPPY LEARNING!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-642084540419393573?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/642084540419393573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=642084540419393573' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/642084540419393573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/642084540419393573'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2010/10/oracle-advanced-replication-setup.html' title='Oracle Advanced Replication - Setup'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-1626566111282098805</id><published>2010-10-01T03:29:00.001-07:00</published><updated>2010-10-01T03:29:19.853-07:00</updated><title type='text'>GUIDE ON CREATING PHYSICAL STANDBY USING RMAN DUPLICATE</title><content type='html'>METALINK DOCID: 1075908.1 STEP BY STEP GUIDE ON CREATING PHYSICAL STANDBY USING RMAN DUPLICATE...FROM ACTIVE DATABASE &lt;br /&gt;========================= WITHOUT SHUTTING DOWN THE PRIMARY AND USING PRIMARY ACTIVE DATABASE FILES [ID 1075908.1]&lt;br /&gt;&lt;br /&gt;STEP-1 (KEEP THE FOLLOWING DETAILS IN HANDY)&lt;br /&gt;============================================&lt;br /&gt;PRIMARY Database Details&lt;br /&gt;========================&lt;br /&gt;SQL&gt; sho parameter spfile&lt;br /&gt;&lt;br /&gt;NAME                                 TYPE        VALUE&lt;br /&gt;------------------------------------ ----------- ------------------------------&lt;br /&gt;spfile                               string      +DATADG1/spfilepmcpbs21.ora&lt;br /&gt;&lt;br /&gt;SQL&gt; sho parameter control_files&lt;br /&gt;&lt;br /&gt;NAME                                 TYPE        VALUE&lt;br /&gt;------------------------------------ ----------- ------------------------------&lt;br /&gt;control_files                        string      +DATADG1/bcrpbs20/controlfile/control01.ctl&lt;br /&gt;&lt;br /&gt;SQL&gt; sho parameter db_recovery_file_dest&lt;br /&gt;&lt;br /&gt;NAME                                 TYPE        VALUE&lt;br /&gt;------------------------------------ ----------- ------------------------------&lt;br /&gt;db_recovery_file_dest                string      +datadg1 &lt;-- This parameter should be definedSQL&gt; select FILE#,NAME from v$datafile;&lt;br /&gt;&lt;br /&gt;     FILE# NAME&lt;br /&gt;---------- ----------------------------------------------------------------------------------------------------&lt;br /&gt;         1 +DATADG1/bcrpbs20/datafile/system.279.699561171&lt;br /&gt;         2 +DATADG1/bcrpbs20/datafile/sysaux.280.699561057&lt;br /&gt;         3 +DATADG1/bcrpbs20/datafile/undotbs1.276.699561241&lt;br /&gt;  ..&lt;br /&gt;  ..&lt;br /&gt;  ..&lt;br /&gt;        73 +DATADG1/bcrpbs20/datafile/pbsd_racs_data.469.721768271&lt;br /&gt;        74 +DATADG1/bcrpbs20/datafile/pbsd_price_idx.464.721768335&lt;br /&gt;        76 +DATADG1/bcrpbs20/datafile/pbsd_stg_raw_data.450.721859367&lt;br /&gt;        77 +DATADG1/bcrpbs20/datafile/pbsd_racs_data.443.721859377&lt;br /&gt;        78 +DATADG1/bcrpbs20/datafile/pbsd_price_idx.470.721859383&lt;br /&gt;&lt;br /&gt;60 rows selected.&lt;br /&gt;&lt;br /&gt;SQL&gt;&lt;br /&gt;&lt;br /&gt;SQL&gt; select MEMBER from v$logfile;&lt;br /&gt;&lt;br /&gt;MEMBER&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;+DATADG1/bcrpbs20/onlinelog/group_1.378.713448383&lt;br /&gt;+DATADG1/bcrpbs20/onlinelog/group_1.369.713448389&lt;br /&gt;+DATADG1/bcrpbs20/onlinelog/group_5.265.713446555&lt;br /&gt;..&lt;br /&gt;..&lt;br /&gt;..&lt;br /&gt;+DATADG1/bcrpbs20/onlinelog/group_33.421.713454787&lt;br /&gt;+DATADG1/bcrpbs20/onlinelog/group_33.422.713454793&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;STANDBY Database Details&lt;br /&gt;========================&lt;br /&gt;&lt;br /&gt;SQL&gt; sho parameter spfile&lt;br /&gt;&lt;br /&gt;NAME                                 TYPE        VALUE&lt;br /&gt;------------------------------------ ----------- ------------------------------&lt;br /&gt;spfile                               string      +DATADG1/pmcpbs20/spfilepmcpbs2.ora&lt;br /&gt;SQL&gt; sho parameter control_files&lt;br /&gt;&lt;br /&gt;NAME                                 TYPE        VALUE&lt;br /&gt;------------------------------------ ----------- ------------------------------&lt;br /&gt;control_files                        string      +DATADG1/pmcpbs20/controlfile/control01.ctl&lt;br /&gt;&lt;br /&gt;SQL&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL&gt; select FILE#,NAME from v$datafile;&lt;br /&gt;&lt;br /&gt;     FILE# NAME&lt;br /&gt;---------- ----------------------------------------------------------------------------------------------------&lt;br /&gt;         1 +DATADG1/pmcpbs20/datafile/system.661.727505763&lt;br /&gt;         2 +DATADG1/pmcpbs20/datafile/sysaux.660.727505841&lt;br /&gt;         3 +DATADG1/pmcpbs20/datafile/undotbs1.662.727505217&lt;br /&gt;  ..&lt;br /&gt;  ..&lt;br /&gt;  ..&lt;br /&gt;        77 +DATADG1/pmcpbs20/datafile/pbsd_racs_data.656.727505911&lt;br /&gt;        78 +DATADG1/pmcpbs20/datafile/pbsd_price_index.653.727506103&lt;br /&gt;&lt;br /&gt;57 rows selected.&lt;br /&gt;&lt;br /&gt;SQL&gt;&lt;br /&gt;&lt;br /&gt;STEP-2 TAKE BACKUP OF THE SPFILE OR PFILE OF STANDBY DATABASE&lt;br /&gt;======================================================&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(i) If standby is using spfile, create pfile using spfile in temporary location, If standby was using pfile &lt;br /&gt;    make a copy of the pfile to the temporary location&lt;br /&gt;(ii) In the pfile created in (i), Make parameter cluster_database=false , If standby is in RAC.&lt;br /&gt;(ii) Shutdown the database(RAC-using srvctl) and start the DB as standalone with the PFILE taken as backup&lt;br /&gt;&lt;br /&gt;bash-3.00$ ls -ltr&lt;br /&gt;total 179752&lt;br /&gt;-rw-r--r--  1 oracle oinstall      3553 Aug 26 00:59 pfile_bkp.ora&lt;br /&gt;bash-3.00$ pwd&lt;br /&gt;/home/oracle/PFILE_CONTROL&lt;br /&gt;bash-3.00$&lt;br /&gt;&lt;br /&gt;STEP-3 CREATE AN RMAN .RCV FILE AS BELOW&lt;br /&gt;=========================================&lt;br /&gt;run {&lt;br /&gt;allocate channel prmy1 type disk;&lt;br /&gt;allocate channel prmy2 type disk;&lt;br /&gt;allocate channel prmy3 type disk;&lt;br /&gt;allocate channel prmy4 type disk;&lt;br /&gt;allocate channel prmy5 type disk;&lt;br /&gt;allocate channel prmy6 type disk;&lt;br /&gt;allocate auxiliary channel stby1 type disk;&lt;br /&gt;allocate auxiliary channel stby2 type disk;&lt;br /&gt;allocate auxiliary channel stby3 type disk;&lt;br /&gt;allocate auxiliary channel stby4 type disk;&lt;br /&gt;duplicate target database for standby from active database&lt;br /&gt;spfile&lt;br /&gt;set db_unique_name='PMCPBS20'     &lt;br /&gt;set control_files='+DATADG1/pmcpbs20/controlfile/control01.ctl'&lt;br /&gt;set cluster_database='false'&lt;br /&gt;set service_names='PMCPBS20'&lt;br /&gt;set fal_client='pmcpbs20'&lt;br /&gt;set fal_server='bcrpbs20'&lt;br /&gt;set standby_file_management='AUTO'&lt;br /&gt;set log_archive_config='dg_config=(PMCPBS20,BCRPBS20)'&lt;br /&gt;set log_archive_dest_1='location="+ARCHDG1",  valid_for=(ALL_LOGFILES,ALL_ROLES)'&lt;br /&gt;nofilenamecheck;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Where,&lt;br /&gt;&lt;br /&gt;.. set db_unique_name='PMCPBS20'       &lt;&lt;-------- This should be the unique name of standby database.. set control_files='+DATADG1/pmcpbs20/controlfile/control01.ctl' &lt;&lt;-------- This was the control file location found in STEP-1.. set cluster_database='false'                                    &lt;&lt;-------- For RAC this parameter is set FALSE in STEP-2.. set service_names='PMCPBS20'        &lt;&lt;-------- This SERVICE NAME should connect to standby databaseSTEP-4 RUN THE BELOW .RCV IN STANDBY SITE AS SHOWN BELOW========================================================nohup rman target USER/PWD@BCRPBS20_forrebuild auxiliary USER/PWD@PMCPBS20 cmdfile /home/oracle/PFILE_CONTROL/Rebuilt_BCRPBS20_26thAug.rcv log /home/oracle/PFILE_CONTROL/Rebuilt_BCRPBS20_26thAug.log &amp;Where,USER/PWD@BCRPBS20_forrebuild &lt;&lt;---- BCRPBS20_forrebuild(This tns entry should be added to TNSNAMES.ORA for connecting to PRIMARY DB to only 1 node)USER/PWD@PMCPBS20            &lt;&lt;---- PMCPBS20           (This tns entry should point to standby database itself)LOG OF THE ABOVE STANDBY CREATION ACTIVITY SHOULD BE AS BELOW ==============================================================Recovery Manager: Release 11.1.0.7.0 - Production on Thu Aug 26 04:22:32 2010Copyright (c) 1982, 2007, Oracle.  All rights reserved.connected to target database: PMCPBS20 (DBID=1148223702)connected to auxiliary database: PMCPBS20 (not mounted)RMAN&gt; run {&lt;br /&gt;2&gt; allocate channel prmy1 type disk;&lt;br /&gt;3&gt; allocate channel prmy2 type disk;&lt;br /&gt;4&gt; allocate channel prmy3 type disk;&lt;br /&gt;5&gt; allocate channel prmy4 type disk;&lt;br /&gt;6&gt; allocate channel prmy5 type disk;&lt;br /&gt;7&gt; allocate channel prmy6 type disk;&lt;br /&gt;8&gt; allocate auxiliary channel stby1 type disk;&lt;br /&gt;9&gt; allocate auxiliary channel stby2 type disk;&lt;br /&gt;10&gt; allocate auxiliary channel stby3 type disk;&lt;br /&gt;11&gt; allocate auxiliary channel stby4 type disk;&lt;br /&gt;12&gt; duplicate target database for standby from active database&lt;br /&gt;13&gt; spfile&lt;br /&gt;14&gt; set db_unique_name='PMCPBS20'&lt;br /&gt;15&gt; set control_files='+DATADG1/pmcpbs20/controlfile/control01.ctl'&lt;br /&gt;16&gt; set cluster_database='false'&lt;br /&gt;17&gt; set service_names='PMCPBS20'&lt;br /&gt;18&gt; set fal_client='pmcpbs20'&lt;br /&gt;19&gt; set fal_server='bcrpbs20'&lt;br /&gt;20&gt; set standby_file_management='AUTO'&lt;br /&gt;21&gt; set log_archive_config='dg_config=(PMCPBS20,BCRPBS20)'&lt;br /&gt;22&gt; set log_archive_dest_1='location="+ARCHDG1",  valid_for=(ALL_LOGFILES,ALL_ROLES)'&lt;br /&gt;23&gt; nofilenamecheck;&lt;br /&gt;24&gt; }&lt;br /&gt;25&gt; &lt;br /&gt;26&gt; &lt;br /&gt;using target database control file instead of recovery catalog&lt;br /&gt;allocated channel: prmy1&lt;br /&gt;channel prmy1: SID=1354 instance=PMCPBS21 device type=DISK&lt;br /&gt;&lt;br /&gt;allocated channel: prmy2&lt;br /&gt;channel prmy2: SID=1353 instance=PMCPBS21 device type=DISK&lt;br /&gt;&lt;br /&gt;allocated channel: prmy3&lt;br /&gt;channel prmy3: SID=1341 instance=PMCPBS21 device type=DISK&lt;br /&gt;&lt;br /&gt;allocated channel: prmy4&lt;br /&gt;channel prmy4: SID=1349 instance=PMCPBS21 device type=DISK&lt;br /&gt;&lt;br /&gt;allocated channel: prmy5&lt;br /&gt;channel prmy5: SID=1325 instance=PMCPBS21 device type=DISK&lt;br /&gt;&lt;br /&gt;allocated channel: prmy6&lt;br /&gt;channel prmy6: SID=1357 instance=PMCPBS21 device type=DISK&lt;br /&gt;&lt;br /&gt;allocated channel: stby1&lt;br /&gt;channel stby1: SID=2066 device type=DISK&lt;br /&gt;&lt;br /&gt;allocated channel: stby2&lt;br /&gt;channel stby2: SID=2065 device type=DISK&lt;br /&gt;&lt;br /&gt;allocated channel: stby3&lt;br /&gt;channel stby3: SID=2064 device type=DISK&lt;br /&gt;&lt;br /&gt;allocated channel: stby4&lt;br /&gt;channel stby4: SID=2753 device type=DISK&lt;br /&gt;&lt;br /&gt;Starting Duplicate Db at 26-AUG-10&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;   backup as copy reuse&lt;br /&gt;   file  '/home/oracle/PMCPBS20/product/dbms/11G/dbs/orapwPMCPBS21' auxiliary format &lt;br /&gt; '/home/oracle/PMCPBS20/product/dbms/11G/dbs/orapwPMCPBS21'   file &lt;br /&gt; '+DATADG1/spfilepmcpbs21.ora' auxiliary format &lt;br /&gt; '+DATADG1/pmcpbs20/spfilepmcpbs2.ora'   ;&lt;br /&gt;   sql clone "alter system set spfile= ''+DATADG1/pmcpbs20/spfilepmcpbs2.ora''";&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;Starting backup at 26-AUG-10&lt;br /&gt;Finished backup at 26-AUG-10&lt;br /&gt;&lt;br /&gt;sql statement: alter system set spfile= ''+DATADG1/pmcpbs20/spfilepmcpbs2.ora''&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;   sql clone "alter system set  db_unique_name = &lt;br /&gt; ''PMCPBS20'' comment=&lt;br /&gt; '''' scope=spfile";&lt;br /&gt;   sql clone "alter system set  control_files = &lt;br /&gt; ''+DATADG1/pmcpbs20/controlfile/control01.ctl'' comment=&lt;br /&gt; '''' scope=spfile";&lt;br /&gt;   sql clone "alter system set  cluster_database = &lt;br /&gt; false comment=&lt;br /&gt; '''' scope=spfile";&lt;br /&gt;   sql clone "alter system set  service_names = &lt;br /&gt; ''PMCPBS20'' comment=&lt;br /&gt; '''' scope=spfile";&lt;br /&gt;   sql clone "alter system set  fal_client = &lt;br /&gt; ''pmcpbs20'' comment=&lt;br /&gt; '''' scope=spfile";&lt;br /&gt;   sql clone "alter system set  fal_server = &lt;br /&gt; ''bcrpbs20'' comment=&lt;br /&gt; '''' scope=spfile";&lt;br /&gt;   sql clone "alter system set  standby_file_management = &lt;br /&gt; ''AUTO'' comment=&lt;br /&gt; '''' scope=spfile";&lt;br /&gt;   sql clone "alter system set  log_archive_config = &lt;br /&gt; ''dg_config=(PMCPBS20,BCRPBS20)'' comment=&lt;br /&gt; '''' scope=spfile";&lt;br /&gt;   sql clone "alter system set  log_archive_dest_1 = &lt;br /&gt; ''location=^"+ARCHDG1^",  valid_for=(ALL_LOGFILES,ALL_ROLES)'' comment=&lt;br /&gt; '''' scope=spfile";&lt;br /&gt;   shutdown clone immediate;&lt;br /&gt;   startup clone nomount ;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  db_unique_name =  ''PMCPBS20'' comment= '''' scope=spfile&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  control_files =  ''+DATADG1/pmcpbs20/controlfile/control01.ctl'' comment= '''' scope=spfile&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  cluster_database =  false comment= '''' scope=spfile&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  service_names =  ''PMCPBS20'' comment= '''' scope=spfile&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  fal_client =  ''pmcpbs20'' comment= '''' scope=spfile&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  fal_server =  ''bcrpbs20'' comment= '''' scope=spfile&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  standby_file_management =  ''AUTO'' comment= '''' scope=spfile&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  log_archive_config =  ''dg_config=(PMCPBS20,BCRPBS20)'' comment= '''' scope=spfile&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  log_archive_dest_1 =  ''location="+ARCHDG1",  valid_for=(ALL_LOGFILES,ALL_ROLES)'' comment= '''' scope=spfile&lt;br /&gt;&lt;br /&gt;Oracle instance shut down&lt;br /&gt;&lt;br /&gt;connected to auxiliary database (not started)&lt;br /&gt;Oracle instance started&lt;br /&gt;&lt;br /&gt;Total System Global Area   42757922816 bytes&lt;br /&gt;&lt;br /&gt;Fixed Size                     2181392 bytes&lt;br /&gt;Variable Size              16176203504 bytes&lt;br /&gt;Database Buffers           26575110144 bytes&lt;br /&gt;Redo Buffers                   4427776 bytes&lt;br /&gt;allocated channel: stby1&lt;br /&gt;channel stby1: SID=1378 device type=DISK&lt;br /&gt;allocated channel: stby2&lt;br /&gt;channel stby2: SID=2065 device type=DISK&lt;br /&gt;allocated channel: stby3&lt;br /&gt;channel stby3: SID=2064 device type=DISK&lt;br /&gt;allocated channel: stby4&lt;br /&gt;channel stby4: SID=2063 device type=DISK&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;   backup as copy current controlfile for standby auxiliary format  '+DATADG1/pmcpbs20/controlfile/control01.ctl';&lt;br /&gt;   sql clone 'alter database mount standby database';&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;Starting backup at 26-AUG-10&lt;br /&gt;channel prmy1: starting datafile copy&lt;br /&gt;copying standby control file&lt;br /&gt;output file name=/home/oracle/PMCPBS20/product/dbms/11G/dbs/snapcf_PMCPBS21.f tag=TAG20100826T042344 RECID=38 STAMP=728022226&lt;br /&gt;channel prmy1: datafile copy complete, elapsed time: 00:00:15&lt;br /&gt;Finished backup at 26-AUG-10&lt;br /&gt;&lt;br /&gt;sql statement: alter database mount standby database&lt;br /&gt;RMAN-05529: WARNING: DB_FILE_NAME_CONVERT resulted in invalid ASM names; names changed to disk group only.&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;   set newname for tempfile  1 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   switch clone tempfile all;&lt;br /&gt;   set newname for datafile  1 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  2 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  3 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  4 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  5 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  6 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  7 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  8 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  9 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  10 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  11 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  12 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  13 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  14 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  15 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  16 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  17 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  18 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  19 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  21 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  23 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  26 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  28 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  29 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  30 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  31 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  32 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  33 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  34 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  42 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  43 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  44 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  45 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  46 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  47 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  48 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  50 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  51 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  52 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  53 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  56 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  57 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  58 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  59 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  60 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  61 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  62 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  63 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  64 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  66 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  67 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  68 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  69 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  70 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  71 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  72 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  73 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  74 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  76 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  77 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   set newname for datafile  78 to &lt;br /&gt; "+datadg1";&lt;br /&gt;   backup as copy reuse&lt;br /&gt;   datafile  1 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 2 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 3 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 4 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 5 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 6 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 7 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 8 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 9 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 10 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 11 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 12 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 13 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 14 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 15 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 16 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 17 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 18 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 19 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 21 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 23 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 26 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 28 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 29 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 30 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 31 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 32 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 33 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 34 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 42 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 43 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 44 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 45 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 46 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 47 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 48 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 50 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 51 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 52 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 53 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 56 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 57 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 58 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 59 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 60 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 61 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 62 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 63 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 64 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 66 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 67 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 68 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 69 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 70 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 71 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 72 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 73 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 74 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 76 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 77 auxiliary format &lt;br /&gt; "+datadg1"   datafile &lt;br /&gt; 78 auxiliary format &lt;br /&gt; "+datadg1"   ;&lt;br /&gt;   sql 'alter system archive log current';&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;renamed tempfile 1 to +datadg1 in control file&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;Starting backup at 26-AUG-10&lt;br /&gt;channel prmy1: starting datafile copy&lt;br /&gt;input datafile file number=00013 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_idx.291.701529109&lt;br /&gt;channel prmy2: starting datafile copy&lt;br /&gt;input datafile file number=00014 name=+DATADG1/bcrpbs20/datafile/pbsd_racs_data.292.701529121&lt;br /&gt;channel prmy3: starting datafile copy&lt;br /&gt;input datafile file number=00019 name=+DATADG1/bcrpbs20/datafile/pbsd_price_data.297.701529397&lt;br /&gt;channel prmy4: starting datafile copy&lt;br /&gt;input datafile file number=00023 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_data.301.701529895&lt;br /&gt;channel prmy5: starting datafile copy&lt;br /&gt;input datafile file number=00026 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_data.258.709602863&lt;br /&gt;channel prmy6: starting datafile copy&lt;br /&gt;input datafile file number=00046 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_data.362.711412309&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.648.728022265 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy5: datafile copy complete, elapsed time: 00:43:06&lt;br /&gt;channel prmy5: starting datafile copy&lt;br /&gt;input datafile file number=00047 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_data.363.711679821&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_index.645.728022263 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy1: datafile copy complete, elapsed time: 00:43:42&lt;br /&gt;channel prmy1: starting datafile copy&lt;br /&gt;input datafile file number=00048 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_data.364.712512321&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_price_data.646.728022263 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy3: datafile copy complete, elapsed time: 00:43:42&lt;br /&gt;channel prmy3: starting datafile copy&lt;br /&gt;input datafile file number=00051 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_idx.367.712524829&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_racs_data.651.728022265 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy2: datafile copy complete, elapsed time: 00:43:49&lt;br /&gt;channel prmy2: starting datafile copy&lt;br /&gt;input datafile file number=00052 name=+DATADG1/bcrpbs20/datafile/pbsd_price_data.368.712524839&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.647.728022265 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy4: datafile copy complete, elapsed time: 00:43:57&lt;br /&gt;channel prmy4: starting datafile copy&lt;br /&gt;input datafile file number=00067 name=+DATADG1/bcrpbs20/datafile/pbsd_racs_data.490.719525879&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.650.728022265 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy6: datafile copy complete, elapsed time: 00:44:04&lt;br /&gt;channel prmy6: starting datafile copy&lt;br /&gt;input datafile file number=00069 name=+DATADG1/bcrpbs20/datafile/pbsd_price_data.446.719527593&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.654.728024885 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy1: datafile copy complete, elapsed time: 00:42:38&lt;br /&gt;channel prmy1: starting datafile copy&lt;br /&gt;input datafile file number=00045 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_data.360.711327831&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.652.728024851 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy5: datafile copy complete, elapsed time: 00:43:14&lt;br /&gt;channel prmy5: starting datafile copy&lt;br /&gt;input datafile file number=00042 name=+DATADG1/bcrpbs20/datafile/pbsd_price_data.358.710788823&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_index.653.728024885 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy3: datafile copy complete, elapsed time: 00:43:03&lt;br /&gt;channel prmy3: starting datafile copy&lt;br /&gt;input datafile file number=00056 name=+DATADG1/bcrpbs20/datafile/pbsd_price_data.427.715262723&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_price_data.655.728024893 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy2: datafile copy complete, elapsed time: 00:43:12&lt;br /&gt;channel prmy2: starting datafile copy&lt;br /&gt;input datafile file number=00057 name=+DATADG1/bcrpbs20/datafile/pbsd_price_data.428.715262725&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_price_data.657.728024907 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy6: datafile copy complete, elapsed time: 00:43:42&lt;br /&gt;channel prmy6: starting datafile copy&lt;br /&gt;input datafile file number=00059 name=+DATADG1/bcrpbs20/datafile/pbsd_racs_data.430.715262733&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_racs_data.656.728024901 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy4: datafile copy complete, elapsed time: 00:43:52&lt;br /&gt;channel prmy4: starting datafile copy&lt;br /&gt;input datafile file number=00060 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_data.431.715262739&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_price_data.659.728027443 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy5: datafile copy complete, elapsed time: 00:41:45&lt;br /&gt;channel prmy5: starting datafile copy&lt;br /&gt;input datafile file number=00061 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_data.432.715262741&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_price_data.660.728027469 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy3: datafile copy complete, elapsed time: 00:42:25&lt;br /&gt;channel prmy3: starting datafile copy&lt;br /&gt;input datafile file number=00062 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_data.433.715262749&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_price_data.661.728027485 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy2: datafile copy complete, elapsed time: 00:42:17&lt;br /&gt;channel prmy2: starting datafile copy&lt;br /&gt;input datafile file number=00063 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_data.434.715262751&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.658.728027443 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy1: datafile copy complete, elapsed time: 00:43:13&lt;br /&gt;channel prmy1: starting datafile copy&lt;br /&gt;input datafile file number=00064 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_idx.435.715262753&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_racs_data.662.728027531 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy6: datafile copy complete, elapsed time: 00:42:22&lt;br /&gt;channel prmy6: starting datafile copy&lt;br /&gt;input datafile file number=00070 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_idx.479.720229095&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.663.728027533 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy4: datafile copy complete, elapsed time: 00:42:54&lt;br /&gt;channel prmy4: starting datafile copy&lt;br /&gt;input datafile file number=00010 name=+DATADG1/bcrpbs20/datafile/pbsd_index.296.722468841&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.664.728029949 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy5: datafile copy complete, elapsed time: 00:44:44&lt;br /&gt;channel prmy5: starting datafile copy&lt;br /&gt;input datafile file number=00011 name=+DATADG1/bcrpbs20/datafile/pbsd_index.465.722469719&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_index.669.728030107 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy4: datafile copy complete, elapsed time: 00:42:21&lt;br /&gt;channel prmy4: starting datafile copy&lt;br /&gt;input datafile file number=00043 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_data.361.711103905&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_index.668.728030073 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy6: datafile copy complete, elapsed time: 00:43:31&lt;br /&gt;channel prmy6: starting datafile copy&lt;br /&gt;input datafile file number=00044 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_data.359.711053251&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.666.728030021 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy2: datafile copy complete, elapsed time: 00:44:38&lt;br /&gt;channel prmy2: starting datafile copy&lt;br /&gt;input datafile file number=00068 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_data.485.719526975&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.665.728030015 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy3: datafile copy complete, elapsed time: 00:44:47&lt;br /&gt;channel prmy3: starting datafile copy&lt;br /&gt;input datafile file number=00066 name=+DATADG1/bcrpbs20/datafile/pbsd_racs_data.314.719275135&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_index.667.728030037 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy1: datafile copy complete, elapsed time: 00:44:39&lt;br /&gt;channel prmy1: starting datafile copy&lt;br /&gt;input datafile file number=00021 name=+DATADG1/bcrpbs20/datafile/pbsd_price_idx.299.701529451&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_price_index.675.728032717 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy1: datafile copy complete, elapsed time: 00:39:34&lt;br /&gt;channel prmy1: starting datafile copy&lt;br /&gt;input datafile file number=00008 name=+DATADG1/bcrpbs20/datafile/pbsd_index.426.722364855&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_racs_data.674.728032701 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy3: datafile copy complete, elapsed time: 00:40:56&lt;br /&gt;channel prmy3: starting datafile copy&lt;br /&gt;input datafile file number=00058 name=+DATADG1/bcrpbs20/datafile/pbsd_price_idx.429.715262731&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.671.728032649 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy4: datafile copy complete, elapsed time: 00:44:04&lt;br /&gt;channel prmy4: starting datafile copy&lt;br /&gt;input datafile file number=00004 name=+DATADG1/bcrpbs20/datafile/users.275.699561249&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.672.728032685 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy6: datafile copy complete, elapsed time: 00:43:44&lt;br /&gt;channel prmy6: starting datafile copy&lt;br /&gt;input datafile file number=00006 name=+DATADG1/bcrpbs20/datafile/undotbs3.277.699561235&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_index.670.728032633 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy5: datafile copy complete, elapsed time: 00:45:20&lt;br /&gt;channel prmy5: starting datafile copy&lt;br /&gt;input datafile file number=00072 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_data.474.721768159&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.673.728032699 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy2: datafile copy complete, elapsed time: 00:44:39&lt;br /&gt;channel prmy2: starting datafile copy&lt;br /&gt;input datafile file number=00076 name=+DATADG1/bcrpbs20/datafile/pbsd_stg_raw_data.450.721859367&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.680.728035353 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy5: datafile copy complete, elapsed time: 00:23:06&lt;br /&gt;channel prmy5: starting datafile copy&lt;br /&gt;input datafile file number=00050 name=+DATADG1/bcrpbs20/datafile/pbsd_price_idx.366.712524817&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.681.728035379 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy2: datafile copy complete, elapsed time: 00:22:48&lt;br /&gt;channel prmy2: starting datafile copy&lt;br /&gt;input datafile file number=00015 name=+DATADG1/bcrpbs20/datafile/pbsd_data.732.727976203&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/undotbs3.679.728035311 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy6: datafile copy complete, elapsed time: 00:25:05&lt;br /&gt;channel prmy6: starting datafile copy&lt;br /&gt;input datafile file number=00016 name=+DATADG1/bcrpbs20/datafile/pbsd_data.547.727976341&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/users.678.728035293 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy4: datafile copy complete, elapsed time: 00:31:47&lt;br /&gt;channel prmy4: starting datafile copy&lt;br /&gt;input datafile file number=00071 name=+DATADG1/bcrpbs20/datafile/pbsd_price_data.311.721407945&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_price_index.677.728035157 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy3: datafile copy complete, elapsed time: 00:34:10&lt;br /&gt;channel prmy3: starting datafile copy&lt;br /&gt;input datafile file number=00005 name=+DATADG1/bcrpbs20/datafile/undotbs2.278.699561227&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_index.676.728035091 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy1: datafile copy complete, elapsed time: 00:36:42&lt;br /&gt;channel prmy1: starting datafile copy&lt;br /&gt;input datafile file number=00003 name=+DATADG1/bcrpbs20/datafile/undotbs1.276.699561241&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.683.728036747 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy2: datafile copy complete, elapsed time: 00:20:14&lt;br /&gt;channel prmy2: starting datafile copy&lt;br /&gt;input datafile file number=00017 name=+DATADG1/bcrpbs20/datafile/pbsd_price_data.859.727981313&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.684.728036813 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy6: datafile copy complete, elapsed time: 00:19:53&lt;br /&gt;channel prmy6: starting datafile copy&lt;br /&gt;input datafile file number=00012 name=+DATADG1/bcrpbs20/datafile/pbsd_racs_data.836.726285865&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_price_index.682.728036739 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy5: datafile copy complete, elapsed time: 00:21:32&lt;br /&gt;channel prmy5: starting datafile copy&lt;br /&gt;input datafile file number=00001 name=+DATADG1/bcrpbs20/datafile/system.279.699561171&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/undotbs1.687.728037293 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy1: datafile copy complete, elapsed time: 00:14:55&lt;br /&gt;channel prmy1: starting datafile copy&lt;br /&gt;input datafile file number=00002 name=+DATADG1/bcrpbs20/datafile/sysaux.280.699561057&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/undotbs2.686.728037207 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy3: datafile copy complete, elapsed time: 00:16:46&lt;br /&gt;channel prmy3: starting datafile copy&lt;br /&gt;input datafile file number=00009 name=+DATADG1/bcrpbs20/datafile/pbsd_core_data.287.701528999&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_price_data.685.728037199 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy4: datafile copy complete, elapsed time: 00:18:49&lt;br /&gt;channel prmy4: starting datafile copy&lt;br /&gt;input datafile file number=00073 name=+DATADG1/bcrpbs20/datafile/pbsd_racs_data.469.721768271&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_core_data.691.728038213 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy3: datafile copy complete, elapsed time: 00:03:51&lt;br /&gt;channel prmy3: starting datafile copy&lt;br /&gt;input datafile file number=00077 name=+DATADG1/bcrpbs20/datafile/pbsd_racs_data.443.721859377&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/system.690.728038033 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy5: datafile copy complete, elapsed time: 00:07:08&lt;br /&gt;channel prmy5: starting datafile copy&lt;br /&gt;input datafile file number=00074 name=+DATADG1/bcrpbs20/datafile/pbsd_price_idx.464.721768335&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_racs_data.508.728038329 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy4: datafile copy complete, elapsed time: 00:03:06&lt;br /&gt;channel prmy4: starting datafile copy&lt;br /&gt;input datafile file number=00078 name=+DATADG1/bcrpbs20/datafile/pbsd_price_idx.470.721859383&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_price_index.496.728038459 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy5: datafile copy complete, elapsed time: 00:01:31&lt;br /&gt;channel prmy5: starting datafile copy&lt;br /&gt;input datafile file number=00018 name=+DATADG1/bcrpbs20/datafile/pbsd_data.739.728014585&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_data.693.728038551 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy5: datafile copy complete, elapsed time: 00:00:45&lt;br /&gt;channel prmy5: starting datafile copy&lt;br /&gt;input datafile file number=00028 name=+DATADG1/bcrpbs20/datafile/pbsd_wli.261.710086635&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_price_index.649.728038515 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy4: datafile copy complete, elapsed time: 00:01:36&lt;br /&gt;channel prmy4: starting datafile copy&lt;br /&gt;input datafile file number=00033 name=+DATADG1/bcrpbs20/datafile/pbsd_geneva.349.710086799&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_wli.491.728038597 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy5: datafile copy complete, elapsed time: 00:00:16&lt;br /&gt;channel prmy5: starting datafile copy&lt;br /&gt;input datafile file number=00053 name=+DATADG1/bcrpbs20/datafile/users.424.714673535&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/sysaux.507.728038191 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy1: datafile copy complete, elapsed time: 00:07:11&lt;br /&gt;channel prmy1: starting datafile copy&lt;br /&gt;input datafile file number=00007 name=+DATADG1/bcrpbs20/datafile/dbus.352.724592017&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/dbus.695.728038619 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy1: datafile copy complete, elapsed time: 00:00:02&lt;br /&gt;channel prmy1: starting datafile copy&lt;br /&gt;input datafile file number=00029 name=+DATADG1/bcrpbs20/datafile/pbsd_xml.262.710086651&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_geneva.500.728038611 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy4: datafile copy complete, elapsed time: 00:00:10&lt;br /&gt;channel prmy4: starting datafile copy&lt;br /&gt;input datafile file number=00030 name=+DATADG1/bcrpbs20/datafile/pbsd_blob.259.710086705&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_xml.696.728038621 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy1: datafile copy complete, elapsed time: 00:00:01&lt;br /&gt;channel prmy1: starting datafile copy&lt;br /&gt;input datafile file number=00031 name=+DATADG1/bcrpbs20/datafile/pbsd_olap.260.710086743&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/users.694.728038611 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy5: datafile copy complete, elapsed time: 00:00:10&lt;br /&gt;channel prmy5: starting datafile copy&lt;br /&gt;input datafile file number=00032 name=+DATADG1/bcrpbs20/datafile/pbsd_racs.348.710086771&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_olap.698.728038623 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy1: datafile copy complete, elapsed time: 00:00:02&lt;br /&gt;channel prmy1: starting datafile copy&lt;br /&gt;input datafile file number=00034 name=+DATADG1/bcrpbs20/datafile/pbsd_archive.350.710087395&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_blob.697.728038621 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy4: datafile copy complete, elapsed time: 00:00:02&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_racs_data.692.728038445 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy3: datafile copy complete, elapsed time: 00:02:59&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_racs.699.728038623 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy5: datafile copy complete, elapsed time: 00:00:01&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_archive.701.728038623 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy1: datafile copy complete, elapsed time: 00:00:01&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_racs_data.689.728038007 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy6: datafile copy complete, elapsed time: 00:12:03&lt;br /&gt;output file name=+DATADG1/pmcpbs20/datafile/pbsd_price_data.688.728037961 tag=TAG20100826T042420 RECID=0 STAMP=0&lt;br /&gt;channel prmy2: datafile copy complete, elapsed time: 00:13:59&lt;br /&gt;Finished backup at 26-AUG-10&lt;br /&gt;&lt;br /&gt;sql statement: alter system archive log current&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;   switch clone datafile all;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;datafile 1 switched to datafile copy&lt;br /&gt;input datafile copy RECID=38 STAMP=728038813 file name=+DATADG1/pmcpbs20/datafile/system.690.728038033&lt;br /&gt;datafile 2 switched to datafile copy&lt;br /&gt;input datafile copy RECID=39 STAMP=728038813 file name=+DATADG1/pmcpbs20/datafile/sysaux.507.728038191&lt;br /&gt;datafile 3 switched to datafile copy&lt;br /&gt;input datafile copy RECID=40 STAMP=728038813 file name=+DATADG1/pmcpbs20/datafile/undotbs1.687.728037293&lt;br /&gt;datafile 4 switched to datafile copy&lt;br /&gt;input datafile copy RECID=41 STAMP=728038813 file name=+DATADG1/pmcpbs20/datafile/users.678.728035293&lt;br /&gt;datafile 5 switched to datafile copy&lt;br /&gt;input datafile copy RECID=42 STAMP=728038814 file name=+DATADG1/pmcpbs20/datafile/undotbs2.686.728037207&lt;br /&gt;datafile 6 switched to datafile copy&lt;br /&gt;input datafile copy RECID=43 STAMP=728038814 file name=+DATADG1/pmcpbs20/datafile/undotbs3.679.728035311&lt;br /&gt;datafile 7 switched to datafile copy&lt;br /&gt;input datafile copy RECID=44 STAMP=728038814 file name=+DATADG1/pmcpbs20/datafile/dbus.695.728038619&lt;br /&gt;datafile 8 switched to datafile copy&lt;br /&gt;input datafile copy RECID=45 STAMP=728038814 file name=+DATADG1/pmcpbs20/datafile/pbsd_index.676.728035091&lt;br /&gt;datafile 9 switched to datafile copy&lt;br /&gt;input datafile copy RECID=46 STAMP=728038814 file name=+DATADG1/pmcpbs20/datafile/pbsd_core_data.691.728038213&lt;br /&gt;datafile 10 switched to datafile copy&lt;br /&gt;input datafile copy RECID=47 STAMP=728038814 file name=+DATADG1/pmcpbs20/datafile/pbsd_index.669.728030107&lt;br /&gt;datafile 11 switched to datafile copy&lt;br /&gt;input datafile copy RECID=48 STAMP=728038815 file name=+DATADG1/pmcpbs20/datafile/pbsd_index.670.728032633&lt;br /&gt;datafile 12 switched to datafile copy&lt;br /&gt;input datafile copy RECID=49 STAMP=728038815 file name=+DATADG1/pmcpbs20/datafile/pbsd_racs_data.689.728038007&lt;br /&gt;datafile 13 switched to datafile copy&lt;br /&gt;input datafile copy RECID=50 STAMP=728038815 file name=+DATADG1/pmcpbs20/datafile/pbsd_index.645.728022263&lt;br /&gt;datafile 14 switched to datafile copy&lt;br /&gt;input datafile copy RECID=51 STAMP=728038815 file name=+DATADG1/pmcpbs20/datafile/pbsd_racs_data.651.728022265&lt;br /&gt;datafile 15 switched to datafile copy&lt;br /&gt;input datafile copy RECID=52 STAMP=728038815 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.683.728036747&lt;br /&gt;datafile 16 switched to datafile copy&lt;br /&gt;input datafile copy RECID=53 STAMP=728038815 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.684.728036813&lt;br /&gt;datafile 17 switched to datafile copy&lt;br /&gt;input datafile copy RECID=54 STAMP=728038816 file name=+DATADG1/pmcpbs20/datafile/pbsd_price_data.688.728037961&lt;br /&gt;datafile 18 switched to datafile copy&lt;br /&gt;input datafile copy RECID=55 STAMP=728038816 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.693.728038551&lt;br /&gt;datafile 19 switched to datafile copy&lt;br /&gt;input datafile copy RECID=56 STAMP=728038816 file name=+DATADG1/pmcpbs20/datafile/pbsd_price_data.646.728022263&lt;br /&gt;datafile 21 switched to datafile copy&lt;br /&gt;input datafile copy RECID=57 STAMP=728038816 file name=+DATADG1/pmcpbs20/datafile/pbsd_price_index.675.728032717&lt;br /&gt;datafile 23 switched to datafile copy&lt;br /&gt;input datafile copy RECID=58 STAMP=728038816 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.647.728022265&lt;br /&gt;datafile 26 switched to datafile copy&lt;br /&gt;input datafile copy RECID=59 STAMP=728038816 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.648.728022265&lt;br /&gt;datafile 28 switched to datafile copy&lt;br /&gt;input datafile copy RECID=60 STAMP=728038817 file name=+DATADG1/pmcpbs20/datafile/pbsd_wli.491.728038597&lt;br /&gt;datafile 29 switched to datafile copy&lt;br /&gt;input datafile copy RECID=61 STAMP=728038817 file name=+DATADG1/pmcpbs20/datafile/pbsd_xml.696.728038621&lt;br /&gt;datafile 30 switched to datafile copy&lt;br /&gt;input datafile copy RECID=62 STAMP=728038817 file name=+DATADG1/pmcpbs20/datafile/pbsd_blob.697.728038621&lt;br /&gt;datafile 31 switched to datafile copy&lt;br /&gt;input datafile copy RECID=63 STAMP=728038817 file name=+DATADG1/pmcpbs20/datafile/pbsd_olap.698.728038623&lt;br /&gt;datafile 32 switched to datafile copy&lt;br /&gt;input datafile copy RECID=64 STAMP=728038817 file name=+DATADG1/pmcpbs20/datafile/pbsd_racs.699.728038623&lt;br /&gt;datafile 33 switched to datafile copy&lt;br /&gt;input datafile copy RECID=65 STAMP=728038817 file name=+DATADG1/pmcpbs20/datafile/pbsd_geneva.500.728038611&lt;br /&gt;datafile 34 switched to datafile copy&lt;br /&gt;input datafile copy RECID=66 STAMP=728038818 file name=+DATADG1/pmcpbs20/datafile/pbsd_archive.701.728038623&lt;br /&gt;datafile 42 switched to datafile copy&lt;br /&gt;input datafile copy RECID=67 STAMP=728038818 file name=+DATADG1/pmcpbs20/datafile/pbsd_price_data.659.728027443&lt;br /&gt;datafile 43 switched to datafile copy&lt;br /&gt;input datafile copy RECID=68 STAMP=728038818 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.671.728032649&lt;br /&gt;datafile 44 switched to datafile copy&lt;br /&gt;input datafile copy RECID=69 STAMP=728038818 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.672.728032685&lt;br /&gt;datafile 45 switched to datafile copy&lt;br /&gt;input datafile copy RECID=70 STAMP=728038818 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.658.728027443&lt;br /&gt;datafile 46 switched to datafile copy&lt;br /&gt;input datafile copy RECID=71 STAMP=728038818 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.650.728022265&lt;br /&gt;datafile 47 switched to datafile copy&lt;br /&gt;input datafile copy RECID=72 STAMP=728038819 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.652.728024851&lt;br /&gt;datafile 48 switched to datafile copy&lt;br /&gt;input datafile copy RECID=73 STAMP=728038819 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.654.728024885&lt;br /&gt;datafile 50 switched to datafile copy&lt;br /&gt;input datafile copy RECID=74 STAMP=728038819 file name=+DATADG1/pmcpbs20/datafile/pbsd_price_index.682.728036739&lt;br /&gt;datafile 51 switched to datafile copy&lt;br /&gt;input datafile copy RECID=75 STAMP=728038819 file name=+DATADG1/pmcpbs20/datafile/pbsd_index.653.728024885&lt;br /&gt;datafile 52 switched to datafile copy&lt;br /&gt;input datafile copy RECID=76 STAMP=728038819 file name=+DATADG1/pmcpbs20/datafile/pbsd_price_data.655.728024893&lt;br /&gt;datafile 53 switched to datafile copy&lt;br /&gt;input datafile copy RECID=77 STAMP=728038819 file name=+DATADG1/pmcpbs20/datafile/users.694.728038611&lt;br /&gt;datafile 56 switched to datafile copy&lt;br /&gt;input datafile copy RECID=78 STAMP=728038820 file name=+DATADG1/pmcpbs20/datafile/pbsd_price_data.660.728027469&lt;br /&gt;datafile 57 switched to datafile copy&lt;br /&gt;input datafile copy RECID=79 STAMP=728038820 file name=+DATADG1/pmcpbs20/datafile/pbsd_price_data.661.728027485&lt;br /&gt;datafile 58 switched to datafile copy&lt;br /&gt;input datafile copy RECID=80 STAMP=728038820 file name=+DATADG1/pmcpbs20/datafile/pbsd_price_index.677.728035157&lt;br /&gt;datafile 59 switched to datafile copy&lt;br /&gt;input datafile copy RECID=81 STAMP=728038820 file name=+DATADG1/pmcpbs20/datafile/pbsd_racs_data.662.728027531&lt;br /&gt;datafile 60 switched to datafile copy&lt;br /&gt;input datafile copy RECID=82 STAMP=728038820 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.663.728027533&lt;br /&gt;datafile 61 switched to datafile copy&lt;br /&gt;input datafile copy RECID=83 STAMP=728038820 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.664.728029949&lt;br /&gt;datafile 62 switched to datafile copy&lt;br /&gt;input datafile copy RECID=84 STAMP=728038821 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.665.728030015&lt;br /&gt;datafile 63 switched to datafile copy&lt;br /&gt;input datafile copy RECID=85 STAMP=728038821 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.666.728030021&lt;br /&gt;datafile 64 switched to datafile copy&lt;br /&gt;input datafile copy RECID=86 STAMP=728038821 file name=+DATADG1/pmcpbs20/datafile/pbsd_index.667.728030037&lt;br /&gt;datafile 66 switched to datafile copy&lt;br /&gt;input datafile copy RECID=87 STAMP=728038821 file name=+DATADG1/pmcpbs20/datafile/pbsd_racs_data.674.728032701&lt;br /&gt;datafile 67 switched to datafile copy&lt;br /&gt;input datafile copy RECID=88 STAMP=728038821 file name=+DATADG1/pmcpbs20/datafile/pbsd_racs_data.656.728024901&lt;br /&gt;datafile 68 switched to datafile copy&lt;br /&gt;input datafile copy RECID=89 STAMP=728038821 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.673.728032699&lt;br /&gt;datafile 69 switched to datafile copy&lt;br /&gt;input datafile copy RECID=90 STAMP=728038822 file name=+DATADG1/pmcpbs20/datafile/pbsd_price_data.657.728024907&lt;br /&gt;datafile 70 switched to datafile copy&lt;br /&gt;input datafile copy RECID=91 STAMP=728038822 file name=+DATADG1/pmcpbs20/datafile/pbsd_index.668.728030073&lt;br /&gt;datafile 71 switched to datafile copy&lt;br /&gt;input datafile copy RECID=92 STAMP=728038822 file name=+DATADG1/pmcpbs20/datafile/pbsd_price_data.685.728037199&lt;br /&gt;datafile 72 switched to datafile copy&lt;br /&gt;input datafile copy RECID=93 STAMP=728038822 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.680.728035353&lt;br /&gt;datafile 73 switched to datafile copy&lt;br /&gt;input datafile copy RECID=94 STAMP=728038822 file name=+DATADG1/pmcpbs20/datafile/pbsd_racs_data.508.728038329&lt;br /&gt;datafile 74 switched to datafile copy&lt;br /&gt;input datafile copy RECID=95 STAMP=728038822 file name=+DATADG1/pmcpbs20/datafile/pbsd_price_index.496.728038459&lt;br /&gt;datafile 76 switched to datafile copy&lt;br /&gt;input datafile copy RECID=96 STAMP=728038823 file name=+DATADG1/pmcpbs20/datafile/pbsd_data.681.728035379&lt;br /&gt;datafile 77 switched to datafile copy&lt;br /&gt;input datafile copy RECID=97 STAMP=728038823 file name=+DATADG1/pmcpbs20/datafile/pbsd_racs_data.692.728038445&lt;br /&gt;datafile 78 switched to datafile copy&lt;br /&gt;input datafile copy RECID=98 STAMP=728038823 file name=+DATADG1/pmcpbs20/datafile/pbsd_price_index.649.728038515&lt;br /&gt;Finished Duplicate Db at 26-AUG-10&lt;br /&gt;released channel: prmy1&lt;br /&gt;released channel: prmy2&lt;br /&gt;released channel: prmy3&lt;br /&gt;released channel: prmy4&lt;br /&gt;released channel: prmy5&lt;br /&gt;released channel: prmy6&lt;br /&gt;released channel: stby1&lt;br /&gt;released channel: stby2&lt;br /&gt;released channel: stby3&lt;br /&gt;released channel: stby4&lt;br /&gt;&lt;br /&gt;Recovery Manager complete.&lt;br /&gt;&lt;br /&gt;HAPPY LEARNING!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-1626566111282098805?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/1626566111282098805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=1626566111282098805' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/1626566111282098805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/1626566111282098805'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2010/10/guide-on-creating-physical-standby.html' title='GUIDE ON CREATING PHYSICAL STANDBY USING RMAN DUPLICATE'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-8031153491718025812</id><published>2010-10-01T03:24:00.000-07:00</published><updated>2010-10-01T03:29:47.538-07:00</updated><title type='text'>SOLARIS USEFUL COMMANDS FOR DBA'S</title><content type='html'>Not just for DBAs: this is to remind anyone of syntax and options. &lt;br /&gt;&lt;br /&gt;1.    Handy Solaris commands     HW config, swap, patches etc. &lt;br /&gt;2.    Real-time performance monitoring     vmstat, iostat, mpstat etc. &lt;br /&gt;3.    Unix Commands     find, awk, sed, grep etc. &lt;br /&gt;4.    vi editor commands     the 22 most useful vi commands &lt;br /&gt;5.    Unix file permissions explained      sounds basic, but you may learn something new here! &lt;br /&gt;6.    The Solaris Name Service explained     how hostname and username lookups work&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Handy Solaris commands&lt;br /&gt;&lt;br /&gt;show hardware config (memory, CPUs etc) :&lt;br /&gt;/usr/platform/sun4u/sbin/prtdiag -v |more &lt;br /&gt;/usr/sbin/psrinfo &lt;br /&gt;show kernel settings:&lt;br /&gt;/usr/sbin/sysdef |more &lt;br /&gt;more /etc/system &lt;br /&gt;&lt;br /&gt;show list of Solaris patches:&lt;br /&gt;showrev -p |more &lt;br /&gt;&lt;br /&gt;show software installed:&lt;br /&gt;pkginfo |more &lt;br /&gt;&lt;br /&gt;check swap space:&lt;br /&gt;/usr/sbin/swap -s &lt;br /&gt;&lt;br /&gt;check system load average: an uptime more than double the number of CPUs is getting a bit busy&lt;br /&gt;uptime &lt;br /&gt;&lt;br /&gt;top CPU users:&lt;br /&gt;/usr/ucb/ps uax |head &lt;br /&gt;&lt;br /&gt;top memory users:&lt;br /&gt;/usr/ucb/ps vax |head &lt;br /&gt;&lt;br /&gt;check disk space: &lt;br /&gt;df -k   (shows all mounted filesystems -including NFS etc) &lt;br /&gt;df -lk   (shows only local filesystems) &lt;br /&gt;df -k -Fufs (shows only local Sun UFS filesystems (normal hard disks) &lt;br /&gt;df -k .   (show just the filesystem you are currently in) &lt;br /&gt;&lt;br /&gt;2. Real-time performance monitoring:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;memory usage :&lt;br /&gt;vmstat 5   -look at memory/free field and page/sr field. Ignore the first line output as it’s historical&lt;br /&gt;procs memory       page                 disk       faults    cpu&lt;br /&gt;r b w swap free re mf pi po fr de sr s0 s1 s6 s3 in sy cs us sy id&lt;br /&gt;0 0 83 4456 456 1 431 266 70 167 0 35 6 6 0 2 523 567 31 14 9 76&lt;br /&gt;0 0 62 3588464 46824 0 196 64 0  0 0 0 5 4 0 0 606 9743 882 86 7 7&lt;br /&gt;0 0 62 3587960 42672 1 552 41 1  1 0 0 2 2 0 0 789 5488 1040 84 7 9&lt;br /&gt;0 1 62 3584704 38848 0 471 3 38 38 0 0 5 5 0 1 1426 5270 968 64 9 27&lt;br /&gt;0 0 62 3586464 38456 0 451 0 0  0  0 0 2 2 0 0 929 6039 1265 70 6 24&lt;br /&gt;Also make sure that cpu/us is at least double cpu/sy&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;disk busy-ness&lt;br /&gt;mpstat 5   (or iostat -c 5 ) &lt;br /&gt;CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl &lt;br /&gt;0   221   3  544 227   75 582   61   31   28   7   267   18 12   2 68 &lt;br /&gt;2   209   2   446 395 178 328  37   31   32    6   299   11   7   2 80 &lt;br /&gt;-look at the wt field, this is wait-for-I/O which can be network or disk I/O, and should not be more than 30-40 (percent) &lt;br /&gt;&lt;br /&gt;To see individual disk performance and find slow ('hot') disks : &lt;br /&gt;iostat -d 5 &lt;br /&gt;sd0          sd1          sd6          sd37 &lt;br /&gt;kps tps serv kps tps serv kps tps serv kps tps serv &lt;br /&gt;123  6  44  123  6   42   0   0   42   66   2   8 &lt;br /&gt;33   1   3   37   1   1   0   0   0   3   0   5&lt;br /&gt;-check the serv column for each disk: this is the disk service time in milliseconds. &lt;br /&gt;However iostat by default shows only the first four disks: if you have more use -x and/or -l options : &lt;br /&gt;iostat -xdnl 7 5    (e.g. if you have seven hard disks)&lt;br /&gt;extended device statistics&lt;br /&gt;r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device&lt;br /&gt;0.4 1.6 3.2 70.4 0.0 0.0 0.0 2.7 0 1 c0t0d0&lt;br /&gt;0.2 1.6 1.6 70.4 0.0 0.0 0.0 3.0 0 1 c0t1d0&lt;br /&gt;0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t6d0&lt;br /&gt;0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c1t8d0&lt;br /&gt;88.8 19.8 1276.8 158.4 0.0 0.6 0.0 5.7 0 51 c1t9d0&lt;br /&gt;0.0 0.4 0.0 100.8 0.0 0.0 0.0 17.4 0 1 c1t10d0&lt;br /&gt;0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c1t11d0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. Unix Commands&lt;br /&gt;&lt;br /&gt;at - run a command or script once in the future&lt;br /&gt;bash$ at 0815 tomorrow&lt;br /&gt;at&gt; rm $HOME/zxc&lt;br /&gt;at&gt; (type Control-D) &lt;br /&gt;commands will be executed using /usr/bin/bash&lt;br /&gt;job 984032100.a at Thu Mar 8 06:15:00 2001&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;awk &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;cron&lt;br /&gt;crontab -l  to see your crontab&lt;br /&gt;crontab -e   to edit it (NB but first do EDITOR=vi (or EDITOR=emacs) ; export EDITOR )&lt;br /&gt;Remember fields are : minute hour day month day_of_week (0=Sun)&lt;br /&gt;0-59 0-23 1-31 1-12 0-6&lt;br /&gt;e.g. run a script only on Tuesdays to Fridays, at 10:12 am, 3:12pm, 4:12pm and 5:12pm&lt;br /&gt;12 10,15-17 * * 2-5/home/oracle/bin/script&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;du   -show disk space usage&lt;br /&gt;du -k  -show disk usage in kB in all subdirectories below the current one&lt;br /&gt;du -sk   -show just the total of everything below the current dir &lt;br /&gt;du -sk *   -show individual totals for each file or directory in the current dir&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;find&lt;br /&gt;find things you can’t remember the exact name of :&lt;br /&gt;find /usr/lib -name "*socket*"&lt;br /&gt;find big files (more than 20000 blocks, ie about 10MB )&lt;br /&gt;find . -size +20000 &lt;br /&gt;find files or directories modified in last day&lt;br /&gt;find . -mtime -1&lt;br /&gt;find files not accessed (read) in 45 days&lt;br /&gt;find /tmp -atime +45&lt;br /&gt;Add -ls to the end of any of the above commands to see a full ls -l listing of the files found.&lt;br /&gt;&lt;br /&gt;You can combine multiple options , e.g look for which big files have filled up a filesystem recently&lt;br /&gt;find . -size +20000 -mtime -1 -ls&lt;br /&gt;Or combine options using an "OR" syntax, e.g. find files which were modified either less than 1 week ago or more than 2 weeks ago&lt;br /&gt;find . \( -mtime +14 -o -mtime -7 \) -ls&lt;br /&gt;You can send the ouput of find to another command : the xargs command is ideal for this: e.g. interactively delete all core files under your $HOME &lt;br /&gt;find ~ -type f -name core |xargs rm -i&lt;br /&gt;or look for a particular word in all your .c files:&lt;br /&gt;find . -name "*.c" |xargs grep -l libsocket&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;grep   and its more flexible and faster cousins egrep and fgrep &lt;br /&gt;Search for either of two strings in all log files:&lt;br /&gt;egrep "error|PROBLEM" *log&lt;br /&gt;case-insensitive search &lt;br /&gt;fgrep -i error *log   (will find Error, ERROR, etc.)&lt;br /&gt;just see the filenames where the search text was found&lt;br /&gt;grep -l error *log&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;sort &lt;br /&gt;-n sorts by number instead of alphabetically&lt;br /&gt;e.g. cd /export/home; du -sk * | sort -nr lists who is using most space in their home directory&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;tar&lt;br /&gt;e.g. to copy a directory tree, preserving symlinks:&lt;br /&gt;cd fromdir; tar cf - . | (cd todir; tar xpf -)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;tr    translate characters&lt;br /&gt;convert lower-case to upper:&lt;br /&gt;cat myfile | tr [a-z] [A-Z]&lt;br /&gt;change colons to newlines:&lt;br /&gt;tr : "\n" &lt; myfile &gt; newfile &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;who  show who is currently logged on and where from&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;w  show what people are doing&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;other useful Unix commands for you to check out: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;cut, paste , split&lt;br /&gt;&lt;br /&gt;diff, sdiff, cmp, dircmp&lt;br /&gt;&lt;br /&gt;head, tail, tail -f &lt;br /&gt;&lt;br /&gt;id, groups &lt;br /&gt;&lt;br /&gt;4. vi commands&lt;br /&gt;The basic vi commands:&lt;br /&gt;i  insert before current character  a  append after current char &lt;br /&gt;I  insert at beginning of line  A  append after end of line &lt;br /&gt;x  delete current character X  backspace-delete (deletes char to left) &lt;br /&gt;dd  delete current line &lt;br /&gt;22dd  delete 22 lines u  undo the last thing you did &lt;br /&gt;p  paste those 22 lines below the current line &lt;br /&gt;12yy  copy 12 lines into the ‘clipboard’ for later pasting &lt;br /&gt;&lt;esc&gt;  to get out of editing (insert/append) mode &lt;br /&gt;:wq  to save ('write') and quit (:q! to quit without writing) &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;vi moving-around Timesavers:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;using h,j,k,l to move left,down,up and right is quicker than using the arrow keys (once you get used to it!). w  move one word forward  b  move back a word e  go to end of word &lt;br /&gt;Ctl-F  move Forward a whole page  Ctl-B  move Back a page &lt;br /&gt;0 (zero) go to beginning of line  $ go to end of line  &lt;br /&gt;:242 go to line 242  Ctl-G see what line you are on  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;vi modifying things:&lt;br /&gt;cw  change word  3cw  change 3 words C  change to end-of-line &lt;br /&gt;dw  delete word    D  delete to end-of-line &lt;br /&gt;&lt;br /&gt;cc replace current line with what you type next  &lt;br /&gt;r replace one character  R endless replace (like over-typing)  &lt;br /&gt;o open/add a new line below the current one  O open new line above current one  &lt;br /&gt;xp swap two characters (e.g. when you make a typo)  &lt;br /&gt;/bob search forward for 'bob'  n repeat previous search  ? search backwards  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Probably the handiest vi command:&lt;br /&gt;.  (dot) -repeat your last command&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;useful extra vi commands:&lt;br /&gt;~    swap case of current character (capitalize or lower-case)&lt;br /&gt;Ctl-L    re-draw the screen (e.g when something from a background process writes to your screen and messes up your vi window)&lt;br /&gt;:set nu    show line numbers (:set nonu to remove line numbers)&lt;br /&gt;:set list    show hidden characters, line endings etc. (: set nolist)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Global replace:&lt;br /&gt;:%s/old/new/g  (% means all lines)&lt;br /&gt;or     :g/old/s//new/g&lt;br /&gt;or     :%s/old/new/gc  (c is to confirm each replacement, type ‘y’ to accept)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5. Unix file permissions &lt;br /&gt;You probably already know the basics: &lt;br /&gt;Each user in Unix belongs to at least one group, each file or directory on the system belongs to one user and one group. When you do an ls -l on a file you see what permissions the file owner, group owner and everyone else (‘world’ or ‘others’) have on it&lt;br /&gt;-rwxr-xr-- 1 robins  devteam 180 Mar 8 13:50 instbb&lt;br /&gt;so on the file instbb there is full access (rwx- read,write,execute) for the owner (robins), read and execute for the group devteam and read-only for everyone else.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What you may not know is that whether someone can delete that file is not determined by the file permissions, but by the permissions of the directory the file is in :&lt;br /&gt;bash$ ls -al&lt;br /&gt;total 598&lt;br /&gt;drwxrwxr-x  3 robins  devteam 512 Mar 8 12:02 .&lt;br /&gt;drwxr-xr-x 24 root    wheel  1024 Mar 8 12:02 ..&lt;br /&gt;-rwxr-xr--  1 robins  devteam 180 Mar 8 13:50 instbb&lt;br /&gt;In this case the directory (.) is group writeable, which means anyone in the group devteam can delete the file instbb. Although they can’t modify it, they could copy it to a new file in that directory, modify it, then delete the original and rename the new file as instbb. So the file isn’t as secure as it may appear..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6. Solaris Name services&lt;br /&gt;Solaris provides a mechanism for getting hostnames and usernames etc from several sources (e.g DNS, NIS, or the traditional /etc/hosts file) : the file /etc/nsswitch.conf , which may contain&lt;br /&gt;hosts: files dns&lt;br /&gt;this means that when you try to access a remote host by name (e.g. ping neptune) it will look for neptune first in /etc/hosts, then do an lookup in DNS (nslookup using the server specified in /etc/resolv.conf)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Similarly for usernames, you may have &lt;br /&gt;passwd: files nis&lt;br /&gt;So when you run a command which refers to a username (e.g. cd ~oracle ) , it first looks in /etc/passwd then does a lookup in NIS (ypmatch oracle passwd).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;However you can look up hosts and users without worrying about where they are stored, using the getent command :&lt;br /&gt;bash$ getent passwd oracle&lt;br /&gt;oracle:##oracle:3008:5001:Oracle DBA:/export/home/oracle:/usr/local/bin/bash&lt;br /&gt;bash$ getent hosts www.inkq.com&lt;br /&gt;192.168.245.12 www.inkq.com&lt;br /&gt;bash$ getent hosts 10.0.0.91&lt;br /&gt;10.0.0.91 plop.inkq.com plop mailhost&lt;br /&gt;&lt;br /&gt;HAPPY LEARNING!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-8031153491718025812?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/8031153491718025812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=8031153491718025812' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/8031153491718025812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/8031153491718025812'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2010/10/solaris-useful-commands-for-dbas.html' title='SOLARIS USEFUL COMMANDS FOR DBA&apos;S'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-242996823207652428</id><published>2010-10-01T03:20:00.000-07:00</published><updated>2010-10-01T03:20:35.992-07:00</updated><title type='text'>SRVCTL FAILS TO START RAC DATABASE</title><content type='html'>SRVCTL has problems while starting the database (SRVCTL STOP DATABASE works ok).&lt;br /&gt;Also, the database can be started and stopped fine using SQL*Plus. No problems there.&lt;br /&gt;&lt;br /&gt;$ srvctl start database -d HLPR&lt;br /&gt;PRKP-1001 : Error starting instance HLPR1 on node db01-lisqa&lt;br /&gt;CRS-0215: Could not start resource 'ora.HLPR.HLPR1.inst'.&lt;br /&gt;PRKP-1001 : Error starting instance HLPR2 on node db02-lisqa&lt;br /&gt;CRS-0215: Could not start resource 'ora.HLPR.HLPR2.inst'.&lt;br /&gt;PRKP-1001 : Error starting instance HLPR3 on node db03-lisqa&lt;br /&gt;CRS-0215: Could not start resource 'ora.HLPR.HLPR3.inst'.&lt;br /&gt;PRKP-1001 : Error starting instance HLPR4 on node db04-lisqa&lt;br /&gt;CRS-0215: Could not start resource 'ora.HLPR.HLPR4.inst'.&lt;br /&gt;$&lt;br /&gt;As seen above, it is a 4-node RAC database.&lt;br /&gt;&lt;br /&gt;2 Issue is here&lt;br /&gt;1) REQUIRED_RESOURCE missing for one of the nodes&lt;br /&gt;===========================================&lt;br /&gt;Doing a CRS_STAT on the above resources, shows that the REQUIRED_RESOURCES for node 4 instance (HLPR4) is missing. For the other 3 nodes the ASM dependency is defined. It is already verified that ASM is up and running on the 4th node (also there are other RAC databases on the same cluster that do not have any issues).&lt;br /&gt;$ crs_stat -p ora.HLPR.HLPR1.inst|grep REQUIRED&lt;br /&gt;REQUIRED_RESOURCES=ora.db01-lisqa.ASM1.asm&lt;br /&gt;$ crs_stat -p ora.HLPR.HLPR2.inst|grep REQUIRED&lt;br /&gt;REQUIRED_RESOURCES=ora.db02-lisqa.ASM2.asm&lt;br /&gt;$ crs_stat -p ora.HLPR.HLPR3.inst|grep REQUIRED&lt;br /&gt;REQUIRED_RESOURCES=ora.db03-lisqa.ASM3.asm&lt;br /&gt;$ crs_stat -p ora.HLPR.HLPR4.inst|grep REQUIRED&lt;br /&gt;REQUIRED_RESOURCES=&lt;br /&gt;$&lt;br /&gt;&lt;br /&gt;Fix&lt;br /&gt;=====&lt;br /&gt;Add the REQUIRED_RESOURCE using "srvctl modify". First lets look at the syntax (-h for help) -&lt;br /&gt;$ srvctl modify instance -h&lt;br /&gt;Usage: srvctl modify database -d [-n ] [-m ] [-p ] [-r {PRIMARY | PHYSICAL_STANDBY | LOGICAL_STANDBY}] [-s ] [-y {AUTOMATIC | MANUAL}]&lt;br /&gt;-d Unique name for the database&lt;br /&gt;-n Database name (DB_NAME), if different from the unique name given by the -d option&lt;br /&gt;-o ORACLE_HOME path&lt;br /&gt;-m Domain for cluster database&lt;br /&gt;-p Server parameter file path&lt;br /&gt;-r Role of the database (primary, physical_standby, logical_standby)&lt;br /&gt;-s Startup options for the database&lt;br /&gt;-y Management policy for the database (automatic, manual)&lt;br /&gt;-h Print usage&lt;br /&gt;$&lt;br /&gt;$ srvctl modify instance -d HLPR -i HLPR4 -s +ASM4&lt;br /&gt;$&lt;br /&gt;$ crs_stat -p ora.HLPR.HLPR4.inst|grep REQUIRE&lt;br /&gt;REQUIRED_RESOURCES=ora.db04-lisqa.ASM4.asm&lt;br /&gt;$&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2) SPFILE was incorrectly defined in the OCR &lt;br /&gt;====================================&lt;br /&gt;The imon log for the database under /log//racg shows this --&lt;br /&gt;$ cd $ORACLE_HOME/log//racg&lt;br /&gt;$ vi imon_HLPR.log&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;2009-03-19 20:36:02.729: [ RACG][1] [8400][1][ora.HLPR.HLPR1.inst]: racgimon exiting&lt;br /&gt;&lt;br /&gt;2009-03-19 20:43:34.680: [ RACG][1] [12432][1][ora.HLPR.HLPR1.inst]: racgimon started&lt;br /&gt;&lt;br /&gt;2009-03-19 20:43:37.137: [ RACG][6] [12432][6][ora.HLPR.HLPR1.inst]:&lt;br /&gt;SQL*Plus: Release 10.2.0.4.0 - Production on Thu Mar 19 20:43:36 2009&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2007, Oracle. All Rights Reserved.&lt;br /&gt;Enter user-name: Connected to an idle instance.&lt;br /&gt;&lt;br /&gt;SQL&gt; ORA-01565: error in identifying file '+RAC_REDO02/HLPR/spfileHLPR.ora'&lt;br /&gt;&lt;br /&gt;2009-03-19 20:43:37.137: [ RACG][6] [12432][6][ora.HLPR.HLPR1.inst]: ORA-17503: ksfdopn:2 Failed to open file&lt;br /&gt;+RAC_REDO02/HLPR/spfileHLPR.ora&lt;br /&gt;ORA-15056: additional error message&lt;br /&gt;ORA-17503: ksfdopn:DGOpenFile05 Failed to open file +RAC_REDO02/hlpr/spfile&lt;br /&gt;ORA-01078: failure in processing system parameters&lt;br /&gt;SQL&gt; Disconnected&lt;br /&gt;This shows that the SPFILE was incorrectly defined in the OCR&lt;br /&gt;&lt;br /&gt;Fix&lt;br /&gt;====&lt;br /&gt;Modified OCR for the correct location of the SPFILE -&lt;br /&gt;$ cat $ORACLE_HOME/dbs/initHLPR1.ora&lt;br /&gt;spfile='+HLPR_DATA/HLPR/PARAMETERFILE/spfile.286.640265465'&lt;br /&gt;$&lt;br /&gt;$ srvctl modify database -d HLPR -p +HLPR_DATA/HLPR/PARAMETERFILE/spfile.286.640265465&lt;br /&gt;$&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This fixed the OCR and database could then be started using SRVCTL.&lt;br /&gt;&lt;br /&gt;There is also one more issue that I noticed today in the listener configuration w/ CRS. On node4, the listener was up under db_home (typically it is seen under ASM home). Doing a "ps -ef|grep tns" will tell what OH is being used for the listener home. Also, the crs_stat -p output shows that.&lt;br /&gt;[oracle@ajithpathiyil /home/oracle] $ ps -ef|grep tns&lt;br /&gt;oracle 1982 1 0 May 13 ? 2:06 /d01/app/oracle/product/10.2/oracledb/bin/tnslsnr LISTENER_DB04-LISQA -inherit&lt;br /&gt;oracle 1965 1 0 May 13 ? 5:49 /d01/app/oracle/product/10.2/oracledb/bin/tnslsnr LISTENER_CGQA_DB04-LISQA -inherit&lt;br /&gt;oracle 2007 1 0 May 13 ? 4:33 /d01/app/oracle/product/10.2/oracledb/bin/tnslsnr LISTENER_HLPR_DB04-LISQA -inherit&lt;br /&gt;oracle 2041 1 0 May 13 ? 5:43 /d01/app/oracle/product/10.2/oracledb/bin/tnslsnr LISTENER_ORACLE_DB04-LISQA -inherit&lt;br /&gt;oracle 2024 1 0 May 13 ? 6:33 /d01/app/oracle/product/10.2/oracledb/bin/tnslsnr LISTENER_PLQA_DB04-LISQA -inherit&lt;br /&gt;oracle 22092 23479 0 11:18:42 pts/1 0:00 grep tns&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As we can see from above, listener "LISTENER_DB04-LISQA" is running under the database home (/d01/app/oracle/product/10.2/oracledb). The crs_stat -p output for this resource shows this --&lt;br /&gt;[oracle@ajithpathiyil /home/oracle] $ crs_stat -p ora.db04-lisqa.LISTENER_DB04-LISQA.lsnr&lt;br /&gt;NAME=ora.db04-lisqa.LISTENER_DB04-LISQA.lsnr&lt;br /&gt;TYPE=application&lt;br /&gt;ACTION_SCRIPT=/d01/app/oracle/product/10.2/oracledb/bin/racgwrap&lt;br /&gt;ACTIVE_PLACEMENT=0&lt;br /&gt;AUTO_START=1&lt;br /&gt;CHECK_INTERVAL=600&lt;br /&gt;DESCRIPTION=CRS application for listener on node&lt;br /&gt;FAILOVER_DELAY=0&lt;br /&gt;FAILURE_INTERVAL=0&lt;br /&gt;FAILURE_THRESHOLD=0&lt;br /&gt;HOSTING_MEMBERS=db04-lisqa&lt;br /&gt;OPTIONAL_RESOURCES=&lt;br /&gt;PLACEMENT=restricted&lt;br /&gt;REQUIRED_RESOURCES=ora.db04-lisqa.vip&lt;br /&gt;RESTART_ATTEMPTS=5&lt;br /&gt;SCRIPT_TIMEOUT=600&lt;br /&gt;START_TIMEOUT=0&lt;br /&gt;STOP_TIMEOUT=0&lt;br /&gt;UPTIME_THRESHOLD=7d&lt;br /&gt;USR_ORA_ALERT_NAME=&lt;br /&gt;USR_ORA_CHECK_TIMEOUT=0&lt;br /&gt;USR_ORA_CONNECT_STR=/ as sysdba&lt;br /&gt;USR_ORA_DEBUG=0&lt;br /&gt;USR_ORA_DISCONNECT=false&lt;br /&gt;USR_ORA_FLAGS=&lt;br /&gt;USR_ORA_IF=&lt;br /&gt;USR_ORA_INST_NOT_SHUTDOWN=&lt;br /&gt;USR_ORA_LANG=&lt;br /&gt;USR_ORA_NETMASK=&lt;br /&gt;USR_ORA_OPEN_MODE=&lt;br /&gt;USR_ORA_OPI=false&lt;br /&gt;USR_ORA_PFILE=&lt;br /&gt;USR_ORA_PRECONNECT=none&lt;br /&gt;USR_ORA_SRV=&lt;br /&gt;USR_ORA_START_TIMEOUT=0&lt;br /&gt;USR_ORA_STOP_MODE=immediate&lt;br /&gt;USR_ORA_STOP_TIMEOUT=0&lt;br /&gt;USR_ORA_VIP=&lt;br /&gt;&lt;br /&gt;[oracle@ajithpathiyil /home/oracle] $&lt;br /&gt;&lt;br /&gt;The action script clearly points to the database home.&lt;br /&gt;To change this, we again use the "srvctl modify" command.&lt;br /&gt;&lt;br /&gt;[oracle@ajithpathiyil /home/oracle] $ srvctl modify listener -h&lt;br /&gt;Usage: srvctl modify listener -n [-l ] -o &lt;br /&gt;-n Node name&lt;br /&gt;-l "" Comma separated listener names&lt;br /&gt;-o ORACLE_HOME path&lt;br /&gt;-h Print usage&lt;br /&gt;[oracle@ajithpathiyil /home/oracle] $&lt;br /&gt;&lt;br /&gt;[oracle@ajithpathiyil /home/oracle] $ srvctl modify listener -n db04-lisqa -l LISTENER_DB04-LISQA -o /d01/app/oracle/product/10.2/ASM&lt;br /&gt;&lt;br /&gt;[oracle@ajithpathiyil /home/oracle] $ crs_stat -p ora.db04-lisqa.LISTENER_DB04-LISQA.lsnr&lt;br /&gt;NAME=ora.db04-lisqa.LISTENER_DB04-LISQA.lsnr&lt;br /&gt;TYPE=application&lt;br /&gt;ACTION_SCRIPT=/d01/app/oracle/product/10.2/ASM/bin/racgwrap&lt;br /&gt;ACTIVE_PLACEMENT=0&lt;br /&gt;AUTO_START=1&lt;br /&gt;CHECK_INTERVAL=600&lt;br /&gt;DESCRIPTION=CRS application for listener on node&lt;br /&gt;FAILOVER_DELAY=0&lt;br /&gt;FAILURE_INTERVAL=0&lt;br /&gt;FAILURE_THRESHOLD=0&lt;br /&gt;HOSTING_MEMBERS=db04-lisqa&lt;br /&gt;OPTIONAL_RESOURCES=&lt;br /&gt;PLACEMENT=restricted&lt;br /&gt;REQUIRED_RESOURCES=ora.db04-lisqa.vip&lt;br /&gt;RESTART_ATTEMPTS=5&lt;br /&gt;SCRIPT_TIMEOUT=600&lt;br /&gt;START_TIMEOUT=0&lt;br /&gt;STOP_TIMEOUT=0&lt;br /&gt;UPTIME_THRESHOLD=7d&lt;br /&gt;USR_ORA_ALERT_NAME=&lt;br /&gt;USR_ORA_CHECK_TIMEOUT=0&lt;br /&gt;USR_ORA_CONNECT_STR=/ as sysdba&lt;br /&gt;USR_ORA_DEBUG=0&lt;br /&gt;USR_ORA_DISCONNECT=false&lt;br /&gt;USR_ORA_FLAGS=&lt;br /&gt;USR_ORA_IF=&lt;br /&gt;USR_ORA_INST_NOT_SHUTDOWN=&lt;br /&gt;USR_ORA_LANG=&lt;br /&gt;USR_ORA_NETMASK=&lt;br /&gt;USR_ORA_OPEN_MODE=&lt;br /&gt;USR_ORA_OPI=false&lt;br /&gt;USR_ORA_PFILE=&lt;br /&gt;USR_ORA_PRECONNECT=none&lt;br /&gt;USR_ORA_SRV=&lt;br /&gt;USR_ORA_START_TIMEOUT=0&lt;br /&gt;USR_ORA_STOP_MODE=immediate&lt;br /&gt;USR_ORA_STOP_TIMEOUT=0&lt;br /&gt;USR_ORA_VIP=&lt;br /&gt;&lt;br /&gt;[oracle@ajithpathiyil /home/oracle] $&lt;br /&gt;&lt;br /&gt;The CRS registration has been changed.&lt;br /&gt;Now we only need to stop the listener and restart it under the ASM home.&lt;br /&gt;&lt;br /&gt;HAPPY LEARNING!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1087934578230954245-242996823207652428?l=oracledbascriptsfromajith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracledbascriptsfromajith.blogspot.com/feeds/242996823207652428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1087934578230954245&amp;postID=242996823207652428' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/242996823207652428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1087934578230954245/posts/default/242996823207652428'/><link rel='alternate' type='text/html' href='http://oracledbascriptsfromajith.blogspot.com/2010/10/srvctl-fails-to-start-rac-database.html' title='SRVCTL FAILS TO START RAC DATABASE'/><author><name>Ajith Pathiyil</name><uri>http://www.blogger.com/profile/00656025823294231484</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_-_hPD20HpD4/Smg_XuBWs5I/AAAAAAAAApg/dOduQsTr0eI/S220/pancha-mukha-hanuman-500x589.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1087934578230954245.post-5876176957989399812</id><published>2010-03-01T22:21:00.000-08:00</published><updated>2010-03-01T22:23:36.352-08:00</updated><title type='text'>Standby Database Recovery Using RMAN Incremental Backup</title><content type='html'>&lt;strong&gt;CASE 1- NON ASM SYSTEM...all datafiles and control file is on file system.&lt;br /&gt;#####################################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DGMGRL&gt; show configuration;&lt;br /&gt;&lt;br /&gt;Configuration&lt;br /&gt;  Name:                DR&lt;br /&gt;  Enabled:             YES&lt;br /&gt;  Protection Mode:     MaxPerformance&lt;br /&gt;  Fast-Start Failover: DISABLED&lt;br /&gt;  Databases:&lt;br /&gt;    PRSP01_VE - Primary database&lt;br /&gt;    PRSP01_BS - Physical standby database&lt;br /&gt;&lt;br /&gt;Current status for "DR":&lt;br /&gt;Warning: ORA-16607: one or more databases have failed&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DGMGRL&gt; show database 'PRSP01_VE';&lt;br /&gt;&lt;br /&gt;Database&lt;br /&gt;  Name:            PRSP01_VE&lt;br /&gt;  Role:            PRIMARY&lt;br /&gt;  Enabled:         YES&lt;br /&gt;  Intended State:  ONLINE&lt;br /&gt;  Instance(s):&lt;br /&gt;    PRSP01&lt;br /&gt;&lt;br /&gt;Current status for "PRSP01_VE":&lt;br /&gt;Error: ORA-16778: redo transport error for one or more databases&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DGMGRL&gt; show database 'PRSP01_BS';&lt;br /&gt;&lt;br /&gt;Database&lt;br /&gt;  Name:            PRSP01_BS&lt;br /&gt;  Role:            PHYSICAL STANDBY&lt;br /&gt;  Enabled:         YES&lt;br /&gt;  Intended State:  ONLINE&lt;br /&gt;  Instance(s):&lt;br /&gt;    PRSP01&lt;br /&gt;&lt;br /&gt;Current status for "PRSP01_BS":&lt;br /&gt;Error: ORA-16766: Redo Apply unexpectedly offline&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DGMGRL&gt;  SHOW DATABASE 'PRSP01_VE' 'StatusReport';&lt;br /&gt;STATUS REPORT&lt;br /&gt;       INSTANCE_NAME   SEVERITY ERROR_TEXT&lt;br /&gt;              PRSP01      ERROR ORA-16737: the redo transport service for standby database "PRSP01_BS" has an error&lt;br /&gt;&lt;br /&gt;DGMGRL&gt;  SHOW DATABASE 'PRSP01_VE' 'LogXptStatus';&lt;br /&gt;LOG TRANSPORT STATUS&lt;br /&gt;PRIMARY_INSTANCE_NAME STANDBY_DATABASE_NAME               STATUS&lt;br /&gt;              PRSP01            PRSP01_BS ORA-00254: error in archive control string ''&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thu Jan 14 04:07:05 2010&lt;br /&gt;Redo Shipping Client Connected as PUBLIC&lt;br /&gt;-- Connected User is Valid&lt;br /&gt;RFS[9777]: Assigned to RFS process 25364&lt;br /&gt;RFS[9777]: Identified database type as 'physical standby'&lt;br /&gt;RFS[9777]: Error in standby_archive_dest '/local/ORAPRSP01/DBDUMPS/ARCHIVE/PRSP01'&lt;br /&gt;RFS: Forced Shutdown due to RFS_ERROR state&lt;br /&gt;Thu Jan 14 04:07:05 2010&lt;br /&gt;Redo Shipping Client Connected as PUBLIC&lt;br /&gt;-- Connected User is Valid&lt;br /&gt;RFS[9778]: Assigned to RFS process 25366&lt;br /&gt;RFS[9778]: Identified database type as 'physical standby'&lt;br /&gt;RFS[9778]: Error in standby_archive_dest '/local/ORAPRSP01/DBDUMPS/ARCHIVE/PRSP01'&lt;br /&gt;RFS: Forced Shutdown due to RFS_ERROR state&lt;br /&gt;Thu Jan 14 04:07:07 2010&lt;br /&gt;Redo Shipping Client Connected as PUBLIC&lt;br /&gt;-- Connected User is Valid&lt;br /&gt;RFS[9779]: Assigned to RFS process 25368&lt;br /&gt;RFS[9779]: Identified database type as 'physical standby'&lt;br /&gt;RFS[9779]: Error in standby_archive_dest '/local/ORAPRSP01/DBDUMPS/ARCHIVE/PRSP01'&lt;br /&gt;RFS: Forced Shutdown due to RFS_ERROR state&lt;br /&gt;Thu Jan 14 04:07:07 2010&lt;br /&gt;Redo Shipping Client Connected as PUBLIC&lt;br /&gt;-- Connected User is Valid&lt;br /&gt;RFS[9780]: Assigned to RFS process 25370&lt;br /&gt;RFS[9780]: Identified database type as 'physical standby'&lt;br /&gt;RFS[9780]: Error in standby_archive_dest '/local/ORAPRSP01/DBDUMPS/ARCHIVE/PRSP01'&lt;br /&gt;RFS: Forced Shutdown due to RFS_ERROR state&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Logged on to standby successfully&lt;br /&gt;Client logon and security negotiation successful!&lt;br /&gt;*** 2010-01-13 19:39:16.857&lt;br /&gt;Redo shipping client performing standby login&lt;br /&gt;*** 2010-01-13 19:39:17.016 65194 kcrr.c&lt;br /&gt;Logged on to standby successfully&lt;br /&gt;Client logon and security negotiation successful!&lt;br /&gt;Error 254 creating standby archive log file at host '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=eqd-oradev02)(PORT=1575)))(CONNECT_DATA=(SERVICE_NAME=PRSP01_BS_XPT)(INSTANCE_NAME=PRSP01)(SERVER=dedicated)))'&lt;br /&gt;*** 2010-01-13 19:39:17.078 61287 kcrr.c&lt;br /&gt;ARC1: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (254)&lt;br /&gt;*** 2010-01-13 19:39:17.078 61287 kcrr.c&lt;br /&gt;ARC1: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned&lt;br /&gt;ORA-00254: error in archive control string ''&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(1)At standby site.&lt;br /&gt;   =================&lt;br /&gt;SQL&gt; column current_scn format 9999999999999&lt;br /&gt;SQL&gt; select current_scn from v$database;&lt;br /&gt;&lt;br /&gt;   CURRENT_SCN&lt;br /&gt;--------------&lt;br /&gt; 8918544365814&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(2) At primary site&lt;br /&gt;    ================&lt;br /&gt; BACKUP DEVICE TYPE DISK INCREMENTAL FROM SCN 8918544365814  DATABASE FORMAT '/local/ORAPRMP01/DBDUMPS/bkup_%U';&lt;br /&gt;&lt;br /&gt;(3) At BCP site&lt;br /&gt;    ============&lt;br /&gt; 3a) Stop MRP at BCP databae side&lt;br /&gt;&lt;br /&gt;    At BCP site&lt;br /&gt;    ===========&lt;br /&gt; 3b) Note location of controlfiles&lt;br /&gt;&lt;br /&gt;SQL&gt; select name from v$controlfile;&lt;br /&gt;&lt;br /&gt;NAME&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;/local/ORAPRSP01/data01/PRSP01/control01.ctl&lt;br /&gt;/local/ORAPRSP01/data02/PRSP01/control02.ctl&lt;br /&gt;/local/ORAPRSP01/data03/PRSP01/control03.ctl&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;     At BCP Site&lt;br /&gt;     ============&lt;br /&gt;&lt;br /&gt;4) Incremental backup&lt;br /&gt;   ==================&lt;br /&gt;&lt;br /&gt;RMAN&gt; catalog start with '/local/ORAUASP01/DBDUMPS/incr_bkup';&lt;br /&gt;&lt;br /&gt;Starting implicit crosscheck backup at 14-JAN-10&lt;br /&gt;using target database control file instead of recovery catalog&lt;br /&gt;allocated channel: ORA_DISK_1&lt;br /&gt;channel ORA_DISK_1: sid=38 devtype=DISK&lt;br /&gt;Crosschecked 803 objects&lt;br /&gt;Finished implicit crosscheck backup at 14-JAN-10&lt;br /&gt;&lt;br /&gt;Starting implicit crosscheck copy at 14-JAN-10&lt;br /&gt;using channel ORA_DISK_1&lt;br /&gt;Finished implicit crosscheck copy at 14-JAN-10&lt;br /&gt;&lt;br /&gt;searching for all files in the recovery area&lt;br /&gt;cataloging files...&lt;br /&gt;no files cataloged&lt;br /&gt;&lt;br /&gt;searching for all files that match the pattern /local/ORAUASP01/DBDUMPS/incr_bkup&lt;br /&gt;&lt;br /&gt;List of Files Unknown to the Database&lt;br /&gt;=====================================&lt;br /&gt;File Name: /local/ORAUASP01/DBDUMPS/incr_bkup/bkup_n4l3dti1_1_1&lt;br /&gt;File Name: /local/ORAUASP01/DBDUMPS/incr_bkup/bkup_n5l3du33_1_1&lt;br /&gt;File Name: /local/ORAUASP01/DBDUMPS/incr_bkup/bkup_n3l3dti1_1_1&lt;br /&gt;File Name: /local/ORAUASP01/DBDUMPS/incr_bkup/bkup_n6l3dua5_1_1&lt;br /&gt;&lt;br /&gt;Do you really want to catalog the above files (enter YES or NO)? YES&lt;br /&gt;cataloging files...&lt;br /&gt;cataloging done&lt;br /&gt;&lt;br /&gt;List of Cataloged Files&lt;br /&gt;=======================&lt;br /&gt;File Name: /local/ORAUASP01/DBDUMPS/incr_bkup/bkup_n4l3dti1_1_1&lt;br /&gt;File Name: /local/ORAUASP01/DBDUMPS/incr_bkup/bkup_n5l3du33_1_1&lt;br /&gt;File Name: /local/ORAUASP01/DBDUMPS/incr_bkup/bkup_n3l3dti1_1_1&lt;br /&gt;File Name: /local/ORAUASP01/DBDUMPS/incr_bkup/bkup_n6l3dua5_1_1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5)At BCP site&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RMAN&gt; recover database noredo;&lt;br /&gt;&lt;br /&gt;Starting recover at 14-JAN-10&lt;br /&gt;using channel ORA_DISK_1&lt;br /&gt;channel ORA_DISK_1: starting incremental datafile backupset restore&lt;br /&gt;channel ORA_DISK_1: specifying datafile(s) to restore from backup set&lt;br /&gt;destination for restore of datafile 00008: /local/ORAPRSP01/data01/PRSP01/PRSP01_PRISM_DATA_03.dbf&lt;br /&gt;destination for restore of datafile 00009: /local/ORAPRSP01/data01/PRSP01/PRSP01_PRISM_INDEX_02.dbf&lt;br /&gt;destination for restore of datafile 00014: /local/ORAPRSP01/data03/PRSP01/PRSP01_PRISM_DATA_04.dbf&lt;br /&gt;destination for restore of datafile 00018: /local/ORAPRSP01/data02/PRSP01/PRSP01_PRISM_DATA_06.dbf&lt;br /&gt;destination for restore of datafile 00022: /local/ORAPRSP01/data03/PRSP01/capacity01.dbf&lt;br /&gt;destination for restore of datafile 00023: /local/ORAPRSP01/data02/PRSP01/PRSP01_sysaux02.dbf&lt;br /&gt;destination for restore of datafile 00024: /local/ORAPRSP01/data02/PRSP01/PRSP01_system02.dbf&lt;br /&gt;destination for restore of datafile 00025: /local/ORAPRSP01/data02/PRSP01/dbus01.dbf&lt;br /&gt;channel ORA_DISK_1: reading from backup piece /local/ORAUASP01/DBDUMPS/incr_bkup/bkup_n4l3dti1_1_1&lt;br /&gt;channel ORA_DISK_1: restored backup piece 1&lt;br /&gt;piece handle=/local/ORAUASP01/DBDUMPS/incr_bkup/bkup_n4l3dti1_1_1 tag=TAG20100114T064416&lt;br /&gt;channel ORA_DISK_1: restore complete, elapsed time: 00:04:36&lt;br /&gt;channel ORA_DISK_1: starting incremental datafile backupset restore&lt;br /&gt;channel ORA_DISK_1: specifying datafile(s) to restore from backup set&lt;br /&gt;destination for restore of datafile 00004: /local/ORAPRSP01/data01/PRSP01/PRSP01_users01.dbf&lt;br /&gt;destination for restore of datafile 00012: /local/ORAPRSP01/data02/PRSP01/PRSP01_CERD_CORPORATE_DATA_02.dbf&lt;br /&gt;destination for restore of datafile 00013: /local/ORAPRSP01/data01/PRSP01/PRSP01_CERD_CORPORATE_DATA_03.dbf&lt;br /&gt;destination for restore of datafile 00015: /local/ORAPRSP01/data03/PRSP01/PRSP01_PRISM_INDEX_03.dbf&lt;br /&gt;destination for restore of datafile 00021: /local/ORAPRSP01/data03/PRSP01/PRSP01_PRISM_INDEX_06.dbf&lt;br /&gt;channel ORA_DISK_1: reading from backup piece /local/ORAUASP01/DBDUMPS/incr_bkup/bkup_n5l3du33_1_1&lt;br /&gt;channel ORA_DISK_1: restored backup piece 1&lt;br /&gt;piece handle=/local/ORAUASP01/DBDUMPS/incr_bkup/bkup_n5l3d
