<?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:blogger='http://schemas.google.com/blogger/2008' 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-7522612399220307825</id><updated>2026-10-04T16:48:17.012-05:00</updated><category term="11g Standby"/><category term="RMAN"/><category term="12c"/><category term="ASM file moves"/><category term="Database Cloning 11g"/><category term="Flashback Database"/><category term="11gR2 RAC"/><category term="Data Guard"/><category term="Database Cloning"/><category term="Helpful scripts"/><category term="Oracle"/><category term="RAC"/><category term="12cR1 RAC"/><category term="Active Directory ; Kerberos; AD authentication"/><category term="Convert hexadecimal to decimal"/><category term="GoldenGate"/><category term="ODA"/><category term="ODA X6-2-HA"/><category term="OEL"/><category term="OGG"/><category term="Oracle Datapump"/><category term="Oracle Enterprise Linux"/><category term="Oracle database"/><category term="Oracle wallet"/><category term="SQL"/><category term="TDE"/><category term="X5-2"/><category term="network packet drops"/><category term="restore"/><category term="snapshot standby"/><title type='text'>DBA Maestro - Helpful DBA tips</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>44</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-6252624692298502871</id><published>2025-12-11T16:52:00.000-06:00</published><updated>2025-12-11T16:52:03.878-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory ; Kerberos; AD authentication"/><title type='text'>Kerberos Authentication to Oracle Database using Active Directory</title><content type='html'>&lt;div&gt;&lt;div&gt;&lt;div&gt;Kerberos Authentication to Oracle Database using Active Directory&lt;/div&gt;&lt;div&gt;=================================================================&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This guide provides step-by-step instructions to configure Kerberos-based authentication using Active Directory for Oracle databases, including all relevant OS, Oracle, and network settings for successful authentication between Windows clients and Oracle Database on Linux.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Environment Overview&lt;/div&gt;&lt;div&gt;--------------------&lt;/div&gt;&lt;div&gt;Database Server:&lt;/div&gt;&lt;div&gt;- OS: Oracle Linux Server release 7.9&lt;/div&gt;&lt;div&gt;- Oracle Version: 19.28.0.0.0&lt;/div&gt;&lt;div&gt;- PDB Name: APPPDB&lt;/div&gt;&lt;div&gt;- Hostname: dbserver01.example.com&lt;/div&gt;&lt;div&gt;- Keytab Path: $ORACLE_HOME/network/admin/oracle.keytab&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Active Directory:&lt;/div&gt;&lt;div&gt;- Realm: EXAMPLE.COM&lt;/div&gt;&lt;div&gt;- AD Domain Controller: dc01.example.com&lt;/div&gt;&lt;div&gt;- Oracle AD Service Account: svc_oracle_kerberos&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Client Workstation:&lt;/div&gt;&lt;div&gt;- OS: Windows 11 Enterprise&lt;/div&gt;&lt;div&gt;- Kerberos Implementation: MIT Kerberos for Windows&lt;/div&gt;&lt;div&gt;- AD Username: dbuser1@EXAMPLE.COM&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;SECTION 1: Active Directory Configuration&lt;/div&gt;&lt;div&gt;-----------------------------------------&lt;/div&gt;&lt;div&gt;1. AD Administrator generates the keytab using the following command:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; ktpass -princ oracle/dbserver01.example.com@EXAMPLE.COM \&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-pass &amp;lt;password&amp;gt; \&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-mapuser svc_oracle_kerberos \&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-crypto ALL \&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-ptype KRB5_NT_PRINCIPAL \&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-out C:\temp\oracle.keytab&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2. The keytab file (oracle.keytab) is transferred securely to the Oracle DBA.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;SECTION 2: Oracle Database Server Setup (Linux)&lt;/div&gt;&lt;div&gt;-----------------------------------------------&lt;/div&gt;&lt;div&gt;1. Copy the keytab file to the database server:&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;$ORACLE_HOME/network/admin/oracle.keytab&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2. Modify sqlnet.ora on the database server:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; SQLNET.AUTHENTICATION_SERVICES = (BEQ,KERBEROS5)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; SQLNET.FALLBACK_AUTHENTICATION = TRUE&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; SQLNET.KERBEROS5_CONF = $ORACLE_HOME/network/admin/krb5.conf&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; SQLNET.KERBEROS5_CONF_MIT = TRUE&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; SQLNET.KERBEROS5_CLOCKSKEW = 6000&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; SQLNET.KERBEROS5_CC_NAME = /tmp/krb5cc_500&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; SQLNET.KERBEROS5_KEYTAB = $ORACLE_HOME/network/admin/oracle.keytab&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; SQLNET.AUTHENTICATION_KERBEROS5_SERVICE = oracle&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. Create the krb5.conf file at $ORACLE_HOME/network/admin/krb5.conf:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; [libdefaults]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; default_realm = EXAMPLE.COM&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; clockskew = 6000&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; forwardable = true&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; renew_lifetime = 7d&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rdns = false&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ticket_lifetime = 24h&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; udp_preference_limit = 1&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; [realms]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EXAMPLE.COM = {&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; kdc = dc01.example.com:88&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; [domain_realm]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .example.com = EXAMPLE.COM&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; example.com = EXAMPLE.COM&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4. Validate Kerberos ticket on Linux:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; okinit dbuser1@EXAMPLE.COM&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; oklist&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;SECTION 3: Windows Client Workstation Setup&lt;/div&gt;&lt;div&gt;-------------------------------------------&lt;/div&gt;&lt;div&gt;1. Install MIT Kerberos for Windows (latest version). Select the full installation option.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2. Create krb5.ini at:&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;C:\ProgramData\MIT\Kerberos5\krb5.ini&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; [libdefaults]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; default_realm = EXAMPLE.COM&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; clockskew = 6000&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; noaddresses = true&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; forwardable = yes&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; [realms]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EXAMPLE.COM = {&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; kdc = dc01.example.com:88&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; [domain_realm]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EXAMPLE.COM = EXAMPLE.COM&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .EXAMPLE.COM = EXAMPLE.COM&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; example.com = EXAMPLE.COM&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .example.com = EXAMPLE.COM&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. Initialize Kerberos ticket:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; set KRB5CCNAME=FILE:C:\Temp\krb5cc_dbuser1&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; kinit dbuser1@EXAMPLE.COM&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &quot;C:\Program Files\MIT\Kerberos\bin\klist.exe&quot;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4. Modify sqlnet.ora in the Oracle client directory&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;(&amp;lt;ORACLE_CLIENT_HOME&amp;gt;/network/admin):&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; SQLNET.AUTHENTICATION_SERVICES = (KERBEROS5)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; SQLNET.KERBEROS5_CONF = C:\ProgramData\MIT\Kerberos5\krb5.ini&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; SQLNET.KERBEROS5_CC_NAME = C:\Temp\krb5cc_dbuser1&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; SQLNET.AUTHENTICATION_KERBEROS5_SERVICE = oracle&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5. Update tnsnames.ora:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; APPPDB =&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (DESCRIPTION =&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (ADDRESS = (PROTOCOL = TCP)(HOST = dbserver01.example.com)(PORT = 1521))&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (CONNECT_DATA =&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (SERVER = DEDICATED)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (SERVICE_NAME = apppdb)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;6. Set OS authentication prefix to blank in the CDB:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; ALTER SYSTEM SET os_authent_prefix=&#39;&#39; SCOPE=spfile;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;7. Restart the database instance.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;SECTION 4: Test Kerberos Authentication&lt;/div&gt;&lt;div&gt;---------------------------------------&lt;/div&gt;&lt;div&gt;From the Windows client:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; sqlplus /@APPPDB&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You should be logged in automatically using your Active Directory credentials without being prompted for a password.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;TROUBLESHOOTING TIPS&lt;/div&gt;&lt;div&gt;--------------------&lt;/div&gt;&lt;div&gt;- Use klist on Windows to verify the Kerberos ticket.&lt;/div&gt;&lt;div&gt;- Ensure krb5.ini and krb5.conf files match exactly.&lt;/div&gt;&lt;div&gt;- Check Oracle Net trace files for authentication errors.&lt;/div&gt;&lt;div&gt;- Use oklist on Linux to inspect tickets during server-side testing.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/6252624692298502871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/6252624692298502871?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/6252624692298502871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/6252624692298502871'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2025/12/kerberos-authentication-to-oracle.html' title='Kerberos Authentication to Oracle Database using Active Directory'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-4352524984388007693</id><published>2025-04-10T15:13:00.008-05:00</published><updated>2025-04-10T15:18:48.350-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Data Guard"/><category scheme="http://www.blogger.com/atom/ns#" term="Database Cloning"/><category scheme="http://www.blogger.com/atom/ns#" term="RAC"/><category scheme="http://www.blogger.com/atom/ns#" term="RMAN"/><title type='text'>Revive RMAN: Mastering the Art of Resuming Failed Duplicate Operations</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, &amp;quot;Segoe UI Web (West European)&amp;quot;, -apple-system, BlinkMacSystemFont, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif&quot; style=&quot;caret-color: rgb(36, 36, 36); color: #242424; font-size: 14px;&quot;&gt;Hey Oracle DBAs! It&#39;s been a while, Oracle community! But I&#39;m back with a helpful post. :-)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;caret-color: rgb(36, 36, 36); color: #242424; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Segoe UI Web (West European)&amp;quot;, -apple-system, BlinkMacSystemFont, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px; margin: 0px 0px 1em; overflow-wrap: break-word;&quot;&gt;Today, I faced an issue while performing an RMAN duplicate to build out a standby database (Oracle version 19.25) on an ExaCS VM. The database is 110 TB in size. I was doing an active duplicate over the WAN for 2 days. Everything was going smoothly until it reached ~94% completion... and then it FAILED!!&lt;/p&gt;&lt;p style=&quot;caret-color: rgb(36, 36, 36); color: #242424; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Segoe UI Web (West European)&amp;quot;, -apple-system, BlinkMacSystemFont, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px; margin: 0px 0px 1em; overflow-wrap: break-word;&quot;&gt;I didn&#39;t want to risk restarting the entire RMAN duplicate process again out of concern that the same issue would occur. Here&#39;s my error:&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;RMAN-00571: ===========================================================&lt;br /&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;br /&gt;RMAN-00571: ===========================================================&lt;br /&gt;RMAN-03002: failure of Duplicate Db command at 04/10/2025 09:57:48&lt;br /&gt;RMAN-05501: aborting duplication of target database&lt;br /&gt;RMAN-03015: error occurred in stored script Memory Script&lt;br /&gt;ORA-19875: multisection restore or copy not complete for file &amp;lt;datafile_name&amp;gt;&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, &amp;quot;Segoe UI Web (West European)&amp;quot;, -apple-system, BlinkMacSystemFont, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif&quot; style=&quot;background-color: #fafafa; caret-color: rgb(36, 36, 36); color: #242424; font-size: 14px;&quot;&gt;So I started working on getting this completed. After researching, I found that MOS has a good note on getting things going; however, it was intensive. With that being said, I was about to pivot to a different solution, which involved restoring a full backup from OCI storage. But before doing so, I decided to see what would happen if I simply tried to rerun the active duplicate. So here&#39;s what I did...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Create a pfile from my spfile for the standby.&lt;/li&gt;&lt;li&gt;Shutdown the standby database instance.&lt;/li&gt;&lt;li&gt;Removed my spfile that was created as part of the RMAN duplicate process.&lt;/li&gt;&lt;li&gt;Startup nomount the standby instance using the pfile I created.&lt;/li&gt;&lt;li&gt;Removed entries referencing spfile from my RMAN duplicate cmd file (see my previous blog posts on standby builds for examples)&lt;/li&gt;&lt;li&gt;Restart the RMAN duplicate.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;End result....IT WORKED!!!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Excerpt from the RMAN duplicate logfile...&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;sql clone &#39;alter database mount standby database&#39;;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;sql statement: alter database mount standby database&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: #fcff01; color: #2b00fe;&quot;&gt;Using previous duplicated file +DATAC1/FAKEDB/DATAFILE/system_fake.311.9876543210 for datafile 1 with checkpoint SCN of 14235402086660&lt;br /&gt;&lt;br /&gt;Using previous duplicated file +DATAC1/FAKEDB/DATAFILE/sysaux_fake.301.9876543211 for datafile 2 with checkpoint SCN of 14235402113022&lt;br /&gt;&lt;br /&gt;Using previous duplicated file +DATAC1/FAKEDB/DATAFILE/fake_data_t2.297.9876543212 for datafile 3 with checkpoint SCN of 14235402115530&lt;br /&gt;&lt;br /&gt;Using previous duplicated file +DATAC1/FAKEDB/DATAFILE/users_fake.306.9876543213 for datafile 4 with checkpoint SCN of 14235402117901&lt;br /&gt;&lt;br /&gt;Using previous duplicated file +DATAC1/FAKEDB/DATAFILE/fake_dba.305.9876543214 for datafile 5 with checkpoint SCN of 14235402120263&lt;br /&gt;&lt;br /&gt;Using previous duplicated file +DATAC1/FAKEDB/DATAFILE/admin_fake_data.304.9876543215 for datafile 6 with checkpoint SCN of 14235402125881&lt;br /&gt;&lt;br /&gt;Using previous duplicated file +DATAC1/FAKEDB/DATAFILE/stage_fake_data.291.9876543216 for datafile 7 with checkpoint SCN of 14235402128955&lt;br /&gt;&lt;br /&gt;Using previous duplicated file +DATAC1/FAKEDB/DATAFILE/dimension_fake_data.294.9876543217 for datafile 8 with checkpoint SCN of 14235402131767&lt;br /&gt;&lt;br /&gt;Using previous duplicated file +DATAC1/FAKEDB/DATAFILE/dimension_fake_idx.296.9876543218 for datafile 9 with checkpoint SCN of 14235402133743&lt;/span&gt;&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;set newname for clone datafile  2265 to new;&lt;br /&gt;set newname for clone datafile  2266 to new;&lt;br /&gt;set newname for clone datafile  2267 to new;&lt;br /&gt;set newname for clone datafile  2268 to new;&lt;br /&gt;set newname for clone datafile  2269 to new;&lt;br /&gt;set newname for clone datafile  2270 to new;&lt;br /&gt;set newname for clone datafile  2271 to new;&lt;br /&gt;set newname for clone datafile  2272 to new;&lt;br /&gt;set newname for clone datafile  2273 to new;&lt;br /&gt;set newname for clone datafile  2274 to new;&lt;br /&gt;set newname for clone datafile  2275 to new;&lt;br /&gt;set newname for clone datafile  2276 to new;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: #fcff01; color: #2b00fe;&quot;&gt;   restore&lt;br /&gt;from  nonsparse   section size&lt;br /&gt;20 g   from service&lt;br /&gt;&#39;FAKEDB&#39;   clone datafile&lt;br /&gt;2198, 2204, 2205, 2206, 2207, 2208, 2209, 2210, 2211, 2212, 2213, 2214, 2215, 2216, 2217, 2218, 2219, 2220, 2221, 2222,&lt;br /&gt;2223, 2224, 2225, 2226, 2227, 2228, 2229, 2230, 2231, 2232, 2233, 2234, 2235, 2236, 2237, 2238, 2239, 2240, 2241, 2242,&lt;br /&gt;2243, 2244, 2245, 2246, 2247, 2248, 2249, 2250, 2251, 2252, 2253, 2254, 2255, 2256, 2257, 2258, 2259, 2260, 2261, 2262,&lt;br /&gt;2263, 2264, 2265, 2266, 2267, 2268, 2269, 2270, 2271, 2272, 2273, 2274, 2275, 2276   ;&lt;br /&gt;sql &#39;alter system archive log current&#39;;&lt;br /&gt;}&lt;/span&gt;&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;executing command: SET NEWNAME&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;p style=&quot;caret-color: rgb(36, 36, 36); color: #242424; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Segoe UI Web (West European)&amp;quot;, -apple-system, BlinkMacSystemFont, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px; margin: 0px 0px 1em; overflow-wrap: break-word;&quot;&gt;The highlighted parts were mainly what I was looking for to determine that this actually worked. Not sure if Oracle has simply improved on the RMAN duplicate failure process or if I just got lucky.&lt;/p&gt;&lt;p style=&quot;caret-color: rgb(36, 36, 36); color: #242424; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Segoe UI Web (West European)&amp;quot;, -apple-system, BlinkMacSystemFont, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px; margin: 0px 0px 1em; overflow-wrap: break-word;&quot;&gt;Hope this helps anyone/everyone who may be experiencing this issue and thinks that they have to start over from scratch. There&#39;s HOPE!!!&lt;/p&gt;&lt;p style=&quot;caret-color: rgb(36, 36, 36); color: #242424; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Segoe UI Web (West European)&amp;quot;, -apple-system, BlinkMacSystemFont, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px; margin: 0px 0px 1em; overflow-wrap: break-word;&quot;&gt;Enjoy!&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/4352524984388007693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/4352524984388007693?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/4352524984388007693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/4352524984388007693'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2025/04/revive-rman-mastering-art-of-resuming.html' title='Revive RMAN: Mastering the Art of Resuming Failed Duplicate Operations'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-6460092739717196797</id><published>2023-02-27T11:40:00.005-06:00</published><updated>2023-03-09T11:01:28.842-06:00</updated><title type='text'>Redhat Linux logical volume extension</title><content type='html'>I needed to extend a LV as it was small for what I needed to do.  As you can see below, it was originally 20G in size.  As root, I did the following steps:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;# df -h /u01&lt;br /&gt;Filesystem                  Size  Used Avail Use% Mounted on&lt;br /&gt;/dev/mapper/vg00-lvU01       20G  9.1G   11G  46% /u01&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. First, I had to check for free size on the Volume Group.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;# vgdisplay&lt;br /&gt;  --- Volume group ---&lt;br /&gt;  VG Name               vg00&lt;br /&gt;  System ID&lt;br /&gt;  Format                lvm2&lt;br /&gt;  Metadata Areas        1&lt;br /&gt;  Metadata Sequence No  8&lt;br /&gt;  VG Access             read/write&lt;br /&gt;  VG Status             resizable&lt;br /&gt;  MAX LV                0&lt;br /&gt;  Cur LV                7&lt;br /&gt;  Open LV               7&lt;br /&gt;  Max PV                0&lt;br /&gt;  Cur PV                1&lt;br /&gt;  Act PV                1&lt;br /&gt;  VG Size               &amp;lt;222.02 GiB&lt;br /&gt;  PE Size               4.00 MiB&lt;br /&gt;  Total PE              56836&lt;br /&gt;  Alloc PE / Size       20480 / 80.00 GiB&lt;br /&gt;  Free  PE / Size       36356 / &amp;lt;142.02 GiB&lt;br /&gt;  VG UUID               poBYqN-t5P3-t6rE-UfeI-eaXj-OoMe-l1a39z&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2.  From above example, there is/was 142G free so I am extending the LV by 20G&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&lt;br /&gt;# lvextend -L +20G /dev/mapper/vg00-lvU01&lt;br /&gt;  Size of logical volume vg00/lvU01 changed from 20.00 GiB (5120 extents) to 40.00 GiB (10240 extents).&lt;br /&gt;  Logical volume vg00/lvU01 successfully resized.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. After extending my LV, I have to grow it out using xfs_growfs.  I tried resizefs but received an error.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;# xfs_growfs /dev/mapper/vg00-lvU01&lt;br /&gt;meta-data=/dev/mapper/vg00-lvU01 isize=512    agcount=4, agsize=1310720 blks&lt;br /&gt;         =                       sectsz=4096  attr=2, projid32bit=1&lt;br /&gt;         =                       crc=1        finobt=1, sparse=1, rmapbt=0&lt;br /&gt;         =                       reflink=1&lt;br /&gt;data     =                       bsize=4096   blocks=5242880, imaxpct=25&lt;br /&gt;         =                       sunit=0      swidth=0 blks&lt;br /&gt;naming   =version 2              bsize=4096   ascii-ci=0, ftype=1&lt;br /&gt;log      =internal log           bsize=4096   blocks=2560, version=2&lt;br /&gt;         =                       sectsz=4096  sunit=1 blks, lazy-count=1&lt;br /&gt;realtime =none                   extsz=4096   blocks=0, rtextents=0&lt;br /&gt;data blocks changed from 5242880 to 10485760&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4.  Rechecked that it now reflects my correct size of 40G.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;# df -h /u01&lt;br /&gt;Filesystem              Size  Used Avail Use% Mounted on&lt;br /&gt;/dev/mapper/vg00-lvU01   40G  9.2G   31G  23% /u01&lt;/span&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/6460092739717196797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/6460092739717196797?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/6460092739717196797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/6460092739717196797'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2023/02/redhat-linux-logical-volume-extension.html' title='Redhat Linux logical volume extension'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-3992734704812814815</id><published>2019-10-31T12:18:00.003-05:00</published><updated>2019-10-31T15:54:18.140-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OEL"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle Enterprise Linux"/><title type='text'>&quot;Failed to start LSB: Bring up/down networking&quot; after OEL 7 VM build</title><content type='html'>I imported newly built OEL 7.7 VM from Oracle VirtualBox to an ODA (Oracle Database Appliance).&lt;br /&gt;
&lt;br /&gt;
Upon starting up the VM, the network was showing as being up for device &quot;eth0&quot; however the /etc/sysconfig/network-scripts/ifcfg-eth0 was existent at the moment.  I restarted the network service but received the &quot;Failed to start LSB: Bring up/down networking&quot; error. &lt;br /&gt;
&lt;br /&gt;
I followed the below steps to resolve this error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1.&amp;nbsp; Stop and disable the NetworkManager service.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # systemctl stop NetworkManager.service&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # systemctl disable NetworkManager.service&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
2.&amp;nbsp; Enable the network service.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # systemctl enable network.service&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
3.&amp;nbsp; Create the ifcfg-eth0&amp;nbsp; and populate with the appropriate information.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # vi /etc/sysconfig/network-scripts/ifcfg-eth0&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
contents: &lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;TYPE=Ethernet&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;BOOTPROTO=static&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;NAME=eth0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;DEVICE=eth0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ONBOOT=yes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;IPADDR=&amp;lt;IP_ADDRESS&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;NETMASK=&amp;lt;SUBNET_MASK&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;GATEWAY=&amp;lt;DEFAULT_GATEWAY&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4.&amp;nbsp; Restart the network.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # service network restart&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
5.&amp;nbsp; Check to see that the IP address is up and pingable.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp; ip addr show&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;[root@localhost ~]# ip addr show&lt;br /&gt;1: lo: &amp;lt;LOOPBACK,UP,LOWER_UP&amp;gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; inet 127.0.0.1/8 scope host lo&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; valid_lft forever preferred_lft forever&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; inet6 ::1/128 scope host&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; valid_lft forever preferred_lft forever&lt;br /&gt;2: eth0: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq state UP group default qlen 1000&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; link/ether 00:16:3e:2a:e4:33 brd ff:ff:ff:ff:ff:ff&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; inet 192.168.10.10/24 brd 192.168.10.255 scope global eth0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; valid_lft forever preferred_lft forever&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; inet6 fe80::216:3eff:fe2a:e433/64 scope link&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; valid_lft forever preferred_lft forever&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp; ping 192.168.10.10&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6.&amp;nbsp; Remove any other miscellaneous ifcfg-e* files&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp; cd /etc/sysconfig/network-scripts &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp; rm ifcfg-enp0s3&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/3992734704812814815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/3992734704812814815?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/3992734704812814815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/3992734704812814815'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2019/10/failed-to-start-lsb-bring-updown.html' title='&quot;Failed to start LSB: Bring up/down networking&quot; after OEL 7 VM build'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-2315804599710596301</id><published>2018-07-16T18:22:00.000-05:00</published><updated>2018-07-16T18:22:01.151-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12c"/><category scheme="http://www.blogger.com/atom/ns#" term="Data Guard"/><category scheme="http://www.blogger.com/atom/ns#" term="Database Cloning"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle database"/><category scheme="http://www.blogger.com/atom/ns#" term="RMAN"/><title type='text'>ORA-17630: Mismatch in the remote file protocol version client 2 server 3</title><content type='html'>&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
I was trying to create an Oracle Data Guard environment (physical standby) from an Oracle database running version 12.1.0.2.  The database was running an older PSU version (&quot;Database Patch Set Update : 12.1.0.2.161018 (24006101)&quot;) to be specific.  Upon trying to build the standby by using RMAN DUPLICATE with ACTIVE DATABASE, I ran into the below error:&lt;div&gt;
&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;Starting backup at 16-JUL-18&lt;br /&gt;RMAN-03009: failure of backup command on prm1 channel at 07/16/2018 13:51:46&lt;br /&gt;&lt;b&gt;ORA-17629: Cannot connect to the remote database server&lt;br /&gt;ORA-17630: Mismatch in the remote file protocol version client 2 server 3&lt;/b&gt;&lt;br /&gt;continuing other job steps, job failed will not be re-run&lt;br /&gt;released channel: prm1&lt;br /&gt;released channel: prm2&lt;br /&gt;released channel: prm3&lt;br /&gt;released channel: prm4&lt;br /&gt;released channel: prm5&lt;br /&gt;released channel: stb1&lt;br /&gt;RMAN-00571: ===========================================================&lt;br /&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;br /&gt;RMAN-00571: ===========================================================&lt;br /&gt;RMAN-03002: failure of Duplicate Db command at 07/16/2018 13:51:47&lt;br /&gt;RMAN-05501: aborting duplication of target database&lt;br /&gt;RMAN-03015: error occurred in stored script Memory Script&lt;br /&gt;RMAN-03009: failure of backup command on prm2 channel at 07/16/2018 13:51:47&lt;br /&gt;&lt;b&gt;ORA-17629: Cannot connect to the remote database server&lt;br /&gt;ORA-17630: Mismatch in the remote file protocol version client 2 server 3&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Recovery Manager complete.&lt;/span&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
After researching the issue, I found that it is a known Oracle bug.&amp;nbsp; More specifically:&lt;/div&gt;
&lt;br /&gt;&lt;i&gt;&lt;b&gt;Bug 18633374  Error copying across remote servers with ASMCMD CP command (ASMCMD-8016, ORA-17628, ORA-17630, ORA-6512)&lt;/b&gt;&lt;/i&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Therefore, I needed to apply patch 18633374 to the ORACLE_HOME that was running the SOURCE database.&amp;nbsp; Upon applying the patch, I was able to proceed with building out the standby successfully using RMAN DUPLICATE with ACTIVE DATABASE.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/2315804599710596301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/2315804599710596301?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/2315804599710596301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/2315804599710596301'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2018/07/ora-17630-mismatch-in-remote-file.html' title='ORA-17630: Mismatch in the remote file protocol version client 2 server 3'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-3920909715345480902</id><published>2018-06-08T00:17:00.001-05:00</published><updated>2018-06-08T00:17:49.290-05:00</updated><title type='text'>Migrate ODA VM to another ODA (with vdisks)</title><content type='html'>There wasn&#39;t any helpful blog entries out there for migrating a virtualized ODA VM that contains vdisks to another virtualized ODA.&amp;nbsp; Below is what I used in order to migrate the VMs over.&amp;nbsp; I&#39;m using ACFS snapshots in order to successfully migrate my VMs.&lt;br /&gt;
&lt;br /&gt;
Always remember to test, test, and test before using this on a production ODA/VM.&lt;br /&gt;
&lt;br /&gt;
1.&amp;nbsp; Execute the &quot;oakcli show vm &amp;lt;vm_name&amp;gt;&quot; in order to see the files that make-up the VM.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;[root@oda1dom0] # oakcli show vm TESTVM&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;The Resource is : TESTVM&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AutoStart&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;never&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CPUPriority&amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Disks&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|file:/OVS/Repositories/demorepo/.A&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&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; CFS/snaps/TESTVM/VirtualMachine&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&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; s/TESTVM/612aeba3b38f4527a4500e&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&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; c202a08e3f.img,xvda,w|&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Domain&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XEN_PVM&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DriverDomain&amp;nbsp; &amp;nbsp; :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;False&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ExpectedState&amp;nbsp; &amp;nbsp;:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;online&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FailOver&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;false&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IsSharedRepo&amp;nbsp; &amp;nbsp; :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;true&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Keyboard&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;en-us&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MaxMemory&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;16384M&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MaxVcpu&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Memory&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;16384M&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Mouse&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OS_DEFAULT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TESTVM&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Networks&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|type=netfront,bridge=net1|&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NodeNumStart&amp;nbsp; &amp;nbsp; :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OL_5&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PrefNodeNum&amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PrivateIP&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ProcessorCap&amp;nbsp; &amp;nbsp; :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RepoName&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;demorepo&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&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; &amp;nbsp; &amp;nbsp;Online&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TemplateName&amp;nbsp; &amp;nbsp; :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;otml_VM_OL7U2_ORA_BASE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; VDisks&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|oakvdk_vdisk_demorepo|&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Vcpu&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cpupool&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;default-unpinned-pool&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vncport&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5902&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.&amp;nbsp; Be sure to cat the vm.cfg file in order to display where the vdisks are that are attached to the source ODA VM.&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;[root@oda1dom0]# cat&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;, courier, monospace;&quot;&gt;/OVS/Repositories/demorepo/.A&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;, courier, monospace;&quot;&gt;CFS/snaps/TESTVM/VirtualMachine&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;, courier, monospace;&quot;&gt;s/TESTVM/&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;, courier, monospace;&quot;&gt;vm.cfg&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;, courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;vif = [&#39;bridge=net1&#39;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;name = &#39;TESTVM&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;extra = &#39;NODENAME=TESTVM&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;builder = &#39;hvm&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;cpus = &#39;0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;vcpus = 4&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;memory = 16384&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;cpu_cap = 0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;vnc = 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;serial = &#39;pty&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;disk = [u&#39;file:/OVS/Repositories/demorepo/.ACFS/snaps/TESTVM/VirtualMachines/TESTVM/612aeba3b38f4527a4500ec202a08e3f.img,xvda,w&#39;, u&#39;file:/OVS/Repositories/demorepo/.ACFS/snaps/oakvdk_vdisk1/VirtualDisks/oakvdk_vdisk1,xvdb,w!&#39;, u&#39;file:/OVS/Repositories/demorepo/.ACFS/snaps/oakvdk_vdisk2/VirtualDisks/oakvdk_vdisk2,xvdc,w!&#39;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;maxvcpus = 4&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;maxmem = 16384&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.&amp;nbsp; Create *.img file snap by executing the below command on SOURCE ODA_BASE.&amp;nbsp;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;acfsutil snap create -p &amp;lt;vm_name&amp;gt; &amp;lt;snap_vm_repo_name&amp;gt; &amp;lt;vm_repo_mountpoint&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;i.e. acfsutil snap create -p TESTVM TESTVM_repo_snap /u01/app/sharedrepo/demorepo&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
4.&amp;nbsp; Create vdisk snap on SOURCE ODA_BASE.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;acfsutil snap create -p oakvdk_vdisk1 vdisk1_snap /u01/app/sharedrepo/demorepo&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;acfsutil snap create -p oakvdk_vdisk2 vdisk2_snap /u01/app/sharedrepo/demorepo&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
5.&amp;nbsp; Copy the files using gzip, rsync, tar, etc. to TARGET ODA (onto DOM0).&amp;nbsp; Below example is using rsync.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;rsync --archive --compress --hard-links --human-readable \&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;--inplace --no-whole-file --numeric-ids \&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/u01/app/sharedrepo/demorepo/.ACFS/snaps/TESTVM_repo_snap/VirtualMachines/TESTVM \&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;192.168.100.10:/OVS/vm_stage&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
6. Tar up the file as to create a file to be used for importing the vmtemplate as part of the next steps.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;tar cvSzf /OVS/vm_stage/TESTVM/TESTVM.tgz -C /OVS/vm_stage/TESTVM vm.cfg adafadfalasdfjladsflk60993qadfa.img&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
7.&amp;nbsp; Import the bundle onto TARGET ODA&#39;s ODA_BASE.&amp;nbsp; This should be done as root user.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;[root@oda1db0 ~]# oakcli import vmtemplate TESTVM-template -files /OVS/vm_stage/TESTVM/TESTVM.tgz -repo appdevrepo -node 0&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8.&amp;nbsp; Clone VM using &quot;oakcli clone vm&quot; to layout the directories for the VDISKS to be copied directly to proper location from SOURCE ODA to TARGET ODA.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;oakcli clone vm TESTVM -vmtemplate TESTVM-template -repo appdevrepo -node 0&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
9.&amp;nbsp; Copy the vdisks to their final destination on the TARGET ODA&#39;s ODA_BASE.&amp;nbsp; Below examples use rsync as the copying tool.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;rsync --archive --compress --hard-links --human-readable \&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;--inplace --no-whole-file --numeric-ids \&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/u01/app/sharedrepo/demorepo/.ACFS/snaps/vdisk2_snap/VirtualDisks/oakvdk_vdisk2 \&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;10.17.253.70:/u01/app/sharedrepo/appdevrepo/.ACFS/snaps/TESTVM/VirtualMachines/TESTVM&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;rsync --archive --compress --hard-links --human-readable \&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;--inplace --no-whole-file --numeric-ids \&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/u01/app/sharedrepo/demorepo/.ACFS/snaps/vdisk1_snap/VirtualDisks/oakvdk_vdisk1 \&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;10.17.253.70:/u01/app/sharedrepo/appdevrepo/.ACFS/snaps/TESTVM/VirtualMachines/TESTVM&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Note: I encountered the below error when I went to startup the VM.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;OAKERR:7007 Error encountered while starting VM&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The fix for this is to remove line &quot;extra = &#39;xxxxxx&#39; &quot; from the vm.cfg (known Oracle documented issue)&lt;br /&gt;
&lt;br /&gt;
10.&amp;nbsp; You should now be able to start the VM and open the vmconsole.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;oakcli start vm TESTVM; oakcli start vmconsole&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
11.&amp;nbsp; After the VM has been successfully started and validated, you can now delete the ACFS snaps that were taken originally from SOURCE ODA_BASE.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;acfsutil snap delete TESTVM_repo_snap /u01/app/sharedrepo/demorepo&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;acfsutil snap delete vdisk1_snap /u01/app/sharedrepo/demorepo&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;acfsutil snap delete vdisk2_snap /u01/app/sharedrepo/demorepo&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That should cover it.&amp;nbsp; This is the procedure that I used to successfully migrate VMs from one virtualized ODA to another virtualized ODA.&amp;nbsp; I hope this helps!</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/3920909715345480902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/3920909715345480902?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/3920909715345480902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/3920909715345480902'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2018/06/migrate-oda-vm-to-another-oda-with.html' title='Migrate ODA VM to another ODA (with vdisks)'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-5362743604504817161</id><published>2018-01-21T02:11:00.002-06:00</published><updated>2018-01-21T02:11:15.574-06:00</updated><title type='text'>ORA-00600: error in Queue Table SYS.SYS$SERVICE_METRICS_TAB</title><content type='html'>&lt;b&gt;If this error is coming in Oracle database, then take downtime and do the following:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&amp;nbsp;Drop the queue table -&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
exec dbms_aqadm.drop_queue_table( queue_table=&amp;gt;&#39;SYS.SYS$SERVICE_METRICS_TAB&#39;, force =&amp;gt; TRUE)&lt;br /&gt;
&lt;br /&gt;
select object_name, object_type from dba_objects where object_name like &#39;%SYS$SERVICE_%&#39;;&lt;br /&gt;
&lt;br /&gt;
----&amp;gt; no rows should be returned.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Follow the below steps to recreate the queue table.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt;STARTUP&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt;alter system enable restricted session;&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt;@$ORACLE_HOME/rdbms/admin/catproc.sql&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt;@$ORACLE_HOME/rdbms/admin/utlrp.sql&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt;alter system disable restricted session;</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/5362743604504817161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/5362743604504817161?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/5362743604504817161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/5362743604504817161'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2018/01/ora-00600-error-in-queue-table.html' title='ORA-00600: error in Queue Table SYS.SYS$SERVICE_METRICS_TAB'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-4474798456891855261</id><published>2018-01-21T02:07:00.001-06:00</published><updated>2018-01-21T02:07:35.202-06:00</updated><title type='text'>RMAN-06023: no backup or copy of datafile X found to restore</title><content type='html'>I was attempting to restore a backup via RMAN but received the following errors:&lt;br /&gt;
&lt;br /&gt;
RMAN-06023: no backup or copy of datafile 11 found to restore&lt;br /&gt;
RMAN-06023: no backup or copy of datafile 10 found to restore&lt;br /&gt;
RMAN-06023: no backup or copy of datafile 9 found to restore&lt;br /&gt;
RMAN-06023: no backup or copy of datafile 8 found to restore&lt;br /&gt;
RMAN-06023: no backup or copy of datafile 7 found to restore&lt;br /&gt;
RMAN-06023: no backup or copy of datafile 6 found to restore&lt;br /&gt;
RMAN-06023: no backup or copy of datafile 5 found to restore&lt;br /&gt;
RMAN-06023: no backup or copy of datafile 4 found to restore&lt;br /&gt;
RMAN-06023: no backup or copy of datafile 3 found to restore&lt;br /&gt;
RMAN-06023: no backup or copy of datafile 2 found to restore&lt;br /&gt;
RMAN-06023: no backup or copy of datafile 1 found to restore&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The issue was with the FRA (Fast Recovery Area).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
RMAN will catalog any objects in the Flash Recovery Area that will not be registered in the controlfile and if any of this files belongs to an incarnation different from CURRENT incarnation in the controlfile, then you will need to change the controlfile CURRENT incarnation to the one found in the file that is being cataloged.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
This prevents database from restoring backups that belong to old CURRENT incarnation.&lt;/div&gt;
&lt;div&gt;
RMAN considers backup available for being restored if the backup incarnation and CURRENT incarnation in controlfile are the same.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/4474798456891855261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/4474798456891855261?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/4474798456891855261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/4474798456891855261'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2018/01/rman-06023-no-backup-or-copy-of.html' title='RMAN-06023: no backup or copy of datafile X found to restore'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-3140378000709187734</id><published>2018-01-21T02:00:00.003-06:00</published><updated>2018-01-21T14:03:43.044-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ODA X6-2-HA"/><category scheme="http://www.blogger.com/atom/ns#" term="restore"/><category scheme="http://www.blogger.com/atom/ns#" term="RMAN"/><title type='text'>RMAN restore of ODA X6-2-HA RAC database</title><content type='html'>&lt;span style=&quot;font-family: inherit;&quot;&gt;A client that I was supporting asked me to complete a dry run of a database restore on their newly built ODA.&amp;nbsp; Below are the steps that I performed to complete the database restore.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Prerequisites:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;I built the RAC database using OAKCLI.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;I backed up the database with RMAN incremental level 0&amp;nbsp;+ cumulative level 1.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;I dropped the database using SQLPLUS commands vs. OAKCLI as to not remove the ACFS directories for the database.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;1. Startup the database instance in NOMOUNT.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; startup nomount force;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;startup failed: ORA-01078: failure in processing system parameters&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORA-01565: error in identifying file &#39;/u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/labtest/spfilelabtest.ora&#39;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORA-27037: unable to obtain file status&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Linux-x86_64 Error: 2: No such file or directory&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Additional information: 3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;starting Oracle instance without parameter file for retrieval of spfile&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Oracle instance started&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Total System Global Area&amp;nbsp;&amp;nbsp;&amp;nbsp; 1073741824 bytes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Fixed Size&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; 2932632 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Variable Size&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; 415236200 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database Buffers&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 650117120 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Redo Buffers&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; 5455872 bytes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;2. Restore the spfile from backup taken.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; restore spfile from &#39;/backup/LABTEST/ctrl_c-1771719914-20180118-00&#39;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Starting restore at 18-JAN-18&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;allocated channel: ORA_DISK_1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: SID=2 device type=DISK&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: restoring spfile from AUTOBACKUP /backup/LABTEST/ctrl_c-1771719914-20180118-00&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: SPFILE restore from AUTOBACKUP complete&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Finished restore at 18-JAN-18&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;3. Set the DBID for the database being restored.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; set dbid 1771719914;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;executing command: SET DBID&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;4. Restore the controlfile from autobackup.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; restore controlfile from &#39;/backup/LABTEST/ctrl_c-1771719914-20180118-00&#39;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Starting restore at 18-JAN-18&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;using target database control file instead of recovery catalog&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;allocated channel: ORA_DISK_1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: SID=181 instance=labtest1 device type=DISK&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: restoring control file&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: restore complete, elapsed time: 00:00:02&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;output file name=/u01/app/oracle/oradata/datastore/labtest/LABTEST/controlfile/o1_mf_f5zk5rxs_.ctl&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Finished restore at 18-JAN-18&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;5.&amp;nbsp; Mount the database with the controlfile that was just restored.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; alter database mount;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;using target database control file instead of recovery catalog&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Statement processed&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; list backup summary;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;List of Backups&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;===============&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Key&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;------- -- -- - ----------- --------------- ------- ------- ---------- ---&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp; 0&amp;nbsp; A DISK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17-JAN-18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FULL_011718_172826&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp; A&amp;nbsp; A DISK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17-JAN-18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FULL_011718_172826&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp; A&amp;nbsp; A DISK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17-JAN-18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INCR_011718_220001&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp; 1&amp;nbsp; A DISK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17-JAN-18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INCR_011718_220001&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp; 1&amp;nbsp; A DISK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17-JAN-18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INCR_011718_220001&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp; 1&amp;nbsp; A DISK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17-JAN-18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INCR_011718_220001&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp; A&amp;nbsp; A DISK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17-JAN-18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INCR_011718_220001&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp; F&amp;nbsp; A DISK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18-JAN-18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TAG20180118T151334&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; report schema;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Starting implicit crosscheck backup at 18-JAN-18&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;allocated channel: ORA_DISK_1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Crosschecked 8 objects&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Finished implicit crosscheck backup at 18-JAN-18&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Starting implicit crosscheck copy at 18-JAN-18&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;using channel ORA_DISK_1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Finished implicit crosscheck copy at 18-JAN-18&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;searching for all files in the recovery area&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;cataloging files...&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;cataloging done&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;List of Cataloged Files&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;=======================&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;File Name: /u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_18/o1_mf_1_14_f6201oyo_.arc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-06139: WARNING: control file is not current for REPORT SCHEMA&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Report of database schema for database with db_unique_name LABTEST&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;List of Permanent Datafiles&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;===========================&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;File Size(MB) Tablespace&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RB segs Datafile Name&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;---- -------- -------------------- ------- ------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ***&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_system_f5zk5vs5_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SYSAUX&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; /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_sysaux_f5zk5y1n_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNDOTBS1&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; /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_undotbs1_f5zk5yyz_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNDOTBS2&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; /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_undotbs2_f5zk677x_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USERS&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; /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_users_f5zk67kc_.dbf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;List of Temporary Files&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;=======================&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;File Size(MB) Tablespace&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Maxsize(MB) Tempfile Name&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;---- -------- -------------------- ----------- --------------------&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TEMP&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; 32767&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_temp_f5zk5z7r_.tmp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;6. Restore the database.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; restore database;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Starting restore at 18-JAN-18&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;using channel ORA_DISK_1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: starting datafile backup set restore&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: specifying datafile(s) to restore from backup set&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: restoring datafile 00001 to /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_system_f5zk5vs5_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: restoring datafile 00002 to /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_sysaux_f5zk5y1n_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: restoring datafile 00003 to /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_undotbs1_f5zk5yyz_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: restoring datafile 00004 to /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_undotbs2_f5zk677x_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: restoring datafile 00005 to /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_users_f5zk67kc_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: reading from backup piece /backup/LABTEST/FULL_LABTEST_1771719914_20180117_03sotse8_1_1.bkp&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: piece handle=/backup/LABTEST/FULL_LABTEST_1771719914_20180117_03sotse8_1_1.bkp tag=FULL_011718_172826&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: restored backup piece 1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: restore complete, elapsed time: 00:00:03&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Finished restore at 18-JAN-18&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;7. Recover the database.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; recover database;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Starting recover at 18-JAN-18&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;using channel ORA_DISK_1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: starting incremental datafile backup set restore&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: specifying datafile(s) to restore from backup set&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;destination for restore of datafile 00001: /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_system_f621nm7q_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;destination for restore of datafile 00002: /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_sysaux_f621nm8v_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;destination for restore of datafile 00003: /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_undotbs1_f621nm9n_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;destination for restore of datafile 00004: /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_undotbs2_f621nmb4_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;destination for restore of datafile 00005: /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_users_f621nmbm_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: reading from backup piece /backup/LABTEST/INCR_LABTEST_1771719914_20180117_09soucbg_1_1.bkp&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: piece handle=/backup/LABTEST/INCR_LABTEST_1771719914_20180117_09soucbg_1_1.bkp tag=INCR_011718_220001&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: restored backup piece 1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel ORA_DISK_1: restore complete, elapsed time: 00:00:01&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;starting media recovery&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log for thread 1 with sequence 8 is already on disk as file /u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_17/o1_mf_1_8_f603g8f0_.arc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log for thread 1 with sequence 9 is already on disk as file /u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_18/o1_mf_1_9_f61w5hxq_.arc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log for thread 1 with sequence 10 is already on disk as file /u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_18/o1_mf_1_10_f61w5jxs_.arc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log for thread 1 with sequence 11 is already on disk as file /u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_18/o1_mf_1_11_f61ybnd6_.arc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log for thread 1 with sequence 12 is already on disk as file /u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_18/o1_mf_1_12_f61ybod8_.arc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log for thread 1 with sequence 13 is already on disk as file /u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_18/o1_mf_1_13_f61zwfo3_.arc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log for thread 1 with sequence 14 is already on disk as file /u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_18/o1_mf_1_14_f6201oyo_.arc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log for thread 2 with sequence 7 is already on disk as file /u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_17/o1_mf_2_7_f603g8lb_.arc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log for thread 2 with sequence 8 is already on disk as file /u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_18/o1_mf_2_8_f61ybo5h_.arc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log for thread 2 with sequence 9 is already on disk as file /u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_18/o1_mf_2_9_f61zwgcx_.arc&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log file name=/u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_17/o1_mf_1_8_f603g8f0_.arc thread=1 sequence=8&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log file name=/u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_17/o1_mf_2_7_f603g8lb_.arc thread=2 sequence=7&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log file name=/u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_18/o1_mf_1_9_f61w5hxq_.arc thread=1 sequence=9&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log file name=/u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_18/o1_mf_2_8_f61ybo5h_.arc thread=2 sequence=8&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log file name=/u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_18/o1_mf_1_10_f61w5jxs_.arc thread=1 sequence=10&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log file name=/u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_18/o1_mf_1_11_f61ybnd6_.arc thread=1 sequence=11&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log file name=/u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_18/o1_mf_1_12_f61ybod8_.arc thread=1 sequence=12&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log file name=/u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_18/o1_mf_2_9_f61zwgcx_.arc thread=2 sequence=9&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log file name=/u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_18/o1_mf_1_13_f61zwfo3_.arc thread=1 sequence=13&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log file name=/u01/app/oracle/fast_recovery_area/datastore/labtest/LABTEST/archivelog/2018_01_18/o1_mf_1_14_f6201oyo_.arc thread=1 sequence=14&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;unable to find archived log&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;archived log thread=2 sequence=10&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-00571: ===========================================================&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-00571: ===========================================================&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-03002: failure of recover command at 01/18/2018 15:43:12&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-06054: media recovery requesting unknown archived log for thread 2 with sequence 10 and starting SCN of 683417&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;8.&amp;nbsp; Attempted to open the database via resetlogs but received an error about block change tracking.&amp;nbsp; Therefore, I disabled block change tracking in order to successfully open the database.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; alter database open resetlogs;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-00571: ===========================================================&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-00571: ===========================================================&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-03002: failure of sql statement command at 01/18/2018 15:44:11&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORA-19751: could not create the change tracking file&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORA-19750: change tracking file: &#39;/u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/changetracking/o1_mf_f5zm3sf3_.chg&#39;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORA-27040: file create error, unable to create file&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Linux-x86_64 Error: 2: No such file or directory&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Additional information: 1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORA-27037: unable to obtain file status&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Linux-x86_64 Error: 2: No such file or directory&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Additional information: 3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; alter database disable block change tracking;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Statement processed&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; select open_mode from v$database;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;OPEN_MODE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;--------------------&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;MOUNTED&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&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; alter database open;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Statement processed&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; select open_mode from v$database;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;OPEN_MODE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;--------------------&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;READ WRITE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;9. Shutdown the database.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; shutdown immediate&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;database closed&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;database dismounted&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Oracle instance shut down&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Recovery Manager complete.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;10.&amp;nbsp; I checked the status of and started the database via srvctl.&amp;nbsp; Restore completed.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;[oracle@dzpubpoda0 ~]$ srvctl status database -d labtest&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Instance labtest1 is not running on node dzpubpoda0&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Instance labtest2 is not running on node dzpubpoda1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;[oracle@dzpubpoda0 ~]$ srvctl start database -d labtest&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;[oracle@dzpubpoda0 ~]$ srvctl status database -d labtest&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Instance labtest1 is running on node dzpubpoda0&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Instance labtest2 is running on node dzpubpoda1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;[oracle@dzpubpoda0 ~]$ rman target /&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Recovery Manager: Release 12.1.0.2.0 - Production on Thu Jan 18 15:47:22 2018&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Copyright (c) 1982, 2014, Oracle and/or its affiliates.&amp;nbsp; All rights reserved.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;connected to target database: LABTEST (DBID=1771719914)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; report schema;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;using target database control file instead of recovery catalog&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Report of database schema for database with db_unique_name LABTEST&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;List of Permanent Datafiles&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;===========================&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;File Size(MB) Tablespace&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RB segs Datafile Name&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;---- -------- -------------------- ------- ------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; 700&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_system_f621nm7q_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; 600&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SYSAUX&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; NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_sysaux_f621nm8v_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp; 300&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNDOTBS1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_undotbs1_f621nm9n_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp; 200&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNDOTBS2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_undotbs2_f621nmb4_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USERS&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; NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_users_f621nmbm_.dbf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;List of Temporary Files&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;=======================&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;File Size(MB) Tablespace&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Maxsize(MB) Tempfile Name&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;---- -------- -------------------- ----------- --------------------&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TEMP&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; 32767&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /u02/app/oracle/oradata/datastore/.ACFS/snaps/labtest/LABTEST/datafile/o1_mf_temp_f621t812_.tmp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/3140378000709187734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/3140378000709187734?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/3140378000709187734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/3140378000709187734'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2018/01/rman-restore.html' title='RMAN restore of ODA X6-2-HA RAC database'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-3610015388726273208</id><published>2018-01-21T01:50:00.001-06:00</published><updated>2018-01-21T01:50:13.092-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="network packet drops"/><category scheme="http://www.blogger.com/atom/ns#" term="ODA"/><category scheme="http://www.blogger.com/atom/ns#" term="X5-2"/><title type='text'>Grid Infrastructure network issue on ODA X5-2</title><content type='html'>I ran into a situation where client I had supported was having network timeouts and a huge amount of packet drops on their network when trying to connect to their ODA from the application stack.&amp;nbsp; After many hours (2 days to be exact) of troubleshooting, it was discovered that there was an issue with the Grid Infrastructure network configuration vs what the client&#39;s network was configured with.&lt;br /&gt;
&lt;br /&gt;
The client&#39;s default gateway was set to &lt;span style=&quot;background-color: yellow;&quot;&gt;&lt;b&gt;10.10.10.1&lt;/b&gt;&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
However when looking at their network configuration set in the GI, it reflected &lt;b&gt;10.10.0.0&lt;/b&gt; as this is what Oracle was expecting it to be based off of ipcalc.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ipcalc -bnm 10.10.40.42 255.255.0.0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;NETMASK=255.255.0.0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;BROADCAST=10.10.255.255&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;NETWORK=&lt;span style=&quot;background-color: yellow;&quot;&gt;&lt;b&gt;10.10.0.0&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
################&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;[root@oraprd1 .ssh]# oifcfg getif&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ibbond0&amp;nbsp; 192.168.16.0&amp;nbsp; global&amp;nbsp; cluster_interconnect,asm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;bond0&amp;nbsp; 10.10.0.0&amp;nbsp; global&amp;nbsp; public&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
################&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# srvctl config network&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Network 1 exists&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Subnet IPv4: &lt;span style=&quot;background-color: yellow;&quot;&gt;&lt;b&gt;10.10.0.0&lt;/b&gt;&lt;/span&gt;/255.255.0.0/bond0, static&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Subnet IPv6:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Ping Targets:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Network is enabled&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Network is individually enabled on nodes:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Network is individually disabled on nodes:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
##############&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;[root@oraprd2 ~]# &lt;b&gt;route -n&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Kernel IP routing table&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Destination&amp;nbsp; &amp;nbsp; &amp;nbsp;Gateway&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Genmask&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Flags Metric Ref&amp;nbsp; &amp;nbsp; Use Iface&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;0.0.0.0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10.10.10.1&amp;nbsp; &amp;nbsp; &amp;nbsp; 0.0.0.0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UG&amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 bond0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;10.10.0.0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0.0.0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;255.255.0.0&amp;nbsp; &amp;nbsp; &amp;nbsp;U&amp;nbsp; &amp;nbsp; &amp;nbsp;0&amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 bond0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;192.168.16.0&amp;nbsp; &amp;nbsp; 0.0.0.0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;255.255.255.0&amp;nbsp; &amp;nbsp;U&amp;nbsp; &amp;nbsp; &amp;nbsp;0&amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 ibbond0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
###################&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
Could this be the culprit of the problems that client has been having since having their ODA installed in their DC?&amp;nbsp; I investigated further.&lt;br /&gt;
&lt;br /&gt;
I tried to update it by following MOS note ID&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 14.3px; font-weight: 700; text-align: right;&quot;&gt;1504734.1&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
srvctl modify network -netnum 1 -subnet 10.10.10.0/255.255.0.0/bond0&lt;br /&gt;
&lt;br /&gt;
This wouldn&#39;t work as when I checked the network in GI after making the change, it still reflected 10.10.0.0.&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;[root@oraprd1 network-scripts]#&amp;nbsp;&lt;b&gt;srvctl start nodeapps -n oraprd1&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;PRCR-1013 : Failed to start resource ora.net1.network&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;PRCR-1064 : Failed to start resource ora.net1.network on node oraprd1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;CRS-5017: The resource action &quot;ora.net1.network start&quot; encountered the following error:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;CRS-5008: Invalid attribute value: bond0 for the network interface&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;. For details refer to &quot;(:CLSN00107:)&quot; in &quot;/u01/app/grid/diag/crs/oraprd1/crs/trace/crsd_orarootagent_root.trc&quot;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;CRS-2674: Start of &#39;ora.net1.network&#39; on &#39;oraprd1&#39; failed&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;PRCR-1079 : Failed to start resource ora.oraprd1.vip&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;CRS-5017: The resource action &quot;ora.net1.network start&quot; encountered the following error:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;CRS-5008: Invalid attribute value: bond0 for the network interface&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;. For details refer to &quot;(:CLSN00107:)&quot; in &quot;/u01/app/grid/diag/crs/oraprd1/crs/trace/crsd_orarootagent_root.trc&quot;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;CRS-2674: Start of &#39;ora.net1.network&#39; on &#39;oraprd1&#39; failed&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;CRS-5017: The resource action &quot;ora.net1.network start&quot; encountered the following error:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;CRS-5008: Invalid attribute value: bond0 for the network interface&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;. For details refer to &quot;(:CLSN00107:)&quot; in &quot;/u01/app/grid/diag/crs/oraprd2/crs/trace/crsd_orarootagent_root.trc&quot;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;CRS-2674: Start of &#39;ora.net1.network&#39; on &#39;oraprd2&#39; failed&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;CRS-2632: There are no more servers to try to place resource &#39;ora.oraprd1.vip&#39; on that would satisfy its placement policy&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;PRCR-1013 : Failed to start resource ora.ons&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;PRCR-1064 : Failed to start resource ora.ons on node oraprd1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;CRS-5017: The resource action &quot;ora.net1.network start&quot; encountered the following error:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;CRS-5008: Invalid attribute value: bond0 for the network interface&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;. For details refer to &quot;(:CLSN00107:)&quot; in &quot;/u01/app/grid/diag/crs/oraprd1/crs/trace/crsd_orarootagent_root.trc&quot;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;CRS-2674: Start of &#39;ora.net1.network&#39; on &#39;oraprd1&#39; failed&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So I suggested to the client that we switch the subnet in its entirety and switch to an entirely different VLAN.&lt;br /&gt;
&lt;br /&gt;
After client defined the new VLAN IPs, I went to work changing the IPs on their entire ODA (VIPs, Public IPs, SCAN IPs, ILOM IPs) to those of the new VLAN IPs.&lt;br /&gt;
&lt;br /&gt;
Upon doing so, the network packet drops ceased and the timeouts ceased as well.&amp;nbsp; Problem solved.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/3610015388726273208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/3610015388726273208?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/3610015388726273208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/3610015388726273208'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2018/01/grid-infrastructure-network-issue-on.html' title='Grid Infrastructure network issue on ODA X5-2'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-963927919647097810</id><published>2017-05-08T08:02:00.000-05:00</published><updated>2017-05-11T16:13:35.248-05:00</updated><title type='text'>RMAN-10038: database session for channel prm3 terminated unexpectedly</title><content type='html'>Problem:&lt;br /&gt;
&lt;br /&gt;
I had an issue where I was trying to build a 1.7 TB Data Guard environment and kept receiving the highlighted error below. &amp;nbsp;I thought it was some type of fluke so I restarted the job 2 more times only to receive the same error. &lt;br /&gt;
&lt;br /&gt;
Fix:&lt;br /&gt;
&lt;br /&gt;
After researching the issue, I found it was because the sqlnet.ora needed to be configured correctly. &amp;nbsp;I added the entry &quot; SQLNET.EXPIRE_TIME = 10 &quot; to the sqlnet.ora on both the source and the target database servers under the RDBMS $ORACLE_HOME/network/admin. &amp;nbsp;Upon restarting the RMAN active database standby build, it was able to move past this error and built successfully. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Starting backup at 07-MAY-17&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel prm1: starting datafile copy&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;input datafile file number=00003 name=+DATA/testdb/datafile/undotbs1.262.940412881&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel prm2: starting datafile copy&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;input datafile file number=00129 name=+DATA/testdb/datafile/welldoc1.390.940509955&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel prm3: starting datafile copy&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;input datafile file number=00130 name=+DATA/testdb/datafile/welldoc10.391.940509955&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel prm4: starting datafile copy&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;input datafile file number=00146 name=+DATA/testdb/datafile/welldoc10_lob.407.940509955&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-03009: failure of backup command on prm3 channel at 05/07/2017 20:45:51&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;RMAN-10038: database session for channel prm3 terminated unexpectedly&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORACLE error from target database:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORA-03135: connection lost contact&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Process ID: 23071&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Session ID: 1767 Serial number: 139&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;channel prm3 disabled, job failed on it will be run on another channel&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-00571: ===========================================================&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-00571: ===========================================================&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORA-03114: not connected to ORACLE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-03002: failure of Duplicate Db command at 05/07/2017 20:45:51&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-05501: aborting duplication of target database&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-03015: error occurred in stored script Memory Script&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-03009: failure of backup command on default channel at 05/07/2017 20:45:51&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;RMAN-10038: database session for channel default terminated unexpectedly&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Recovery Manager complete.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/963927919647097810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/963927919647097810?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/963927919647097810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/963927919647097810'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2017/05/rman-10038-database-session-for-channel.html' title='RMAN-10038: database session for channel prm3 terminated unexpectedly'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-7098046314944486614</id><published>2017-04-01T11:15:00.000-05:00</published><updated>2017-04-01T11:15:13.134-05:00</updated><title type='text'>Recreate/drop Oracle database link for another schema/user</title><content type='html'>&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;Have you ever needed to recreate/drop a database link for another user/schema owner in an Oracle database? &amp;nbsp;Here&#39;s how I did it.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
--&amp;nbsp;&lt;span style=&quot;font-family: verdana; font-size: 12px;&quot;&gt;recreate Database link&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;CREATE PROCEDURE schema_owner.create_db_lnk AS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;BEGIN&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; EXECUTE IMMEDIATE &#39;CREATE DATABASE LINK COGNOS.WORLD &#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ||&#39;CONNECT TO CRUD IDENTIFIED BY &quot;password123&quot; &#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ||&#39;USING &#39;&#39;(description=(address=(protocol=tcp)(host=host-scan)(port=1521))(connect_data=(service_name=test.artisdba.com)))&#39;&#39;&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;END create_db_lnk;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;exec schema_owner.create_db_lnk;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;drop procedure schema_owner.create_db_lnk;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
--&amp;nbsp;&lt;span style=&quot;font-family: verdana; font-size: 12px;&quot;&gt;Drop database link&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;CREATE PROCEDURE schema_owner.drop_db_lnk AS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;BEGIN&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;EXECUTE IMMEDIATE &#39;DROP DATABASE LINK COGNOS.WORLD&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;END drp_db_lnk;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;exec schema_owner.drop_db_lnk;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;drop procedure schema_owner.drop_db_lnk;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/7098046314944486614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/7098046314944486614?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/7098046314944486614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/7098046314944486614'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2017/04/recreatedrop-oracle-database-link-for.html' title='Recreate/drop Oracle database link for another schema/user'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-6914386944567095710</id><published>2017-04-01T10:52:00.004-05:00</published><updated>2020-12-03T10:18:52.734-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Helpful scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Dynamically gather DDL for Oracle database tablespaces</title><content type='html'>Here is a script that I use to dynamically generate the SQL to recreate tablespaces in another database. &amp;nbsp;I essentially want all tablespaces that are non-system related. &amp;nbsp;You can model this script by whatever you need to use the package DBMS_METADATA.GET_DDL in your DBA life.&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;font-family: &amp;quot;courier new&amp;quot;, monospace;&quot;&gt;--&amp;nbsp;@gen_ddl_tbsp.sql&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;font-family: &amp;quot;courier new&amp;quot;, monospace;&quot;&gt;spool tbsp_ddl_gen.sql&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;font-family: &amp;quot;courier new&amp;quot;, monospace;&quot;&gt;set lines 120 head off feed off pages 0 long&amp;nbsp;&lt;/b&gt;&lt;b style=&quot;font-family: &amp;quot;courier new&amp;quot;, monospace;&quot;&gt;1000000&lt;/b&gt;&lt;b style=&quot;font-family: &amp;quot;courier new&amp;quot;, monospace;&quot;&gt;&lt;br /&gt;select &#39;set lines 120 pages 0 long 1000000&#39; from dual;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;font-family: &amp;quot;courier new&amp;quot;, monospace;&quot;&gt;select &#39;spool tbsp_ddl.sql&#39; from dual;&lt;br /&gt;select distinct &#39;SELECT DBMS_METADATA.GET_DDL(&#39;&lt;br /&gt;|| &#39;&#39;&#39;&#39;&lt;br /&gt;|| &#39;TABLESPACE&#39;&lt;br /&gt;|| &#39;&#39;&#39;&#39;&lt;br /&gt;|| &#39;,&#39;&lt;br /&gt;|| &#39;&#39;&#39;&#39;&lt;br /&gt;|| tablespace_name&lt;br /&gt;|| &#39;&#39;&#39;&#39;&lt;br /&gt;||&#39;) || &#39;&lt;br /&gt;||&#39;&#39;&#39;&#39;&lt;br /&gt;||&#39;&lt;br /&gt;/&#39;&lt;br /&gt;||&#39;&#39;&#39;&#39;&lt;br /&gt;||&#39; FROM DUAL;&#39;&lt;br /&gt;from dba_tablespaces&lt;br /&gt;where tablespace_name in (select tablespace_name from dba_tablespaces where tablespace_name not in (&#39;SYSTEM&#39;,&#39;USERS&#39;,&#39;SYSAUX&#39;,&#39;UNDOTBS1&#39;,&#39;UNDOTBS2&#39;,&#39;TOOLS&#39;,&#39;TEMP&#39;)) order by 1&lt;br /&gt;/&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;font-family: &amp;quot;courier new&amp;quot;, monospace;&quot;&gt;select &#39;spool off&#39; from dual;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;font-family: &amp;quot;courier new&amp;quot;, monospace;&quot;&gt;spool off&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: courier new, monospace;&quot;&gt;--@tbsp_ddl_gen.sql &amp;nbsp;&lt;i&gt;-- This will&amp;nbsp;auto execute the tbsp_ddl_gen.sql script&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;font-family: &amp;quot;courier new&amp;quot;, monospace;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b style=&quot;font-family: &amp;quot;courier new&amp;quot;, monospace;&quot;&gt;&lt;br /&gt;&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/6914386944567095710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/6914386944567095710?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/6914386944567095710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/6914386944567095710'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2017/04/dynamically-gather-ddl-for-oracle.html' title='Dynamically gather DDL for Oracle database tablespaces'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-1970135787989066210</id><published>2017-04-01T10:13:00.000-05:00</published><updated>2017-04-01T11:06:40.139-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12c"/><category scheme="http://www.blogger.com/atom/ns#" term="GoldenGate"/><category scheme="http://www.blogger.com/atom/ns#" term="OGG"/><title type='text'>GoldenGate - PLW-06009: procedure &quot;XXX&quot; OTHERS handler does not end in RAISE or RAISE_APPLICATION_ERROR</title><content type='html'>&lt;span style=&quot;font-family: verdana; font-size: 12px;&quot;&gt;I was in the middle of configuring OGG for a client and came across an issue when getting to the portion of installing support for sequences. &amp;nbsp;This script creates some procedures to be used by OGG processes. &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;I hope this helps someone as it took me some digging around to figure this one out. &amp;nbsp;Enjoy!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;SQL&amp;gt; @sequence&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;Please enter the name of a schema for the GoldenGate database objects:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;GGADMIN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;Setting schema name to GGADMIN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;SP2-0804: Procedure created with compilation warnings&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;SP2-0804: Procedure created with compilation warnings&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;UPDATE_SEQUENCE STATUS:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;Line/pos&amp;nbsp;&amp;nbsp; Error&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;---------- -----------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;58/14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PLW-06009: procedure &quot;UPDATESEQUENCE&quot; OTHERS handler does not end&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in RAISE or RAISE_APPLICATION_ERROR&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;GETSEQFLUSH&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;Line/pos&amp;nbsp;&amp;nbsp; Error&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;---------- -----------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;No errors&amp;nbsp; No errors&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;SEQTRACE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;Line/pos&amp;nbsp;&amp;nbsp; Error&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;---------- -----------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;No errors&amp;nbsp; No errors&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;REPLICATE_SEQUENCE STATUS:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;Line/pos&amp;nbsp;&amp;nbsp; Error&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;---------- -----------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;261/16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PLW-06009: procedure &quot;REPLICATESEQUENCE&quot; OTHERS handler does not&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end in RAISE or RAISE_APPLICATION_ERROR&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;395/29 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PLW-06009: procedure &quot;REPLICATESEQUENCE&quot; OTHERS handler does not&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end in RAISE or RAISE_APPLICATION_ERROR&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;65/14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PLW-06009: procedure &quot;REPLICATESEQUENCE&quot; OTHERS handler does not&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end in RAISE or RAISE_APPLICATION_ERROR&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;STATUS OF SEQUENCE SUPPORT&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;--------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;ERRORS in Oracle Sequence&amp;nbsp; Replication Support&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot;; font-size: 9pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot;; font-size: 9pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot;; font-size: 9pt;&quot;&gt;Problem was due to plsql_warnings being enabled. &amp;nbsp;To workaround the issue, I disabled the plsql_warnings at the session level as to not interfere with client&#39;s specific parameter settings at the system level.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot;; font-size: 9pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot;; font-size: 9pt;&quot;&gt;FIX:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;SQL&amp;gt; &lt;/span&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&lt;b&gt;alter session set plsql_warnings=&#39;DISABLE:ALL&#39;;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;SQL&amp;gt; @sequence.sql&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;SQL&amp;gt; @sequence&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;Please enter the name of a schema for the GoldenGate database objects:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;GGADMIN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;Setting schema name to GGADMIN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;UPDATE_SEQUENCE STATUS:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;Line/pos&amp;nbsp;&amp;nbsp; Error&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;---------- -----------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;No errors&amp;nbsp; No errors&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;GETSEQFLUSH&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;Line/pos&amp;nbsp;&amp;nbsp; Error&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;---------- -----------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;No errors&amp;nbsp; No errors&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;SEQTRACE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;Line/pos&amp;nbsp;&amp;nbsp; Error&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;---------- -----------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;No errors&amp;nbsp; No errors&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;REPLICATE_SEQUENCE STATUS:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;Line/pos&amp;nbsp;&amp;nbsp; Error&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;---------- -----------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;No errors&amp;nbsp; No errors&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;STATUS OF SEQUENCE SUPPORT&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;--------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Calibri; font-size: 12pt; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 9pt;&quot;&gt;SUCCESSFUL installation of Oracle Sequence Replication support&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/1970135787989066210/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/1970135787989066210?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/1970135787989066210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/1970135787989066210'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2017/04/goldengate-plw-06009-procedure-xxx.html' title='GoldenGate - PLW-06009: procedure &quot;XXX&quot; OTHERS handler does not end in RAISE or RAISE_APPLICATION_ERROR'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-7102825486731773064</id><published>2016-01-05T13:46:00.000-06:00</published><updated>2016-01-06T11:03:09.851-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11gR2 RAC"/><category scheme="http://www.blogger.com/atom/ns#" term="12c"/><category scheme="http://www.blogger.com/atom/ns#" term="12cR1 RAC"/><category scheme="http://www.blogger.com/atom/ns#" term="RAC"/><title type='text'>Upgrade from 11gR2 RAC to 12cR1 RAC using cloning methodology</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
12.1.0.2 Grid Infrastructure Upgrade: From 11.2.0.4 To 12.1.0.2 Using GI Clone&lt;br /&gt;
&lt;br /&gt;
I used the following methodology to upgrade from 11.2.0.4 to 12.1.0.2 RAC. &amp;nbsp;This is particularly useful from a time perspective to avoid having to do a separate patching when it comes to applying bundle patches (Exadata) or PSUs. &amp;nbsp;I tested this process in my non-production environment and highly advise you to do the same to ensure the process is seamless.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A) Prepare SOURCE GI home (In this case it is 12.1.0.2) to be cloned:&lt;br /&gt;
********************************&lt;br /&gt;
Follow documentation for &quot;Preparing the Oracle Grid Infrastructure Home for Cloning&quot; at https://docs.oracle.com/database/121/CWADD/clonecluster.htm#CWADD92116&lt;br /&gt;
&lt;br /&gt;
Oracle® Clusterware Administration and Deployment Guide&lt;br /&gt;
12c Release 1 (12.1)&lt;br /&gt;
Part Number E16794-16&lt;br /&gt;
********************************&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A01) Stop all databases via srvctl (run by oracle)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;srvctl stop database -d {db_unique_name}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
A02) Stop CRS (run by root)&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;export ORACLE_HOME=/u01/app/12.1.0.2/grid&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;$ORACLE_HOME/bin/crsctl stop crs&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
A03) Validate that everything is shutdown on the GI home and DB homes&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ps -ef |grep pmon&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ps -ef |egrep &quot;d.bin reboot&quot; |grep -v grep&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
B) Create a Copy of the Oracle Grid Infrastructure Home&lt;br /&gt;
&lt;br /&gt;
B01) Create backup of existing home (run as root)&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cp -prf /u01/app/12.1.0.2/grid /u01/app/12.1.0.2/grid_bak&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
B02) Cleanup the unnecessary files. (run as root)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd /u01/app/12.1.0.2/grid_bak&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;rm -rf log/td04db01&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;rm -rf gpnp/td04db01&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;find gpnp -type f -exec rm -f {} \;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;rm -rf cfgtoollogs/*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;rm -rf crs/init/*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;rm -rf cdata/*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;rm -rf crf/*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;rm -rf network/admin/*.ora&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;rm -rf crs/install/crsconfig_params&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;find . -name &#39;*.ouibak&#39; -exec rm {} \;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;find . -name &#39;*.ouibak.1&#39; -exec rm {} \;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;rm -rf root.sh*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;rm -rf rdbms/audit/*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;rm -rf rdbms/log/*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;rm -rf inventory/backup/*&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
B03) Create compressed copy of GI home to be used for cloning (run as root)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd /u01/app/12.1.0.2/grid_bak&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;tar -zcvpf /&amp;lt;backup_location&amp;gt;/gridHome.tgz .&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;chown oracle:oinstall /&amp;lt;backup_location&amp;gt;/gridHome.tgz&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;chown oracle:oinstall /u01/app/12.1.0.2/grid_bak&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;chmod 755 /u01/app/12.1.0.2/grid_bak&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
B04) Startup the clusterware for the node (run as root)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;export ORACLE_HOME=/u01/app/12.1.0.2/grid&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;$ORACLE_HOME/bin/crsctl start crs&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C) Deploy the 12.1.0.2 GI home (gridHome.tgz from above step) on the destination cluster nodes where GI 11.2.0.4 is installed and active:&lt;br /&gt;
**********************************&lt;br /&gt;
Follow documentation for &quot;Step 2: Deploy the Oracle Grid Infrastructure Home on the Destination Nodes&quot; at https://docs.oracle.com/database/121/CWADD/clonecluster.htm#CWADD92125&lt;br /&gt;
&lt;br /&gt;
Oracle® Clusterware Administration and Deployment Guide&lt;br /&gt;
12c Release 1 (12.1)&lt;br /&gt;
&lt;br /&gt;
**********************************&lt;br /&gt;
&lt;br /&gt;
C01) As root on each node of cluster, make the directory for the GI HOME. &amp;nbsp;Unzip the tar ball. &amp;nbsp;Then chmod the required files to clear&amp;nbsp;&lt;code dir=&quot;ltr&quot;&gt;setuid&lt;/code&gt; and &lt;code dir=&quot;ltr&quot;&gt;setgid&lt;/code&gt; information from the Oracle binary.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;mkdir -p /u01/app/12.1.0.2/grid&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd /u01/app/12.1.0.2/grid&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;tar -zxvf /u01/app/oracle/patches/gridHome.tgz&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;chown -R oracle:oinstall /u01/app/12.1.0.2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;chmod u+s /u01/app/12.1.0.2/grid/bin/oracle&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;chmod g+s /u01/app/12.1.0.2/grid/bin/oracle&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;chmod u+s /u01/app/12.1.0.2/grid/bin/extjob&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;chmod u+s /u01/app/12.1.0.2/grid/bin/jssu&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;chmod u+s /u01/app/12.1.0.2/grid/bin/oradism&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
C02) Execute the clone.pl script on ALL cluster nodes 1 node at a time on the destination system (DO NOT run root.sh as instructed):&lt;br /&gt;
*************************************&lt;br /&gt;
Follow documentation for &quot;Step 3: Run the clone.pl Script on Each Destination Node&quot; at https://docs.oracle.com/database/121/CWADD/clonecluster.htm#CWADD92125&lt;br /&gt;
&lt;br /&gt;
Oracle® Clusterware Administration and Deployment Guide&lt;br /&gt;
12c Release 1 (12.1)&lt;br /&gt;
&lt;br /&gt;
*************************************&lt;br /&gt;
&lt;br /&gt;
I created the following script to echo out the perl command that needs to be executed (as oracle user).&lt;br /&gt;
## As ORACLE&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;gt; cat run_for_gi.ksh&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;mkdir -p /home/oracle/dba/patches/12102/install&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SCRIPT_DIR=/home/oracle/dba/patches/12102/install&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ORACLE_BASE=/u01/app/oracle&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ORACLE_HOME=/u01/app/12.1.0.2/grid&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ORACLE_INV=/u01/app/oraInventory&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd $ORACLE_HOME/clone&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;THIS_NODE=`hostname -s`&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;node1=&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;node2=&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;node3=&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;node4=&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E01=ORACLE_HOME=${ORACLE_HOME}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E02=ORACLE_HOME_NAME=Ora12c_gridinfrahome1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E03=ORACLE_BASE=${ORACLE_BASE}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E04=INVENTORY_LOCATION=${ORACLE_INV}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;C01=&quot;-O&#39;\&quot;CLUSTER_NODES={$node1,$node2,$node3,$node4}\&quot;&#39;&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;C02=&quot;-O&#39;\&quot;LOCAL_NODE=${THIS_NODE}\&quot;&#39; CRS=TRUE&quot;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;echo &quot;perl $ORACLE_HOME/clone/bin/clone.pl $E01 $E02 $E03 $E04 $C01 $C02 |tee $SCRIPT_DIR/cloneGridHome_12c.out &quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
## Execute the perl command that appears on the screen after running the above script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C03) BEFORE running config.sh, set CRS=false for 12.1.0.2 in inventory.xml as two GI homes can not have CRS=true flag at the same time. If this step is not completed config.sh would error with &quot; [INS-40406] The installer detects no existing Oracle GI software on the system.&quot;&lt;br /&gt;
&lt;br /&gt;
a. Backup inventory.xml on all nodes&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cp -p /u01/app/oraInventory/ContentsXML/inventory.xml /u01/app/oraInventory/ContentsXML/inventory.xml.bak&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
b. Run below command on all nodes:&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/u01/app/12.1.0.2/grid/oui/bin/runInstaller -updateNodeList ORACLE_HOME=&quot;/u01/app/12.1.0.2/grid&quot; CRS=false&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
PLEASE NOTE: You will receive the following error which appears to be ok.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;/u01/app/12.1.0.2/grid/oui/bin/runInstaller -updateNodeList ORACLE_HOME=&quot;/u01/app/12.1.0.2/grid&quot; CRS=false&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Starting Oracle Universal Installer...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Checking swap space: must be greater than 500 MB. &amp;nbsp; Actual 24575 MB &amp;nbsp; &amp;nbsp;Passed&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&#39;UpdateNodeList&#39; failed.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&#39;UpdateNodeList&#39; failed.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C04) BEFORE running config.sh, on all nodes, copy crsconfig_params file from &lt;b&gt;SOURCE&amp;nbsp;&lt;/b&gt;12.1.0.2 GI home to 12.1.0.2 &lt;b&gt;DESTINATION &lt;/b&gt;GI home. Modify crsconfig_params accordingly to reflect proper values for destination (cluster name, host names, node names, install_node, etc) details.&lt;br /&gt;
&lt;br /&gt;
If you don&#39;t perform this step, config.sh may show failure at cluvfy step with error &quot; INS-20802 Oracle Cluster Verification Utility failed.&quot;&lt;br /&gt;
&lt;br /&gt;
config.sh log file would show &quot;INFO: Unable to obtain network interface list from Oracle ClusterwarePRCT-1011 : Failed to run &quot;oifcfg&quot;. Detailed error: null&quot;&lt;br /&gt;
&lt;br /&gt;
C05) Run config.sh, choose upgrade option. Run rootupgrade.sh when prompted.&lt;br /&gt;
&lt;br /&gt;
Make sure you DON&#39;T use sudo to run rootupgrade.sh. You should use real root user login to run rootupgrade.sh. If sudo is used to rootupgrade.sh then upgrade may not be successful and crs activeversion would still show 11.2.0.4 even though its running from 12.1.0.2 GI home.&lt;br /&gt;
&lt;br /&gt;
After rootupgrade.sh is completed and configuration done, use can execute cluvfy to validate the health of the cluster is good. &amp;nbsp;This process was very seamless for me as I was very meticulous on following these instructions. &amp;nbsp;The GI stack is the most sensitive so I was extremely careful with ensuring these steps were documented clearly.&lt;br /&gt;
&lt;br /&gt;
D) &amp;nbsp;Steps for the cloning of the DB HOME.&lt;br /&gt;
&lt;br /&gt;
D01) &amp;nbsp;Create source tar ball for 12.1.0.2 db home binaries.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd /u01/app/oracle/product/12.1.0.2/dbhome_1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;tar -zcvpf /&amp;lt;backup_location&amp;gt;/dbHome.tgz .&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
D02) &amp;nbsp;Copy it to all server in the cluster or place in a shared filesystem/location.&lt;br /&gt;
&lt;br /&gt;
D03) &amp;nbsp;Make directory for the binaries and script directory.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;mkdir -p /u01/app/oracle/product/12.1.0.2/dbhome_1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;mkdir -p /home/oracle/dba/patches/12102/install&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
D04) Change to the db home directory.&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd /u01/app/oracle/product/12.1.0.2/dbhome_1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;tar -zxvf /&amp;lt;backup_location&amp;gt;/dbHome.tgz&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
D05) Place below commands in a small script, update the node names (if there are less than 4 nodes - adjust parameter C01 accordingly), and execute. &amp;nbsp;Run the command that is displayed as output.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SCRIPT_DIR=/home/oracle/dba/patches/12102/install&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ORACLE_BASE=/u01/app/oracle&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ORACLE_HOME=/u01/app/oracle/product/12.1.0.2/dbhome_1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd $ORACLE_HOME/clone&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;THIS_NODE=`hostname -s`&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;node1=&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;node2=&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;node3=&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;node4=&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E01=ORACLE_HOME=${ORACLE_HOME}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E02=ORACLE_HOME_NAME=OraDb12c_home1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E03=ORACLE_BASE=${ORACLE_BASE}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;C01=&quot;-O&#39;\&quot;CLUSTER_NODES={$node1,$node2,$node3,$node4}\&quot;&#39;&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;C02=&quot;-O LOCAL_NODE=$THIS_NODE&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;echo &quot;perl $ORACLE_HOME/clone/bin/clone.pl $E01 $E03 $E02 $C01 $C02 |tee $SCRIPT_DIR/clonedbHome_12c.out &quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
D06) &amp;nbsp;Have UNIX admin run root.sh on each node.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/u01/app/oracle/product/12.1.0.2/dbhome_1/root.sh&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/7102825486731773064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/7102825486731773064?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/7102825486731773064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/7102825486731773064'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2016/01/upgrade-from-11gr2-rac-to-12cr1-rac.html' title='Upgrade from 11gR2 RAC to 12cR1 RAC using cloning methodology'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-4781735819157949018</id><published>2015-06-05T09:28:00.005-05:00</published><updated>2015-06-05T09:33:00.419-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11g Standby"/><title type='text'>Recover from datafile block corruption leveraging physical standby</title><content type='html'>Here are the steps I used to recover my primary database by leveraging a Dataguard environment.&lt;br /&gt;
&lt;br /&gt;
## on standby&lt;br /&gt;
&lt;br /&gt;
1. stop managed recovery on standby.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SQL&amp;gt; alter database recover managed standby database cancel;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
2. Backup as a copy of the datafile from standby.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;RMAN&amp;gt; backup as copy datafile 2 format &#39;/app/oracle/temp/sysaux_01.dbf&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
3. SCP the backup copy of the datafile to the primary database server.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;scp /app/oracle/temp/sysaux_01.dbf &amp;lt;target_server&amp;gt;:/app/oracle/temp&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
## on primary&lt;br /&gt;
&lt;br /&gt;
4. Take corrupt datafile offline.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SQL&amp;gt; alter database datafile 2 offline;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
5. Catalog datafile to the primary database so the controlfile knows about it.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;RMAN&amp;gt; catalog datafilecopy &#39;/app/oracle/temp/sysaux_01.dbf&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
6. Restore and recover the datafile in question.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;RMAN&amp;gt; restore datafile 2;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;RMAN&amp;gt; recover datafile 2;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
7. Bring the datafile back online.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SQL&amp;gt; alter database datafile 2 online;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
8. Validate that the corruption is no longer present.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;RMAN&amp;gt; validate check logical datafile 2;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SQL&amp;gt; select * from v$database_block_corruption;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/4781735819157949018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/4781735819157949018?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/4781735819157949018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/4781735819157949018'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2015/06/recover-from-datafile-block-corruption.html' title='Recover from datafile block corruption leveraging physical standby'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-7038062839318026462</id><published>2015-06-05T09:12:00.002-05:00</published><updated>2015-06-05T09:25:02.420-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database Cloning 11g"/><category scheme="http://www.blogger.com/atom/ns#" term="RMAN"/><title type='text'>RMAN-05001: auxiliary file name  conflicts with a file used by the target database</title><content type='html'>&lt;div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
RMAN-05001: auxiliary file name &amp;lt;file_name&amp;gt; conflicts with a file used by the target database&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;I ran into an issue where I was trying to clone a new copy of non-production database (using production database as the source) by leveraging the RMAN clone via active database to save me some time and work. &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;I ran into the error where I couldn&#39;t successfully clone the database. &amp;nbsp;I made sure that my environment, pfile, RMAN script were configured correctly. &amp;nbsp;After much time of troubleshooting, I figured out the issue. After remembering that the source database had a DG environment, it occurred to me that was what was&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;causing&lt;/span&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&amp;nbsp;the error. &amp;nbsp;Reason being, the source had log_file_name_convert and db_file_name_convert configured which was&amp;nbsp;being &quot;carried over&quot; onto my auxiliary instance hence causing the error mentioned above. &amp;nbsp;So all I needed to do was simply reset those two parameters within my RMAN script (as seen below) and I was able to successfully clone the database without issues.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Hopefully, this helps someone save a lot of time and effort with troubleshooting.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;run {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;allocate channel prm1 type disk;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;allocate channel prm2 type disk;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;allocate channel prm3 type disk;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;allocate channel prm4 type disk;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;allocate channel prm5 type disk;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;allocate channel prm6 type disk;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;allocate auxiliary channel stb1 type disk;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;DUPLICATE TARGET DATABASE TO &amp;lt;db_name&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;&amp;nbsp; FROM ACTIVE DATABASE&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;&amp;nbsp; SPFILE&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;&amp;nbsp; &amp;nbsp; SET CONTROL_FILES=&#39;+DATA_STG&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;&amp;nbsp; &amp;nbsp; SET DB_CREATE_FILE_DEST &#39;+DATA&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;&amp;nbsp; &amp;nbsp; SET db_recovery_file_dest=&#39;+DATA&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;&amp;nbsp; &amp;nbsp; SET db_recovery_file_dest_size=&#39;100G&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;&amp;nbsp; &amp;nbsp; SET audit_file_dest=&#39;/app/oracle/admin/&amp;lt;db_name&amp;gt;/adump&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;background-color: yellow; font-family: Courier;&quot;&gt;&amp;nbsp; &amp;nbsp; reset db_file_name_convert&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;background-color: yellow; font-family: Courier;&quot;&gt;&amp;nbsp; &amp;nbsp; reset log_file_name_convert&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;&amp;nbsp; &amp;nbsp; reset log_archive_config&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;&amp;nbsp; &amp;nbsp; reset log_archive_dest_2;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;span style=&quot;font-family: Courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica; font-size: 12px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/7038062839318026462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/7038062839318026462?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/7038062839318026462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/7038062839318026462'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2015/06/rman-05001-auxiliary-file-name.html' title='RMAN-05001: auxiliary file name &lt;file_name&gt; conflicts with a file used by the target database'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-1236949811858356317</id><published>2015-01-16T15:36:00.001-06:00</published><updated>2016-01-05T13:51:53.424-06:00</updated><title type='text'>Apply PSU to OEM 12cR4</title><content type='html'>&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Below are the steps I followed for patching OMS for OEM 12c R4. &amp;nbsp;I came across an issue with creating my property file. &amp;nbsp;I give an example of what it&amp;nbsp;should look like upon completion.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Creating the property file :&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;1.&amp;nbsp;Run the following script to create the WebLogic encrypted configuration and key files.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;mkdir /app/oracle/Middleware/oms/oms_encr&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&amp;lt;OMS_HOME&amp;gt;/OPatch/wlskeys/createkeys.sh –oh &amp;lt;full path of platform OMS Oracle Home&amp;gt; -location &amp;lt;location to put the encrypted files&amp;gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;e.g. $OMS_HOME/OPatch/wlskeys/createkeys.sh -oh $OMS_HOME -location /app/oracle/Middleware/oms/oms_encr&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;Please enter weblogic admin server username: weblogic
Please enter weblogic admin server password:
Creating the key file can reduce the security of your system if it is not kept in a secured location after it is created. Creating new key...

Trying to get configuration and key files for the given inputs...
This operation will take some time. Please wait for updates...
User configuration file created: /app/oracle/Middleware/oms/oms_encr/config
User key file created: /app/oracle/Middleware/oms/oms_encr/key
&#39;createKeys&#39; succeeded.

&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;2.  Create the property file with the following entries:&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;To retrieve the WebLogic Administrator Server URL details, run the following commands on the OMS home that you are patching:&lt;/span&gt;
&lt;span class=&quot;bold&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;On Unix:&lt;/span&gt;&lt;/span&gt;


&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;$ $ORACLE_HOME/bin/emctl status oms -details
&lt;/pre&gt;
&lt;span class=&quot;bold&quot;&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;span class=&quot;bold&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;On Windows:&lt;/span&gt;&lt;/span&gt;


&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;%ORACLE_HOME%\bin\emctl.bat status oms -details
&lt;/pre&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;The output displayed contains the WebLogic Adminstrator Server 
details. Here is an example on how to construct the URL with these 
output details.&lt;/span&gt;


Example:


&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;WLS Domain Information

Domain Name : GCDomain
Admin Server Host : oem12cr3.idc.oracle.com
Admin Server HTTPS Port: 7103

To construct the Administrator Server URL, use the following syntax:
t3s://&amp;lt;admin server host&amp;gt;:&amp;lt;port&amp;gt;

In this example, the URL translates as follows:
t3s://oem12cr3.idc.oracle.com:7103
&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Property file should look similar to the following once completed:&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;mkdir &lt;span style=&quot;background-color: white;&quot;&gt;/app/oracle/Middleware/oms/files&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;vi property_file.txt



cat property_file.txt&lt;/pre&gt;
&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;AdminServerURL=t3s://oemserver1.artisdba.com:7102
AdminConfigFile=/app/oracle/Middleware/oms/oms_encr/config
AdminKeyFile=/app/oracle/Middleware/oms/oms_encr/key&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Applying the PSU:&lt;/i&gt;&lt;/span&gt;

&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;
&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;1. Run the following command on each OMS instance home to ensure that 
you do not have any issues with configuration and binary prerequisite 
checks:&lt;/span&gt;

&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;
&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Please note: the OMS should be online when you do this step only.&lt;/span&gt;

&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;export ORACLE_HOME=$OMS_HOME&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;export PATH=$ORACLE_HOME/OPatch:$ORACLE_HOME/bin:$PATH:&lt;/span&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;cd &amp;lt;PATCH_TOP_DIR&amp;gt;/19218456&lt;/span&gt;

&lt;span class=&quot;bold&quot;&gt;While Installing the System patch&lt;/span&gt;
$ opatchauto apply -analyze  [–property_file &amp;lt;location of property file&amp;gt;]
&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;e.g.&amp;nbsp;opatchauto apply -analyze -property_file &quot;/app/oracle/Middleware/oms/files/property_file.txt&quot;&lt;/span&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;2. If this comes back without any issues, proceed with applying the PSU.  If not, address the errors, then proceed with next steps.&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;cd &amp;lt;PATCH_TOP_DIR&amp;gt;/19218456/
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;emctl stop oms&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
Stopping WebTier...
WebTier Successfully Stopped
Stopping Oracle Management Server...
Oracle Management Server Successfully Stopped
Oracle Management Server is Down&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;opatchauto apply -property_file &quot;/app/oracle/Middleware/oms/files/property_file.txt&quot;&lt;/span&gt;
OPatch Automation Tool
Copyright (c) 2014, Oracle Corporation.  All rights reserved.


OPatchauto version : 11.1.0.12.3
OUI version        : 11.1.0.12.0
Running from       : /app/oracle/Middleware/oms
Log file location  : /app/oracle/Middleware/oms/cfgtoollogs/opatch/opatch2015-01-16_16-05-10PM_1.log

OPatchauto log file: /app/oracle/Middleware/oms/cfgtoollogs/opatchauto/19218456/opatch_oms_2015-01-16_16-05-11PM_deploy.log

Configuration Validation: Success

Running apply prerequisite checks for sub-patch(es) &quot;19218456&quot; and Oracle Home &quot;/app/oracle/Middleware/oms&quot;...
Please monitor OPatch log file: /app/oracle/Middleware/oms/cfgtoollogs/opatch/19218456_Jan_16_2015_16_05_10/ApplyPrereq2015-01-16_16-09-57PM_2.log
Sub-patch(es) &quot;19218456&quot; are successfully analyzed for Oracle Home &quot;/app/oracle/Middleware/oms&quot;

To continue, OPatchauto will do the following:
[Patch and deploy artifacts]   : Apply sub-patch(es) [ 19218456 ] to Oracle Home &quot;/app/oracle/Middleware/oms&quot;;
                                 Apply RCU artifact with patch &quot;/app/oracle/Middleware/oms/.patch_storage/19218456_Oct_14_2014_03_22_39/original_patch&quot;


Do you want to proceed? [y|n]
y
User Responded with: Y

Applying sub-patch &quot;19218456&quot; to Oracle Home &quot;/app/oracle/Middleware/oms&quot;...
Please monitor OPatch log file: /app/oracle/Middleware/oms/cfgtoollogs/opatch/19218456_Jan_16_2015_16_05_10/apply2015-01-16_16-13-27PM_4.log

Updating repository with RCU reference file &quot;/app/oracle/Middleware/oms/.patch_storage/19218456_Oct_14_2014_03_22_39/original_patch&quot;

Complete Summary
================


All log file names referenced below can be accessed from the directory &quot;/app/oracle/Middleware/oms/cfgtoollogs/opatch/2015-01-16_16-05-10PM_SystemPatch_19218456_1&quot;

Patching summary:
-----------------

Binaries of the following sub-patch(es) have been applied successfully:

  Oracle Home Name   Sub-patches                                    Log file
  ----------------   -----------                                    --------
           oms12c1      19218456   19218456_apply2015-01-16_16-13-27PM_4.log

Deployment summary:
-------------------

The following artifact(s) have been successfully deployed:

  Artifacts                                                  Log file
  ---------                                                  --------
        SQL   rcu_applypatch_original_patch_2015-01-16_16-14-33PM.log


Log file location: /app/oracle/Middleware/oms/cfgtoollogs/opatchauto/19218456/opatch_oms_2015-01-16_16-05-11PM_deploy.log

OPatchauto succeeded.

&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;emctl start oms&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
Starting Oracle Management Server...
Starting WebTier...
WebTier Successfully Started
Oracle Management Server Successfully Started
Oracle Management Server is Up
&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/1236949811858356317/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/1236949811858356317?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/1236949811858356317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/1236949811858356317'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2015/01/apply-psu-to-oem-12c-r4.html' title='Apply PSU to OEM 12cR4'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-8540980522360557516</id><published>2015-01-13T14:43:00.001-06:00</published><updated>2017-06-02T18:26:49.616-05:00</updated><title type='text'>ORA-00338: log {n} of thread {n} is more recent than control file</title><content type='html'>&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;I received the following error in a primary database&#39;s alert log that I was supporting recently. &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;; font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;ORA-00312: online log 5 thread 1: &#39;+DATA/db_name/onlinelog/group_5.297.846947859&#39;&lt;/span&gt;&lt;br style=&quot;font-size: 12px;&quot; /&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;ORA-00338: log 5 of thread 1 is more recent than control file&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;The database has a DataGuard environment as well and below are the steps that I took to resolve the issue.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;1. &amp;nbsp;First, I checked the status of the&amp;nbsp;redo logs and their current sizes and status.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; select group#,bytes/1024/1024,status from v$log;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; GROUP# BYTES/1024/1024 STATUS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;---------- --------------- ----------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;50 INACTIVE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;50 INACTIVE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;50 INACTIVE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 INACTIVE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 INACTIVE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 CURRENT&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;2. &amp;nbsp;As you can see, groups 1, 2, 3 have 50 MB&amp;nbsp;redo log group sizes while group 4, 5, 6 are 250 MB&amp;nbsp;redo log group sizes. &amp;nbsp;This is something that I highly suspect was/is the issue. &amp;nbsp;So I&amp;nbsp;decided to drop the undersized&amp;nbsp;redo log groups and replace them with the appropriate sized ones. &amp;nbsp;Being that groups 1, 2, 3 are inactive, I can drop them without any errors.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; alter database drop logfile group 1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;alter database drop logfile group 2;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;alter database drop logfile group 3;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; alter database add logfile group 1 (&#39;+DATA&#39;) SIZE 250M;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;alter database add logfile group 2 (&#39;+DATA&#39;) SIZE 250M;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;alter database add logfile group 3 (&#39;+DATA&#39;) SIZE 250M;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; select group#,bytes/1024/1024,status from v$log;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; GROUP# BYTES/1024/1024 STATUS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;---------- --------------- ----------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 UNUSED&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 UNUSED&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 UNUSED&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 INACTIVE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 INACTIVE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 CURRENT&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;3. &amp;nbsp;Now that the primary database is squared away, I move on to the DataGuard environment. &amp;nbsp;First, I check the status of each group here as well.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; select group#,bytes/1024/1024,status from v$log order by 1;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; GROUP# BYTES/1024/1024 STATUS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;---------- --------------- ----------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;50 CLEARING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;50 CLEARING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;50 CLEARING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 CLEARING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 CLEARING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 CURRENT&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;4. &amp;nbsp;Before I can make any changes to the DG environment, I have to cancel the managed recovery process. &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; alter database recover managed standby database cancel;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;5. &amp;nbsp;Then I clear the logfile groups that I want to drop/readd. &amp;nbsp;These are the same groups that replaced on the primary.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; alter database clear logfile group 1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;alter database clear logfile group 2;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;alter database clear logfile group 3;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;6. &amp;nbsp;Notice that the status now saying &quot;UNUSED&quot;. &amp;nbsp;They are safe to drop after I change the standby file management from AUTO to MANUAL.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; select group#,bytes/1024/1024,status from v$log order by 1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; GROUP# BYTES/1024/1024 STATUS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;---------- --------------- ----------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;50 UNUSED&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;50 UNUSED&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;50 UNUSED&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 CLEARING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 CLEARING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 CURRENT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;6 rows selected.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; alter system set standby_file_management=&#39;manual&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;System altered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; alter database drop logfile group 1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;alter database drop logfile group 2;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;alter database drop logfile group 3;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; alter database add logfile group 1 (&#39;+DATA&#39;) size 250M;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;alter database add logfile group 2 (&#39;+DATA&#39;) size 250M;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;alter database add logfile group 3 (&#39;+DATA&#39;) size 250M&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; /&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; select group#,bytes/1024/1024,status from v$log order by 1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; GROUP# BYTES/1024/1024 STATUS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;---------- --------------- ----------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 UNUSED&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 UNUSED&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 UNUSED&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 CLEARING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 CLEARING&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 250 CURRENT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;6 rows selected.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;7. &amp;nbsp;All looks well now. &amp;nbsp;Now, I change the standby file management back to AUTO and re-enable the managed recovery process.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; alter system set standby_file_management=&#39;AUTO&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;System altered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; alter database recover managed standby database using current logfile disconnect;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica&amp;quot;;&quot;&gt;Issue should now be resolved. &amp;nbsp;Hope this helps!&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/8540980522360557516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/8540980522360557516?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/8540980522360557516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/8540980522360557516'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2015/01/ora-00338-log-5-of-thread-1-is-more.html' title='ORA-00338: log {n} of thread {n} is more recent than control file'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-4911210213893106686</id><published>2014-07-10T23:06:00.000-05:00</published><updated>2017-04-13T12:58:32.846-05:00</updated><title type='text'>Clone database without backup 11gR2</title><content type='html'>Here are the majority of the steps for creating a clone 11gR2 database.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;1.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Either configure your listener under the ORACLE_HOME for the standby (typically using NETCA) or if you are using 11gR2 RAC, you can use the Grid Infrastructure listener.ora to add your entries. &amp;nbsp;Configure listener.ora with your clone SID and reload listener.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;(example)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SID_LIST_LISTENER =&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;(SID_DESC =&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;(GLOBAL_DBNAME = clone)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;(SID_NAME = clone)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;(ORACLE_HOME = &amp;lt;ORACLE_HOME&amp;gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;lsnrctl reload&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;LISTENER&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;
3.&amp;nbsp;Modify tnsnames.ora in $TNS_ADMIN on both primary and standby locations to include both your standby database TNS entry and the primary database TNS entry.&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;(example)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;clone =&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;(DESCRIPTION =&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;(ADDRESS_LIST =&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;(ADDRESS = (PROTOCOL = TCP)(HOST = &amp;lt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;standby&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;_hostname&amp;gt;)(PORT = 1521))&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;(CONNECT_DATA =&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;(SERVICE_NAME =&amp;nbsp;clone)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;trgtdb =&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;(DESCRIPTION =&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;(ADDRESS = (PROTOCOL = TCP)(HOST = &amp;lt;primary_hostname&amp;gt;)(PORT = 1521))&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;(CONNECT_DATA =&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;(SERVER = DEDICATED)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;(SERVICE_NAME =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;trgtdb&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;4. &amp;nbsp;Test connectivity both ways&amp;nbsp;between&amp;nbsp;both db instances via tnsping.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;(example)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; tnsping&amp;nbsp;clone&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; tnsping trgtdb&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;5. &amp;nbsp;Pre-create your directory structure for the standby database under the $ORACLE_BASE/admin.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;(example)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;mkdir -p $ORACLE_BASE/admin/clone/adump&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;6. &amp;nbsp;Copy oracle password file from production to your standby server under $ORACLE_HOME/dbs, also create dummy&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;parameter file for auxiliary instance.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; margin: 0px; padding: 0px;&quot;&gt;scp &amp;lt;target_host_name&amp;gt;:orapwtrgtdb&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;$ORACLE_HOME/dbs/orapwclone&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; margin: 0px; padding: 0px;&quot;&gt;echo &quot;db_name=clone&quot; &amp;gt; $ORACLE_HOME/dbs/initclone.ora&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;echo &quot;memory_target=&amp;lt;primary_memory_target&amp;gt;&quot; &amp;gt;&amp;gt; $ORACLE_HOME/dbs/initclone.ora&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;7. &amp;nbsp;Create clone.cmd file for RMAN to build out the clone database across the network.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;(example)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;connect target sys/oracle@trgtdb;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;connect auxiliary sys/oracle@clone;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;run {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;allocate channel prm1 type disk;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;allocate channel prm2 type disk;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;allocate channel prm3 type disk;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;allocate channel prm4 type disk;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;allocate auxiliary channel stb1 type disk;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;duplicate target database to &quot;clone&quot; from active database&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;spfile&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;PARAMETER_VALUE_CONVERT &#39;/trgtdb/&#39;,&#39;/clone/&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;set &#39;db_unique_name&#39;=&#39;clone&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;set &#39;control_files&#39;=&#39;+DATA&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;set db_create_file_dest=&#39;+DATA&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;set db_create_online_log_dest_1=&#39;+DATA&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;set db_recovery_file_dest=&#39;+FRA&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;set db_recovery_file_dest_size=&#39;15G&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;set cluster_database=&#39;FALSE&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;set instance_number=&#39;1&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;nofilenamecheck;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;8. &amp;nbsp;Startup the instance in NOMOUNT state and then start the RMAN duplicate job.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;(example)&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; &amp;nbsp;startup nomount&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;SQL&amp;gt; &amp;nbsp;exit&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; nohup rman cmdfile clone.cmd log clone.log &amp;amp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;9. After the clone is completed, the clone instance should be now open read/write.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;S&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;QL*Plus: Release 11.2.0.1.0 Production on Wed May 11 13:38:55 2011&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Copyright (c) 1982, 2009, Oracle. &amp;nbsp;All rights reserved.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Connected to:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Data Mining and Real Application Testing options&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; select open_mode from v$database;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;OPEN_MODE&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;--------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;READ WRITE&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SQL&amp;gt; select instance_name from v$instance;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;INSTANCE_NAME&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;----------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;clone&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/4911210213893106686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/4911210213893106686?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/4911210213893106686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/4911210213893106686'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2014/07/clone-database-without-backup-11gr2.html' title='Clone database without backup 11gR2'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-6668817906678114837</id><published>2014-06-03T22:53:00.005-05:00</published><updated>2016-01-05T15:12:29.009-06:00</updated><title type='text'>ORA-01031: insufficient privileges (login as sysdba)</title><content type='html'>&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;It&#39;s a been a while since my last post. &amp;nbsp;As you may know, I normally blog about solutions that are hard to find that haven&#39;t already been blogged about. &amp;nbsp;Here&#39;s my latest encounter...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;I was receiving this error when trying to login via &quot;sqlplus / as sysdba&quot; after completing an Oracle 11gR2 binary install using the &quot;database home clone&quot; methodology. &amp;nbsp;I checked that the binary permissions were set correctly, which they were. &amp;nbsp;Then finally I stumbled across someone else that had had this problem where the $ORACLE_HOME/rdbms/lib/config.c file wasn&#39;t configured properly.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Copyright (c) 1982, 2011, Oracle. &amp;nbsp;All rights reserved.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ERROR:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ORA-01031: insufficient privileges&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;So I did the following:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd &amp;lt;ORACLE_HOME&amp;gt;/rdbms/lib&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cp -p config.c config.c.bak&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;vi config.c &lt;i&gt;&lt;b&gt;(with below changes)&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;relink oracle&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;config.c before changes:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/* &amp;nbsp;SS_DBA_GRP defines the UNIX group ID for sqldba adminstrative access. &amp;nbsp;*/&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/* &amp;nbsp;Refer to the Installation and User&#39;s Guide for further information. &amp;nbsp;*/&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/* IMPORTANT: this file needs to be in sync with&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rdbms/src/server/osds/config.c, specifically regarding the&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; number of elements in the ss_dba_grp array.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;*/&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: yellow; font-family: Courier New, Courier, monospace;&quot;&gt;#define SS_DBA_GRP &quot;&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: yellow; font-family: Courier New, Courier, monospace;&quot;&gt;#define SS_OPER_GRP &quot;&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#define SS_ASM_GRP &quot;&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;char *ss_dba_grp[] = {SS_DBA_GRP, SS_OPER_GRP, SS_ASM_GRP};&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;config.c after changes:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/* &amp;nbsp;SS_DBA_GRP defines the UNIX group ID for sqldba adminstrative access. &amp;nbsp;*/&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/* &amp;nbsp;Refer to the Installation and User&#39;s Guide for further information. &amp;nbsp;*/&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/* IMPORTANT: this file needs to be in sync with&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rdbms/src/server/osds/config.c, specifically regarding the&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; number of elements in the ss_dba_grp array.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;*/&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: yellow; font-family: Courier New, Courier, monospace;&quot;&gt;#define SS_DBA_GRP &quot;oinstall&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: yellow; font-family: Courier New, Courier, monospace;&quot;&gt;#define SS_OPER_GRP &quot;oinstall&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#define SS_ASM_GRP &quot;&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;char *ss_dba_grp[] = {SS_DBA_GRP, SS_OPER_GRP, SS_ASM_GRP};&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/6668817906678114837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/6668817906678114837?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/6668817906678114837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/6668817906678114837'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2014/06/ora-01031-insufficient-privileges-login.html' title='ORA-01031: insufficient privileges (login as sysdba)'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-1349936661975094944</id><published>2013-10-26T14:37:00.003-05:00</published><updated>2015-01-15T08:22:57.835-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Flashback Database"/><category scheme="http://www.blogger.com/atom/ns#" term="snapshot standby"/><title type='text'>Snapshot standby gone bad....almost</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;I was recently involved in DR testing involving two standby databases. &amp;nbsp;For the testing, I simply converted the 2 standby databases from physical standbys to snapshot standbys. &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;After the testing had ended from an application perspective, I&amp;nbsp;started to convert the standby databases from snapshot standby back to physical standby. &amp;nbsp;In the process of doing so, I received the following ORA-0600 error.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SQL &amp;gt; ALTER DATABASE CONVERT TO PHYSICAL STANDBY&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ERROR at line 1:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ORA-00600: internal error code, arguments: [krhahws_02], [], [], [], [], [],&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;[], [], [], [], [], []&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Oh no! &amp;nbsp;Never fear, I thought... &amp;nbsp;I went to Oracle Support to research this issue and found the following resolution:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: white;&quot;&gt; 1. set disk_asynch_io=FALSE in the init.ora (this setting is just
    going to be temporary for repeating the &quot;flashback database&quot;).
 2. shutdown then &quot;startup mount&quot; the database, to pick up the new
    parameter setting for disk_asynch_io
 3. verify the disk_asynch_io parameter is now FALSE via:
     select name,value from v$parameter where name=&#39;disk_asynch_io&#39;;
 4. repeat the same &quot;flashback database&quot; command that just gave the
    ORA-00600:[krhahws_02], this time the operation is mostly a
    no-op as the datafile contents have already been flashed back
    to the target scn, but this time the final step, which clears
    the v$datafile.first_nonlogged_scn if needed, should complete
    correctly with no errors.
 5. remove &quot;disk_asynch_io=FALSE&quot; (added in #1 above) from the
    init.ora
 6. shutdown and &quot;startup mount&quot; the database to pick up the
    original parameter setting (of TRUE) for disk_asynch_io
 7. verify the disk_asynch_io parameter is now TRUE via
     select name,value from v$parameter where name=&#39;disk_asynch_io&#39;;
 8. open resetlogs, as usual following a &quot;flashback database&quot;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white;&quot;&gt;
&lt;/pre&gt;
&lt;pre style=&quot;background-color: white;&quot;&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white;&quot;&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;I implemented the workaround per Metalink note ID; however, I still couldn&#39;t convert the databases back to physical standby successfully.  I received the following error:&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SQL &amp;gt; alter database convert to physical standby;
alter database convert to physical standby
*
ERROR at line 1:
ORA-01122: database file 108 failed verification check
ORA-01110: data file 108:
&#39;+DATA/testdb/datafile/tbspname2008_01.755.796547639&#39;
ORA-01207: file is more recent than control file - old control file&lt;/span&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;I tried to manually flashback to the GRP that is created as part of the conversion to snapshot standby. &amp;nbsp;No dice!&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;I was beginning to think that the database was hosed until I decided to try to something else. &amp;nbsp;I decided to open the database and start over again with converting the database back to physical standby with the disk_async_io being set to FALSE. &amp;nbsp;So here&#39;s what I did.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SQL&amp;gt; alter database open resetlogs;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SQL &amp;gt; shutdown immediate&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Database closed.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Database dismounted.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ORACLE instance shut down.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SQL &amp;gt; startup mount&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ORACLE instance started.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Total System Global Area 4275781632 bytes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Fixed Size &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2235208 bytes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Variable Size &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2432697528 bytes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Database Buffers &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1828716544 bytes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Redo Buffers &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 12132352 bytes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Database mounted.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SQL &amp;gt; alter database convert to physical standby;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Well, what do you know.... It worked! &amp;nbsp;After the conversion back to physical standby worked, I shutdown the database, did a startup mount of the database, and placed it back in auto recovery mode.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SQL &amp;gt; shutdown immediate&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Database closed.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Database dismounted.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ORACLE instance shut down.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SQL &amp;gt; startup mount&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ORACLE instance started.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Total System Global Area 4275781632 bytes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Fixed Size &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2235208 bytes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Variable Size &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2432697528 bytes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Database Buffers &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1828716544 bytes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Redo Buffers &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 12132352 bytes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Database mounted.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SQL &amp;gt; alter database&amp;nbsp;recover managed standby database using current logfile disconnect;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Database altered.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;I was back in business! &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; I set disk_async_io&amp;nbsp;parameter back to TRUE, bounced the standby, and restarted the auto recovery.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Just when I thought I had to rebuild 2 monstrous standby databases. &amp;nbsp;I hope this helps others from having to rebuild!&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/1349936661975094944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/1349936661975094944?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/1349936661975094944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/1349936661975094944'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2013/10/snapshot-standby-gone-badalmost.html' title='Snapshot standby gone bad....almost'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-1355684771000550041</id><published>2013-10-26T07:10:00.003-05:00</published><updated>2017-06-02T18:29:31.244-05:00</updated><title type='text'>Network ACL error message: bad argument</title><content type='html'>&lt;span style=&quot;background-color: white; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;I recently ran across this issue with a client that I was working while they were performing DR testing with their physical standbys. &amp;nbsp;I converted their DR databases into snapshot standby mode (11g new feature). &amp;nbsp;Everything was going well until the following errors occurred. &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
Here were my findings.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;When trying to send an email using UTL_MAIL can result in the following error:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORA-29261: bad argument&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORA-06512: at &quot;SYS.UTL_TCP&quot;, line 17&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORA-06512: at &quot;SYS.UTL_TCP&quot;, line 267&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORA-06512: at &quot;SYS.UTL_SMTP&quot;, line 161&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORA-06512: at &quot;SYS.UTL_SMTP&quot;, line 197&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORA-06512: at &quot;SYS.UTL_MAIL&quot;, line 395&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORA-06512: at &quot;SYS.UTL_MAIL&quot;, line 608&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;This error can result if SMTP_OUT_SERVER is not set as a database parameter or if the SUBJECT parameter in the UTL_MAIL call&amp;nbsp;is omitted.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;SQL&amp;gt; sho parameter smtp_out_server&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&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; TYPE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;VALUE&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;------------------------------------ ----------- ------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;smtp_out_server &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;If the parameter has no value set, as above, correct this by&amp;nbsp;setting up the email server name as an initialization parameter.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;In my case, it was exactly this vs. the subject in the email being missing.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;SQL&amp;gt; alter system set&amp;nbsp;&lt;/span&gt;smtp_out_server = &#39;&amp;lt;email_server_name&amp;gt;:&amp;lt;port_number&amp;gt;&#39;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;After doing this and having client try to reproduce the error, the problem didn&#39;t come back.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Hope this helps!&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;tahoma&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/1355684771000550041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/1355684771000550041?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/1355684771000550041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/1355684771000550041'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2013/10/network-acl-error-message-bad-argument.html' title='Network ACL error message: bad argument'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-3279590749783072460</id><published>2013-10-17T12:44:00.001-05:00</published><updated>2013-10-17T12:44:12.939-05:00</updated><title type='text'>Active Data Guard Far Sync</title><content type='html'>One of the many valuable benefits of Oracle 12c Database Data Guard.&lt;br /&gt;
&lt;br /&gt;
Zero data loss protection and application continuity at any distance. &amp;nbsp;More to come...</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/3279590749783072460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/3279590749783072460?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/3279590749783072460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/3279590749783072460'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2013/10/active-data-guard-far-sync.html' title='Active Data Guard Far Sync'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7522612399220307825.post-6493636091300173740</id><published>2013-01-22T15:03:00.000-06:00</published><updated>2016-01-05T13:51:00.027-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle wallet"/><category scheme="http://www.blogger.com/atom/ns#" term="TDE"/><title type='text'>Configure TDE wallet on RAC</title><content type='html'>To configure Oracle TDE (Transparent Data Encryption) wallet on a RAC, you need to do a few things to ensure that each database has its own wallet independent of each other. &amp;nbsp;Here are the steps that I completed in order to configure this:&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1. &amp;nbsp;Set the environment variable ORACLE_UNQNAME on the OS in the .bash_profile. (In my case, it was Linux as this was 11.2.0.3 RAC on Linux). &amp;nbsp;This env variable should be set to the database unique name (not instance name).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Please note: this needs to be configured in a way in each time the environment is sourced (. oraenv), the ORACLE_UNQNAME env variable will also be re-sourced.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;export ORACLE_UNQNAME=`$ORACLE_HOME/bin/srvctl config database |grep -w ${ORACLE_SID%?}`&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2. Set the environment variable also via srvctl.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;srvctl setenv database -d RAC-HR -T &quot;ORACLE_UNQNAME=RAC-HR&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3. &amp;nbsp;Create wallet directory.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;mkdir /u01/app/oracle/admin/${ORACLE_UNQNAME}/wallet&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
4. Configure sqlnet.ora as follows (example):&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ENCRYPTION_WALLET_LOCATION =&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; (SOURCE = (METHOD = FILE)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; (METHOD_DATA =&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (DIRECTORY=/u01/app/oracle/admin/$ORACLE_UNQNAME/wallet)))&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
4. &amp;nbsp;Create the wallet.&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ALTER SYSTEM SET ENCRYPTION KEY IDENTIFIED BY &quot;&amp;lt;password&amp;gt;&quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
5. Open wallet (if not already open).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ALTER SYSTEM SET ENCRYPTION WALLET OPEN IDENTIFIED BY &quot;&amp;lt;password&amp;gt;&quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
6. To configure auto login for wallet (optional), do the following:&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;orapki wallet create -wallet &amp;lt;wallet_location&amp;gt; -auto_login&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;7. &amp;nbsp;Change permissions on directory and files. &amp;nbsp;If you&#39;re not using a shared filesystem to locate the wallet(s), you&#39;ll need to complete the following on all applicable nodes in the RAC after you have copied the wallet files to exact same location across all nodes.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;/u01/app/oracle/admin/$ORACLE_UNQNAME/&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;chmod 700 wallet&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;cd wallet&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;chmod 600 ewallet.p12&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;8. &amp;nbsp;After initially creating the encryption wallet (and optionally a (local) auto-open wallet), navigate&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
to the directory that stores the Oracle Wallet and set the ‘immutable’ bit with:&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# chattr +i ewallet.p12&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# chattr +i cwallet.sso&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
Any attempt to delete the wallet (by root or any other user) fails; re-key operations that write to&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;
the wallets will fail as well, so for re-key operations, the ‘immutable’ bit must be unset:&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# chattr -i ewallet.p12&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# chattr -i cwallet.sso&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;8. &amp;nbsp;Please review the TDE Best practices at the following link:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
http://www.oracle.com/technetwork/database/security/twp-transparent-data-encryption-bes-130696.pdf&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://artisdba.blogspot.com/feeds/6493636091300173740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7522612399220307825/6493636091300173740?isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/6493636091300173740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7522612399220307825/posts/default/6493636091300173740'/><link rel='alternate' type='text/html' href='http://artisdba.blogspot.com/2013/01/configure-tde-wallet-on-rac.html' title='Configure TDE wallet on RAC'/><author><name>DBA Maestro</name><uri>http://www.blogger.com/profile/17331142785574400593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>