tag:blogger.com,1999:blog-12194581188407723942024-02-20T10:59:16.429-08:00ThatOracleDudeThis blog is intended to serve as a sharing hub where I can blog about especific Oracle related tasks and experiences.
This may include installations, features, scripts and bugsAnonymoushttp://www.blogger.com/profile/04409090780691515655noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-1219458118840772394.post-58912352405307671602016-06-16T09:15:00.000-07:002017-10-10T06:22:34.916-07:00Adding Net Service Names<p>This quick post intends to demonstrate the steps to configure a new Oracle Net Service Name. In this particular case, I will be using Oracle Network Configuration Assistant utility - <font face="Courier New">netca</font>. The configuration of Oracle Net Service Names can be performed done via Oracle Network Manager utility – <font face="Courier New">netmgr</font> and Oracle Enterprise Manager<font face="Courier New">.</font></p> <p>It is also possible, although not recommended, to configure Oracle Net Service Names by manually editing the configuration files like <font face="Courier New">sqlnet.ora</font> and <font face="Courier New">tnsnames.ora</font>.</p> <p><br></p> <p> <table width="812" class="MsoTableColorfulGridAccent3" style="line-height: normal; margin-right: 6.75pt; margin-left: 6.75pt; border-collapse: collapse; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-table-anchor-horizontal: margin; mso-table-anchor-vertical: paragraph; mso-table-left: left; mso-table-lspace: 9.0pt; mso-table-rspace: 9.0pt; mso-table-top: 13.75pt;" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 23.3pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;"> <td width="810" height="31" valign="top" style="background: rgb(234, 241, 221); border-width: medium medium 1pt; border-style: none none solid; border-color: currentcolor currentcolor white; padding: 0in 5.4pt; mso-background-themecolor: accent3; mso-background-themetint: 51; mso-border-bottom-alt: solid white .5pt; mso-border-bottom-themecolor: background1;"> <div class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 13pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-top: 13.75pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;"><b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-weight: bold; mso-themecolor: text1;"><span style="font-family: calibri;"><span style="color: black; font-size: 11pt;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyNjK34dnDD8Dc5fWH7nQk7l1kNXpHG8XNWYlQU3284B9qK2H3qkZSq9O50YhVd3k1LG_ixsjeIUMN8iP5WceBPzQQlb4QLUcW3ewrzXD9JPSXDmqPa5usFW1tRqrQOXFZpNKs5ChmLQRN/s1600-h/clip_image0028_thumb2.gif"><img width="19" height="19" title="clip_image0028_thumb" style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" alt="clip_image0028_thumb" src="http://lh3.googleusercontent.com/-yu9osH_sKFQ/VmW_cQ3L1gI/AAAAAAAAA3E/Hv5GD2lYvxA/clip_image0028_thumb_thumb.gif?imgmax=800" border="0"></a>How to Get to It in the Documentation? – tnsnames.ora</span></span></span></b></div></td></tr> <tr style="mso-yfti-irow: 1; mso-yfti-lastrow: yes;"> <td width="810" valign="top" style="background: rgb(234, 241, 221); padding: 0in 5.4pt; border: currentcolor; mso-background-themecolor: accent3; mso-background-themetint: 51; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1;"> <div class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 13pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-top: 13.75pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;"><span style="mso-themecolor: text1;"><span style="font-family: calibri;"><span style="color: black; font-size: 11pt;">Oracle Database Online Documentation 12c Release 1 (12.1) / Database Net Services Administrator’s Guide / Expand All / <CTRL + F> tnsnames.ora <ENTER> / Configuring the tnsnames.ora File After Installation</span></span></span></div></td></tr></tbody></table> <p><br></p> <p>Invoke <font face="Courier New">netca</font> from the Unix Shell as the <font face="Courier New">osdba</font> user, typically <font face="Courier New">oracle</font>.</p> <p><font face="Courier New">$ netca</font></p> <p>Then, select what type of configuration you want to perform. As you can see from below, <font face="Courier New">netca</font> can perform configurations other than managing Net Service Names.</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXMIHZ-C1H7lXRgO4tsSEBL_Gd1yq_1d3Cvej43VHjj4yeYjT_pwNuFUwzLujh-Fok1P2F05xfXjOk1B82sstFauxm4QnnnGx_Z4BQSCEazoWiLwdoPJUhfFKGP7uyeXC539jB1vUnzoNa/s1600-h/image%25255B10%25255D.png"><img width="600" height="401" title="image" style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" alt="image" src="http://lh3.googleusercontent.com/-4JBICCxaTrQ/VmcW_nPBNHI/AAAAAAAAA8M/hOxVC_tq-Vo/image_thumb%25255B5%25255D.png?imgmax=800" border="0"></a></p> <p>Select what configuration action you want to perform</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnu5p2cUF6I_AYtv-Y6BPddzoagHDY3tmryAGnQgdAvhQFQ3Z_AotfrBvGvao71M1rphmQ1RWnmDEC3F1G0AHOsjwNK2J-1o6fH7qsE_6HjSKzSPKXG_Yv4JusV-XeNsJJ0eCV0M5TuyQ0/s1600-h/image%25255B14%25255D.png"><img width="602" height="400" title="image" style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" alt="image" src="http://lh3.googleusercontent.com/-DBdEqgRlPKw/VmcXAdeWToI/AAAAAAAAA8c/TiKsCUC1wVg/image_thumb%25255B7%25255D.png?imgmax=800" border="0"></a></p> <p>Next, type in the name of the database service you want to reach. Any Service including:</p> <li>Non-CDB default Database Services <li>Non-CDB manually added Database Sevices via <font face="Courier New">DBMS_SERVICE</font> <li>Non-CDB manually added Database Services via <font face="Courier New">srvctl</font> <li>Default PDB services <li>Manually added PDB services via <font face="Courier New">DBMS_SERVICE</font> <li>… <p>The Service Name is not to be confused with the Oracle Net Service Name. The Service Name is the actual database service name you want to access via the Oracle Net Service Name you are creating. You can think of a Net Service Name as an alias for a connection description. </p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1D6DmpiRm0Ofq0TvgdjBlLrO1nYJiyLZXChgzaIW8FTntkVcGV8b8OVkuLkD_JvdJzBBrZTnenPsKLPGwEbIQTHGIRuEDF_NEMk1eX9jrya01Z078xQ97fGiegcjaUX2viJruXgd1PCiQ/s1600-h/image%25255B18%25255D.png"><img width="604" height="403" title="image" style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" alt="image" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGJHL2K4Hum0xBqhoDNagYrWNJdFFIKP6aPliDrltQ4rPl7ZoanzRLiAnIsIzVwVXGY7q8MPea03fzFqxno0VujUlf8eTHnnIKzy5lOKJrYvnEGI0vvKVwyjqMiopeyhEFaq-8NZHQtkFJ/?imgmax=800" border="0"></a></p> <p>The Protocol</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGqZc64gHSSsg7Z3sN-uNwkvDyvEQKsYqrI5tFG94WoyqL8y3KwRo04gDGYbbyrLdhY91rn91XAAiuM350TqZfSVZMHFUYz-tWnrPSCYsoGKUxXMdSv_oujLlg_gRREOtuTuElihyTj96_/s1600-h/image%25255B22%25255D.png"><img width="602" height="402" title="image" style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" alt="image" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1CRhLHZ0MZ34yUScC6_AXHTV0VV3kMYuTdpGU3VWS1pw09Ki3yX26RpqPasNtAzfAKd5Ey4ox8fR13ajjo8eOAPFsP4ri6KlaX3v-gD3UL_YAtU55mXVsKwbJbm2p4SPsRu-0ulSUWVa4/?imgmax=800" border="0"></a></p> <p>The Host and port for the Oracle Listener. In this case, it is a simple host name. When using RAC, the host name is likely to be the SCAN name.</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6YdSEm9kCM9H24kPFdUBPzgePnT53dzb85ztlHaNATQiW7VN3NpgmUTUfvySua4Guq1qeXUSM-bbI5NTU1Ey1vGW-ZLLBk7iBDEWynzlKBSVx4Zho7OEm3iW0BAsUjNAwLdHKF8il2MBZ/s1600-h/image%25255B26%25255D.png"><img width="602" height="402" title="image" style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" alt="image" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifVUbCiJLhFnWTzp2luMXPq5QxTMrauuHkVz5TzHC-qiCJn_DoAO3szr4A6-SWJ6uCAJnt5Rtz-On8UC9f8zB0T__4APobUNsYx8_lLREB6LOx0fgI0tFvhik1aCN_qTDbdVjH-q8cGxdb/?imgmax=800" border="0"></a></p> <p>At this stage, you can perform a test if you want. </p> <p><a href="http://lh3.googleusercontent.com/-TI1KcErJ26k/VmcXEj1j_NI/AAAAAAAAA9U/vIHfYmxQsw0/s1600-h/image%25255B30%25255D.png"><img width="601" height="400" title="image" style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" alt="image" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEKbLc12s2eSp0bRGvCuWdn_dx7A6DuZGtcTjx1kimE7eHFtNBv788B2JtD_JRWPgNW_jE4ybr7UYSnAz7hQ3TT5_7LLKgnPCImVHslOQSDPa8pLJlW9JESxQ8V6GaAC_tjnjkJduUdXlS/?imgmax=800" border="0"></a></p> <p>Below, the Net Service Name is entered. This is the alias for the descriptor, not the Oracle Database Service Name.</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLIYRODWp0Bx7cGLdPWCDOMw_F7MjzZtgutwUFU_mfiJfCD4-4a0XX8lSXBwl0Ur6G_Ad-aMnILuPibsmA8-XtD6HIfr8LEfIfojXE3HvFNY3mvDLfsn7oaIGfmpmRmHvvPhH90mdcDb2v/s1600-h/image%25255B38%25255D.png"><img width="602" height="402" title="image" style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" alt="image" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgW93Rc1UwD_m9aMg24yGoB6l2tvcfDKJUsXiNmak72qErI-eNs9J-j9rl4AUwdHZij8353hJBREqajN3GeIIm1JcD1HCaDOZlFoiH_6yF4zP-X_5o6alYojxaRF1pLwxAvjgyjsvkuvEAN/?imgmax=800" border="0"></a></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1nqDChh4YpXNdWhhIwcsPIQ2wS2iVGRHo1kohgnxrJMV9iCiDlBZOqjWaR3qjpOF7QI584eAcBRQ7BTQ3bV-jb_dZN37h2hVyNZ0l7UPiLl9jDSa6npENeB6TuJcijysscZ_1EUTJ7L2t/s1600-h/image%25255B45%25255D.png"><img width="602" height="402" title="image" style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" alt="image" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOZ1Y1RpifZddu3SMZ2hGoK5xxs83yw4xAXAFnM9-nVCWdsx2lYuvNrtFtqiIaNPqeZVTDWRRGpyMdG4Wkunacz70sCpO_O7zkKg1Kepnl9XZCfNgqrOQYSzm9Q0OrHP9y-kARfnMhiEp5/?imgmax=800" border="0"></a></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXWQ1x8w2fdqirJ-whK2DQIykueHoP9CSn9_9KFr93YfUavKCeJ73TKW6YNlm1iBYzshCUXP1FgPm9Yc2Jdg7arspsN5HoJtpHAwJu1VcP5YkEQ_XKhYuOotqvTZpfeTl7TCGBbJocrFwq/s1600-h/image%25255B46%25255D.png"><img width="601" height="400" title="image" style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" alt="image" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhk_U3Kt355bnmCiRkDkUtl9LLExmeIMp17RPl5-eAJIkPsbDffmWlKO490ws682DX4IpWfCHle9h1MoZFz1N8kzeNPDjsdQqy7DlG-grG_fpOZKZ2Xq4bV9y4vYGUZw84xrM-rvhPMtW0r/?imgmax=800" border="0"></a></p> <p>Once finished, you can, optionally, have a look at the <font face="Courier New">tnsnames.ora</font> file located under the <font face="Courier New">$ORACLE_HOME/network/admin directory</font></p> <p class="MsoNormal" style="margin-bottom: 0in;"> <table width="820" class="MsoTableMediumGrid1Accent5" style="line-height: normal; border-collapse: collapse; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191;" border="1" cellspacing="0" cellpadding="0"> <tbody> <tr> <td width="818" valign="top" style="background: rgb(210, 234, 241); padding: 0in 5.4pt; border: 1pt solid rgb(120, 192, 212); mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191;"><span style="font-family:; mso-fareast-font-family: "Times New Roman";"></span><font style="font-size: 12pt;"><!--?XML:NAMESPACE PREFIX = "O" /--><o:p></o:p></font> <p><font face="Courier New"></font> </p> <p><font face="Courier New">$ cd /u01/app/oracle/product/12.1.0/dbhome_1/network/admin<br>[oracle@ocmdb12c admin]$ cat tnsnames.ora<br># tnsnames.ora Network Configuration File: /u01/app/oracle/product/12.1.0/dbhome_1/network/admin/tnsnames.ora<br># Generated by Oracle configuration tools.</font></p> <p><font face="Courier New">NONCDB =<br> (DESCRIPTION =<br> (ADDRESS_LIST =<br> (ADDRESS = (PROTOCOL = TCP)(HOST = ocmdb12c.xps15z.com)(PORT = 1521))<br> )<br> (CONNECT_DATA =<br> (SERVICE_NAME = prod2.xps15z.com)<br> )<br> )</font></p> <div class="MsoNoSpacing"><span style="font-family:;"></span> </div></td></tr></tbody></table> <p class="MsoNormal" style="margin-bottom: 0in;">In this post, a new Net Service Name has been added. However, <font face="Courier New">netca</font> can be used to modify the entry we just added as well as perform other configuration actions.</p> <p class="MsoNormal" style="margin-bottom: 0in;"><br></p> <p class="MsoNormal" style="margin-bottom: 0in;">Daniel.</p> </li>Anonymoushttp://www.blogger.com/profile/04409090780691515655noreply@blogger.com0tag:blogger.com,1999:blog-1219458118840772394.post-46209214458652803822015-12-03T05:52:00.001-08:002015-12-10T11:05:37.198-08:00Upgrading OCM 11g to OCM 12c (Series) 4 - Install Oracle Database Software<h2>Check out other posts of this Series:</h2> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com/2015/11/upgrading-my-ocm-11g-to-12c-initial_23.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 1 - Initial Assessment</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com/2015/11/upgrading-ocm-11g-to-ocm-12c-series-2.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 2 - Building your Study Lab</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series-3.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 3 - Install Oracle Grid Infrastructure</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series-4.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 4 – Install Oracle Database Software</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 5 - Create and Manage Pluggable Databases</a></div> <div class="MsoNormal" style="margin-bottom: 0in"></div> <p><font size="2">In this post, I will be detailing the Oracle 12c database installation process making use of the guest Virtual Machine we have created on post <a href="http://thatoracledude.blogspot.com/2015/11/upgrading-ocm-11g-to-ocm-12c-series-2.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 2 - Building your Study Lab</a>.</font></p> <p><font size="2">This will most likely be the shortest post of all as most of the foundation work has been done on previous posts. The installation of the database software itself is pretty simple.</font></p> <p><font size="2">Prior to installing the Oracle Database Software, it is recommended that you get familiar with the following topics from the Oracle Database Documentation:</font></p> <p><a href="https://docs.oracle.com/database/121/LADBI/chklist.htm#LADBI8045" target="_blank"><font size="2">Oracle Database Installation Checklist</font></a></p> <p><a href="https://docs.oracle.com/database/121/LADBI/install_overview.htm#LADBI7430" target="_blank"><font size="2">Overview of Oracle Database Installation</font></a></p> <p><a href="https://docs.oracle.com/database/121/LADBI/pre_install.htm#LADBI222" target="_blank"><font size="2">Oracle Database Preinstallation Tasks</font></a></p> <p><a href="https://docs.oracle.com/database/121/LADBI/inst_task.htm#LADBI7726" target="_blank"><font size="2">Installing Oracle Database</font></a></p> <p><font size="2">Let’s get started!</font></p> <p><font size="2">We will be making use of the shared folders we setup earlier to copy the installation files into the VM.</font></p> <div class="MsoNormal" style="margin-bottom: 0in"> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; line-height: normal; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="810" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: #78c0d4 1pt solid; padding-right: 5.4pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="808"><font size="2" face="Courier New">$ cd /media<br></font> <div class="MsoNoSpacing"><font size="2" face="Courier New">$ cd sf_Oracle_Software/</font></div> <div class="MsoNoSpacing"><font size="2" face="Courier New">$ cd OCM\ 12c\ Upgrade/</font></div> <div class="MsoNoSpacing"><font size="2" face="Courier New">$ ls</font></div> <div class="MsoNoSpacing"><font size="2" face="Courier New">$ cp -v linuxamd64_12102_database_1of2.zip linuxamd64_12102_database_2of2.zip /u01/app/software/</font></div> <div class="MsoNoSpacing"><font size="2" face="Courier New">$ cd /u01/app/software/</font></div> <div class="MsoNoSpacing"><font size="2" face="Courier New">$ unzip </font><font size="2" face="Courier New">linuxamd64_12102_database_1of2.zip</font></div> <div class="MsoNoSpacing"><font size="2" face="Courier New">$ unzip </font><font size="2" face="Courier New">linuxamd64_12102_database_2of2.zip</font></div> <div class="MsoNoSpacing"><font size="2" face="Courier New"></font> </div> <div class="MsoNoSpacing"><font size="2" face="Courier New">$ ll<br>total 4963016<br>drwxr-xr-x. 7 oracle oinstall 4096 Jul 7 2014 database<br>drwxr-xr-x. 7 grid oinstall 4096 Jul 7 2014 grid<br>-rwxr-x---. 1 oracle oinstall 1673544724 Dec 3 15:41 linuxamd64_12102_database_1of2.zip<br>-rwxr-x---. 1 oracle oinstall 1014530602 Dec 3 15:41 linuxamd64_12102_database_2of2.zip<br>-rwxr-x---. 1 grid oinstall 1747043545 Nov 25 17:09 linuxamd64_12102_grid_1of2.zip<br>-rwxr-x---. 1 grid oinstall 646972897 Nov 25 17:09 linuxamd64_12102_grid_2of2.zip</font></div> <div class="MsoNoSpacing"><font size="2" face="Courier New"></font> </div> <div class="MsoNoSpacing"><font size="2" face="Courier New">-- Removing the grid directory to free up some space</font></div> <div class="MsoNoSpacing"><font size="2" face="Courier New"></font> </div> <div class="MsoNoSpacing"><font size="2" face="Courier New">$ cd database</font></div> <div class="MsoNoSpacing"><font size="2" face="Courier New">$ ./runInstaller</font></div> <div class="MsoNoSpacing"> </div></td></tr></tbody></table></div> <p><a href="http://lh3.googleusercontent.com/-NY20Zt0ws9U/VmBsRJGDlsI/AAAAAAAAAyc/Nqb_btSzupA/s1600-h/Oracle%252520Database%252520Software%252520Installation%2525201%25255B6%25255D.png"><img title="Oracle Database Software Installation 1" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Oracle Database Software Installation 1" src="http://lh3.googleusercontent.com/-gUgkdhDzQwA/VmBsSwB8wII/AAAAAAAAAyk/0af0Sl-48hY/Oracle%252520Database%252520Software%252520Installation%2525201_thumb%25255B2%25255D.png?imgmax=800" width="803" height="605"></a></p> <p><a href="http://lh3.googleusercontent.com/-L9dnyENA4-o/VmBsTm8x46I/AAAAAAAAAyo/BF9KmBAXMJg/s1600-h/Oracle%252520Database%252520Software%252520Installation%2525202%25255B4%25255D.png"><img title="Oracle Database Software Installation 2" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Oracle Database Software Installation 2" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidgw2dsaNeF7R101kfq4NkP9N0hnjqNgM0CZN-dKUCtsLyX9OV9jq2qYWwRDsej7UtJbYNFYqxLPnlQatCssIjgcfoMmeu99FAR_h0nM3NyHgA8WAAKOyClJPiYMU0taXt8VXtMQYUTnEu/?imgmax=800" width="518" height="205"></a></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCO8u7LSw8ZaItpeIwuN8QaKYKe8jDzSXtpyS2528rZRapw4qAJRV2G_i6ewLIGv-I50jvmRXieQcMQutxFEox0Ihe4MR96YGPc-rbF3pQU5m_dZjaMntfUbCbjgAOEZna-kJ9rz3ko3qS/s1600-h/Oracle%252520Database%252520Software%252520Installation%2525203%25255B3%25255D.png"><img title="Oracle Database Software Installation 3" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Oracle Database Software Installation 3" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_ZSqY3L_dHtNzAceybQHfr8XF-xYYvGTcOkXYydXAAxJk95ZwMopLUAHa4Kl548GupOIwE4QVsGA2h1ZPje_vRQUHHVXfcrF4uW880BwDJ-jtYi6BNJOgbysLAZqzbEG-EyjXlUi1KLMO/?imgmax=800" width="804" height="603"></a></p> <p>We are installing the database software only as the database creation itself will be covered on a subsequent post.</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPKQNij2S7nZCgfTBGl4HPeUuqp0TUvRkdotjvCrp2P8DdFkZE_xwYJMs95pJHmaZAM-OjAF1PNNKi5Q7fNcZoNTKeYJslXqlhlVGK9_ryNCIvn1yjDTLscBCkge2glxCLJNYmwXCwUzf0/s1600-h/Oracle%252520Database%252520Software%252520Installation%2525204%25255B3%25255D.png"><img title="Oracle Database Software Installation 4" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Oracle Database Software Installation 4" src="http://lh3.googleusercontent.com/-PmkTpDGwGaA/VmBsc8B5QqI/AAAAAAAAAzU/shgJyO4pNr4/Oracle%252520Database%252520Software%252520Installation%2525204_thumb%25255B1%25255D.png?imgmax=800" width="801" height="603"></a></p> <p><a href="http://lh3.googleusercontent.com/-cQlx0ubsClk/VmBsdYTWnbI/AAAAAAAAAzc/eYczbs7osQ4/s1600-h/Oracle%252520Database%252520Software%252520Installation%2525205%25255B3%25255D.png"><img title="Oracle Database Software Installation 5" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Oracle Database Software Installation 5" src="http://lh3.googleusercontent.com/-Hfc4eOa26w0/VmBseLynRJI/AAAAAAAAAzg/XKF74P8nwBg/Oracle%252520Database%252520Software%252520Installation%2525205_thumb%25255B1%25255D.png?imgmax=800" width="805" height="605"></a></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyj5JCcevLc8HgJXQv9AAA5laYeUxgGz50T90rFn_9xNG2tkk0bwvOL-NoDxlMx_zN6I6_TanrRnnR5YKK1ueOkNgGWBEpyedTcTb6K08j3hUYyiLbrFh1WF2xX_OLIUMTb3jxGBf-Usec/s1600-h/Oracle%252520Database%252520Software%252520Installation%2525206%25255B3%25255D.png"><img title="Oracle Database Software Installation 6" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Oracle Database Software Installation 6" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjas9Mpqq_G6aHxicmNRCXTxThLDUigP55c5DpcHc_llilx4UrjG6DoOdm76qpAmNqoXKsNzRL00DUeM4XIDpP_1NUMhID7KSIiEkdfsjxuMFn8u5vjbWxBVF4rLfuz0kZ-7ueEJ65rdmI5/?imgmax=800" width="804" height="604"></a></p> <p><a href="http://lh3.googleusercontent.com/-NCTpm9R57b4/VmBsgsMETzI/AAAAAAAAAz8/L68ivyrXHD4/s1600-h/Oracle%252520Database%252520Software%252520Installation%2525207%25255B3%25255D.png"><img title="Oracle Database Software Installation 7" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Oracle Database Software Installation 7" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj0w7wojuyamyp7-dW2OXPgNsVQQAx6aooEYu5VlGxsJtySbXqLvHFuBQl8qRxv0fhKIlJCgxW-ObraIm-5QMOfN_PuRwNPrT5viDdKoC-ANV-tH4RBgT8GhWrEX6o0QhbNmN6FjnvXCmY/?imgmax=800" width="803" height="603"></a></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqA30Ehb5RI4Z9KQ0rZZ1Q5upK2arbVvbdITz9u8Zaa4uNalijSIoPz8W5EAL_5KX7SEl3EGXOTPSF8Zydh5T-jhDjHCupVNdysdb8_nvxdXtsuRkR_556CQ08RHNo-DPqNR3GnvpHCdHf/s1600-h/Oracle%252520Database%252520Software%252520Installation%2525208%25255B3%25255D.png"><img title="Oracle Database Software Installation 8" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Oracle Database Software Installation 8" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVQL5Mg8sFDW8UuBZL3KDMcYb2anFCUzj4cuOQ00IdrbEA-fDfUe5T6gHjt8x-EEZwF3gmR-9-fk_ZK9LyBgYOetchFX2mup9g1di4-RE1G-KuDKW41Gp2yDbE7o4ZYwraLmcXF4aUJx17/?imgmax=800" width="802" height="603"></a></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXiAnNxjCmNAnXXX0bMalQHVTzlTRIMpgh4Vfn0nzCk7WMzDa0Pnd-9sEtrWsJnbq4S_Kay6AXzWjKuK9HSw8ybfwwPzKh8x3lbX3wFKDID03991krEF7GzYJ8cnm3_W2QzBBOxvlkwy2W/s1600-h/Oracle%252520Database%252520Software%252520Installation%2525209%25255B7%25255D.png"><img title="Oracle Database Software Installation 9" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Oracle Database Software Installation 9" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-bnXEqm-xmdBb3tilAwVgu9Z4SHWJK4eY2QmczzaASHb6gc4uVS3MHhc8KR25i0BoncrpgVXAcO6i1Ysfg_vGiyPairHoWcRo60kwab7qMOJzwInkubPG1C8SRBuaFN5UADT1_3tJWKIS/?imgmax=800" width="804" height="605"></a></p> <p>I am ignoring the Swap Size since this is an installation for a Study Lab.</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEKX45PiW-ZLOg7CJnhOLrb15lk7XXETECD06-PeklayqLj-Kee8QyBRRL-VbdzqdzXpZXqjuL9C26kfIz9HNqqgdkV9OrBL-etRk3mWsNGgTZznsq5Qnyzy4BVpLL9UsEiYLW6OBcBH2U/s1600-h/Oracle%252520Database%252520Software%252520Installation%25252010%25255B3%25255D.png"><img title="Oracle Database Software Installation 10" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Oracle Database Software Installation 10" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqFOay1nj1M6Q4XfBgItXhtRdKYfHaHzdzukgCP3tVY5rKUkXXl8uNLA03SDJCpi1CNiqRVo3Xj4Crn69Z2JjavPtvhyphenhypheniDqnDgKlV6TeFdjg-C-Ej980qtHF4IgjGW19wJp3HkTbsaTnRP/?imgmax=800" width="516" height="175"></a></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOTWALhD2rikIRU02Qfe5bt3OKh1XUjg08GJvvPVbYEQDrRWJJ-9JDXKRK9M9rgBUW7vR4E0fjMQP7xxBp_u6IVr4QTgM36ya7y9M5fzytxQ5-0CMrHGtTusS0hOm76rW4RwkeJqndLzp4/s1600-h/Oracle%252520Database%252520Software%252520Installation%25252011%25255B3%25255D.png"><img title="Oracle Database Software Installation 11" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Oracle Database Software Installation 11" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFecjSA1DvlU6cpu2LlnnYc5gYLTR_TQWggsZAx7sKTcQoZnni7oOCjDqfd_f5_pVr1wpO4oNkfYCUhdB5CipmpVV8hyphenhyphenFFGDVUf1uIFm4e3jU_-LMHapBwa8xv0TkhwmSI1oNRXrW_n5Kw/?imgmax=800" width="803" height="604"></a></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwxPGmAwS104hEKWn7wOmwkD8GEbkqNmwK48puRJTdVLdtJH1kkzBeVnrFzCy5JP_qdq4qKI2iYlVW2Mr0_BE2yt7K6GA7OwxgqdmvcEb1P7s2aeUBZownoUE5yWpIOoVKfAj9W5jBAseK/s1600-h/Oracle%252520Database%252520Software%252520Installation%25252012%25255B3%25255D.png"><img title="Oracle Database Software Installation 12" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Oracle Database Software Installation 12" src="http://lh3.googleusercontent.com/-7UGmYyOUGK0/VmBtCJW1V_I/AAAAAAAAA1U/5wMfdYI4d50/Oracle%252520Database%252520Software%252520Installation%25252012_thumb%25255B1%25255D.png?imgmax=800" width="803" height="603"></a></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUSe4hStx5xjhXxD9uTLps69MScaplzumoU3pN5DdAVPiwNhYMNIuYlV5Fly5jjTpUqQnB0PnW6yiXC60HZsqeHfzq9ys5dUVsu8wd_cZtGujn2KnUmhjEChKTEFlrQ6Idqx7mxAnS4-oO/s1600-h/Oracle-Database-Software-Installatio%25255B9%25255D.png"><img title="Oracle Database Software Installation 13" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Oracle Database Software Installation 13" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXUb9zhe1HMmnfi95mD0se5r_No2qNxsHkWjGWTz4QIsPDvmJ7kykUt4Whm2yYOuNtJjYK4ZG-ETBUX_V2_nZB4pe6YUx2FU_MKjkoWxLQ8I9xAfNOntu7XVtM42_prCq694S4uz-9CXmh/?imgmax=800" width="879" height="606"></a></p> <div class="MsoNormal" style="margin-bottom: 0in"> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; line-height: normal; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="810" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: #78c0d4 1pt solid; padding-right: 5.4pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="808"><font size="2" face="Courier New"> <p># /u01/app/oracle/product/12.1.0/dbhome_1/root.sh<br>Performing root user operation.</p> <p>The following environment variables are set as:<br> ORACLE_OWNER= oracle<br> ORACLE_HOME= /u01/app/oracle/product/12.1.0/dbhome_1</p> <p>Enter the full pathname of the local bin directory: [/usr/local/bin]: <br>The contents of "dbhome" have not changed. No need to overwrite.<br>The contents of "oraenv" have not changed. No need to overwrite.<br>The contents of "coraenv" have not changed. No need to overwrite.</p> <p>Entries will be added to the /etc/oratab file as needed by<br>Database Configuration Assistant when a database is created<br>Finished running generic part of root script.<br>Now product-specific root actions will be performed.</font></p></td></tr></tbody></table></div> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdNELOb7KmKDFCXkl1BSz1E76qpmhmvHHqIuIdgXmYsp1A_pl5-8J5z6fbC4vBx7HhG4642UgUqdyIusU8Po5_-69_uEsUyYPID42bgp6adcd_7-zwJLIyJI-wBLwuh2QIK6zgZBq3RSsy/s1600-h/Oracle-Database-Software-Installatio%25255B26%25255D.png"><img title="Oracle Database Software Installation 14" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Oracle Database Software Installation 14" src="http://lh3.googleusercontent.com/-A6ng2ZCrJ74/VmB1Zt2-JAI/AAAAAAAAA2U/LFEM6PRU3WE/Oracle-Database-Software-Installatio%25255B21%25255D.png?imgmax=800" width="801" height="602"></a></p> <p>That’s it for now.</p> <p>On the next post, I will be taking us through the exam topic <strong>create and manage pluggable databases</strong>. </p> <p>Many thanks to <a href="http://alexzaballa.blogspot.com.br/" target="_blank">Alex Zaballa</a> who already sent me his study notes on this next subject, which is a quite large topic to be covered.</p> <p>In the next few days, I will be compiling information from a few sources in order to create a concise post.</p> <p>Até la!</p> <p>Daniel</p> <h2>Check out other posts of this Series:</h2> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com/2015/11/upgrading-my-ocm-11g-to-12c-initial_23.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 1 - Initial Assessment</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com/2015/11/upgrading-ocm-11g-to-ocm-12c-series-2.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 2 - Building your Study Lab</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series-3.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 3 - Install Oracle Grid Infrastructure</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series-4.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 4 – Install Oracle Database Software</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 5 - Create and Manage Pluggable Databases</a></div> <div class="MsoNormal" style="margin-bottom: 0in"></div> Anonymoushttp://www.blogger.com/profile/04409090780691515655noreply@blogger.com0tag:blogger.com,1999:blog-1219458118840772394.post-20293154525955998622015-12-02T08:41:00.005-08:002015-12-10T10:59:57.678-08:00Upgrading OCM 11g to OCM 12c (Series) 3 - Install Oracle Grid Infrastructure<div class="MsoTocHeading" style="margin-bottom: 0in"> <div class="MsoNormal" style="margin-bottom: 0in"></div> <h2>Check out other posts of this Series:</h2> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com/2015/11/upgrading-my-ocm-11g-to-12c-initial_23.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 1 - Initial Assessment</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com/2015/11/upgrading-ocm-11g-to-ocm-12c-series-2.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 2 - Building your Study Lab</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series-3.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 3 - Install Oracle Grid Infrastructure</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series-4.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 4 – Install Oracle Database Software</a></div> <div class="MsoNormal" style="margin-bottom: 0in"></div> <div class="MsoNormal" style="margin-bottom: 0in"></div><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"></span></span></span></div> <p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">Now that we have a server onto which we can build upon, it is time to get our hands dirty and cover a real exam topic for the first time in this series.<o:p></o:p></font></span></span></span></p> <p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">It is, perhaps the easiest one but it is important to be fast and mechanic about it to avoid spending time we do not have during the test.<o:p></o:p></font></span></span></span></p> <p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">If we stick with the Oracle Documentation on Installing Grid Infrastructure,<o:p></o:p></font></span></span></span></p> <p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">Ah! Since we are talking about the documentation, </font></span><a href="http://alexzaballa.blogspot.com.br/" target="_blank"><font size="2" face="Verdana">Alex Zaballa</font></a><span style="color: blue"><span style="font-size: x-small; font-family: verdana"></span></span><span style="font-size: x-small; font-family: verdana"><font size="2"> pointed out that something is wrong with the HTML downloadable version of the Oracle Documentation - The FULL documentation in compressed format that you can download from </font><a href="http://www.oracle.com/technetwork/database/enterprise-edition/documentation/index.html" target="_blank"><font size="2">here</font></a></span><span style="color: blue"><span style="font-size: x-small; font-family: verdana"></span></span><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">.<o:p></o:p></font></span></span></span></p> <p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">Once you download and unzip the documentation, it does not work as the web version. Some features like the expand and collapse either do not exist of don't work depending on the browser you are using.<o:p></o:p></font></span></span></span></p> <p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">I have tested it and can confirm it isn't working as expected.<o:p></o:p></font></span></span></span></p> <p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">For the sake of these posts, we will be making references to the on-line documentation when it comes to where to finding things in it.</font></span></span></p> <div class="MsoTocHeading" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"></span></span></span> <h2>The Almighty Oracle Validated RPM</h2> <div class="MsoNormal" style="margin-bottom: 0in"></div></div> <p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">Yes, you could spend a lot of time being very thorough and going through <a href="https://docs.oracle.com/database/121/CWLIN/prelinux.htm#CWLIN168" target="_blank">this</a></font></span><span style="color: blue"><span style="font-size: x-small; font-family: verdana"><font size="2"></font></span></span><span style="font-size: x-small; font-family: verdana"><font size="2">, or, you could save a lot of time and use the <a href="https://docs.oracle.com/database/121/CWLIN/olinrpm.htm#CHDBACIA" target="_blank">Oracle Validated RPM</a></font></span><span style="color: blue"><span style="font-size: x-small; font-family: verdana"><font size="2"></font></span></span><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">.<o:p></o:p></font></span></span></span></p> <p><font size="2">As for the Validated RPM installation, according to the documentation, I have the following options:</font></p> <p> <div class="MsoTocHeading" style="margin-bottom: 0in"> <p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="color: blue"><span style="font-size: x-small; font-family: verdana"><font size="2"><a href="https://docs.oracle.com/database/121/CWLIN/olinrpm.htm#BABIBJCF" target="_blank">Installing the Oracle Preinstallation RPM From Unbreakable Linux Network</a></font></span></span></span></p></div> <p><font size="2">My Virtual Machine is not configured to have access to the internet. I cannot use this one.</font></p> <p> <div class="MsoTocHeading" style="margin-bottom: 0in"> <p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><a href="https://docs.oracle.com/database/121/CWLIN/olinrpm.htm#CHDJFJFJ"><span style="color: blue"><span style="font-size: x-small; font-family: verdana"> <p></a><font color="#0000ff" size="2"><a href="https://docs.oracle.com/database/121/CWLIN/olinrpm.htm#CHDJFJFJ" target="_blank">Installing Oracle Linux with Public Yum Repository Support</a></font></p></span></span></a></span></div> <p><font size="2">Again, I cannot use the Public Yum Repository since my Virtual Machine does not have access to the outside world. However, I can configure Yum to use the Oracle Linux DVD image as a repository!</font></p> <p><font size="2"></font> <p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="color: blue"><span style="font-size: x-small; font-family: verdana"><font size="2"><a href="https://docs.oracle.com/database/121/CWLIN/olinrpm.htm#CEGJDGAG" target="_blank">Installing the Oracle Preinstallation RPM From DVDs or Images</a></font></span></span><o:p></o:p></span><span style="font-size: x-small"> </span></p> <p><font size="2">This is the one I like the most! In fact, I will be using a combination of both the Yum option and the DVD Image option.</font></p> <p class="MsoNormal"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">So, let's mount our Oracle Linux DVD ISO file as a repository for Yum:<o:p></o:p></font></span></span></span></p> <p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">You can find the documentation on how to do this <a href="https://docs.oracle.com/cd/E37670_01/E37355/html/ol_create_repo.html" target="_blank">here</a> and <a href="https://fritshoogland.wordpress.com/2012/05/26/using-your-dvd-as-a-yum-repository-on-a-rpm-based-linux/" target="_blank">here</a>.</font></span></span></p> <p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""></span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">I will quickly show you how I am doing this.</font></span></span></p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"></span></span> <h3> </h3> <h3>Configure the yum repository</h3><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"> <p><font size="2">Virtually insert and mount the DVD ISO on the Virtual Machine:</font></p><br clear="all"><br clear="all"></span></span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpV5Nz9Bb3vLe50AcaS3wD9CWS3MSM2f7GilCLVctr0ZkZxhvqHe1DFENYFqgQc0tgeYsn4udk7k0uh5bH_A5O3qKENOEt4kVfY_tLWJLYRQOwxEMHcac2x-MCGG18DMvaouy1cnnnr6Pg/s1600-h/Mounted%252520Optical%252520Disk%252520Image%2525202%25255B5%25255D.png"><img title="Mounted Optical Disk Image 2" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Mounted Optical Disk Image 2" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFcd8jnnDxkNNRs3zvXs9u4QscKQ7dnHEVL5FumD32Zrh70SgVkwh-oidTVn1DRa4E1f-6wr-bEQ2ZB22ej4p_dqq1rtcV7vwfxgPhAAQwetDaMFfdbMgSydrW6dnwNQ4_bePZYgsnY8Qi/?imgmax=800" width="825" height="278"></a></span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"> <p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">Click on Devices>Optical Drives and then select the ISO file. In our case the file name is V41362-01.iso. </font></span></span></p></span></span> <p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""></span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">The file explorer window may popup showing that the ISO has been mounted and is ready to use:</font></span></span></p></span></span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrUtkx1iwMrwmTc5eTPh4i-ypm4ZZx5CFkkSxjVdWrjHu16sT9rfk86svLOV4dbf8-MRIvXTCrBRgEG1HpQMmr5rai-W8XFTlAz6-Wzl7Abp9K3QveZlDiqZkkFiDtEcdWFDhQ8zZzw4FX/s1600-h/Mounted%252520Optical%252520Disk%252520Image%2525203%25255B3%25255D.png"><img title="Mounted Optical Disk Image 3" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Mounted Optical Disk Image 3" src="http://lh3.googleusercontent.com/-i7VMdqpCfX0/Vl8Z_3z7DiI/AAAAAAAAAx0/MvttwujiIa8/Mounted%252520Optical%252520Disk%252520Image%2525203_thumb%25255B1%25255D.png?imgmax=800" width="745" height="384"></a></span></span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"></span></span><br><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">Open a Terminal Window and switch to the root user:</font></span></span> <p><br> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; line-height: normal; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="821" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: #78c0d4 1pt solid; padding-right: 5.4pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="819"> <div class="MsoNoSpacing"><span style="font-family: courier new"><span style="font-size: 12pt"></span></span><br><span style="font-family: courier new">$ su - root<br>Password: <br># df -h<br>Filesystem Size Used Avail Use% Mounted on<br>/dev/mapper/vg_ocmdb12cr1-lv_root 18G 4.4G 12G 27% /<br>tmpfs 2.0G 508K 2.0G 1% /dev/shm<br>/dev/sda1 477M 178M 271M 40% /boot<br>/dev/sr0 3.7G 3.7G 0 100% <strong>/media/OL6.5 x86_64 Disc 1 20131125</strong></span></div></td></tr></tbody></table></p> <p> <div class="MsoNormal" style="margin-bottom: 0in"><font size="2">We must now change the yum configuration files and point it to the above mount point.</font></div> <p class="MsoNormal" style="margin-bottom: 0in"> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; line-height: normal; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="821" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: #78c0d4 1pt solid; padding-right: 5.4pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="819"> <div class="MsoNoSpacing"><span style="font-family: courier new"><span style="font-size: 12pt"></span></span><br><span style="font-family: courier new"># cd /etc/yum.repos.d</span><br></div></td></tr></tbody></table></p><span style="font-family: verdana"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"></span></span></span> <p><span style="font-family: verdana"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">Disable all entries in the</font></span> </span><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman"">/etc/yum.repos.d/public-yum-ol6.repo</span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"> <font size="2">file</font>.</span> (</span><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman"">enabled=0)</span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><o:p></o:p></span></span><br><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">Create a new file, in this case</font>,</span> </span><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman"">/etc/yum.repos.d/OL65.repo </span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">with the following entries</font>:</span></span><br> <div class="MsoNormal" style="margin-bottom: 0in"><br> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="824" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: #78c0d4 1pt solid; padding-right: 5.4pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="822"> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># cat OL65.repo<o:p></o:p></span></div><span style="font-family: courier new">[OL65]<br>name=Oracle Linux 6.5 x86_64<br>baseurl=file:///var/OL6.5\ x86_64\ Disc\ 1\ 20131125/Server<br>gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY<br>gpgcheck=0 <br>enabled=1</span><br> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""><o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""><br><span style="font-family: courier new"></span></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># yum clean all<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Loaded plugins: refresh-packagekit, security<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Cleaning repos: OL65 public_ol6_UEKR3_latest<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Cleaning up Everything<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""><br><span style="font-family: courier new"></span></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># yum repolist<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Loaded plugins: refresh-packagekit, security<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">...<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">repo id repo name status<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">OL65 Oracle Linux 6.5 x86_64 3,669<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">repolist: 3,669<o:p></o:p></span></div> <div class="MsoNoSpacing"></div></td></tr></tbody></table></div><span style="font-size: 12pt; font-family: "times new roman" , serif"></span><span style="font-size: 12pt; font-family: "times new roman" , serif"></span><br> <div class="Publishwithline"><font size="2">Once you have you configured like so, you can use it to install any missing packages you may have on your system. Refer to this procedure if you find yourself with missing software when attempting to install the Oracle VirtualBox Guest Additions.</font></div> <div class="MsoTocHeading" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , serif"><span style="font-family: verdana"></span></span><br> <div class="MsoNormal" style="margin-bottom: 0in"><font size="2">In this case, we will be installing the Oracle Validated RPM as follows:</font></div></div> <div class="MsoNormal" style="margin-bottom: 0in"><font size="2">As you can see from the above output, The Oracle Linux 6.5 ships with the oracle-rdbms 11gR2 preinstall rpm. To simplify things, I will be making use of the 11gR2 preinstall rpm for this installation. However, the correct preinstall rpm for the Oracle 12c database are accessible through the </font><a href="https://linux.oracle.com/pls/apex/f?p=101:101:30920412822631" target="_blank"><font size="2">Oracle Unbreakable Linux Network</font></a><font size="2">.</font></div> <div class="MsoNormal" style="margin-bottom: 0in"><font size="2">Alternatively, if your VM’s network adapter has been configured as Host-only, you won’t be able to access the outside world from within your VM. In such cases, you can download the rpm from the the </font><a href="http://public-yum.oracle.com/index.html" target="_blank"><font size="2">Oracle Linux Yum Server website</font></a><font size="2">, stage it on disk and install it with the Linux rpm command.</font></div> <div class="MsoNormal" style="margin-bottom: 0in"><br clear="all"> </div> <div class="MsoNormal" style="margin-bottom: 0in"> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="825" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: #78c0d4 1pt solid; padding-right: 5.4pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="823"> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># yum search oracle-rdbms<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">oracle-rdbms-server-11gR2-preinstall.x86_64 : Sets the system for Oracle single instance and Real Application Cluster install for Oracle Linux 6<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># yum install oracle-rdbms-server-11gR2-preinstall.x86_64<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Loaded plugins: refresh-packagekit, security<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Setting up Install Process<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Resolving Dependencies<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">--> Running transaction check<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">---> Package oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-7.el6 will be installed<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">--> Processing Dependency: compat-libstdc++-33 for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">--> Processing Dependency: libaio-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">--> Processing Dependency: compat-libcap1 for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">--> Processing Dependency: ksh for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">--> Running transaction check<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">---> Package compat-libcap1.x86_64 0:1.10-1 will be installed<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">---> Package compat-libstdc++-33.x86_64 0:3.2.3-69.el6 will be installed<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">---> Package ksh.x86_64 0:20120801-10.el6 will be installed<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">---> Package libaio-devel.x86_64 0:0.3.107-10.el6 will be installed<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">--> Finished Dependency Resolution<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">...<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">...<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Installed:<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""> oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-7.el6 <o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Dependency Installed:<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""> compat-libcap1.x86_64 0:1.10-1 compat-libstdc++-33.x86_64 0:3.2.3-69.el6 ksh.x86_64 0:20120801-10.el6 <o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""> </span><span lang="PT-BR" style="font-size: 10pt; font-family: "courier new"; mso-ansi-language: pt-br">libaio-devel.x86_64 0:0.3.107-10.el6 <o:p></o:p></span></div> <div class="MsoNoSpacing"><span lang="PT-BR" style="font-size: 10pt; font-family: "courier new"; mso-ansi-language: pt-br">Complete!<o:p></o:p></span></div> <div class="MsoNoSpacing"></div></td></tr></tbody></table></div><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""></span><br clear="all"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"> <p><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman""><font size="2" face="Verdana">Checking if it has created the <font face="Courier New">oracle</font> user and the basic groups </font>dba </span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana">and</span> </span><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman"">oinstall</span> </p></span></span></span></span><br> <div class="MsoNormal" style="margin-bottom: 0in"> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="824" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: #78c0d4 1pt solid; padding-right: 5.4pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="822"><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman""></span> <o:p></o:p> <br> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># id oracle<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)<o:p></o:p></span></div> <div class="MsoNoSpacing"></div></td></tr></tbody></table></div> <p><font size="2">Additional users and groups (Optional)</font></p> <div class="MsoNormal" style="margin-bottom: 0in"> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="824" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: #78c0d4 1pt solid; padding-right: 5.4pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="822"> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># groupadd -g 54323 oper<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># groupadd -g 54324 backupdba<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># groupadd -g 54325 asmdba<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># groupadd -g 54326 dgdba<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># groupadd -g 54327 kmdba<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># groupadd -g 54328 asmadmin<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># groupadd -g 54329 asmoper<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># usermod -G oinstall,dba,vboxsf,asmdba,asmoper oracle</span></div> <div class="MsoNoSpacing"></div></td></tr></tbody></table></div> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"></span></span></span> </div> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">The</font> <span style="font-family: courier new"><font size="2">grid</font></span> <font size="2">user will be the software owner for the Grid Infrastructure</font></span></span></span></div> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><font size="2"></font></span></span></span> </div> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><o:p></o:p></span></span></span></div> <div class="MsoNormal" style="margin-bottom: 0in"> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="820" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: #78c0d4 1pt solid; padding-right: 5.4pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="818"> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># useradd -u 54322 -g oinstall -G vboxsf,asmadmin grid<o:p></o:p></span></div></td></tr></tbody></table></div> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "inherit" , "serif"; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"></span></span> </div> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "inherit" , "serif"; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">The</font></span> </span><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman"">vboxsf </span><span style="font-size: 12pt; font-family: "inherit" , "serif"; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">group we see above is to allow both OS users to have access to the</font> <font size="2">VirtualBox shared folders.</font></span></span></div> <div class="MsoNormal"> </div> <div class="MsoNormal"><strong>Directories</strong> </div> <div class="MsoNormal"> </div> <div class="MsoNormal" style="margin-bottom: 0in"> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="821" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: #78c0d4 1pt solid; padding-right: 5.4pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="819"> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># mkdir -p /u01/app/12.1.0/grid <o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># mkdir -p /u01/app/grid <o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># mkdir -p /u01/app/oracle# chown -R grid:oinstall /u01<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># chown oracle:oinstall /u01/app/oracle<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># chmod -R 775 /u01/<o:p></o:p></span></div> <div class="MsoNoSpacing"></div></td></tr></tbody></table></div> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2"></font></span></span> </div> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">So, if I am right, the</font></span> </span><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman"">grid </span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">user is the owner of the Grid Infrastructure software. It will be able to connect to the ASM instance</font></span> </span><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman"">AS SYSASM</span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman"">.<o:p></o:p></span></div> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">The</font></span> </span><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman"">oracle </span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">user will own the Oracle Database Software and will be allowed to access the ASM data thanks to the its</font></span> </span><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman"">asmdba </span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">group membership</font>.<o:p></o:p></span></span></span></div> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><font size="2">The</font></span> </span><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman"">oracle </span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">user won't be able to manage the cluster nor connect to the ASM instance</font></span> </span><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman"">AS SYSASM</span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman"">.</span></div> <div class="MsoNormal" style="margin-bottom: 0in"> </div> <h3>ASMLIB or ASMFD? I am confused (Ma vai racha uma lenha!)</h3> <p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">For the sake of simplicity, I will be using ASMLIB for this installation.</font></span></span></span></p> <p><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"></span></span></span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">More information on how to decide between them </font></span><a href="https://docs.oracle.com/database/121/OSTMG/GUID-9C4245E0-279B-4832-A2FA-00E57B34D604.htm#OSTMG95908" target="_blank">here</a><span style="color: blue"><span style="font-size: x-small; font-family: verdana"><font size="2"></font></span></span><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">.<o:p></o:p></font></span></span></span></p> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">Download the ASMLIB from </font></span><a href="http://www.oracle.com/technetwork/server-storage/linux/asmlib/ol6-1709075.html" target="_blank">here</a><span style="color: blue"><span style="font-size: x-small; font-family: verdana"><font size="2"></font></span></span><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">. Note that Oracle Linux 6 ships with the ASMLIB kernel drivers.</font></span></span></span></div> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">I am using yum to install the </font></span></span></span><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman"">oracleasm-support</span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""> <span style="font-size: x-small; font-family: verdana"><font size="2">package as the package is available on the DVD image we built our repository on</font></span></span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">.<o:p></o:p></font></span></span></span></div> <div class="MsoNormal" style="margin-bottom: 0in"> </div> <div class="MsoNormal" style="margin-bottom: 0in"> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="820" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: #78c0d4 1pt solid; padding-right: 5.4pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="818"> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># yum install oracleasm-support.x86_64<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Loaded plugins: refresh-packagekit, security<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Setting up Install Process<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Resolving Dependencies<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">--> Running transaction check<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">---> Package oracleasm-support.x86_64 0:2.1.8-1.el6 will be installed<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">--> Finished Dependency Resolution<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Dependencies Resolved<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">...<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">...<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Running Transaction<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""> Installing : oracleasm-support-2.1.8-1.el6.x86_64 1/1 <o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""> Verifying : oracleasm-support-2.1.8-1.el6.x86_64 1/1 <o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Installed:<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""> oracleasm-support.x86_64 0:2.1.8-1.el6 <o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Complete!<o:p></o:p></span></div> <div class="MsoNoSpacing"></div></td></tr></tbody></table></div> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><br></span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">Since the oracleasm kernel driver is built into the Unbreakable Enterprise Kernel for Oracle Linux 6 we do not need to install it manually.</font></span> <o:p></o:p></span></div> <div class="MsoNormal" style="margin-bottom: 0in"><br> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.75pt 0in 5.75pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="817" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.75pt; border-left: #78c0d4 1pt solid; padding-right: 5.75pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="815"> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># oracleasm init<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Creating /dev/oracleasm mount point: /dev/oracleasm<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Loading module "oracleasm": oracleasm<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Configuring "oracleasm" to use device physical block size <o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Mounting ASMlib driver filesystem: /dev/oracleasm<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""><br></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># oracleasm status<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Checking if ASM is loaded: yes<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Checking if /dev/oracleasm is mounted: yes<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""><br></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># /etc/init.d/oracleasm configure<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Configuring the Oracle ASM library driver.<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">This will configure the on-boot properties of the Oracle ASM library<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">driver. The following questions will determine whether the driver is<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">loaded on boot and what permissions it will have. The current values<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">will be shown in brackets ('[]'). Hitting <ENTER> without typing an<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">answer will keep that current value. Ctrl-C will abort.<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Default user to own the driver interface []: grid<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Default group to own the driver interface []: oinstall<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Start Oracle ASM library driver on boot (y/n) [n]: y<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Scan for Oracle ASM disks on boot (y/n) [y]: y<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Writing Oracle ASM library driver configuration: done<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Initializing the Oracle ASMLib driver: [ OK ]<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Scanning the system for Oracle ASMLib disks: [ OK ]<o:p></o:p></span></div> <div class="MsoNoSpacing"></div></td></tr></tbody></table></div> <p>Stamping our devices as ASM disks</p> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">Now</font>, <b><font size="2">should I or should't partition</font></b></span> <font size="2">our</font></span> <span style="font-size: x-small; font-family: courier new"><font size="2">/dev/sd*</font></span> <span style="font-family: verdana"><span style="font-size: x-small"><font size="2">devices which will be ASM disks?<o:p></o:p></font></span></span></span></div> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><font size="2" face="Verdana">There is a great post from </font><a href="https://oracle-base.com/misc/site-info#biog" target="_blank"><font size="2" face="Verdana">Tim Hall</font></a><span style="color: blue"></span><font size="2" face="Verdana"> where he explains just that and much more </font><a href="https://oracle-base.com/articles/10g/asm-using-asmlib-and-raw-devices" target="_blank">here</a><span style="color: blue"><font size="2" face="Verdana"></font></span><font face="Verdana"><font size="2">.<o:p></o:p></font></font></span></div> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">So, we have the following devices to stamp:</font></span></span></div> <div class="MsoNormal" style="margin-bottom: 0in"> </div> <div class="MsoNormal" style="margin-bottom: 0in"> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.75pt 0in 5.75pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="811" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.75pt; border-left: #78c0d4 1pt solid; padding-right: 5.75pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="809"> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">brw-rw----. 1 root disk 8, 16 Nov 25 18:18 /dev/sdb<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">brw-rw----. 1 root disk 8, 32 Nov 25 18:18 /dev/sdc<o:p></o:p></span></div> <div class="MsoNoSpacing"></div></td></tr></tbody></table><br><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><font size="2"><strong>First Device<o:p></o:p></strong></font></span></span></span></div> <div class="MsoNormal" style="margin-bottom: 0in"><br> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.75pt 0in 5.75pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="813" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.75pt; border-left: #78c0d4 1pt solid; padding-right: 5.75pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="811"> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># fdisk /dev/sdb<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">WARNING: DOS-compatible mode is deprecated. It's strongly recommended to<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""> switch off the mode (command 'c') and change display units to<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""> sectors (command 'u').<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Command (m for help): n<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Command action<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""> e extended<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""> p primary partition (1-4)<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">p<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Partition number (1-4): 1<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">First cylinder (1-1044, default 1): <o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Using default value 1<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Last cylinder, +cylinders or +size{K,M,G} (1-1044, default 1044): <o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Using default value 1044<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Command (m for help): w<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">The partition table has been altered!<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Calling ioctl() to re-read partition table.<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Syncing disks.<o:p></o:p></span></div> <div class="MsoNoSpacing"></div></td></tr></tbody></table></div><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""></span><br> <div class="Publishwithline"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2"><strong>Second Device</strong></font></span></span></div> <div> </div> <div class="MsoNormal" style="margin-bottom: 0in"> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.75pt 0in 5.75pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="815" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.75pt; border-left: #78c0d4 1pt solid; padding-right: 5.75pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="813"> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># fdisk /dev/sdc<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">WARNING: DOS-compatible mode is deprecated. It's strongly recommended to<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""> switch off the mode (command 'c') and change display units to<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""> sectors (command 'u').<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Command (m for help): n<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Command action<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""> e extended<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""> p primary partition (1-4)<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">p<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Partition number (1-4): 1<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">First cylinder (1-1044, default 1): <o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Using default value 1<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Last cylinder, +cylinders or +size{K,M,G} (1-1044, default 1044): <o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Using default value 1044<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Command (m for help): w<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">The partition table has been altered!<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Calling ioctl() to re-read partition table.<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Syncing disks.<o:p></o:p></span></div> <div class="MsoNoSpacing"></div></td></tr></tbody></table></div> <div class="MsoNormal" style="margin-bottom: 0in"> </div> <p class="MsoNormal"> <table class="MsoTableColorfulGridAccent3" style="border-collapse: collapse; margin-left: 6.75pt; line-height: normal; margin-right: 6.75pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-table-anchor-horizontal: margin; mso-table-anchor-vertical: paragraph; mso-table-left: left; mso-table-lspace: 9.0pt; mso-table-rspace: 9.0pt; mso-table-top: 13.75pt" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr style="height: 23.3pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0"> <td style="border-top: medium none; border-right: medium none; background: #eaf1dd; border-bottom: white 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: medium none; padding-right: 5.4pt; mso-background-themecolor: accent3; mso-background-themetint: 51; mso-border-bottom-alt: solid white .5pt; mso-border-bottom-themecolor: background1" height="31" valign="top" width="810"> <div class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 13pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-top: 13.75pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly"><b style="mso-bidi-font-weight: normal"><span style="mso-bidi-font-weight: bold; mso-themecolor: text1"><span style="font-family: calibri"><span style="font-size: 11pt; color: black"><img class="wlEmoticon wlEmoticon-pointingup" style="border-top-style: none; border-bottom-style: none; border-right-style: none; border-left-style: none" alt="Pointing up" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifIKToCU694YcIZHxU0Y7wbq-VpgJjgvnmzY0kHsxmaXFQyOJ50lIUNNa-ek8JDyGJc5__CHc2GcMViYdh-55FzREBOD-kGEvRcmbjOh02L5UjLUA2R8ohnxA-CmBfc9Eo9YH1bYfJO-r8/?imgmax=800">Watch Out</span></span></span></b></div></td></tr> <tr style="mso-yfti-irow: 1; mso-yfti-lastrow: yes"> <td style="border-top: medium none; border-right: medium none; background: #eaf1dd; border-bottom: medium none; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: medium none; padding-right: 5.4pt; mso-background-themecolor: accent3; mso-background-themetint: 51; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1" valign="top" width="810"> <div class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 13pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-top: 13.75pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly"><font face="Verdana"><font color="#000000"><font size="2"><span style="font-size: 12pt; font-family: "times new roman" , serif; color: red"><font size="2" face="Verdana">Please note that if you are deriving these devices</font> <font size="2" face="Verdana">from a storage LUN, you may need to pay special </font></span></font><span style="font-size: 12pt; font-family: "times new roman" , "serif"; color: red; mso-fareast-font-family: "Times New Roman""><font size="2" face="Verdana">attention to the partition alignment! This is out of the scope of this post.</font></span></font></font></div></td></tr></tbody></table></p> <p><br> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.75pt 0in 5.75pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="814" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.75pt; border-left: #78c0d4 1pt solid; padding-right: 5.75pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="812"> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># oracleasm createdisk DATA1 /dev/sdb1<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Writing disk header: done<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Instantiating disk: done<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""><br></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># oracleasm createdisk FRA1 /dev/sdc1<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Writing disk header: done<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Instantiating disk: done<o:p></o:p></span></div> <div class="MsoNoSpacing"></div></td></tr></tbody></table></p> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , serif"><br></span><span style="font-size: 12pt; font-family: "times new roman" , serif"><span style="font-size: x-small; font-family: verdana"><font size="2">Check if everything went fine:</font></span></span></div> <div class="MsoNormal" style="margin-bottom: 0in"><br> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.75pt 0in 5.75pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="818" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.75pt; border-left: #78c0d4 1pt solid; padding-right: 5.75pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="816"> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># oracleasm listdisks<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">DATA1<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">FRA1 <o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># oracleasm querydisk -p DATA1<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Disk "DATA1" is a valid ASM disk /dev/sdb1: LABEL="DATA1" TYPE="oracleasm" <o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># oracleasm querydisk -p FRA1 <o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">Disk "FRA1" is a valid ASM disk /dev/sdc1: LABEL="FRA1" TYPE="oracleasm"<o:p></o:p></span></div> <div class="MsoNoSpacing"></div></td></tr></tbody></table></div> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><br></span><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">Finally, we have a cosy bed for our cluster and database files. Perhaps some OS files too when we play around with ACFS.<o:p></o:p></font></span></span></span></div> <div class="MsoNormal" style="margin-bottom: 0in"> </div> <p><strong>Installation</strong></p> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-size: x-small; font-family: verdana"><font size="2">Once everything has been set-up, it is time to run the famous</font></span> </span><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman"">./runInstaller.sh.</span></div> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman""><br></span> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.75pt 0in 5.75pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="816" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.75pt; border-left: #78c0d4 1pt solid; padding-right: 5.75pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="814"> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># xhost +<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""># su - grid<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">mkdir /u01/app/software<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">chmod 777 /u01/app/software<o:p></o:p></span></div> <div class="MsoNoSpacing"></div></td></tr></tbody></table><span style="font-size: 12pt"><br></span><span style="font-size: 12pt"><span style="font-size: x-small"><font size="2">Copy the compressed files from the VirtualBox shared folder to directory created above:</font></span></span></div> <div class="MsoNormal" style="margin-bottom: 0in"><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman""><br></span> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.75pt 0in 5.75pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="820" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.75pt; border-left: #78c0d4 1pt solid; padding-right: 5.75pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="818"> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">$ cp -v linuxamd64_12102_grid_1of2.zip linuxamd64_12102_grid_2of2.zip /u01/app/software/<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">`linuxamd64_12102_grid_1of2.zip' -> `/u01/app/software/linuxamd64_12102_grid_1of2.zip'<o:p></o:p></span></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">`linuxamd64_12102_grid_2of2.zip' -> `/u01/app/software/linuxamd64_12102_grid_2of2.zip'<o:p></o:p></span></div> <div class="MsoNoSpacing"></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">$ cd /u01/app/software<o:p></o:p></span></div> <div class="MsoNoSpacing"></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">$ unzip linuxamd64_12102_grid_1of2.zip<o:p></o:p></span></div> <div class="MsoNoSpacing"></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">$ unzip linuxamd64_12102_grid_2of2.zip<o:p></o:p></span></div> <div class="MsoNoSpacing"></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">$ cd grid<o:p></o:p></span></div> <div class="MsoNoSpacing"></div> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new"">$ ./runInstaller.sh<o:p></o:p></span></div> <div class="MsoNoSpacing"></div></td></tr></tbody></table></div> <div class="MsoNormal" style="margin-bottom: 0in; text-align: center"> </div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBLAaPK2ETn1yZrOVNxICbx5dFhig2gljgN6I7YCY2Yykrwzt5s5CC4sRg8IB53FD1xMoZRLYJCOuLWIr9jzDoCNFLbbFdNr8e5RNh0JiygY1071tCrAiSn2kGJGGDcsnBBsDd6pO9gm3M/s1600-h/Grid%252520Infra%252520Step%2525201%25255B3%25255D.png"><img title="Grid Infra Step 1" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: left; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Grid Infra Step 1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyXOaxwO41EofdDyFXNY3WpRbomNqq9F4RTPyXBlOFU4SZzRufEGBNuiw3fcw6aLrUUrFWk4uyOAJcKMLWXRWVudpNxhXUGPew7NvntO9xdl4z5oR8uBhXhyphenhyphen2oxVrhfAcZjarIdFLYyQbA/?imgmax=800" width="802" height="601"></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJSnITngs4iApGsB9lD3v4fyjmgkroqqeWEXpsGvXW_1DcfstLsLs7_aOeANbGWy9J_AX_vh3ZGW9TWWEnWQwgh4kQTDA1oTKU9QJqIFWLc7KQ4UK1O61-1TuyhUcNPWbVHEVM1TBkPaqr/s1600-h/Grid%252520Infra%252520Step%2525202%25255B3%25255D.png"><img title="Grid Infra Step 2" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: left; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Grid Infra Step 2" src="http://lh3.googleusercontent.com/-rFw54iM9GC4/VlZE8u0LaGI/AAAAAAAAAX8/PdXEzK8rFGY/Grid%252520Infra%252520Step%2525202_thumb%25255B1%25255D.png?imgmax=800" width="803" height="602"></a></div> <div class="MsoNormal" style="margin-bottom: 0in; text-align: center"></div> <div class="separator" style="text-align: center; clear: both"> </div> <div class="separator" style="text-align: center; clear: both"> </div> <div class="Publishwithline"></div> <div class="separator" style="text-align: center; clear: both"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNMU96__9ciaQlxtiKhFDOmoA4CLWK-WK8B2nr1DjEfy5jEOnHGWI9o5yLazHIgs1KppXDxQkk9x5enNdetF4k0h0ESo9g4WL8w3ROH80ZyFQqbB0yfFyfsVJvZpZ63AtYMw15fxfxhWhS/s1600-h/Grid%252520Infra%252520Step%2525203%25255B3%25255D.png"><img title="Grid Infra Step 3" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: left; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Grid Infra Step 3" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOms8KiSDKNbyHTzHy-yeh-pm3awba2g7hWRnO6uEuFnmVkwaSzRR5DTRfiFM5-ylvqpzhCDJDy7TKtHSjDGaROihHhFpBiltd2G07pKP91cKs2rb-TY3h9paQAJHyGKmLmlahRe5v1p0M/?imgmax=800" width="802" height="603"></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj28s7o-xKUtSpKer2t6HcRYRRaFv2I2UTP8F9bg82of3ikqoWeuTBEbxdC_lhMk-4U83VQs6k6XBkb-_IFF-EkMvNtQBO-Av5peKZiRJLckjt2ZijTh6x4uyWiVRKnin_NdqCq5WEDmuML/s1600-h/Grid%252520Infra%252520Step%2525204%25255B3%25255D.png"><img title="Grid Infra Step 4" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: left; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Grid Infra Step 4" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjufILOygBMIcWf9FKvNs8OAI5cR6SK02rU-TvxmxC-U2XYc9wEspodY1JSvEhqRCCrm4CvEdeNTE619rAaaYXmblf2cdubol8jGV01jWxCiDoDgHwPe_pCtIWwTtO09PbuH9hYKzPWwWq7/?imgmax=800" width="803" height="603"></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8Lea2zMq6oGpp6hQLM_CzBLBeUBWzMmckH0A7MqyJ6hfEUwpiL1gXJfiq7mMM2JqAJ8x35VWd6bXLlw_7H3AOX59TM3hXiQR9VJYeM8zCK4iWFK3bwNEmHWWrCpGwEGMbMB4QbXJuiDi-/s1600-h/Grid%252520Infra%252520Step%2525205%25255B3%25255D.png"><img title="Grid Infra Step 5" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: left; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Grid Infra Step 5" src="http://lh3.googleusercontent.com/-VbVaJPuyWxg/VlZVMJSpTTI/AAAAAAAAAZM/fmnahGLqM5c/Grid%252520Infra%252520Step%2525205_thumb%25255B1%25255D.png?imgmax=800" width="803" height="604"></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivl_mp_WvHFKZ-qvVm-qcbthU_enqIQHYkRDQDkKos5HaN4WF3Bdf5CMk6MXygansHjtkC9Q22X2yGECJt4yeX-GuzKqfPxK-hR-syJd5JC2AfmA2BmqxrVy6AaJB4gZT1BnHYSQU1Y_pp/s1600-h/Grid%252520Infra%252520Step%2525206%25255B3%25255D.png"><img title="Grid Infra Step 6" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: left; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Grid Infra Step 6" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2go2-v_wvyFCjQgCgbG3tEtKtyiFeCVwBfgg2X8M6k10X5z6ZqMQ6Y0ZTL4E4xCV6m9XE6-EkRUP3uN-ikpFFluOOZBPvZ5ug3WaGhcp4JXi4Aci5LxmJVf7Xr_n_FZ0O6QKPqsXW_KgF/?imgmax=800" width="803" height="603"></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUJdoS6fxXEK119UOxkQDb_q4J3xsjVg9YBdjbicp9ktHmZqrGObqoDuUREBUSFORXdKeSrYjbTrWSFE8oL5lThEgs3an_pI_8OSC2TYRVz1dLs7PTu-nAquNMQ8lAS9E7A2gxA68BPpO_/s1600-h/Grid%252520Infra%252520Step%2525207%25255B3%25255D.png"><img title="Grid Infra Step 7" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: left; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Grid Infra Step 7" src="http://lh3.googleusercontent.com/-1xW6LxLG6Yk/VlZVNwVEOQI/AAAAAAAAAZs/QyAmlZIb5yw/Grid%252520Infra%252520Step%2525207_thumb%25255B1%25255D.png?imgmax=800" width="802" height="601"></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy5MD2kEufIyZVwcihcJ1x1CYj6lXUmRbwzyf6NE7hutDgbgwO88AawXZdE99li5xSF3_7An6iEXR735wNTiE9b6soMI5oR_qBuFbw-7-FtBBaikyRSgtsWWLebe_s_pCRZU2tO_8f3N5H/s1600-h/Grid%252520Infra%252520Step%2525208%25255B3%25255D.png"><img title="Grid Infra Step 8" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: left; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Grid Infra Step 8" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP54SHc2gM0yyu4kN0y30B6m9s9AFwQGFk-sMWoSUUB_dbn2EDhC0NXIg1WDuf_V_KucwI-VOzjEiAeMAITd155gmXN_pR2Tyye3T4msoZBwWmvQevlteGIrU-gczmDFHwzY7hbzCiNVRU/?imgmax=800" width="804" height="604"></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtc9oNEULZ41ymyYvhoQulg32s-k5VBHdtviMV-w9z_xqs0JrqO1_y9NOYvWOMwBn9dmU-pvtoQjlOWy2WIH1veSBUPMxAmuAiiFCJcS4TwkFygzXHMC8HchrIpiAHRb8dmhGort2-uslh/s1600-h/Grid%252520Infra%252520Step%2525209%25255B3%25255D.png"><img title="Grid Infra Step 9" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: left; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Grid Infra Step 9" src="http://lh3.googleusercontent.com/-lnilN58DcNw/VlZVP6b-w1I/AAAAAAAAAaQ/ccmEtY9co98/Grid%252520Infra%252520Step%2525209_thumb%25255B1%25255D.png?imgmax=800" width="803" height="602"></a><a href="http://lh3.googleusercontent.com/-HO9KZqvmuVI/VlZVQCjov5I/AAAAAAAAAaU/5nQbFH8ye8U/s1600-h/Grid%252520Infra%252520Step%25252010%25255B3%25255D.png"><img title="Grid Infra Step 10" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: left; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Grid Infra Step 10" src="http://lh3.googleusercontent.com/-F2taaiM9Jco/VlZVQq1v9RI/AAAAAAAAAac/GD4-uO1P3mI/Grid%252520Infra%252520Step%25252010_thumb%25255B1%25255D.png?imgmax=800" width="803" height="603"></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAvlxQLlNIl-v1C_cWRWFzaa1ajekJ4FDp6DbqNf5G_e_A2_pfKxahBmL-8gf-wOH3GmHZiFb04Prid9WtDDglXNK4_GxdZhjIGQYQy0t_EgKqSNiKc4-JYx_ypW-WEonbvJHeZjNO6Sd3/s1600-h/Grid%252520Infra%252520Step%25252011%25255B3%25255D.png"><img title="Grid Infra Step 11" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: left; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Grid Infra Step 11" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhamT_o7IKqrDNmJsxYlLH7Ewf72mHOUa4nJSPxEMsAtQMfcillmferBgFzjdU7PcNli3dmhcFUOGN_CRqqn6Olzw0BcJglRepLQmY1-ba1cHmU1cc8Ow3lzo87kOgikEXORcKfBsgfeT5Q/?imgmax=800" width="804" height="604"></a></div> <div class="Publishwithline"></div> <div class="MsoNormal" style="margin-bottom: 0in"> </div> <div class="MsoNormal" style="margin-bottom: 0in"> </div> <div class="MsoNormal" style="margin-bottom: 0in"> </div> <div class="MsoNormal" style="margin-bottom: 0in"> </div> <div class="MsoNormal" style="margin-bottom: 0in"> </div> <div class="MsoNormal" style="margin-bottom: 0in"> </div> <div class="MsoNormal" style="margin-bottom: 0in"> </div> <div class="MsoNormal" style="margin-bottom: 0in"> </div> <div class="MsoNormal"> </div> <div class="Publishwithline"> </div> <div class="MsoNormal"> </div> <p><br><br><br><br><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir4mkfTB0CMfEKaLDCW82te5ClEiLuLtSo1vjDVaqkeLhTj0MJVcMewrnHkWR1zAGzUO_20ay-5NaUtNkdqQ78CYsco5TIIpjJllbbgn27E3JFOkRwG3q7kJ4b-NJewDDMdS_ujwbN4Bw5/s1600-h/Grid%252520Infra%252520Step%25252012%25255B6%25255D.png"><img title="Grid Infra Step 12" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: left; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Grid Infra Step 12" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJQYnS4fp8oWYGX5W30-WmGBzUgBgZAIbf_pZCsh1FWEGhgW_cRg4aGzbg_YCUeXEI26ztTOeE1ZKQ59LqHhHZEgrqddYzsbe220jO0LKuZQvCtCYZzEyu5ouI_a_1GqLExDN9GbgLoH3q/?imgmax=800" width="801" height="599"></a><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></p> <p> </p> <p> </p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbb15M2Q8SdvNaj8xRvGJS-OuMPScJZFpRhHyhrq23P5IlFla8A_rYsjUnlB418ilMywoEvjuO5HgErLSU6JlMZc1v4e3IEqSHGsxWJfjPEV5qTsyyyx35AoSmOBV7y70MhdGSunEozJKS/s1600-h/Grid%252520Infra%252520Install%252520run%252520root%252520commands%25255B3%25255D.png"><img title="Grid Infra Install run root commands" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: left; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Grid Infra Install run root commands" src="http://lh3.googleusercontent.com/-7D_l1usnxHw/VlZYbq0kwvI/AAAAAAAAAbU/iPZ9bTE-BFk/Grid%252520Infra%252520Install%252520run%252520root%252520commands_thumb%25255B1%25255D.png?imgmax=800" width="845" height="648"></a><br><br clear="all"></p> <div class="MsoNoSpacing"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><font size="2">Running the scripts</font></span></span></span></div> <div class="MsoNoSpacing"><span style="font-size: 12pt; font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman""><span style="font-family: verdana"><span style="font-size: x-small"><font size="2"></font></span></span></span> </div> <div class="MsoNoSpacing"></div> <div class="MsoNoSpacing"></div> <div class="MsoNormal" style="margin-bottom: 0in"> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.75pt 0in 5.75pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="819" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.75pt; border-left: #78c0d4 1pt solid; padding-right: 5.75pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="817"> <div class="MsoNoSpacing"><span style="font-size: 10pt; font-family: "courier new""></span><br><span style="font-size: 10pt; font-family: "courier new""># /u01/app/oraInventory/orainstRoot.sh<br>Changing permissions of /u01/app/oraInventory.<br>Adding read,write permissions for group.<br>Removing read,write,execute permissions for world.</span><br><span style="font-size: 10pt; font-family: "courier new"">Changing groupname of /u01/app/oraInventory to oinstall.<br>The execution of the script is complete.<br>[root@ocmdb12c ~]# /u01/app/12.1.0/grid/root.sh<br>Performing root user operation.<br>The following environment variables are set as:<br> ORACLE_OWNER= grid<br> ORACLE_HOME= /u01/app/12.1.0/grid<br>Enter the full pathname of the local bin directory: [/usr/local/bin]: <br> Copying dbhome to /usr/local/bin ...<br> Copying oraenv to /usr/local/bin ...<br> Copying coraenv to /usr/local/bin ...<br><br>Creating /etc/oratab file...<br>Entries will be added to the /etc/oratab file as needed by<br>Database Configuration Assistant when a database is created<br>Finished running generic part of root script.<br>Now product-specific root actions will be performed.<br>Using configuration parameter file: /u01/app/12.1.0/grid/crs/install/crsconfig_params<br>LOCAL ADD MODE <br>Creating OCR keys for user 'grid', privgrp 'oinstall'..<br>Operation successful.<br>LOCAL ONLY MODE <br>Successfully accumulated necessary OCR keys.<br>Creating OCR keys for user 'root', privgrp 'root'..<br>Operation successful.<br>CRS-4664: Node ocmdb12c successfully pinned.<br>2015/11/26 00:50:39 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.conf'<br><br>ocmdb12c 2015/11/26 00:50:56 /u01/app/12.1.0/grid/cdata/ocmdb12c/backup_20151126_005056.olr 0 <br>CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'ocmdb12c'<br>CRS-2673: Attempting to stop 'ora.evmd' on 'ocmdb12c'<br>CRS-2677: Stop of 'ora.evmd' on 'ocmdb12c' succeeded<br>CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'ocmdb12c' has completed<br>CRS-4133: Oracle High Availability Services has been stopped.<br>CRS-4123: Oracle High Availability Services has been started.<br>2015/11/26 00:52:07 CLSRSC-327: Successfully configured Oracle Restart for a standalone server</span></div> <div class="MsoNoSpacing"></div></td></tr></tbody></table></div> <div class="MsoNormal" style="margin-bottom: 0in"></div> <div class="MsoNormal" style="margin-bottom: 0in"><font size="2"></font> </div> <div class="MsoNormal" style="margin-bottom: 0in"><font size="2">Oh! Man, this one took longer than I anticipated…</font></div> <div class="MsoNormal" style="margin-bottom: 0in"><font size="2"></font> </div> <div class="MsoNormal" style="margin-bottom: 0in"></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2pXUbpgKCdvpgfAMerJehaEvqwzXuLDMSbDpXd1M40lP8FUt1WBr0JKWQLBrYQUWiOR66vBilXaUq6cAZsPk8kfJeARR_HNvepNTEWYHbpHhBIRCQYtRmarzYBYQizEzpuTIm00w4df15/s1600-h/Grid%252520Infra%252520Step%252520Final%25255B3%25255D.png"><img title="Grid Infra Step Final" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: left; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Grid Infra Step Final" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyyUkM8Qg2wziJHKiIQRrZxxCPzMk2wqODu5UPQG45Vzf0dDThdS6ycBxb34JoBULjMqYPzIMNi_cQyLIui3qly6bwQtSg9K-9-FQExL8NVXgGeQm1CLf8u8Ug7aEstQXHMgd57MqUQsEe/?imgmax=800" width="802" height="603"></a></div><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br clear="all"><span style="font-size: x-small"><br clear="all"></span><font size="2">I quick check at both Oracle Restart and ASM:</font><br> <div class="MsoNormal" style="margin-bottom: 0in"> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.75pt 0in 5.75pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="816" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.75pt; border-left: #78c0d4 1pt solid; padding-right: 5.75pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="814"><span style="font-size: 12pt; font-family: "courier new"; mso-fareast-font-family: "Times New Roman""></span><br><span style="font-family: courier new">$ crsctl check has<br>CRS-4638: Oracle High Availability Services is online</span><br><span style="font-family: courier new">$ asmcmd<br>ASMCMD> lsdg<br><span style="font-size: x-small">State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name<br>MOUNTED EXTERN N 512 4096 1048576 8189 8127 0 8127 0 N DATA/</span></span></td></tr></tbody></table></div> <div class="MsoNormal" style="margin-bottom: 0in"></div> <div class="MsoNormal" style="margin-bottom: 0in"><font size="2">We can see the only one disk group has been setup. We will now finish the ASM configuration by adding another disk group.</font></div> <div class="MsoNormal" style="margin-bottom: 0in"><font size="2">To do that, we will use ASMCA</font></div> <div class="MsoNormal" style="margin-bottom: 0in"></div> <div class="MsoNormal" style="margin-bottom: 0in"> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.75pt 0in 5.75pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="814" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.75pt; border-left: #78c0d4 1pt solid; padding-right: 5.75pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="812"><span style="font-size: x-small; font-family: courier new"><font size="2">$ . oraenv<br>ORACLE_SID = [grid] ? +ASM<br>The Oracle base has been set to /u01/app/grid<br><br>$ asmca</font></span></td></tr></tbody></table><br clear="all"></div> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoXS6QJa6meprjvZpLd9TahSTZNv5FbQnc4TxUdGhYaxYUZrjW4QaeKNhzap0Zy_gcAmt5IJpaGIeNEE_vmCGxoHCBy0OOG5xbStF_KwjWmqTGAw6zNuV1hlUFYCQ3d8g-oKz6miZKu7T0/s1600-h/ASMCA%252520Disk%252520Groups%25255B12%25255D.png"><img title="ASMCA Disk Groups" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="ASMCA Disk Groups" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFiJ3vN_SRuY_hXW5tnaJnIZP9aC8H6ClVvgglTWxU2gJ9v0HKRLhE3KEkVp5BSOIaFTR4yEEarsrgKedB9cu3VyXfU1OGXsyJGexWEdHY38AqVRfqtmAOyrCA9itBTGxUX4BcPv5FK_0f/?imgmax=800" width="822" height="419"></a><br><font size="2">We want to create a new ASM Disk Group by clicking on the Create Push-Button.</font><br><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAbEDFfI2SBqeb6F2hFJuiD53yCpRuPPswuj7rp8QVrCu0S1pDaLg81-rnATO_0VEtjAa4e5Cooy-nVqLAwK-6Bpo8GmBqOubE8MbQRu0w_kEupalWwBTe9c0ujg0612vyLs_APHsGP61z/s1600-h/ASMCA%252520Create%252520Disk%252520Groups%25255B3%25255D.png"><img title="ASMCA Create Disk Groups" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="ASMCA Create Disk Groups" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8ejr11gWL6EiJbnDZ59NjIrfOm5UNpXTJ9L8cEgqJzPqvzmI0ks_Bl5-uJ6_HbJOtRubIiZexYh7ay624CncwkuDMWRAVeZnQo79eCMlmqBOYKwQQNnYKm4EZ66_G30FGImGG9Omm6lew/?imgmax=800" width="801" height="551"></a><br><br clear="all"><font size="2">Click OK <br>ASMCA happens to be the fastest way to configure ASM ADVM volumes and ACFS</font><br><a href="http://lh3.googleusercontent.com/-rREbtfY_qvM/Vlc6DewwFKI/AAAAAAAAAcw/GH5ZtQxZJmg/s1600-h/ASMCA%252520Disk%252520Groups%252520After%252520Creation%25255B5%25255D.png"><img title="ASMCA Disk Groups After Creation" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="ASMCA Disk Groups After Creation" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFSryA3KjzAzscuCYH37A_Scs0CtO_bbMH1hNBid_5y3oxjXVzBsSki4uGQgXhDUAGc-x-uyFWHbVQD8ETh68cVYCZyzPeP3lQQ5fRVrNd6LohKjYB7b3YBj2ctEQgNNStvsHUJSGT9diW/?imgmax=800" width="805" height="523"></a><br><font size="2">If the Volumes and ASM Cluster File Systems tab are disabled, it means that the required kernel modules are not loaded.<br>You can load the modules manually with the following command:</font><br></p> <p class="MsoNormal" style="margin-bottom: 0in"> <table class="MsoTableMediumGrid1Accent5" style="border-top-style: none; border-collapse: collapse; border-bottom-style: none; border-right-style: none; border-left-style: none; mso-padding-alt: 0in 5.75pt 0in 5.75pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" border="1"> <tbody> <tr> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; width: 6.65in; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.75pt; border-left: #78c0d4 1pt solid; padding-right: 5.75pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="819"><span style="font-family: courier new">/u01/app/12.1.0/grid/bin start -s</span></td></tr></tbody></table></p> <p class="MsoNormal"><font size="2">For more information on setting up ACFS, </font><a href="http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/storage/acfs/acfs.htm#t1" target="_blank"><font size="2">check this out</font></a><font size="2">.<br>To find this in the Oracle Documentation, follow these path:</font><br></p> <p class="MsoNormal"> <table class="MsoTableColorfulGridAccent3" style="border-collapse: collapse; margin-left: 6.75pt; line-height: normal; margin-right: 6.75pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-table-anchor-horizontal: margin; mso-table-anchor-vertical: paragraph; mso-table-left: left; mso-table-lspace: 9.0pt; mso-table-rspace: 9.0pt; mso-table-top: 13.75pt" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr style="height: 23.3pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0"> <td style="border-top: medium none; border-right: medium none; background: #eaf1dd; border-bottom: white 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: medium none; padding-right: 5.4pt; mso-background-themecolor: accent3; mso-background-themetint: 51; mso-border-bottom-alt: solid white .5pt; mso-border-bottom-themecolor: background1" height="31" valign="top" width="810"> <div class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 13pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-top: 13.75pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly"><b style="mso-bidi-font-weight: normal"><span style="mso-bidi-font-weight: bold; mso-themecolor: text1"><span style="font-family: calibri"><span style="font-size: 11pt; color: black"><a href="http://lh3.googleusercontent.com/-nKdADNr38n0/Vlc_6XweM7I/AAAAAAAAAdQ/-3IwlIxQsSE/s1600-h/clip_image002%25255B8%25255D%25255B2%25255D.gif"><img title="clip_image002[8]" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image002[8]" src="http://lh3.googleusercontent.com/-31I2YSWsBu0/Vlc_69YSadI/AAAAAAAAAdU/maXO2AjH_yk/clip_image002%25255B8%25255D_thumb.gif?imgmax=800" width="19" height="19"></a>How to Get to It in the Documentation? </span></span></span></b></div></td></tr> <tr style="mso-yfti-irow: 1; mso-yfti-lastrow: yes"> <td style="border-top: medium none; border-right: medium none; background: #eaf1dd; border-bottom: medium none; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: medium none; padding-right: 5.4pt; mso-background-themecolor: accent3; mso-background-themetint: 51; mso-border-top-alt: solid white .5pt; mso-border-top-themecolor: background1" valign="top" width="810"> <div class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 13pt; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-top: 13.75pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly"><span style="mso-themecolor: text1"><span style="font-family: calibri"><span style="font-size: 11pt; color: black">Oracle Database Online Documentation 12c Release 1 (12.1) / Clustering / Automatic Storage Management Administrator's Guide / <CTRL>+F, type in “acfsload” and <ENTER></span></span></span></div></td></tr></tbody></table></p> <p><font size="2">This is it for this post as we have accomplished what the Post Title says. </font></p> <p><font size="2">The next step will be to install the Oracle Database Software and then create an instance and database. This will cover the topic </font></p> <p><font size="2">Install the Oracle Database 12<em>c </em>software and, perhaps create and manage pluggable databases.</font></p> <p><font size="2">Até la!</font></p> <p><font size="2">Daniel</font></p> <h2>Check out other posts of this Series:</h2> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com/2015/11/upgrading-my-ocm-11g-to-12c-initial_23.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 1 - Initial Assessment</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com/2015/11/upgrading-ocm-11g-to-ocm-12c-series-2.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 2 - Building your Study Lab</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series-3.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 3 - Install Oracle Grid Infrastructure</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series-4.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 4 – Install Oracle Database Software</a></div> Anonymoushttp://www.blogger.com/profile/04409090780691515655noreply@blogger.com0Caxias do Sul, Caxias do Sul - RS, Brazil-29.1634031 -51.1796683-29.3852511 -51.502391800000005 -28.9415551 -50.8569448tag:blogger.com,1999:blog-1219458118840772394.post-81300009051024208232015-11-24T16:49:00.000-08:002015-12-10T10:59:29.217-08:00Upgrading OCM 11g to OCM 12c (Series) 2 - Building your Study Lab<p> </p> <h2>Check out other posts of this Series:</h2> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com/2015/11/upgrading-my-ocm-11g-to-12c-initial_23.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 1 - Initial Assessment</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com/2015/11/upgrading-ocm-11g-to-ocm-12c-series-2.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 2 - Building your Study Lab</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series-3.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 3 - Install Oracle Grid Infrastructure</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series-4.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 4 – Install Oracle Database Software</a></div> <div class="MsoNormal" style="margin-bottom: 0in"></div> <p><font size="2">I am glad to see that I have received some interesting comments on the </font><a href="http://thatoracledude.blogspot.com.br/2015/11/upgrading-my-ocm-11g-to-12c-initial_23.html" target="_blank"><font size="2">introductory post of this series</font></a><font size="2">.<br>It seems we might be getting some support from other authors/bloggers throughout this Series.<br></font></p> <div><font size="2">Let's move on to the second phase, which is Building your Study Lab.</font></div> <div><font size="2"></font> </div> <div><font size="2">Here is the list of software we will need to build our Study Lab. Click on each link and you will be redirected to where you can find it for downloading.</font></div> <div> </div> <div> <div style="font-size: 12px; font-family: arial, helvetica, sans-serif; font-weight: bold; color: #222222; margin: 10px; background-color: white"><strong>Exam Environment</strong></div> <li style="border-top-style: none; font-size: 12px; list-style-position: outside; border-bottom-style: none; color: #444444; padding-bottom: 0.25em; padding-top: 0.25em; border-right-style: none; padding-left: 0px; margin: 2px 0px 0.25em; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); border-left-style: none; line-height: 20px; padding-right: 0px"><a href="https://edelivery.oracle.com/osdc/faces/Home.jspx?_afrLoop=315056859244828&_afrWindowMode=0&_adf.ctrl-state=icf6fw32j_4" target="_blank">Oracle Linux Release 6.5 64 bit</a> <li style="border-top-style: none; font-size: 12px; list-style-position: outside; border-bottom-style: none; color: #444444; padding-bottom: 0.25em; padding-top: 0.25em; border-right-style: none; padding-left: 0px; margin: 2px 0px 0.25em; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); border-left-style: none; line-height: 20px; padding-right: 0px">Mozilla Browser, Text (emacs, gedit) and vi editors <li style="border-top-style: none; font-size: 12px; list-style-position: outside; border-bottom-style: none; color: #444444; padding-bottom: 0.25em; padding-top: 0.25em; border-right-style: none; padding-left: 0px; margin: 2px 0px 0.25em; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); border-left-style: none; line-height: 20px; padding-right: 0px">Shell environment: bash, csh <li style="border-top-style: none; font-size: 12px; list-style-position: outside; border-bottom-style: none; color: #444444; padding-bottom: 0.25em; padding-top: 0.25em; border-right-style: none; padding-left: 0px; margin: 2px 0px 0.25em; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); border-left-style: none; line-height: 20px; padding-right: 0px">Use either CLI or GUI environment and tools when available <li style="border-top-style: none; font-size: 12px; list-style-position: outside; border-bottom-style: none; color: #444444; padding-bottom: 0.25em; padding-top: 0.25em; border-right-style: none; padding-left: 0px; margin: 2px 0px 0.25em; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); border-left-style: none; line-height: 20px; padding-right: 0px"><a href="http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html" target="_blank">Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 64 bit</a> <li style="border-top-style: none; font-size: 12px; list-style-position: outside; border-bottom-style: none; color: #444444; padding-bottom: 0.25em; padding-top: 0.25em; border-right-style: none; padding-left: 0px; margin: 2px 0px 0.25em; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); border-left-style: none; line-height: 20px; padding-right: 0px"><a href="http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html" target="_blank">Oracle Grid Infrastructure 12c Release 1 (12.1.0.2)</a> <li style="border-top-style: none; font-size: 12px; list-style-position: outside; border-bottom-style: none; color: #444444; padding-bottom: 0.25em; padding-top: 0.25em; border-right-style: none; padding-left: 0px; margin: 2px 0px 0.25em; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); border-left-style: none; line-height: 20px; padding-right: 0px"><a href="http://www.oracle.com/technetwork/oem/enterprise-manager/downloads/index.html" target="_blank">Oracle Enterprise Manager Cloud Control 12c Rel 4</a></li></div><br><font size="2">You will also need to download a virtualization software. In this case we will be making use of </font><a href="http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html" target="_blank"><font size="2">Oracle VM VirtualBox</font></a><font size="2">.<br><br>I have downloaded all the software and staged onto a shared location that will be accessible from within the Virtual Machines:<br><br>The following is the list of software needed to build the Study Lab apart from Oracle VM VirtualBox:</font><br><br> <table class="tr-caption-container" style="float: left; margin-right: 1em" cellspacing="0" cellpadding="0"> <tbody> <tr> <td style="text-align: center"><a style="margin-bottom: 1em; margin-left: auto; clear: left; margin-right: auto" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-5Vw7rN2rxKQ1BcPnfWg69txjF3vxYCHKmSYkAOluLaDsNBvQHtIcjWblyKGglqb66146DRHdliqLxFDjn3Rk2dxs72y8z0sdXbYRo6gXuhFSzXcy4pDk91dgCRcFiIqduV5nEPgDquDK/s1600/Software.PNG" imageanchor="1"><img title="List of Software Staged on Disk" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-5Vw7rN2rxKQ1BcPnfWg69txjF3vxYCHKmSYkAOluLaDsNBvQHtIcjWblyKGglqb66146DRHdliqLxFDjn3Rk2dxs72y8z0sdXbYRo6gXuhFSzXcy4pDk91dgCRcFiIqduV5nEPgDquDK/s1600/Software.PNG"></a></td></tr> <tr> <td class="tr-caption" style="text-align: center">List of Software Staged on Disk</td></tr></tbody></table><br><br><br><br><br><br><br><br><br><br><br> <div> </div> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <h3>Oracle VM VirtualBox Virtual Machine Creation</h3> <div> </div> <div><font size="2">For the sake of documentation, the version I am using is 5.0.4 Release 102546.</font></div> <div><font size="2">I have created a VM named ocmdb12c with the following configurations:</font></div> <div> </div> <div> </div> <div></div> <table class="tr-caption-container" style="float: left; text-align: left; margin-right: 1em" cellspacing="0" cellpadding="0"> <tbody> <tr> <td style="text-align: center"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhg_FftEcxCu9wiTSLsfqx80zXiVMjEs7Di-eKYUMCdks2JloAaQl6hMN07oIuV01F1KWqHp9JhLj1Z_J1SdkIkGAZzekkOtcDXlEiH994jmypk8iJ-q2yY_tFzKkletaottWtHMeoGRwVj/s1600-h/ocmdb12c%252520VM%252520Properties%25255B7%25255D.png"><img title="ocmdb12c VM Properties" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="ocmdb12c VM Properties" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj45lVuMNoLvRgL-pYMwvSR8XIXVdYIi5tm2bEM3UJEYVl-cAAhzUCoQB8ovBJNf91qkuJAPQy6Di0QRpLta_by0Pz7BiYESS4MNtNtu27O-HFcbAJEiriKuQDkQWWGmC4xR-4eBy_gzQcc/?imgmax=800" width="631" height="726"></a></td></tr> <tr> <td class="tr-caption" style="text-align: center">Oracle VM VirtualBox ocmdb12c Properties</td></tr></tbody></table> <div> </div> <div> </div> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <div> </div> <h3></h3> <div> </div> <div> </div> <h3></h3> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <h3></h3> <h3></h3> <h3></h3> <h3></h3> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <div> </div> <h3></h3> <div> </div> <h3><br></h3> <div> </div> <div><br clear="all"><font size="2">The initial idea was not to detail the Virtual Machine creation as there are plenty of great materials on the internet. However, for being thorough, I the next steps will detail both the creation of the Virtual Machine as well as the Oracle Linux 6.5 installation.</font></div> <div><font size="2"></font> </div> <div><font size="2">Once you have Oracle Virtual Box installed and opened, click on create a new Virtual Machine or through the Menu Machine>New:</font></div> <div> </div> <div> </div> <div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCXX-PHy_59LlOviyBbrA6Okhmnfjhi0rbh8kywkjq8jrzYGqnvaa4kGquZRxbOf-_8Pcx5ALbGeY1isWXoBJ4klYl674VPA_EvsGaVUeaouZPKj0Kb5qqXIKQlIkxq3aQEmMsSjR2FpI1/s1600-h/Create%252520VM%252520Machine%252520New%25255B4%25255D.png"><img title="Create VM Machine New" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM Machine New" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLLTaQg8Q9ml35iBBNxNcUrzlhn3E7syOqMYF30oWDo3xXc5LASKUSoQ9AACpMk0pgUcodGRvLEcnB-Sq0aAMiv5mYEwLGTvPAHx71bB7nZZULfJakttRzcrv_82sn5MYrKe8zZw2s_KOo/?imgmax=800" width="244" height="67"></a></div> <div> </div> <div><a href="http://lh3.googleusercontent.com/-zAiA5Shs5Ac/VlxXARzZ5YI/AAAAAAAAAew/-usWHuIJ_jk/s1600-h/Create%252520VM%252520Machine%252520New%252520nome%25255B3%25255D.png"><img title="Create VM Machine New nome" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM Machine New nome" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilyU_m6KbbAebn4uAzlnhuyhjn94RlXWN8L-qphOJGMPD-LHaSZ-V0l65B2yNufhBqP49eROBGcY8LaVmVxn2AfCky3WJPp78xMw7Iqz1xBoAXvuwj9WVbFbs2BGFIFcFFj0cY_qmIy48O/?imgmax=800" width="439" height="384"></a></div> <div><font size="2">As for the memory allocation, I suggest a minimum of 4GB:</font></div> <div> </div> <div><a href="http://lh3.googleusercontent.com/-a0RADkB-Stc/Vlxp2RTRJ6I/AAAAAAAAAfQ/esIZ9VK_EhI/s1600-h/Create%252520VM%252520Machine%252520Memory%252520Size%25255B4%25255D.png"><img title="Create VM Machine Memory Size" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM Machine Memory Size" src="http://lh3.googleusercontent.com/-tMa9Jp3Ymds/Vlxp2y3eH7I/AAAAAAAAAfU/UWcKZMJsrFA/Create%252520VM%252520Machine%252520Memory%252520Size_thumb%25255B2%25255D.png?imgmax=800" width="440" height="383"></a></div> <div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8hDpi845XeFl1NJ-6Nh4CML0D800Xc_8UzUf_cMqUXavP5OH14B1H1cP2Y8p1feRREN9ckfGfZZgq4jUVmjIBvN9XA480BqfDy6vD6csDqEKxtHcN0LmKofwHFeqehxcV5AnmHk3iv8Ii/s1600-h/ASMCA%252520Disk%252520Groups%252520Hard%252520Disk%25255B3%25255D.png"><img title="ASMCA Disk Groups Hard Disk" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="ASMCA Disk Groups Hard Disk" src="http://lh3.googleusercontent.com/-9xX-Ui-_NXs/Vlxp4M82D0I/AAAAAAAAAfk/kLp9AqlEv1w/ASMCA%252520Disk%252520Groups%252520Hard%252520Disk_thumb%25255B1%25255D.png?imgmax=800" width="441" height="386"></a></div> <h3><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsbiOP2u4qMMgT78NI9loZUH3EwHQZG9yDaJCcJ_49uV_O5SLe2i3mzWLUaWKvTp_gzph2SWRbLZNcESfmDUcBFGZ7Hxpdy6oYPaM_wCuJrkq3RXifUCimC5vHy-lsjqoz8GXeqZeOKwY5/s1600-h/Create%252520VM%252520Machine%252520new%252520Harddisk%25255B3%25255D.png"><img title="Create VM Machine new Harddisk" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM Machine new Harddisk" src="http://lh3.googleusercontent.com/-PP9ryj-pgBg/Vlxp40iWxpI/AAAAAAAAAf0/fuYM4SCBXb4/Create%252520VM%252520Machine%252520new%252520Harddisk_thumb%25255B1%25255D.png?imgmax=800" width="502" height="424"></a></h3> <h3><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgneFce-R0lXbmj1jSpup2DXMTKKoFMSccuNBbSsNek3-vxHVozC0abs-OwE2gl9h177N-ZcwW2LMb8NRZ-U2a-G_qjt1zrn_zfvwJ5vsKWE-mu2lJTxjHsGG7l8AGCgb1tvMN7RgHL7vLF/s1600-h/Create%252520VM%252520Machine%252520new%252520Harddisk%2525202%25255B3%25255D.png"><img title="Create VM Machine new Harddisk 2" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM Machine new Harddisk 2" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQgM_H3CYHXfsJR1pRk2dlqQqKTiAOBwZJRNk4j3O2KWRc6tAw6zUY7GtOY0e_ZgEdCJR9F4xuqt-czwEKFUBX3YmHrXi-WTPDofzxRyzCPlScGnrU2kGZBbx078cih8fVeY9drMD7dxJ-/?imgmax=800" width="504" height="424"></a></h3> <p><font size="2">Select a size for the first Virtual Hard Disk. Since this will be the disk where the OS and all binaries will be located, I recommend a minimum of 30GB. </font></p> <p><font size="2">Also, it is important to have some extra free space as we move will stage some installation software onto disk during both Grid Infrastructure and Database installation.</font></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIKt_lzXjLbqVxfWkwgYvyZQ_T55UNtnEDzGZSIsSftsJHyXQjkD1Bnb54oNUbH3DZSOx4NkpIzxZoEw-GtG0wjZdB2L9R6uW9F_iA0xptJLak9EWttsmYl1OE1UYt7ui0gXXF7ikg67jx/s1600-h/Create%252520VM%252520Machine%252520new%252520Harddisk%252520-%252520Select%252520Size%25255B3%25255D.png"><img title="Create VM Machine new Harddisk - Select Size" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM Machine new Harddisk - Select Size" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJuYCihzloHn4Rv_qxhBR73_WpBRmkcR3-z55XAUsv3On-tNi7cbLewBgZhLJj_incc6DbdMLzjSCAQJofWVQYBTUUR18KwZKx6TEJe2C5WdBP7xkGOZtJV4ZVX64LUZHIt65xf3xQ2IAM/?imgmax=800" width="505" height="426"></a></p> <p><font size="2">Once you click Create, the virtual machine will be created and added to the list of Virtual Machines.</font></p> <h3>Virtual Machine Settings</h3> <p><font size="2">So right-click on the newly created Virtual Machine to bring up all the properties:</font></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0TIotTkX6NC9R02Z18sCgiKbCws97YuhLa3lffrWe_IsyiJQXTEVYyWMJ6gQA_QSSZVFOS5kedCWUKAj6_QSpRDWw7ImUKY8SGFoZvekb-xhQCdyq08y7-NDWzJXgCFdp73hz8Pf6sIVx/s1600-h/Create%252520VM%252520properties%25255B3%25255D.png"><img title="Create VM properties" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM properties" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLe8W7cxikkD1lxKWmQnK4XGd3lu32n0g8Lj8gojQ8fpl4ImC81qTn7BU_Apr27XFSZIfDQkls2Ie5EoqOiZNqLadm3vNVqKXPgEOlqcdWqt8MM4E710OBjYILI59Vzwa6wytWSpAgtQ1F/?imgmax=800" width="422" height="426"></a></p> <p><font size="2">This will bring a new window which will allow us to tailor the Virtual Machine to our needs.</font></p> <p><font size="2">You can optionally set Shared Clipboard to bidirectional so copying and pasting between host and VM becomes easier</font></p> <p><a href="http://lh3.googleusercontent.com/-ueBOXp6oouA/Vlxp8avY9uI/AAAAAAAAAgs/_33zXLxywWw/s1600-h/Create%252520VM%252520Setting%252520Shared%252520Clipboard%25255B3%25255D.png"><img title="Create VM Setting Shared Clipboard" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM Setting Shared Clipboard" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYr_HjdKv5fv28E9zro8XyMBS-yWbmwa4RQJc3TBcHYtTHPfdezd8tnP60S8FcK4_D3vWYIjLNFvAsfBMD2t_ofWo2L3skjzgEmyxdFQHHxGYXXxN5XnhbKBKEmjGIifWzXkhpO0V0Abaf/?imgmax=800" width="669" height="438"></a></p> <p><font size="2">Then, move to storage as most of the changes will be made here:</font></p> <h3>Storage Configuration</h3> <p><a href="http://lh3.googleusercontent.com/-tVev2AN7urU/Vlxp9dze7bI/AAAAAAAAAg8/1yiHqN0gYfI/s1600-h/Create%252520VM%252520Configuring%252520Storage%2525201%25255B3%25255D.png"><img title="Create VM Configuring Storage 1" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM Configuring Storage 1" src="http://lh3.googleusercontent.com/-jIknu22-REY/Vlxp96-ZmfI/AAAAAAAAAhE/tUKtu92kZ5g/Create%252520VM%252520Configuring%252520Storage%2525201_thumb%25255B1%25255D.png?imgmax=800" width="669" height="438"></a></p> <p><font size="2">We can see that we already have one hard disk which was added during the VM creation. We will now add two extra Virtual Disks that will serve as a Oracle ASM disks.</font></p> <p><font size="2">Highlight the SATA controler and click on the Add hard disk push button that is displayed on the right side when you highlight the Sata controler.</font></p> <p><font size="2">The first disk we will add will be the Oracle ASM disk for the +DATA Disk Group.</font></p> <h2>Adding Additional Disks</h2> <h2>Step 1</h2> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvt7Gs-6FBwbsvZAsQmFl0jHvPPAlD22HskrPzpUDyyM-VPSwvImkVDgZr5OOnBmibjS8unoaA2DXbRedtJJMs_DuawRqUiIUKGAlkp3ZUrrXitujResUGNJJsABzNkQC6_nDEb_w-UpWf/s1600-h/Create%252520VM%252520Add%252520Hard%252520Disk%252520Push%252520Button%25255B3%25255D.png"><img title="Create VM Add Hard Disk Push Button" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM Add Hard Disk Push Button" src="http://lh3.googleusercontent.com/-miztRc4o7Sw/Vlxp--_TweI/AAAAAAAAAhU/1dtXGVvyiCI/Create%252520VM%252520Add%252520Hard%252520Disk%252520Push%252520Button_thumb%25255B1%25255D.png?imgmax=800" width="669" height="438"></a></p> <h3><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkx3TBfYjrwrkb2e53anLgk9yVUZegUvmXj2b5iO8XvvnWhV-q3VcyhSUnYnnSNXnV2dvqhpWgxXVnk-TQcBN9zwM2i5C3NjYJNzsDILgb_IrzsDv-Kp6RkTSJuZrM_Nr373EEXzBSd8hZ/s1600-h/Create%252520VM%252520Create%252520New%252520Disk%25255B4%25255D.png"><img title="Create VM Create New Disk" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM Create New Disk" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsEpm5moIpIbT2ji9jGrOzWl6EzClFJfpnEz4Py9QrJXi9fKFyeKtFiS3UNMqb7ihA61MDt0yK18fGx9P0TPA4drVHZ1ZnvU1uPuHyX1Bia_5gRrWY6UD-C6rSZJXcnUsDWJ-W72G3eUd5/?imgmax=800" width="319" height="174"></a></h3> <h2>Step 2</h2> <p><font size="2">Click on Create new Disk.</font></p> <p><a href="http://lh3.googleusercontent.com/-tGKvrKx6VPA/VlxqAIJ34JI/AAAAAAAAAhs/OYPCaAYC0NM/s1600-h/Create%252520VM%252520Machine%252520new%252520Harddisk%25255B7%25255D.png"><img title="Create VM Machine new Harddisk" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM Machine new Harddisk" src="http://lh3.googleusercontent.com/-lgru1Pk169c/VlxqAvxVLWI/AAAAAAAAAh0/fVPo0HjYPNg/Create%252520VM%252520Machine%252520new%252520Harddisk_thumb%25255B2%25255D.png?imgmax=800" width="502" height="424"></a></p> <h2>Step 3</h2> <p><font size="2">For the ASM disks, I have selected Fixed Size:</font></p> <p><a href="http://lh3.googleusercontent.com/-Rwf8y__2g4g/VlxqCJLVigI/AAAAAAAAAiA/HujoKkmnflk/s1600-h/Create%252520VM%252520Create%252520New%252520Disk%252520Storage%252520Allocation%252520Type%25255B3%25255D.png"><img title="Create VM Create New Disk Storage Allocation Type" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM Create New Disk Storage Allocation Type" src="http://lh3.googleusercontent.com/-djYtgoAN7LI/VlxqCdiqB-I/AAAAAAAAAiE/Zu-c-4P3JWY/Create%252520VM%252520Create%252520New%252520Disk%252520Storage%252520Allocation%252520Type_thumb%25255B1%25255D.png?imgmax=800" width="507" height="428"></a></p> <h2>Step 4</h2> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN33kkOuNLTaNxEzlIjJblX9QWhWLYwe-TywRMd65ru6TKLf-CSyAgGro5f6W_p9tDuzjo99LSMB2nv-DMEhyphenhyphenMeOkmFMke8zxCdgdqGQ4dYofCdiYANHP5qjXFiKGHVhLPcdk9kOf7K18A/s1600-h/Create%252520VM%252520Add%252520Hard%252520Hard%252520Disk%252520ASM%252520Data%252520Location%252520and%252520Size%25255B3%25255D.png"><img title="Create VM Add Hard Hard Disk ASM Data Location and Size" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM Add Hard Hard Disk ASM Data Location and Size" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSR0oNyGRPbsWtlJp01TimfBuJb6LbgUUKEhMWeTJJPrjXM7LqirUO-cZV0Qp6-eQiJVj5baYABJM6d4FBxfInP1RxmCRl7KStVIT70zkx3lK4-EX2NFg9Fxi53AgSVufgwNuaPR6HkXUD/?imgmax=800" width="507" height="428"></a></p> <p><font size="2">For better performance, my suggestion is that you place the ASM disks on a different hard drive that is attached to the host computer. </font></p> <p><font size="2">For instance, I am creating a new Virtual Disk and placing it on an Lacie 3GB external hard drive that is connected to the host computer via USB3.</font></p> <p><font size="2">Add another disk that will serve as the Oracle ASM disk for the Fast Recovery Area Disk Group. To do this, just repeat steps from here Step 1 to Step 4.</font></p> <p><a href="http://lh3.googleusercontent.com/-9ez98DmRM8U/VlxynNUQYyI/AAAAAAAAAis/szALtnXUGH4/s1600-h/Create%252520VM%252520Add%252520Hard%252520Disk%252520ASM%252520FRA%25255B3%25255D.png"><img title="Create VM Add Hard Disk ASM FRA" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM Add Hard Disk ASM FRA" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-aqCulr3SUosXEX6oW5Bs-7Cx8-dmCdP9kfvTfCUYp3s9l5hs00oSuo-asaXYsiflIu7Hwery6yiZ2mJPe02_CV3i_mIKOsZ_XjFofGTImunqgWD1fRoR4ki_nMfdhKSRnkZsQrusEGv1/?imgmax=800" width="669" height="438"></a></p> <p><font size="2">We must know add a DVD image to the DVD drive so that we can boot from the DVD drive and start the Oracle Linux installation process:</font></p> <p><a href="http://lh3.googleusercontent.com/-QyAzGNXubCM/VlxyoJFzuNI/AAAAAAAAAi4/NnzCcWdgLDk/s1600-h/Create%252520VM%252520add%252520Oracle%252520Linux%2525206.5%252520ISO%252520to%252520DVD%252520drive%25255B3%25255D.png"><img title="Create VM add Oracle Linux 6.5 ISO to DVD drive" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM add Oracle Linux 6.5 ISO to DVD drive" src="http://lh3.googleusercontent.com/-fBE6Cr-HePs/VlxyomsyuWI/AAAAAAAAAjA/SNHep_dtsq0/Create%252520VM%252520add%252520Oracle%252520Linux%2525206.5%252520ISO%252520to%252520DVD%252520drive_thumb%25255B1%25255D.png?imgmax=800" width="669" height="438"></a></p> <p><font size="2">Highlight the little CD entry under the IDE Controller where it says “Empty” and click on the CD icon located on the right panel under Attributes:</font></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjalyiBstTDKa2Uh9Ymx4GX1zqp07JYUvbKESVK1JIhyICtjkwiKMva-CknDTDS0tHpMNC9eFk2BwlaeRWhpbqK60JHPp4JgSPJZEnVSqgWQ2X_NE21yDINZVuufHTJ2C3jMeSGoYXdXIbv/s1600-h/Create%252520VM%252520Add%252520ISO%252520image%252520Choose%252520ISO%252520image%25255B6%25255D.png"><img title="Create VM Add ISO image Choose ISO image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM Add ISO image Choose ISO image" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-DHiii7rbQ5AUl6dfrN6OGRWtgmBWHGlW0vRjWfGVt1qJxhqyQDhgrAddzUa0lhLUwFI9yRTTap4jW9FWTrspi6aXYfKVOwSSsFxBAG1PLjTb2ykOHBuZOOyTI7e-KMaTxThgsBtUdP2R/?imgmax=800" width="796" height="287"></a></p> <p><font size="2">Locate the Oracle Linux 6.5 Installation image you have downloaded on the first post of this series.</font></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiadcspeC7siJcZ3p0-bCY-VsVNOTmVjdWMXyBO4MthR0lU4OZm5oM1fj8aTLdsPby9GoH5uEPwBo3H5XFG_dnrragseNJ1C8pnS_noOrxJ84NfS9Nb3OEpICrN9Cr-PFoKRfmjpJcQIfR9/s1600-h/Create%252520VM%252520ISO%252520DVD%252520Image%252520Added%25255B3%25255D.png"><img title="Create VM ISO DVD Image Added" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM ISO DVD Image Added" src="http://lh3.googleusercontent.com/-AShz_y0jpLc/VlxyqnXXuMI/AAAAAAAAAjg/zSV4fXvUxFQ/Create%252520VM%252520ISO%252520DVD%252520Image%252520Added_thumb%25255B1%25255D.png?imgmax=800" width="669" height="438"></a></p> <h3>Network Configuration</h3> <p><font size="2">For the sake of simplicity, we will be creating one Network adaptor and setting it as Host-only Adapter. If you want your guest VM to have access to the internet, you can either choose NAT or Bridged.</font></p> <h3>Shared Folders</h3> <p><font size="2">As for the extra software that we will need to install on this VM, I have mounted a shared folder using the Oracle VM Virtualbox:</font><br><br><a href="http://lh3.googleusercontent.com/-kpPt5Hwk1PY/VlyKlEsEWzI/AAAAAAAAAj4/Y7Rn6w3Boeo/s1600-h/Create%252520VM%252520Configure%252520Shared%252520Folders%252520Auto-mount%25255B3%25255D.png"><img title="Create VM Configure Shared Folders Auto-mount" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Create VM Configure Shared Folders Auto-mount" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYEyCBc_E-qdr6mZVVuYijaTI8w9ZbnJvMNuw80uibI-ku0gwzrSC3kPNi82DpyRIALqr0UKabj-WYWg4LRT_feG4PFGMBOYin0OTVgf5Z0FIc3JShs9W6L4dXkYaSWgn7OcOri1bTsy2f/?imgmax=800" width="312" height="227"></a></p> <p><font size="2">When adding a Shared Folder, choose Auto-mount.</font><br><a style="margin-bottom: 1em; float: left; clear: left; margin-right: 1em" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_kdCjot2lS9Cr2sn0DH3EqIOCeYNGhmmL_-Gz9UXJsaGZ89cCn6Qv3hj1-b4kbl81Eb-ZZPOf6E4ccAIVSma2O5eOAVWEtbv8FBvra8DoLwmhtXQ6NAgfSJIIEZ0qYyzyVuYytY3ZFwDj/s1600/ocmdb12c+shared+folders.PNG" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_kdCjot2lS9Cr2sn0DH3EqIOCeYNGhmmL_-Gz9UXJsaGZ89cCn6Qv3hj1-b4kbl81Eb-ZZPOf6E4ccAIVSma2O5eOAVWEtbv8FBvra8DoLwmhtXQ6NAgfSJIIEZ0qYyzyVuYytY3ZFwDj/s1600/ocmdb12c+shared+folders.PNG"></a></p> <p><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> </p> <p><br clear="all"><font size="2">So, once you have added the VirtalBox Guest Additions to your VM, you will be able to access this shared folders under the <span style="font-family: "courier new" , "courier" , monospace">/media</span> mount point. I find that doing this makes my life a lot easier as all the Oracle Software we downloaded is staged in a sub-folder located under the shared folder.</font><br><br></p> <h3>Oracle Linux Release 6.5 Installation</h3> <p><br><font size="2">As for the Oracle Linux Release 6.5 64 bit installation, I recommend following the following </font><a href="https://docs.oracle.com/cd/E17390_01/doc.650/e17370/osinstallation.htm" target="_blank"><font size="2">Installation Guide</font></a><font size="2">.<br>I also find </font><a href="https://oracle-base.com/articles/linux/oracle-linux-6-installation" target="_blank"><font size="2">Tim Hall's post on Oracle Linux 6 Installation</font></a><font size="2"> very useful.</font><br></p> <p><font size="2">I will guide you through the a basic installation in this post.</font></p> <h3></h3> <h3>Starting the Oracle VM</h3> <p><font size="2">In the previous step, we have added an Oracle Linux 6.5 DVD image to the virtual DVD drive. </font></p> <p><font size="2">We can now start the VM so that it will boot from the DVD drive.</font></p> <p><font size="2">Highlight the VM and click on Start:</font></p> <p><a href="http://lh3.googleusercontent.com/-4vx_gME8F2s/VlyKme8-HiI/AAAAAAAAAkI/YQa2NjQ6GNA/s1600-h/Install%252520OS%252520Screen%2525201%25255B3%25255D.png"><img title="Install OS Screen 1" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdG-t8NEluvYrV70ROB3faWmjV0-g5h8KIVnq1SdYKQQfV4DDbpuL0-JFalqiUgjGrtMiVI23cWjduIKHZBCnwEpzU9ljDr7S7T12EaAJ-lxOzuMNz0B4szdPGq_ReS3PSllRnqo8x1n6_/?imgmax=800" width="658" height="561"></a></p> <p><font size="2">Select Install or Upgrade an Existing System</font></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDKipQqQfb0JnX1ohhKoTYkMqLbIrpI1HGvOSfG5S1knzFE3q7ENpDd-e_b8ggQOxwfgmL4t24nvctVphNp0OW0tOdMxRVI0TsHYYnOcABv6lnZlItpqJ9aVWlCqCpGjqMtBtlNDdO5r7M/s1600-h/Install%252520OS%252520Screen%2525202%25255B3%25255D.png"><img title="Install OS Screen 2" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 2" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEim4Sla7AmQvcFLgYrrWDuloRC_2Xn9ZzolgkYYVE3t2zHm6fJEDaGI-QmMF9VnCiuYtm7gxyACdEUwzjdM9Iz1p7opb-mc78bWQMx6ARfYOVkbmQcb-cNGH8xzt_gnDIHjCmIFDwasCF_p/?imgmax=800" width="724" height="404"></a></p> <p><font size="2">You may choose to test the media. I am skipping this test.</font></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivmu8Vj5j3BbEtewqT06TVKthul48pBB72WqpTmNDMrafWYl4c52T-snlx5Zw3IIuvNLgUxLNhQUdL2Q1d32D62rgcaV7f2F_qNN5KfuRgPj3DQw1UhGDeQQv9b5oo7OxyAvbF0g8I64AQ/s1600-h/Install%252520OS%252520Screen%2525203%25255B4%25255D.png"><img title="Install OS Screen 3" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 3" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjN40BrHsxiSjz07axu5rpHjkGdpySBO0tedDV-PrciP1bNesLPqOZ4h_KFwMB6wsNip-QO6nqtPMJZPZjvDWa66F3-gMshA1CQbQQAnQQGE5zfvkW5kArkdTZVnhGnDySf1CiQCbMjUS7A/?imgmax=800" width="644" height="484"></a></p> <p><font size="2">Click Next</font></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTrCLf_tweQmZhpNk7ZFnJa-SZD54SMsQmpA4tXFBdKUyw-ILSOt5q7ETGohgSRRlmwBYEzi0EF4vUww6ArfrUK-aZ84d-YHwrn97UcSN4JOJMYm2G53YiMIHnqQitULCcscRWVR2r94c8/s1600-h/Install%252520OS%252520Screen%2525204%25255B3%25255D.png"><img title="Install OS Screen 4" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 4" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkdAafVMKR00i7lhAHmgBR_ShKcBmWwg_3k0hHCsH5m8zC_lZoEiXTfTMjpjIuMdZf7NxPM1uuH8Oo4iOdQYWyZ5uu-XRV0sHSkPDfZHIhvBq-5VNg3IFFoNsKGGJDTpKOXuiu_ptwPneD/?imgmax=800" width="644" height="484"></a></p> <p><font size="2">Select the Language you want to use for the installation process and click Next.</font></p> <p><a href="http://lh3.googleusercontent.com/-wBeK8RUujmU/VlyKuWf5jXI/AAAAAAAAAlE/35TBkr29Rns/s1600-h/Install%252520OS%252520Screen%2525205%25255B5%25255D.png"><img title="Install OS Screen 5" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 5" src="http://lh3.googleusercontent.com/-aO2m6iv62Zs/VlyKuy1iPzI/AAAAAAAAAlM/4qF7evLXNUs/Install%252520OS%252520Screen%2525205_thumb%25255B3%25255D.png?imgmax=800" width="644" height="484"></a></p> <p><a href="http://lh3.googleusercontent.com/-hM5n5iezlFc/VlyKvR6298I/AAAAAAAAAlY/1607PIKdoBA/s1600-h/Install%252520OS%252520Screen%2525206%25255B3%25255D.png"><img title="Install OS Screen 6" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 6" src="http://lh3.googleusercontent.com/-viBR2vr2Pt8/VlyKwPYDdRI/AAAAAAAAAlg/kz64C45fm7g/Install%252520OS%252520Screen%2525206_thumb%25255B1%25255D.png?imgmax=800" width="644" height="484"></a></p> <p><a href="http://lh3.googleusercontent.com/-UyQKNihDeeg/VlyKw-sEPdI/AAAAAAAAAlo/jofEJrLksJQ/s1600-h/Install%252520OS%252520Screen%2525207%25255B3%25255D.png"><img title="Install OS Screen 7" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 7" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg035nDcGd8Kbt76-QOoczBBOE9Ra8eztDUn8j0wYQFGENaiig-_IhNbyVfoQv_Bpeue4_o9yoVqhIThthacNcne81KQ96lv42E_SYpN7gUczOsJZ7hfFfJknQxe7wLDXTBiPhFEYHGDBAK/?imgmax=800" width="644" height="484"></a></p> <p><font size="2">Choose discard any data.</font></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwTy5zfxzbnkytjwD-4T03PfDDOF_PHPyeR8WXbDk01-kLhGf4iPyfqobbJNBXVhjsj3WuXu5OzUR1Ge1OUyyJHWMsxBgVEWauemrLGRfF5WVcMHJWfC23KhWBOZRhxsXy6K4Usr3fOG6F/s1600-h/Install%252520OS%252520Screen%2525208%25255B3%25255D.png"><img title="Install OS Screen 8" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 8" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv-4PDWuhuW9HJzO1v-uKbHzlwDVjEieZCFlISmpflVj-UkkqesnQxyKDU552Y8O_wZ7mCqPkrlAWD4HDFu6XS5AAosNKwAGJ3199YKT5sQsOua0GRXVjaJXH6iHA926WzODT6mjAbptwc/?imgmax=800" width="644" height="484"></a></p> <p><font size="2">Enter a hostname for your new virtual server. I have named the server <font face="Courier New">ocmdb12c </font>and added my laptop model as a domain – <font face="Courier New">xps15z.com.</font></font></p> <p><font size="2">Whilst on this step, click on Configure Network.</font></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfv4ZXH_GJdovleGtll1-xlAQ1d4VdFFTYvSonub4aKoIWPnj5BTdbTFn59r5hfK2TD4ghJWv5ftuGBJ_hfWdqEhOPLXma3TugxYA_bqmEz0UfmpruSME6aNEmndMyuN7Va_wkb77E9XZL/s1600-h/Install%252520OS%252520Screen%2525209%25255B3%25255D.png"><img title="Install OS Screen 9" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 9" src="http://lh3.googleusercontent.com/-1FN-snk05xU/VlyKzZAsvvI/AAAAAAAAAmM/lO613CC-22g/Install%252520OS%252520Screen%2525209_thumb%25255B1%25255D.png?imgmax=800" width="644" height="484"></a></p> <p><font size="2">Choose the only Network Adapter available, in this case eth0. There could be more network adapters if you had added more NICs when setting up the Virtual Machine.</font></p> <p><font size="2">Once you have highlighted the network adapter, click on edit.</font></p> <p><a href="http://lh3.googleusercontent.com/-Ags7E4-ijCQ/VlyKz9rDfmI/AAAAAAAAAmU/idVrsM47Vy0/s1600-h/Install%252520OS%252520Screen%25252010%25255B3%25255D.png"><img title="Install OS Screen 10" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 10" src="http://lh3.googleusercontent.com/-IkCeR6QDXIA/VlyK0bwjEsI/AAAAAAAAAmc/5HlGIKgjUM8/Install%252520OS%252520Screen%25252010_thumb%25255B1%25255D.png?imgmax=800" width="644" height="484"></a></p> <p><font size="2">Check the Connect automatically option and set a manual IP address under the IPv4 tab.</font></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNEO_WS4bq5OprCNIA8Zuihasc-TRksfKCcfI1IAR6eEnAK_owxYbGerjh-xYPhr3VpGDs_fIE9QdA_M_PoTeawkfx-Fdb9qfVkYudGb9rV1rIDRUyBwBlt-Br3YxjrFlNdT2Wq6JNARs4/s1600-h/Install%252520OS%252520Screen%25252011%25255B3%25255D.png"><img title="Install OS Screen 11" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 11" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5_bbBOKvPaiHPmbYLU6wihXn0re71IpQ6qIk9OkTCcECK4zfJlP-z4IVXm7wyfuiMGIfMA5_SJgLdQQ60a9RemArsjADmu4ICbr5hrWKXSIx_27S_2oc91IwvWtkyIGnHGBeWwBKE01rX/?imgmax=800" width="644" height="484"></a></p> <p><font size="2">Select Method Manual and click on Add to add a fixed IP address.</font></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgmWzYph3z29bvDehr0HQpArcWcvOt8_9NTdpwwsGVqIaBmNuR2AglQE458FXvRbtbc9QwJwOjaAG5YwD_S8GDlJ_Dk78DQymZQQo1BQcKSNAeho88pu3cQAxQJWY2ywaM1MnwJh-i7mdo/s1600-h/Install%252520OS%252520Screen%25252012%25255B3%25255D.png"><img title="Install OS Screen 12" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 12" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhauSmhx27bqX9tPKyv8B3m4dM7DLF3aShlL83Z4H57iJRoT3x80iegDgIyw8deBPaYfZW3JxWSZ8tl58inWhzJa_P_blnuadqgWT9A8uC6N-rKRUnMqWQcbpMYw0cEQINNxh1bYn-fCIJ1/?imgmax=800" width="644" height="484"></a></p> <p><font size="2">Type in an IP address and the Netmask.</font></p> <p><font size="2">Since my virtual machine won’t have access to the external world – only to other VMs in the same subnet, I am entering neither the Gateway nor the DNS. For the VM-to-VM communication, the name resolution will happen through the <font face="Courier New">/etc/hosts</font> file for simplicity.</font></p> <p><font size="2">Click Apply. Once you click apply, you are directed back to the initial Network Configuration screen. Click on Close.</font></p> <p><a href="http://lh3.googleusercontent.com/-s9tCJ_3Slps/VlyK3QpXY7I/AAAAAAAAAnE/VXrgrIwkFsU/s1600-h/Install%252520OS%252520Screen%25252013%25255B3%25255D.png"><img title="Install OS Screen 13" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 13" src="http://lh3.googleusercontent.com/-vxql1CWFxBY/VlyK4D7LZzI/AAAAAAAAAnM/Qp_8aqNzz78/Install%252520OS%252520Screen%25252013_thumb%25255B1%25255D.png?imgmax=800" width="644" height="484"></a></p> <p><font size="2">Choose your time zone. I am selecting Europe/London because I am a little attached to it.</font> <img class="wlEmoticon wlEmoticon-smile" style="border-top-style: none; border-bottom-style: none; border-right-style: none; border-left-style: none" alt="Smile" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbV4zgNgBbbFXnZFMEJBYVuc6JIPs4ziyXc9Z6R9VtYklVTtfsZi0UaA0d0Mxdjnmz7zqfOXOxz5N5eQLWebyHrs1deNF6Yll8zRFs6MACnCcvdReRpuoBJotMLr1IxP22_Sqmn7SkKXuE/?imgmax=800"></p> <p><a href="http://lh3.googleusercontent.com/-fc6aZvZ6pFY/VlyK4x1mu6I/AAAAAAAAAng/4RfxOlfiYIY/s1600-h/Install%252520OS%252520Screen%25252014%25255B3%25255D.png"><img title="Install OS Screen 14" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 14" src="http://lh3.googleusercontent.com/-sToM9HfWvxg/VlyK5VUMbbI/AAAAAAAAAno/ujZex6-PM4M/Install%252520OS%252520Screen%25252014_thumb%25255B1%25255D.png?imgmax=800" width="644" height="484"></a></p> <p><font size="2">Enter a root password and confirm it. You may receive a warning saying that your password is not strong enough. You may choose to ignore it since this is just a study lab.</font></p> <p><a href="http://lh3.googleusercontent.com/-p--FVqFjvyc/VlyK6CJ9mPI/AAAAAAAAAnw/5sSUzusZZaY/s1600-h/Install%252520OS%252520Screen%25252015%25255B7%25255D.png"><img title="Install OS Screen 15" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 15" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitS9lOAx8Sth5ic18CrrsfrDqhVFu43UGdZxmmJQNteX1ly1rdbThr1RZvcKOa0O41fcZ7qT8vAx6F_e6v7t_K-Ux-u3kCevBEE1ZaLHDpXMtW217Moaw9bbBx5ZB_SvoPswJ71Dr-Bla_/?imgmax=800" width="644" height="484"></a></p> <p><font size="2">Under Installation type, Select Use All Space and check the option Review and modify partitioning layout.</font></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJyGDjy6CXFVWfWhJYRHkwYyTtrPojl5TMrsWkH04dVHtg5pB7DyXx-5uSL1oG99mRKa7_KYCvlvVA1t1dGFzGSscqu_t-4_5EXgSdEtjHrpKXnolSS0PjW287PxHpcdhWJ5ZRHnWe0Blc/s1600-h/Install%252520OS%252520Screen%25252016%25255B3%25255D.png"><img title="Install OS Screen 16" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 16" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkpO2y5ypwupzfbx7Oi-ONAEmgh2UDb-BcFwUNJdbJ5Wv0GR2E7RIMsG6WcRCPCHBgvGSwoE0OsSqxUhQ2rEIoNUbdyfpQlcY67e8fK85YVgYawNYByCFxvt_GjsQFGGjjE0LDpnCa6MQX/?imgmax=800" width="644" height="484"></a></p> <p><font size="2">On the above screen, add only the first device, the one with 20GB or 30GB depending on what size you gave to this virtual disk.</font></p> <p><font size="2">To add, highlight it and click on the arrow pointing to the right, making sure that this Data Storage Device is also marked as having the bootloader installed.</font></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWbCejyd8iBCDEOFj0Y-kJJU1wpG_VukX998gtokXftvY0ZwWXWRR-scUYUaR04Sq251gQaI4ieC9KagbEhahNJk24ZHbwRVgq6wE1apK-18LwPvQynCekgHkH2Z0qjpZBYylB3Zbx6VwP/s1600-h/Install%252520OS%252520Screen%25252017%25255B3%25255D.png"><img title="Install OS Screen 17" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 17" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEJQ_SSEhgOhtzdvlWNiddo57hc9CncnUe_01St6OmBx_pL3F1J9h_SJMQRQq5n858TjGM_ZQJFuPa8rI8IQi5iBjiusbN7QdQqkZSjYemRqU3onjOPqP0MpRcqEDsq4yBsCxls3fNLQG6/?imgmax=800" width="644" height="484"></a></p> <p><a href="http://lh3.googleusercontent.com/-fs44J7DRLMo/VlydlQIzQxI/AAAAAAAAAp8/cr-4l4IonQU/s1600-h/Install%252520OS%252520Screen%25252018%25255B7%25255D.png"><img title="Install OS Screen 18" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 18" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio5OnV8TBeTyBulCOVyr7UNyum04hSOLoZ10cR9aYsWGJERheOQIcDU_XKh2QHS_jJZlu215p3jB5RrNaORao39rUZS55NltJ5D2czH_NoXMotYuYJqURdqtKPwaX7qTl4dIq3uYqoUwG1/?imgmax=800" width="644" height="484"></a></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuc2QJmr3wxQf9wSzafHrvX_crybmmVluo2QA__s6jLMY7XNjNB0ZaFzLqBYG9Z8-BEvlzgZt5npHemU3YXQbQujoYiuaIrrgj4Ow-dDATnD6EOqyUcFHKi_mE9Wp_-cHJBxfcnADVccxG/s1600-h/Install%252520OS%252520Screen%25252020%25255B11%25255D.png"><img title="Install OS Screen 20" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 20" src="http://lh3.googleusercontent.com/-ULM2SBhJdAA/VlydnZCHWXI/AAAAAAAAAqQ/ppZ3GiG8Dpg/Install%252520OS%252520Screen%25252020_thumb%25255B5%25255D.png?imgmax=800" width="644" height="484"></a></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX2P1CpHV6vDEh3acFoZUZxlG48BQx8-Sp7X2BvTwmY8I2pKejdFCbrqsOL_3erULR1L-y_XUrohfBJJ3u4x7a5kOE9xh6J-Sv7zpEl14GOJN2c1yvyszbUFuh3Gh7GtCXt8tpNDXcuRIL/s1600-h/Install%252520OS%252520Screen%25252022%25255B7%25255D.png"><img title="Install OS Screen 22" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 22" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHRqtaO8pGeVcAyDgqym1pZY3Oudp1EbB25fEwD7JsCtpu8Kvlpr-yKOSsGpwZFxLgGiR-9sn_g1TvRMLnHGrt88zUSqzzCBmsfnTFwsO6iGye3qDEqZy51go2VNK8UM_uJarkOz8PERrO/?imgmax=800" width="644" height="484"></a></p> <p><a href="http://lh3.googleusercontent.com/-wxhiEDFcfd8/VlydpFq1FdI/AAAAAAAAAqs/N1Kmny95sT8/s1600-h/Install%252520OS%252520Screen%25252021%25255B7%25255D.png"><img title="Install OS Screen 21" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 21" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyNRAfLMoh9zJSolIJ7oh70oGnq9qiPveCSK4y_ZaZInzXd9o-V2Mx2cw9P8OS99ST73wluAPX7M9ZS7Veor4SVDJZo5OV6kJ1a_wOUwcV6c1hngy5T8vNVqACFsBTgIY_E9JPMJecYFVo/?imgmax=800" width="644" height="484"></a></p> <p><a href="http://lh3.googleusercontent.com/-Xz_RCliBDWQ/VlydqQ9RqEI/AAAAAAAAAq4/4kXlI9oqvw0/s1600-h/Install%252520OS%252520Screen%25252022%25255B11%25255D.png"><img title="Install OS Screen 22" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 22" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXPryiJRBUROEoAYlgytasvizFu23tjDoOzZGlmtDANYiy8cdhnj6sMVFJljpYwXGSceqZtryAQwfGKO8tprYPMBAoX51tNuccCKaq9g1PpHtofOOVV6GBbfabeozpWmreRusoNHMqN71h/?imgmax=800" width="644" height="484"></a></p> <p><font size="2">On the above screenshots, I take 2048 Megabytes from the / mount point and give it to the <font face="Courier New">/swap</font> mount point.</font></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDqfmgmadGx3T4-mbgXO0rz4BzdjNgK8xEnr8SbV2KW4VEuskPqUGWAOfr_JvDFt2sXZlUW_2w0JN3FFga7fwXnaPU8W2KYFGdSAKPrssxKxQ3VVPfF8Qt5CJGa80ILGCVMQS4Yv03o1kT/s1600-h/Install%252520OS%252520Screen%25252024%25255B3%25255D.png"><img title="Install OS Screen 24" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQGNyqK5Zvf7splggwSwnPdnXw6p8xRBnEid-n5eu85bRTvQO_Md5C4TbIQ4C4W7P_i-QrQFx8SWmucH8wl5xPg6CJI5ueQsZH_cfh9vofkouFslOBHvt_iSa6ROk8lXRBqP_5u9R5GIm6/?imgmax=800" width="644" height="484"></a></p> <p><font size="2">Confirm the device where the boot loader will be installed then click Next.</font></p> <h3>Software Components</h3> <p> </p> <h3></h3> <h3></h3> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhfYJ9MCVMpr2l7yBkriUjyXz48RHGvkPw3aUXEDARk75GKlffbBU_B05VZDXXHb_td-1JESt7-EwYd8QK49BIBwz0RJ6EgYGOnqAYP5SEHnaeKSQH6DTKV6_oNNdZCRPFU4hQG3YUKmwl/s1600-h/Install%252520OS%252520Screen%25252025%25255B7%25255D.png"><img title="Install OS Screen 25" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 25" src="http://lh3.googleusercontent.com/-f4d2D9_9rv0/Vlydt--5c-I/AAAAAAAAArg/mpcFyCx4qMg/Install%252520OS%252520Screen%25252025_thumb%25255B3%25255D.png?imgmax=800" width="644" height="484"></a></p> <p><font size="2">Select either Basic Server or Database Server. Make sure you leave both Oracle Linux Server and UEK3 kernel repo selected under the “additional repositories”.</font></p> <p><font size="2">Select Customize now and click Next.</font></p> <p><font size="2">On the following screenshots, I will show you the options I selected for this specific installation. You may or may not select the same options.</font> </p> <p><a href="http://lh3.googleusercontent.com/-c925AOjcCXE/Vlyduf5FV8I/AAAAAAAAAro/Tc9YMnDis0c/s1600-h/Install%252520OS%252520Screen%25252026%25255B3%25255D.png"><img title="Install OS Screen 26" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 26" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga-FBGZpLQ_rFR93jOKwRocbYTuFMP2_R6P51K65i_TI_-R49xiE0wmfQ8H-fO0VUDnc7R8a5NZGzLMBjmC87ZgtPkdqw7U0Jm9lg5ObLT20LAIAutCZgHzVt_swnd8184OckhYXybaG23/?imgmax=800" width="644" height="484"></a></p> <p>Base System</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOuNRI1MmOk4tP6_YEnxLHeiY0iinnOmlAUQyeblLjOVXYxJEhguaXHbJ1lvw-79HoGZ9obO7wydt4PpxMV_e5uXOoymVNrgiylVHcwjsUEj1ZhpYqAAd_fz_l3VON1Fr7MbDEc-efK0of/s1600-h/Install%252520OS%252520Screen%25252027%25255B3%25255D.png"><img title="Install OS Screen 27" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 27" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvH9q4bGsOawXKiS8vtvOm4rLktwLqEXRXRrMDWrqlNsIEvD1Tq873iZ5RkZ_upWYo46PZZciOGD_G5naCl0f3-3MtWgQO7jsJ7L3eT7p_4NdR19pXkoLPejJoYp8WM6wp9z8vcs3EiuM2/?imgmax=800" width="644" height="484"></a></p> <p>Servers</p> <p><a href="http://lh3.googleusercontent.com/-TB_-BNpcOCU/Vlydxeege4I/AAAAAAAAAsM/Mz6BbBrJ-3Q/s1600-h/Install%252520OS%252520Screen%25252028%25255B3%25255D.png"><img title="Install OS Screen 28" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 28" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRqqY0tGzTbF152tJlmHGhBznkECM7h8UUO2NtzywK8rrVF3pDZGz7bzHu-afaB5Zv6i76Mf0KbYoio_eIZ3ubJNEMrYWQtHj8X2j84OkLOUm_SPgcIjzTUoPZvR8fMItgQyZA_1Qmp1AO/?imgmax=800" width="644" height="484"></a></p> <p>Web Services</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoRDbAorTZnOMozRyHwiltiom8On0i3zx8Gh-NA1LHdCl1U81Q5ZB3DCpUSSAP4zrr9A1Xh1ooFYGrT6gtLibL0xrg6ihgQ0WedH6amVYdKK_dxHDXbK4UcJozAF4GK30KFMzmD6QDiEW6/s1600-h/Install%252520OS%252520Screen%25252029%25255B3%25255D.png"><img title="Install OS Screen 29" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 29" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZuiU_DVU-nIyAJLVem-d1LRVPMUwW336NPi2LYUvzjXqJ4GvnIXGJ5ik3EUHpAHLEf26V7WXNY28Dwl6BQYbUqU7RI1yFjJ-eWaIeNnt-r1cEjz1SCO7Tg99wfoBsqDK8tfLLGEDCwvz0/?imgmax=800" width="644" height="484"></a></p> <p>Databases</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2Mh03wc5xnSYQNKaKGko7qB6YuUDERfZ7i-Rrw8GRJwD8tKNRJP-weeeD7E8ZrgM2BkX-M0T6KIuDwZBS24O4sb5pWHLMkswT1QfxG_aBNX8OYtxJamg1K7HqOUVwKOo0Wek5Tc-_kT8a/s1600-h/Install%252520OS%252520Screen%25252030%25255B3%25255D.png"><img title="Install OS Screen 30" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 30" src="http://lh3.googleusercontent.com/-LOeAh2hk9C0/Vlydz1MNKBI/AAAAAAAAAsw/xJE_pFaUaLM/Install%252520OS%252520Screen%25252030_thumb%25255B1%25255D.png?imgmax=800" width="644" height="484"></a></p> <p>System Management</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-K6l5Gh_IvnWsM-x8Fd32xfAL56DgWCfGDzCwL-gKEe-Sudoq1nPZi7BUyjsOX4DxUA3XynNa8-Rcvo_U2YRI8Sm64TXoSoCO0KpsTDklaiJE35xDVYRnzPNmxEkh7qq_dTGkFLpajX4D/s1600-h/Install%252520OS%252520Screen%25252031%25255B3%25255D.png"><img title="Install OS Screen 31" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 31" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMF3PpirFDk819_J_hNvDhjNysAcuL1f1jHKBp67RcnMPolTzVHT6n0PhxQvdDcxNJVA4vGN403UvA0WtxsLnv3ewxviZl3O1YBsj4SIgBpPs8b243plIvFZ0Om0AyfWrGbMtgEJMHlBzk/?imgmax=800" width="644" height="484"></a></p> <p>Virtualization</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjefg6B6zwz1iOjLlc9jCp7qOQgJ-yGSqwu2Tr5zTsBUNkE7OiDc_WR0Aplkv6na4f_Xtaic_S0XrO9a8vxJ19oMeFJSxC924WpTHOIqUVS_AHZn2G7LorHvssiFpos70LSpsBjw_pfzXoH/s1600-h/Install%252520OS%252520Screen%25252032%25255B3%25255D.png"><img title="Install OS Screen 32" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 32" src="http://lh3.googleusercontent.com/-ieTtVG7P0vo/Vlyd2SyP-CI/AAAAAAAAAtQ/8f9wwi92uWU/Install%252520OS%252520Screen%25252032_thumb%25255B1%25255D.png?imgmax=800" width="644" height="484"></a></p> <p>Desktops</p> <p><a href="http://lh3.googleusercontent.com/-mQrcmE1yT3s/Vlyd2oIO45I/AAAAAAAAAtY/-AYqDNGatB4/s1600-h/Install%252520OS%252520Screen%25252033%25255B3%25255D.png"><img title="Install OS Screen 33" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 33" src="http://lh3.googleusercontent.com/-ePsBrY5HxK0/Vlyd3PhPN2I/AAAAAAAAAtg/u-tBRylugMM/Install%252520OS%252520Screen%25252033_thumb%25255B1%25255D.png?imgmax=800" width="644" height="484"></a></p> <p>Applications</p> <p><a href="http://lh3.googleusercontent.com/-mkrSIiPKMhM/Vlyd3k0PTzI/AAAAAAAAAto/cQYlT1iY3io/s1600-h/Install%252520OS%252520Screen%25252034%25255B6%25255D.png"><img title="Install OS Screen 34" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 34" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilhLHYMDSymdaVXX7IPeK_DL0NO1ic6aEMpHxcomvc5t18nSjls72P13GHY8LPUlje0jCyOBTxtDeksMW3n2Xam5eE8FlEyjPTOaAfKSus71C_z46E8Pn0WYPxx7duIk5BKoTA8u79-Pee/?imgmax=800" width="644" height="484"></a></p> <p>Installation Progress</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQnJ2hTR-H9g3NUu_iVe0NSGMFQBvOMjCm-J_vHd-yxaDsN1hpZmWKfFs1nIzP2lRIvoFDVkt4x0_6MUIfxb_6yLDu9Do50eWQKdqtzujVAow5LHESmmttIFYcw0JDKBJhhzzSLfR67r5U/s1600-h/Install%252520OS%252520Screen%25252035%25255B3%25255D.png"><img title="Install OS Screen 35" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 35" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaflhH_ZNSlHmzLBvZEhMArjYmWZhggsRhQhxCl1YvUiMQj9SyA3zOl773aUki3j7dvuVYfsjfk7Bv4Z9CHv1MwuOTsTEWDL10NSgq0v8xhVVvE66gjyJEq50-rwt36RC4nXSaGm17wN7G/?imgmax=800" width="644" height="484"></a></p> <p><font size="2">Click on Reboot and wait for the VM to restart. it usually ejects the DVD image from the DVD drive automatically, if that is not the case, you can do it manually via menu Devices>Optical Drives>Remove Disk From Virtual Image.</font></p> <p><a href="http://lh3.googleusercontent.com/-Sj3gnGCZbiw/Vl7vbIEs0sI/AAAAAAAAAug/paXfQgxlwWU/s1600-h/Install%252520OS%252520Screen%25252036%25255B6%25255D.png"><img title="Install OS Screen 36" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 36" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCflLm-X07LXNxQbr3J5NCqZ-LZy1oBhNnPKUn9WPfqU-WdVMZy6O-kN_4ggo8HKl1xctXnwGA5FHm21LcQAKebARRtXqlcamtYCI5yMkS-Xc2gR7sMRFi_NwpaRKz4gs9TEkuWAGcCR9o/?imgmax=800" width="644" height="484"></a></p> <p><font size="2">Once the VM restarted, the Welcome screen appears, click Forward.</font></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJiysQqpxcdV7R7_NUHRFF_4CsQYUcCaISi1lqD5e_NVV6b503IkytU-Caw6sNk_irwSVfYiohRqmQbjlzi-ccqx1AR9ZHL3EPPYuaTXHbhsegBO6NMF5p0nSxz_hGd1qUlXw4gH1WzMFE/s1600-h/Install%252520OS%252520Screen%25252037%25255B3%25255D.png"><img title="Install OS Screen 37" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 37" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPVh2pqZDtdyzN2exHD3Q_TzrBgVxleixKGlTrVN-2R1J_d_ZwigNP5wkfK7en4nH_Nyt_7yREToacM7GcreiabWA3hO5L6bTWjghNgC-IEYBsjRow954kWRteW5kL3MxQFLniDz6dQNgi/?imgmax=800" width="644" height="484"></a></p> <p>The License Agreement.</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh9bvTaCOrkmyeNnzmuNRfJu5KX-0SOJayFEs5NIP0Mafg6VnyGetPxdmx26HjxU25gkUIVcb7akA_ClJyBE4kaIz5Hq2i_wFcRdwesCfXOxbfzFpEviKk3dXS9iLjTyOKGd1gWjMf4nvg/s1600-h/Install%252520OS%252520Screen%25252038%25255B3%25255D.png"><img title="Install OS Screen 38" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 38" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJXN6h7nNXSt1PM2RloVI1z5r7Wi9IkwVhZMEBxu2aM7-4PUO5HLj1eQQxyAjwYA7045fbPI_i3lKH8fHyo-2j2XD93rUbNsm0aQlxkTJz8jV4tN__CV7Ri1aiX892ob3sFpz3jjo4RR4V/?imgmax=800" width="644" height="484"></a></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTp0zk4miq8zTmJB3HfF7j4pA03jZ3qGpcKqg_vjJPJRSWpjkMF3fLA1vAEjHRobq1JYiSrduKJp4xYF0Lpf8fAfHyioJ7TflM9LewBYfMPDzSeytkX5LH00vFUwfq0dPrnqgfjDUc-k7n/s1600-h/Install%252520OS%252520Screen%25252039%25255B3%25255D.png"><img title="Install OS Screen 39" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 39" src="http://lh3.googleusercontent.com/-TO7yXe1N8lA/Vl7ve7rs13I/AAAAAAAAAvU/56Pr-uAGplM/Install%252520OS%252520Screen%25252039_thumb%25255B1%25255D.png?imgmax=800" width="644" height="473"></a></p> <p><font size="2">I have selected No thanks as we won’t need this for our Study Lab.</font></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxg_Lt2ohPHNICfTXFU7h6z5c0t1q8c9QMUwFuU2riBdfvefqOQgHwoXDVFP7ctWN-XKiv-B_ZPrFHxlZDwbEkSrsO2TLD9Krjqd2tcs7w2k9WSszY_EczQVvyleBQBcdTWdIaV5D6yjj3/s1600-h/Install%252520OS%252520Screen%25252040%25255B3%25255D.png"><img title="Install OS Screen 40" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 40" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5VEIqjUQPWHDusx6zFjmsCI4XVs6U5AMHhZ-93uwZxbAB-KwGwEWvi7e9cG_yM-LapwV1_e0GOca01jG4G70UpC-TcQkRLdXQk8n_-IE3KG_u6UHbCIT9qcAJ6Bn6LYpG6vXRu2oUfXzV/?imgmax=800" width="644" height="484"></a></p> <p><font size="2">On the create user screen, I am creating my personal user and not the oracle user. We will let the oracle user to be created by the Oracle Validated RPM later.</font></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh21gyhnWlN3Lyme42yZynsfeE9VdQDMk5nxMiCmsIdkfRTnMlpL6tm0i4I5Mqdie7s4zt42pJiI4R5UnMpFOrVzf6f5EyWkowoctBiskrtvlFvkLWtWU5h5TwItEI15f5wscLTKoEnsq40/s1600-h/Install%252520OS%252520Screen%25252041%25255B3%25255D.png"><img title="Install OS Screen 41" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 41" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3B-WC2uJcEEg2RmYTby3AbWfqzGNZCWtzrts9upmXHtDbGDdQYsf66ef34HFlwtwciJP5hnytoM432KKOdk4hpl8RdnlVfQb4CuZndqg_bdayRCpPis1M_X_yedvIzSZNYWlenmatf6mZ/?imgmax=800" width="644" height="484"></a></p> <p>Adjust both Time and Date accordingly.</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1TsqZq8qhMoQQzhmM4kPvhSZyOs3634ze9x7WC111w1Thy7jegQ8rnBpW2uH9TzrfXQsFMu1xVJjiQaCTWuh13D4FjGDhvbRzLgJBfeSyRcbG1z0Hxfgd_QzpQcXA5ufmBaMGnBBRThD6/s1600-h/Install%252520OS%252520Screen%25252042%25255B3%25255D.png"><img title="Install OS Screen 42" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 42" src="http://lh3.googleusercontent.com/-GL0-kvm7lOA/Vl7vhzEFN8I/AAAAAAAAAwE/DzDN2RuqEGo/Install%252520OS%252520Screen%25252042_thumb%25255B1%25255D.png?imgmax=800" width="644" height="484"></a></p> <p><font size="2">As for the kernel crash dumping mechanism, I have left Kdump unchecked for the purpose of this Study Lab.</font></p> <p><font size="2">Click Next and the system will revert to the logon screen.</font></p> <p><a href="http://lh3.googleusercontent.com/-AG38o5S_qrI/Vl7viy_xL4I/AAAAAAAAAwQ/9fLqiU3roOY/s1600-h/Install%252520OS%252520Screen%25252043%25255B3%25255D.png"><img title="Install OS Screen 43" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 43" src="http://lh3.googleusercontent.com/-EyJnkaAA3cc/Vl7vju9UZ3I/AAAAAAAAAwU/x3_f9QUq9rc/Install%252520OS%252520Screen%25252043_thumb%25255B1%25255D.png?imgmax=800" width="644" height="484"></a></p> <p><font size="2">Double click on the user you created and enter the password you have typed in during the user setup.</font></p> <p><a href="http://lh3.googleusercontent.com/-J3hauKpujIE/Vl7vkYImOZI/AAAAAAAAAwg/d7SF8pX0DLY/s1600-h/Install%252520OS%252520Screen%25252044%25255B3%25255D.png"><img title="Install OS Screen 44" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 44" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLsc6TIrnCKCJjV9qoEkLkxRzjY8uUk-xGOZVfuhJq1x4gUtfggvXQ4TVN4Hh_E3dHF0koYPiw5xJUG0QYRIWwsgNE6Qi7O9HNiiU3PN6rhf6-ra7LYZHzocXSwFJ0VljFxbHV02NLWIyo/?imgmax=800" width="644" height="484"></a></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGD1w7BAgleaDvWdJxwzAR1dB6xe9f48fqdjlXY-a438UqdjofiSGau_en9ygfmy2HGTBhiQY7G1uavFflU-GsVL8mVu0idaKTQkSkr1VO25QHAgIUqYjEAoweHV17GlCoc_XtR-ZOUdOy/s1600-h/Install%252520OS%252520Screen%25252045%25255B3%25255D.png"><img title="Install OS Screen 45" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 45" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLZhQR6g4FwpAN3r-ejWXG_JcQw4ki_pDJGNp4D6hHdGHDU_F-78R5IGXQ8ZA25QBTtz3otMpOPg9ZOwNfRX5yIAtcmPwRGkgubKd6ubgEiWXi3hJZthbkPZfOm7cIrRPNOqA3XWxb5OIY/?imgmax=800" width="644" height="484"></a></p> <p><font size="2">From within the VM, click on System>About this Computer to display the System Monitor Summary Tab.</font></p> <p><font size="2">Once you have installed the Operating System, you can optionally add the Oracle VirtualBox Guest Additions as well mounting the disk ISO as a yum source repository following </font><a href="https://docs.oracle.com/cd/E37670_01/E37355/html/ol_create_repo.html" target="_blank"><font size="2">this guide</font></a><font size="2">.</font></p> <table class="tr-caption-container" style="float: left; text-align: left; margin-right: 1em" cellspacing="0" cellpadding="0"> <tbody> <tr> <td style="text-align: center"><a style="margin-bottom: 1em; margin-left: auto; clear: left; margin-right: auto" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLQDKTpuOKu_nmrOiuv3hNS_oCFChYDb469ws9JafstmP1ze64D684cGsmtKpJopmV9ButJI8ePzS_t8Gy8hkyfm8Lu2j5affepESJl7c6elnmIn9M2SVXiNKCQ8amzr0axpA_hH_frnfI/s1600/Oracle+Linux+6.5+About+Window.PNG" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLQDKTpuOKu_nmrOiuv3hNS_oCFChYDb469ws9JafstmP1ze64D684cGsmtKpJopmV9ButJI8ePzS_t8Gy8hkyfm8Lu2j5affepESJl7c6elnmIn9M2SVXiNKCQ8amzr0axpA_hH_frnfI/s1600/Oracle+Linux+6.5+About+Window.PNG"></a></td></tr> <tr> <td class="tr-caption" style="text-align: center">Oracle Linux 6.5 System Monitor Window</td></tr></tbody></table> <p><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br clear="all"><font size="2">You can open a Terminal Window and run some simple commands as follows:<br><br>These are a few details of the VM I have just created:</font><br></p> <table class="MsoNormalTable" style="border-top: medium none; border-right: medium none; border-collapse: collapse; border-bottom: medium none; border-left: medium none; line-height: normal; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="825" border="1"> <tbody> <tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes"> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: #78c0d4 1pt solid; padding-right: 5.4pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="638"><span style="font-size: x-small; font-family: "courier new" , "courier" , monospace"></span><span style="font-family: "courier new" , "courier" , monospace"><br><font size="2"><span style="font-family: "courier new" , "courier" , monospace">$ df -h</span><br><span style="font-family: "courier new" , "courier" , monospace">Filesystem Size Used Avail Use% Mounted on</span><br><span style="font-family: "courier new" , "courier" , monospace">/dev/mapper/vg_ocmdb12c-lv_root 18G 3.7G 13G 23% /</span><br><span style="font-family: "courier new" , "courier" , monospace">tmpfs 2.0G 80K 2.0G 1% /dev/shm</span><br><span style="font-family: "courier new" , "courier" , monospace">/dev/sda1 477M 55M 397M 13% /boot</span><br><br><br>$ ll /dev/sd*</font></span><br><font size="2"><span style="font-family: "courier new" , "courier" , monospace">brw-rw----. 1 root disk 8, 0 Nov 25 00:05 /dev/sda</span><br><span style="font-family: "courier new" , "courier" , monospace">brw-rw----. 1 root disk 8, 1 Nov 25 00:05 /dev/sda1</span><br><span style="font-family: "courier new" , "courier" , monospace">brw-rw----. 1 root disk 8, 2 Nov 25 00:05 /dev/sda2</span><br><span style="font-family: "courier new" , "courier" , monospace">brw-rw----. 1 root disk 8, 16 Nov 25 00:05 /dev/sdb</span><br><span style="font-family: "courier new" , "courier" , monospace">brw-rw----. 1 root disk 8, 32 Nov 25 00:05 /dev/sdc</span></font> <p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal"><span style="font-family: ; color: ; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman""> </span></p></td></tr></tbody></table> <p><font size="2">From the above output, we can see the extra devices – <font face="Courier New">/dev/sdb</font> and <font face="Courier New">/dev/sdc</font> - that we’ve added in previous steps. These will be configured as ASM Disks on subsequent post.</font></p> <p><font size="2">The <font face="Courier New">/dev/<span style="font-family: "courier new" , "courier" , monospace">sda</span></font><font face="Verdana"> device is located on my laptop local SSD disk and both <font face="Courier New">/dev/<span style="font-family: "courier new" , "courier" , monospace">sdb</span></font> and <font face="Courier New">/dev/<span style="font-family: "courier new" , "courier" , monospace">sdc</span></font> are located on an external Lacie hard-drive.</font></font></p> <p><font size="2">A glimpse of my network configuration:</font></p> <table class="MsoNormalTable" style="border-top: medium none; border-right: medium none; border-collapse: collapse; border-bottom: medium none; border-left: medium none; line-height: normal; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="828" border="1"> <tbody> <tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes"> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: #78c0d4 1pt solid; padding-right: 5.4pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="826"><span style="font-family: "courier new" , "courier" , monospace">$ ifconfig </span><br><span style="font-family: "courier new" , "courier" , monospace">eth0 Link encap:Ethernet HWaddr 08:00:27:22:04:15 </span><br><span style="font-family: "courier new" , "courier" , monospace"> inet addr:192.168.0.56 Bcast:192.168.0.255 Mask:255.255.255.0</span><br><span style="font-family: "courier new" , "courier" , monospace"> inet6 addr: fe80::a00:27ff:fe22:415/64 Scope:Link</span><br><span style="font-family: "courier new" , "courier" , monospace"> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</span><br><span style="font-family: "courier new" , "courier" , monospace"> RX packets:215 errors:0 dropped:0 overruns:0 frame:0</span><br><span style="font-family: "courier new" , "courier" , monospace"> TX packets:11 errors:0 dropped:0 overruns:0 carrier:0</span><br><span style="font-family: "courier new" , "courier" , monospace"> collisions:0 txqueuelen:1000 </span><br><span style="font-family: "courier new" , "courier" , monospace"> RX bytes:20092 (19.6 KiB) TX bytes:818 (818.0 b)</span><br><span style="font-family: "courier new" , "courier" , monospace"><br></span><span style="font-family: "courier new" , "courier" , monospace">lo Link encap:Local Loopback </span><br><span style="font-family: "courier new" , "courier" , monospace"> inet addr:127.0.0.1 Mask:255.0.0.0</span><br><span style="font-family: "courier new" , "courier" , monospace"> inet6 addr: ::1/128 Scope:Host</span><br><span style="font-family: "courier new" , "courier" , monospace"> UP LOOPBACK RUNNING MTU:65536 Metric:1</span><br><span style="font-family: "courier new" , "courier" , monospace"> RX packets:48 errors:0 dropped:0 overruns:0 frame:0</span><br><span style="font-family: "courier new" , "courier" , monospace"> TX packets:48 errors:0 dropped:0 overruns:0 carrier:0</span><br><span style="font-family: "courier new" , "courier" , monospace"> collisions:0 txqueuelen:0 </span><br><span style="font-family: "courier new" , "courier" , monospace"> RX bytes:3740 (3.6 KiB) TX bytes:3740 (3.6 KiB)</span><br> <p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal"><span style="font-family: ; color: ; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman""><font style="font-size: 8.5pt"> </font></span></p></td></tr></tbody></table> <h3><b><span style="font-size: x-small; font-family: "courier new" , "courier" , monospace"></span></b></h3> <h3><span style="font-size: x-small; font-family: "courier new" , "courier" , monospace"></span></h3><span style="font-size: x-small; font-family: "courier new" , "courier" , monospace"></span> <h3> </h3> <h3>Installing Oracle VM VirtualBox Guest Additions (Recommended)</h3> <p><font size="2">On the Oracle Virtualbox window, click on Devices>Insert Guest Additions CD image. This will mount a CD image and popup an explorer window on the desktop:</font></p> <p><a href="http://lh3.googleusercontent.com/-PYlgPTT00Aw/Vl7vnmfGy_I/AAAAAAAAAw8/nRvSMKquynE/s1600-h/Install%252520OS%252520Screen%25252046%25255B3%25255D.png"><img title="Install OS Screen 46" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Install OS Screen 46" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjocMA-JYISYGEmsrJPYsbLc2awqkgnUwYQHp_HJhWeEiny3NSuPHViPKm0vEeP1b0e1Nf6Hnsc19dkcIKYUnoZxeqAdviuJwnv_0gQS9ElHYk7b0d8ZpaPEhyfIbHY9iOQLqp9cfDajUxt/?imgmax=800" width="726" height="370"></a></p> <p><font size="2">We need to run a shell script located in this CD image named autorun.sh.</font></p> <p><font size="2">To do this, you will need to switch your user to the root user as follows:</font></p> <table class="MsoNormalTable" style="border-top: medium none; border-right: medium none; border-collapse: collapse; border-bottom: medium none; border-left: medium none; line-height: normal; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="825" border="1"> <tbody> <tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes"> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: #78c0d4 1pt solid; padding-right: 5.4pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="638"> <p><font face="Courier New">cd /media<br># ls<br>sf_Oracle_Software VBOXADDITIONS_5.0.4_102546<br># cd VBOXADDITIONS_5.0.4_102546/</font></p> <p><font face="Courier New">./VBoxLinuxAdditions.run <br>Verifying archive integrity... All good.<br>Uncompressing VirtualBox 5.0.4 Guest Additions for Linux............<br>VirtualBox Guest Additions installer<br>Removing installed version 5.0.4 of VirtualBox Guest Additions...<br>Removing existing VirtualBox non-DKMS kernel modules [ OK ]<br>Stopping VirtualBox Guest Addition service [ OK ]<br>Copying additional installer modules ...<br>Installing additional modules ...<br>Removing existing VirtualBox non-DKMS kernel modules [ OK ]<br>Building the VirtualBox Guest Additions kernel modules<br>Building the main Guest Additions module [ OK ]<br>Building the shared folder support module [ OK ]<br>Building the OpenGL support module [ OK ]<br>Doing non-kernel setup of the Guest Additions [ OK ]<br>You should restart your guest to make sure the new modules are actually used</font></p> <p><font face="Courier New">Installing the Window System drivers<br>Installing X.Org Server 1.13 modules [ OK ]<br>Setting up the Window System to use the Guest Additions [ OK ]<br>You may need to restart the the Window System (or just restart the guest system)<br>to enable the Guest Additions.</font></p> <p><font face="Courier New">Installing graphics libraries and desktop services componen[ OK ]</font></p> <p><font face="Courier New"></font> </p></td></tr></tbody></table><br clear="all"> <p><font size="2">You might run into some trouble installing the Guest Additions. For instance, it mail fail due to lack of some OS libraries or packages. If that is the case, I suggest you follow the steps described in the post </font><a href="http://thatoracledude.blogspot.com/2015/11/upgrading-ocm-11g-to-ocm-12c-series-3_26.html" target="_blank">3 – Install Oracle Grid Infrastructure</a><font size="2"></font><font size="2"> under the section <strong>Configure the yum repository</strong>. This way, you can install any missing software using the DVD as the repository. </font></p> <p><font size="2">So, now that we have installed the Oracle VirtualBox Guest Additions, we can seemingly navigate the mouse to and from the Virtual Machine as well as many other features which improve the usability of the VM. Take for instance the shared folders. Once we have installed the Guest Additions, such folders become accessible from the VM as follows:</font></p> <p> <table class="MsoNormalTable" style="border-top: medium none; border-right: medium none; border-collapse: collapse; border-bottom: medium none; border-left: medium none; line-height: normal; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1536; mso-border-alt: solid #78c0d4 1.0pt; mso-border-themecolor: accent5; mso-border-themetint: 191" cellspacing="0" cellpadding="0" width="829" border="1"> <tbody> <tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes"> <td style="border-top: #78c0d4 1pt solid; border-right: #78c0d4 1pt solid; background: #d2eaf1; border-bottom: #78c0d4 1pt solid; padding-bottom: 0in; padding-top: 0in; padding-left: 5.4pt; border-left: #78c0d4 1pt solid; padding-right: 5.4pt; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-themecolor: accent5; mso-border-themetint: 191" valign="top" width="827"><br><span style="font-family: "courier new" , "courier" , monospace">$ df -h</span><br><span style="font-family: "courier new" , "courier" , monospace">Filesystem Size Used Avail Use% Mounted on</span><br><span style="font-family: "courier new" , "courier" , monospace">/dev/mapper/vg_ocmdb12c-lv_root 18G 3.7G 13G 23% /</span><br><span style="font-family: "courier new" , "courier" , monospace">tmpfs 2.0G 80K 2.0G 1% /dev/shm</span><br><span style="font-family: "courier new" , "courier" , monospace">/dev/sda1 477M 55M 397M 13% /boot</span><br><span style="font-family: "courier new" , "courier" , monospace">Oracle_Software 2.8T 2.3T 514G 82% /media/sf_Oracle_Software<br><br><span style="font-family: "courier new" , "courier" , monospace">$ cd /media/sf_Oracle_Software/OCM\ 12c\ Upgrade/</span><br><span style="font-family: "courier new" , "courier" , monospace"><br></span><span style="font-family: "courier new" , "courier" , monospace">root@ocmdb12c OCM 12c Upgrade]# ll </span><br><span style="font-family: "courier new" , "courier" , monospace">total 5450553</span><br><span style="font-family: "courier new" , "courier" , monospace">drwxrwx---. 1 root vboxsf 40960 Nov 24 22:05 121</span><br><span style="font-family: "courier new" , "courier" , monospace">-rwxrwx---. 1 root vboxsf 1673544724 Nov 24 01:56 linuxamd64_12102_database_1of2.zip</span><br><span style="font-family: "courier new" , "courier" , monospace">-rwxrwx---. 1 root vboxsf 1014530602 Nov 24 00:08 linuxamd64_12102_database_2of2.zip</span><br><span style="font-family: "courier new" , "courier" , monospace">-rwxrwx---. 1 root vboxsf 499228127 Nov 23 22:50 linuxamd64_12102_examples.zip</span><br><span style="font-family: "courier new" , "courier" , monospace">-rwxrwx---. 1 root vboxsf 1747043545 Nov 24 02:30 linuxamd64_12102_grid_1of2.zip</span><br><span style="font-family: "courier new" , "courier" , monospace">-rwxrwx---. 1 root vboxsf 646972897 Nov 23 23:45 linuxamd64_12102_grid_2of2.zip</span><br><span style="font-family: "courier new" , "courier" , monospace">drwxrwx---. 1 root vboxsf 4096 Nov 24 01:51 Oracle Linux Release 6 Update 5 for x86_64 (64 Bit)</span></span><br> <p class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal"><span style="font-family: ; color: ; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman""> </span></p></td></tr></tbody></table></p><span style="font-family: "courier new" , "courier" , monospace"></span><br clear="all"> <p><font size="2">How cool is that?</font></p> <p><font size="2">In the next post, we will be covering the prerequisites for installing the Oracle Grid Infrastructure as well as the installation itself.</font></p> <p><font size="2">Please add comments, make corrections and ask questions as I will be happy to try answering them. If I do not know the answer, I am sure someone will know and will kindly answer it.</font></p> <p><font size="2">That's it for this post and...</font></p> <p><font size="2">Até la!</font></p> <p><font size="2">Daniel</font></p> <h2>Check out other posts of this Series:</h2> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com/2015/11/upgrading-my-ocm-11g-to-12c-initial_23.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 1 - Initial Assessment</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com/2015/11/upgrading-ocm-11g-to-ocm-12c-series-2.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 2 - Building your Study Lab</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series-3.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 3 - Install Oracle Grid Infrastructure</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series-4.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 4 – Install Oracle Database Software</a></div> <div class="MsoNormal" style="margin-bottom: 0in"></div> Anonymoushttp://www.blogger.com/profile/04409090780691515655noreply@blogger.com0tag:blogger.com,1999:blog-1219458118840772394.post-7010654675336469912015-11-23T10:29:00.000-08:002015-12-10T10:58:56.525-08:00Upgrading OCM 11g to OCM 12c (Series) 1 - Initial Assessment<h2>A little History and Finally, an Introduction</h2> <h2> </h2> <h2 align="left">Check out other posts of this Series:</h2> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com/2015/11/upgrading-my-ocm-11g-to-12c-initial_23.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 1 - Initial Assessment</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com/2015/11/upgrading-ocm-11g-to-ocm-12c-series-2.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 2 - Building your Study Lab</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series-3.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 3 - Install Oracle Grid Infrastructure</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series-4.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 4 – Install Oracle Database Software</a></div> <div class="MsoNormal" style="margin-bottom: 0in"> </div> <h3></h3>It's been a while since the OCM upgrade exam aka <span style="font-size: 12px; font-family: "arial" , "helvetica" , sans-serif; font-weight: bold; color: red; background-color: white"><a href="https://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=652&get_params=p_exam_id:12COCMU" target="_blank">12COCMU</a> </span>has been released. I have been checking and testing some of the new features of the Oracle Database 12c for a while.<br>I have decided that now it is time to get serious about getting my 11g OCM certification upgraded to 12c.<br><br>It seems Oracle technical certifications still hold a true value in emerging countries, specially performance-based ones like the OCM.<br>I am writing this post sitting in my chair in Brasil. Yes, I am back to homeland - Brasil after a 10-year-long period where I have been working in Europe and Africa.<br>I have allowed myself a long vacation, 6 months in fact. During this time, I managed to stay away from "techy stuff" as much as possible. Well, not totally, as I still had to fix the odd broken PC here and there as people still do not understand the difference between a DBA and "the<i> guy who works with computers</i>".<br><br><i>"Seriously, being a DBA can mean, to some extent, that you have some sort of special powers!</i><br><i>It means your mom's friend will most likely ask you to fix any sort of Windows problems, your brother-in-law wants you to configure his TV set-up box AND your grand-daddy may even ask you to fix his TV aerial on the roof!"</i><br><br>Jokes apart, it was good to have this period and I feel I am ready to get back to business.<br>I have applied for a remote job at <a href="http://www.pythian.com/" target="_blank">Phytian</a>, went through the interview process, thanks to <a href="http://jkstill.blogspot.com.br/" target="_blank">Jared Still</a> who interviewed me. Well, I am not sure I was supposed to reveal his name here though.<br><br>By the way, even though this wasn't a direct question, while we were talking he caught me by surprise! As always, one subject leads to another and we ended up talking about the ASM rebalance power... Well, the top notch is not 11 any more on 12c! In fact, 11 is almost nothing on 12c!<br><br>Check out his <a href="http://www.pythian.com/blog/oracle-asm-rebalance/" target="_blank">post</a> on this subject as this "small" detail that could lead to big problem if we are not aware of it.<br><br>So, while a wait for a position to open in a matching Time Zone, I may as well take the time to concentrate on the OCM upgrade.<br><br>Oh, I almost forgot... It seems that if you work with Oracle in Brasil, and this might be true in some other countries too, if you want to differentiate yourself, you have the following options:<br><br><b>Oracle ACE Program</b><br><br>An old friend of mine <a href="http://alexzaballa.blogspot.com.br/" target="_blank">Alex Zaballa</a>, as well as being an Oracle Evangelist, he's also an ACE Director. When I asked him about the program, He mentioned that you have to devote a lot of time to the programme and for some reason, it is not well valued in Brasil as it is in other countries like the UK and USA. So, what I get from that is: 1) It will be valued as Brasil seems to copy what happens elsewhere. 2) If you intend to move outside Brasil, it is a good thing to have in your bag of tricks!<br><br><b>Oracle Certified Master</b><br><br>This is something that only depends on your will, time and effort. It is something you can do at your will and once you have it, your have it...<br>According to Alex Zaballa, who is OCM 11g too, the Brazilian marked seems to value more the OCM credential than the ACE credential.<br>Well, if you ask my opinion on that, I would say they should value OCM more than ACE as OCM means that you "might" know a little about what you do. Whereas ACE may guarantee that you wear an Oracle shirt at all times.<br>Of course, combining the two accreditations would be the best thing to do. But to do just that, you must love Oracle and you might find yourself wearing underpants with an Oracle logo on it.<br><br><b>Doing an Excellent Job - Experience</b><br><b><br></b>Well, this one, does not require many explanations. I believe experience and jobs well performed will always outsmart any credentials. I guess you think like that too! Even if you have many credentials.<br>One happy customer leads to another customer and this will eventually lead you to success. Well, it might take a while though.<br><br>Ok, enough of nonsense and let's start writing about the OCM 12c upgrade exam:<br><br> <h3>To whom this Series of posts will apply to?</h3> <div> </div> <div><span style="text-align: justify">This blog applies to individuals who already possess the OCM 11g accreditation as this is intended to outline some steps as a preparation for the </span><a style="font-size: 12px; font-family: arial, helvetica, sans-serif; font-weight: bold" href="https://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=652&get_params=p_exam_id:12COCMU" target="_blank">12COCMU</a><span style="text-align: justify"> exam.</span></div> <div style="text-align: justify">This may also be helpful if you intend to become an OCM 12c with no previous OCM credentials. However, the series will only cover a subset of the exam objectives you will find on that specific exam. </div> <div style="text-align: justify">Also, note that at the time of this writing only the upgrade exams are available on the <a href="https://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=653&get_params=p_id:249#tabs-3" target="_blank">Oracle WebSite</a>.<br><span style="color: blue"><br></span></div> <h3>Building your Study Lab</h3><br>I was checking the <a href="https://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=652&get_params=p_exam_id:12COCMU" target="_blank">OCM 12c Upgrade Exam details Page</a>. The good thing is that, just like with the 11g OCM exam, it details all software and versions that will be used in the test lab. Even though it clearly states that your study lab does not need to match versions exactly as stated in the page, I believe it would be good idea to build a study lab that is as close as possible to the exam's one.<br><br> <div style="font-size: 12px; font-family: arial, helvetica, sans-serif; font-weight: bold; color: #222222; margin: 10px; background-color: white"><strong>Exam Environment</strong></div> <ul style="list-style-type: none; margin-bottom: 10px; font-size: 13px; font-family: arial, helvetica, sans-serif; font-weight: bold; color: #e80b0b; padding-bottom: 0px; padding-top: 0px; padding-left: 5px; margin-left: 20px; padding-right: 5px; background-color: white"> <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Oracle Linux Release 6.5 64 bit <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Mozilla Browser, Text (emacs, gedit) and vi editors <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Shell environment: bash, csh <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Use either CLI or GUI environment and tools when available <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Oracle Database 12<em>c</em> Enterprise Edition Release 12.1.0.2.0 64 bit <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Oracle Grid Infrastructure 12<em>c </em>Release 1 (12.1.0.2) <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Oracle Enterprise Manager Cloud Control 12<em>c</em> Rel 4</li></ul> <div> </div> <div>So, in the next posts, we will be burning some RAM, CPU and disk space as we build some Virtual Machines using Oracle's VM VirtualBox.</div> <div> </div> <div>We might need to spend some time setting up the study lab. I may or may not create specific posts on how to set up the VM's and install the Oracle software. I still need to decide whether or not I will be creating a post showing how to install Oracle Linux for example.</div> <div> </div> <div>However, since two of the exam objectives are "Install the Oracle Database 12c Software" and "Install Oracle Grid Infrastructure", we will have to delve deep into that.</div> <div> </div> <div> <div style="font-size: 12px; font-family: arial, helvetica, sans-serif; font-weight: bold; color: #222222; margin: 10px; background-color: white"><strong>General Database and Network Administration, and Backup Strategy</strong></div> <ul style="list-style-type: none; margin-bottom: 10px; font-size: 13px; font-family: arial, helvetica, sans-serif; font-weight: bold; color: #e80b0b; padding-bottom: 0px; padding-top: 0px; padding-left: 5px; margin-left: 20px; padding-right: 5px; background-color: white"> <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Create and manage pluggable databases <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Create and manage users, roles, and privileges <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Configure the network environment to allow connections to multiple databases <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Protect the database from loss of data due to any kind of failure <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Create and manage database configuration files</li></ul> <div style="font-size: 12px; font-family: arial, helvetica, sans-serif; font-weight: bold; color: #222222; margin: 10px; background-color: white"><strong>Data and Performance Management</strong></div> <ul style="list-style-type: none; margin-bottom: 10px; font-size: 13px; font-family: arial, helvetica, sans-serif; font-weight: bold; color: #e80b0b; padding-bottom: 0px; padding-top: 0px; padding-left: 5px; margin-left: 20px; padding-right: 5px; background-color: white"> <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Modify materialized views <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Create a plugged-in tablespace by using the transportable tablespace feature <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Create partitioned tables <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Configure the database to retrieve all previous versions of the table rows <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Configure the Resource Manager <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Tune SQL statements <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Perform real application testing <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Create SQL Plan baselines</li></ul> <div style="font-size: 12px; font-family: arial, helvetica, sans-serif; font-weight: bold; color: #222222; margin: 10px; background-color: white"><strong>Data Guard</strong></div> <ul style="list-style-type: none; margin-bottom: 10px; font-size: 13px; font-family: arial, helvetica, sans-serif; font-weight: bold; color: #e80b0b; padding-bottom: 0px; padding-top: 0px; padding-left: 5px; margin-left: 20px; padding-right: 5px; background-color: white"> <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Create a physical standby database <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Make the standby database available for testing <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Restore the standby database to its normal function <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Configure fast start failover</li></ul> <div style="font-size: 12px; font-family: arial, helvetica, sans-serif; font-weight: bold; color: #222222; margin: 10px; background-color: white"><strong>Grid Infrastructure and Real Application Clusters</strong></div> <ul style="list-style-type: none; margin-bottom: 10px; font-size: 13px; font-family: arial, helvetica, sans-serif; font-weight: bold; color: #e80b0b; padding-bottom: 0px; padding-top: 0px; padding-left: 5px; margin-left: 20px; padding-right: 5px; background-color: white"> <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Install Oracle Grid Infrastructure <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Create ASM disk groups <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Create and manage an ASM instance <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Create ACFS <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Start, stop, configure, and administer Oracle Grid Infrastructure <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Install the Oracle Database 12<em>c </em>software <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Create RAC databases <li style="font-size: 12px; list-style-position: outside; list-style-image: url(https://education.oracle.com/education/images/common/redarrow.gif); margin-top: 2px; line-height: 20px">Configure services</li></ul></div> <div> <div> <h2>Where to find things in the Documentation - Important</h2></div> <div>This is something that I found very useful when sitting the 11g OCM exam.</div> <div>Knowing where to find things in the ocean of pages of the Oracle Database Documentation is very beneficial as you could find yourself spending too much time looking for a specific command or syntax.</div> <div>To help with that, the idea is that we should always include information on where to get specific bits of information from the documentation for each exam topic.</div> <div>For instance, you definitely do not want to write a full CREATE DATABASE statement set-up Resource Manager by hand. Well, unless your mind is so powerful that you can remember all the syntax. However, if you do have a very powerful brain that is capable of memorizing all the syntaxes, I bet your other-half keeps telling you that you forget things...</div> <div> </div></div> <div>So, the idea is that in the next posts, I will be writing about how to create a study lab as well as covering some if not all of the Exam Objectives as some of them are pretty "vague". Take "Tune SQL Statements" for instance. No way we can write a post that will cover all that it represents.<br><br><br></div> <div>I might get some people to participate in the creation of the series... let's see how it goes.</div> <div> </div> <div>Até la!</div> <div> </div> <div>Daniel</div> <div> </div> <div> </div> <h2 align="left">Check out other posts of this Series:</h2> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com/2015/11/upgrading-my-ocm-11g-to-12c-initial_23.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 1 - Initial Assessment</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com/2015/11/upgrading-ocm-11g-to-ocm-12c-series-2.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 2 - Building your Study Lab</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series-3.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 3 - Install Oracle Grid Infrastructure</a></div> <div class="MsoNormal" style="margin-bottom: 0in"><a href="http://thatoracledude.blogspot.com.br/2015/12/upgrading-ocm-11g-to-ocm-12c-series-4.html" target="_blank">Upgrading OCM 11g to OCM 12c (Series) 4 – Install Oracle Database Software</a></div> <div class="MsoNormal" style="margin-bottom: 0in"></div> Anonymoushttp://www.blogger.com/profile/04409090780691515655noreply@blogger.com10tag:blogger.com,1999:blog-1219458118840772394.post-88818970055649959362014-08-28T05:57:00.002-07:002014-08-29T00:21:29.863-07:00How Oracle finds things in a data file - From the simplest of the Queries to the instance Startup<h2>
<span style="font-family: Arial, Helvetica, sans-serif;">So, how does it do it?</span></h2>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">An Oracle server process is nothing more then a large C program. On the other hand, the Oracle RDBMS is a multitude of processes, memory areas and files working and communicating in conjunction to serve a purpose. </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">As we all know, two of the main purposes of a Database System are to store and to retrieve data. When it comes to these two simple things there is a lot more than meets the the eye. If you are like me, you probably want to know the whys and hows of everything, you will most likely find this post of some use. Well, at least it can be used to either refresh your memory on the subject or to amuse someone at the pub. :)</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">For this article, we will be concentrating on a tiny spectacle of the "retrieving data" function of an Oracle database. We will be exposing the foremost part of the process, which is, how Oracle knows where to look at in a data file when it wants to find data for a particular object.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">This may sound very simple as we all know that the </span><span style="font-family: Courier New, Courier, monospace;">DBA_SEGMENTS </span><span style="font-family: Arial, Helvetica, sans-serif;">view exposes which data file a specific segment is and at which block it starts. However, as we dive deeper into this article, you will find answers for the following question and many more:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">How did Oracle find the </span><span style="font-family: Courier New, Courier, monospace;">DBA_SEGMENTS</span><span style="font-family: Arial, Helvetica, sans-serif;"> in first place?</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">So, let's start with a very simple example, a query against a table called </span><span style="font-family: Courier New, Courier, monospace;">CUSTOMERS</span><span style="font-family: Arial, Helvetica, sans-serif;">.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;">SQL> set linesize 200</span><br />
<span style="font-family: Courier New, Courier, monospace;">SQL> col name for a30</span><br />
<span style="font-family: Courier New, Courier, monospace;">SQL> select name</span><br />
<span style="font-family: Courier New, Courier, monospace;"> from customers</span><br />
<span style="font-family: Courier New, Courier, monospace;"> where customer_id=1;</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;">NAME</span><br />
<span style="font-family: Courier New, Courier, monospace;">------------------------------</span><br />
<br />
<span style="font-family: Courier New, Courier, monospace;">Daniel Da Meda</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Ok, the above query could not be simpler but it will serve as our starting point as we walk backwards to find our how Oracle locates things.</span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">So, let's, put together a sequence of events taking place by the Oracle server process when it wants to locate the CUSTOMERS segment and its relative data</span><span style="font-family: Arial, Helvetica, sans-serif;">.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Let's query the </span><span style="font-family: Courier New, Courier, monospace;">DBA_SEGMENTS</span><span style="font-family: Arial, Helvetica, sans-serif;"> view right? </span><br />
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"></span><br />
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> select header_file, header_block, blocks, extents from dba_segments where segment_name='CUSTOMERS';</span></div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">
</span>
<br />
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">
</span>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">HEADER_FILE HEADER_BLOCK BLOCKS EXTENTS</span></div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">
<div>
----------- ------------ ---------- ----------</div>
<div>
36 2050 8 1</div>
<div>
<br /></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small;">The above shows that this specific segment has it's segment header stored on block 2050 of datafile 36. The segment header block will always have to be read either from disk or memory if already cached. Ok, there are special cases but let's simplify and assume that it will always have to read the segment header. By the way, is in the segment header that Oracle finds out how many blocks a specific segment has up to the High Water Mark, but this is for another article.</span><br />
<br /></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small;">Further to it, we can drill down to the </span><span style="font-size: small;">DBA_SEGMENTS</span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;"> view and display the information regarding the only extent that this table has </span></div>
</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> select file_id, block_id, blocks from dba_segments where segment_name='CUSTOMERS';</span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> FILE_ID BLOCK_ID BLOCKS</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">---------- ---------- ----------</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> 36 2048 8</span></div>
</div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">From the above output, we can see that this segment's data is stored on data file 36, and it makes use of blocks from 2048 to 2055.</span></div>
<div>
<br /></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">This is easy stuff. Or, is it? How did Oracle find the </span><span style="font-family: Courier New, Courier, monospace;">DBA_SEGMENTS</span><span style="font-family: Arial, Helvetica, sans-serif;"> view or its underlying tables? It must be stored somewhere. Where?</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">To answer this question we will need to have a look at the </span><span style="font-family: Courier New, Courier, monospace;">DBA_SEGMENTS</span><span style="font-family: Arial, Helvetica, sans-serif;"> view definition.</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">Once we look into the </span><span style="font-family: Courier New, Courier, monospace;">DBA_SEGMENTS</span><span style="font-family: Arial, Helvetica, sans-serif;"> view text, we realize that it is based on the following tables:</span></div>
<div>
<ul>
<li><span style="font-family: Courier New, Courier, monospace;">sys.user$</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">sys.obj$</span><span style="font-family: Arial, Helvetica, sans-serif;"> </span></li>
<li><span style="font-family: Courier New, Courier, monospace;">sys.ts$</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">sys.sys_objects</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">sys.seg$</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">sys.file$</span></li>
</ul>
</div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">From the above views, there is one in particular which has location-related information - </span><span style="font-family: Courier New, Courier, monospace;">SYS.SEG$ </span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">The </span><span style="font-family: Courier New, Courier, monospace;">DBA_SEGMENTS</span><span style="font-family: Arial, Helvetica, sans-serif;"> gets location-related information from the </span><span style="font-family: Courier New, Courier, monospace;">SYS.SEG$ </span><span style="font-family: Arial, Helvetica, sans-serif;">table which, by the way, is </span><span style="font-family: Arial, Helvetica, sans-serif;">kept in the dictionary cache to avoid unnecessary recursive queries.</span></div>
</div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">The </span><span style="font-family: 'Courier New', Courier, monospace;">SYS.SEG$ </span><span style="font-family: Arial, Helvetica, sans-serif;">table is the source of location-related information for the oracle server process </span><span style="font-family: Arial, Helvetica, sans-serif;">and will be constantly checked in order to know where to find things in the data file.</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">While table </span><span style="font-family: 'Courier New', Courier, monospace;">SYS.SEG$ </span><span style="font-family: Arial, Helvetica, sans-serif;">acts like a GPS for the oracle server process, who tells the Oracle Server process where </span><span style="font-family: 'Courier New', Courier, monospace;">SYS.SEG$ </span><span style="font-family: Arial, Helvetica, sans-serif;">is? </span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">As it turns out, </span><span style="font-family: 'Courier New', Courier, monospace;">SYS.SEG$ </span><span style="font-family: Arial, Helvetica, sans-serif;">is a special type of segment and its location is defined somewhere else.</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">We present you with the </span><span style="font-family: Courier New, Courier, monospace;"><b>BOOTSTRAP$</b></span><span style="font-family: Arial, Helvetica, sans-serif;"> object. </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">On my 12c database, there are only a few objects defined in this object:</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace;">SQL> select count(*) from sys.bootstrap$;</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace;"> COUNT(*)</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace;">----------</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace;"> 60</span></div>
</div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">The </span><span style="font-family: Courier New, Courier, monospace;">bootstrap$</span><span style="font-family: Arial, Helvetica, sans-serif;"> segment contains DDL entries. We can actually see the </span><span style="font-family: Courier New, Courier, monospace;">CREATE TABLE</span><span style="font-family: Arial, Helvetica, sans-serif;"> statement that defines the </span><span style="font-family: 'Courier New', Courier, monospace;">SYS.SEG$ </span><span style="font-family: Arial, Helvetica, sans-serif;">table.</span></div>
<div>
<br /></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">This is how the record for </span><span style="font-family: Courier New, Courier, monospace;">SYS.SEG$</span><span style="font-family: Arial, Helvetica, sans-serif;"> table look like:</span></div>
<div>
<br /></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> SQL> desc sys.bootstrap$</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> Name Null? Type</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> ----------------------------------------- -------- ----------------------------</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> LINE# NOT NULL NUMBER</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> OBJ# NOT NULL NUMBER</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> SQL_TEXT NOT NULL VARCHAR2(4000)</span></div>
<div>
<br /></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> select sql_text from sys.bootstrap$ where sql_text like '%SEG$%';</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL_TEXT</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">--------------------------------------------------------------------------------</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">CREATE TABLE SEG$("FILE#" NUMBER NOT NULL,"BLOCK#" NUMBER NOT NULL,"TYPE#" NUMBE</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">R NOT NULL,"TS#" NUMBER NOT NULL,"BLOCKS" NUMBER NOT NULL,"EXTENTS" NUMBER NOT N</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">ULL,"INIEXTS" NUMBER NOT NULL,"MINEXTS" NUMBER NOT NULL,"MAXEXTS" NUMBER NOT NUL</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">L,"EXTSIZE" NUMBER NOT NULL,"EXTPCT" NUMBER NOT NULL,"USER#" NUMBER NOT NULL,"LI</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">STS" NUMBER,"GROUPS" NUMBER,"BITMAPRANGES" NUMBER NOT NULL,"CACHEHINT" NUMBER NO</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">T NULL,"SCANHINT" NUMBER NOT NULL,"HWMINCR" NUMBER NOT NULL,"SPARE1" NUMBER,"SPA</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">RE2" NUMBER) STORAGE ( OBJNO 14 TABNO 2) CLUSTER C_FILE#_BLOCK#(TS#,FILE#,BLOCK</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#)</span></div>
</div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">From the above output, we can see that its storage attributes are defined as a </span><span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">CLUSTER</span><span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"> </span><span style="font-family: Arial, Helvetica, sans-serif;">with </span><span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">OBJNO 14 </span><span style="font-family: Arial, Helvetica, sans-serif;">and</span><span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"> </span><span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">TABNO 2 </span><span style="font-family: Arial, Helvetica, sans-serif;">on a cluster named</span><span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"> </span><span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">C_FILE#_BLOCK#.</span></div>
<div>
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">So we now look at this cluster definition. Luckily, cluster </span><span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">C_FILE#_BLOCK# </span><span style="font-family: Arial, Helvetica, sans-serif;">is also defined in the </span><b style="font-family: 'Courier New', Courier, monospace;">BOOTSTRAP$ </b><span style="font-family: Arial, Helvetica, sans-serif;">object. Let's perform another query this time searching for the cluster:</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> select sql_text from sys.bootstrap$ where sql_text like '%C_FILE#_BLOCK#%';</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">CREATE CLUSTER C_FILE#_BLOCK#("TS#" NUMBER,"SEGFILE#" NUMBER,"SEGBLOCK#" NUMBER)</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> PCTFREE 10 PCTUSED 40 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 24K NEXT 1024K</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 OBJNO 8 EXTENTS (<b>FILE 1 BLOCK</b></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><b>192</b>)) SIZE 225</span></div>
</div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"> Tada! At least some progress. We finally got a data file number and a block number - </span><span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">(</span><b style="font-family: 'Courier New', Courier, monospace; font-size: small;">FILE 1 BLOCK </b><b style="font-family: 'Courier New', Courier, monospace; font-size: small;">192</b><span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">).</span></div>
<div>
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">So this tells Oracle where to find the </span><span style="font-family: 'Courier New', Courier, monospace;">SYS.SEG$ </span><span style="font-family: Arial, Helvetica, sans-serif;">segment?</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">YES!!!</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">Wait a minute, isn't the </span><span style="font-family: Courier New, Courier, monospace;">BOOTSTRAP$</span><span style="font-family: Arial, Helvetica, sans-serif;"> also a table? Who tells Oracle where to find it then?</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">The answer is simple. The location of the </span><span style="font-family: Courier New, Courier, monospace;">bootstrap$</span><span style="font-family: Arial, Helvetica, sans-serif;"> object used to be located in the first block of data file number 1. However, you will have to take my word for it as I dumped the block multiple times and I cannot find this information in there anymore...</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">I have dumped all data file headers to a trace file as follows:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> alter session set tracefile_identifier=file_headers;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Session altered.</span><br />
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> alter session set events 'immediate trace name file_hdrs level 10';</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">Since I could not find that information in the header of any database file, I tried the controlfile. Also, to no avail:</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> alter session set tracefile_identifier=controlfile_header;</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Session altered.</span></div>
</div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> alter session set events 'immediate trace name controlf level 10';</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">So, I gave up. Perhaps the trace has been changed not to show that information?</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">UPDATE</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">=======</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Thanks to <b>Rodrigo Righetti</b> from Enkitec, I know now where to find the address for the </span><span style="font-family: Courier New, Courier, monospace;">BOOTSTRAP$</span><span style="font-family: Arial, Helvetica, sans-serif;"> object. Please check out his answer to this:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">"</span><span style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;"><span style="font-family: Arial, Helvetica, sans-serif;"><i>The pointer to the bootstrap is represented by the "root dba" entry on the file header trace, which on 11.2 onwards should be:</i></span></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$6:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;">root dba:0x00400208 </span><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$7:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$9:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$10:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;">Now the trick part <span class="emoticon emoticon_smile" style="background-image: url(https://fbstatic-a.akamaihd.net/rsrc.php/v2/yP/r/90b8T5aM1AH.png); background-position: 0px -7986px; background-repeat: no-repeat; background-size: auto; display: inline-block; height: 16px; vertical-align: top; width: 16px;" title=":)"></span></span><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$11:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$13:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$14:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;">Each number in the address is represented with 4bits, in a total of 32 bits, like this:</span><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$15:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$17:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$18:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;">0000 0000 0100 0000 0000 0010 0000 1000</span><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$19:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$20:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;">0 0 4 0 0 2 0 8</span><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$21:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$23:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$24:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;">Now to get the File ID, we use the first 10 bits: 0000000001 </span><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$25:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$27:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$28:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;">Which in decimal is: 1</span><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$29:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$31:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$32:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;">And to get the Block Number we get the remaining 22 bits: 0000000000001000001000</span><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$33:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$35:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$36:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;">Convert that to decimal and we get: 520 </span><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$37:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$39:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$40:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;">if you look on dba_segments:</span><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$41:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$43:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$44:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;">select header_file, header_block from dba_segments where segment_name='BOOTSTRAP$';</span><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$45:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$47:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$48:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;">1, 520</span><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$49:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$51:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$52:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;">The other way is using DD and OD, if you really want to go deep, BBED, but lets leave that way <span class="emoticon emoticon_smile" style="background-image: url(https://fbstatic-a.akamaihd.net/rsrc.php/v2/yP/r/90b8T5aM1AH.png); background-position: 0px -7986px; background-repeat: no-repeat; background-size: auto; display: inline-block; height: 16px; vertical-align: top; width: 16px;" title=":)"></span></span><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$53:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$55:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$56:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;">Regards</span><br data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$57:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;" /><span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$58:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;">Rodrigo</span></i></span><span style="background-color: #fafbfb; color: #4e5665; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 15.359999656677246px;">"</span></div>
<div>
<span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$58:0" style="background-color: #fafbfb; color: #4e5665; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 15.359999656677246px;"><br /></span></div>
<div>
<span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$58:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;"><span style="color: black; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: normal;">So, I guess I was looking at the right place for the wrong thing. I will perform another dump of the data file headers and see if I can find the </span><span style="color: black; font-size: small; line-height: normal;"><span style="font-family: Courier New, Courier, monospace;">root dba </span><span style="font-family: Arial, Helvetica, sans-serif;">entry:</span></span></span></div>
<div>
<span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$58:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;"><span style="color: black; font-size: small; line-height: normal;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></span></span></div>
<div>
<span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$58:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;"></span><br />
<div style="color: black; font-size: medium; line-height: normal;">
<span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$58:0" style="background-color: #fafbfb; color: #4e5665; font-size: 12px; line-height: 15.359999656677246px;"><span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> alter session set tracefile_identifier=file_headers;</span></span></div>
<span data-reactid=".55.1:3:1:$comment10152623967014647_10152625143129647:0.0.$right.0.$left.0.0.1:$comment-body.0.3.0.$end:0:$58:0" style="background-color: #fafbfb;">
<div style="color: black; font-size: medium; line-height: normal;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div style="color: black; font-size: medium; line-height: normal;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Session altered.</span></div>
<div style="color: black; font-size: medium; line-height: normal;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<div style="color: black; font-size: medium; line-height: normal;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> alter session set events 'immediate trace name file_hdrs level 10';</span></div>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">Found it!</span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">It is located in the trace file. You just have to search for the string </span><span style="font-family: Courier New, Courier, monospace;">root dba.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">Since my database is 12.1, I get the same data block address as Rodrigo:</span><br />
<br />
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">root dba:0x00400208</span><br />
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">As demonstrated by him, this equates to data file 1 block 520 </span><br />
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Now we know who tells Oracle where the </span><span style="font-family: Courier New, Courier, monospace;">bootstrap$</span><span style="font-family: Arial, Helvetica, sans-serif;"> object is.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">I hope you have enjoyed this small article about How Oracle finds stuff in a data file. Many thanks to Rodrigo Righetti who has come to my rescue helping us to put an end to this small article</span><span style="font-family: Arial, Helvetica, sans-serif;">.</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">Please leave comments!</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">Daniel Da Meda </span></div>
</div>
Anonymoushttp://www.blogger.com/profile/04409090780691515655noreply@blogger.com1tag:blogger.com,1999:blog-1219458118840772394.post-42515891293327110232014-08-27T00:22:00.000-07:002014-08-27T05:31:41.601-07:00Data Redaction - See what you shouldn't see in 5 minutes<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<br />
<h2>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small;">What Oracle has said about Data Redaction</span></h2>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">I have taken the following text from the Oracle documentation and made some remarks in bold so that I do not wander away from what Data Redaction is really supposed to be used for:</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><br /></span></div>
<div>
<div style="font-family: Arial, Helvetica, sans-serif; text-align: left;">
<i><span style="font-size: x-small;">"Oracle Data Redaction is useful for many different scenarios. It can be applied to a range of</span></i></div>
<div style="font-family: Arial, Helvetica, sans-serif; text-align: left;">
<i><span style="font-size: x-small;">packaged and custom <b>applications </b>to <b>redact application screens</b>, <b>dashboards</b>, and <b>reports</b>. It</span></i></div>
<div style="font-family: Arial, Helvetica, sans-serif; text-align: left;">
<i><span style="font-size: x-small;">helps you avoid making code changes in existing call center, human resources, sales, financial,</span></i></div>
<div style="font-family: Arial, Helvetica, sans-serif; text-align: left;">
<i><span style="font-size: x-small;">and healthcare <b>applications</b>. These <b>applications </b>frequently manage payment card (PCI),</span></i></div>
<div style="font-family: Arial, Helvetica, sans-serif; text-align: left;">
<i><span style="font-size: x-small;">protected health (PHI), or personally identifiable (PII) information that is subject to regulation.</span></i></div>
<div style="font-family: Arial, Helvetica, sans-serif; text-align: left;">
<i><span style="font-size: x-small;">Oracle Data Redaction is also useful for decision support <b>systems </b>that aggregate large and</span></i></div>
<div style="font-family: Arial, Helvetica, sans-serif; text-align: left;">
<i><span style="font-size: x-small;">diverse sets of data in a single repository for running analytics.</span></i></div>
<div style="font-family: Arial, Helvetica, sans-serif; text-align: left;">
<i><span style="font-size: x-small;">When an <b>application </b>issues a query, data is retrieved from the database and then the redaction</span></i></div>
<div style="font-family: Arial, Helvetica, sans-serif; text-align: left;">
<i><span style="font-size: x-small;">policy is applied. Redaction takes place immediately preceding the return of selected data, and</span></i></div>
<div style="font-family: Arial, Helvetica, sans-serif; text-align: left;">
<i><span style="font-size: x-small;">only at the top level of the SELECT list."</span></i></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: left;">
<br /></div>
<div style="font-family: Arial, Helvetica, sans-serif;">
So, as we can see, the word "application" repeats itself over and over. Perhaps this is Oracle giving extreme emphasis to the fact that hell can break loose if you end user is the type of user who is familiar with the following prompt - <b>SQL></b></div>
<div style="font-family: Arial, Helvetica, sans-serif;">
With this in mind, I am not implying that Oracle is overselling this feature since the text clearly states that this should be used to redact the data displayed to the end user of a packaged application. </div>
<div style="font-family: Arial, Helvetica, sans-serif;">
<br /></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">In the following lines I will be depicting a very simple example of how one can, in a matter of seconds, get the real credit card number of a customer:</span></div>
</div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">Ok, lets start with a table called Customers</span></div>
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> create table customers (customer_id number(5) not null primary key,</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> 2 name varchar2(40) not null,</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> 3 creditcard_no varchar2(19));</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Table created.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Inserting some hypothetical values:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">SQL> insert into customers values (1,'Daniel Da Meda','4451-2172-9841-4368');</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">1 row created.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">SQL> insert into customers values (2,'Alex Zaballa','5102-6342-4881-5211');</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">1 row created.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> insert into customers values (3,'Antonio Mateus','4891-3311-0090-5005');</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">1 row created.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> commit;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Commit complete.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">col creditcard_no for a19</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">col name for a30</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> select * from customers;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">CUSTOMER_ID NAME CREDITCARD_NO</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">----------- ------------------------------ -------------------</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> 1 Daniel Da Meda 4451-2172-9841-4368</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> 2 Alex Zaballa 5102-6342-4881-5211</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> 3 Antonio Mateus 4891-3311-0090-5005</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> create public synonym customers for customers;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Synonym created.</span><br />
<div>
<br /></div>
<span style="font-family: Arial, Helvetica, sans-serif;">Now, let's create a Data Redaction Policy to protect our customer's credit card number. For the sake of simplicity, we will protect our customers from one specific database user named watcher</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> create user watcher identified by icanseeyou default tablespace users temporary tablespace temp;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">User created.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> grant connect to watcher;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Grant succeeded.</span><br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> grant select on customers to watcher;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"></span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Grant succeeded</span><br />
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> connect watcher/icanseeyou@pdbdev</span><br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Connected.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">col creditcard_no for a19</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">col name for a30</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">select * from customers;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">CUSTOMER_ID NAME CREDITCARD_NO</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">----------- ------------------------------ -------------------</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> 1 Daniel Da Meda 4451-2172-9841-4368</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> 2 Alex Zaballa 5102-6342-4881-5211</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> 3 Antonio Mateus 4891-3311-0090-5005</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> connect ddameda@pdbdev</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Enter password: </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Connected.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">For this example, I will be using OEM Cloud Control since most posts out there show how to create using command prompt.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjK7piuzzi1vuc7k4GLn6jOVv_71VvvOx8n9Ne0QcVkyaX7xYl6IyLwnVqdJES3H8sOHHPidnGqTOI-Rq_RVT2377C4d02IzBhSe2eFGabL5pRfsP7hJYHazPs_Ch3SdnY_oRd_KJE8DK2Y/s1600/Figure+1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjK7piuzzi1vuc7k4GLn6jOVv_71VvvOx8n9Ne0QcVkyaX7xYl6IyLwnVqdJES3H8sOHHPidnGqTOI-Rq_RVT2377C4d02IzBhSe2eFGabL5pRfsP7hJYHazPs_Ch3SdnY_oRd_KJE8DK2Y/s1600/Figure+1.png" height="410" width="640" /></a></div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFLSvW7CrDm8rT120ZLwWtXrjzQXVeHbiBW7PUSRqXoSZ2ENVjnWnH8mXC01TQgGLSWYeJMxLoqT27UsOCeIMxsM32Bcwsb8SDOqbk2mP7uZVzL0HpS7o26GUc-Q36fXYqXWyYBFyqT52Q/s1600/Figure+2.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFLSvW7CrDm8rT120ZLwWtXrjzQXVeHbiBW7PUSRqXoSZ2ENVjnWnH8mXC01TQgGLSWYeJMxLoqT27UsOCeIMxsM32Bcwsb8SDOqbk2mP7uZVzL0HpS7o26GUc-Q36fXYqXWyYBFyqT52Q/s1600/Figure+2.png" height="338" width="640" /></a></span></div>
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmWs6CiWB9GKOLtvSXXLnkGO-prrlrkrxbaYEn3pHky4IWErq1SkUk30mGBlpNqlYaTBHqJ816A4BblBPZQahRAZH-Efsdb6XqrYP8CywDrqRMpaL650E3p4x0fHymbFMGRLnkWn7d0yWf/s1600/Figure+3.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmWs6CiWB9GKOLtvSXXLnkGO-prrlrkrxbaYEn3pHky4IWErq1SkUk30mGBlpNqlYaTBHqJ816A4BblBPZQahRAZH-Efsdb6XqrYP8CywDrqRMpaL650E3p4x0fHymbFMGRLnkWn7d0yWf/s1600/Figure+3.png" height="444" width="640" /></a></div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">You can view the SQL code by clicking on the Show SQL push button.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgW0ApAGtJ-MsE9Lef3j_RUu5hYGBQKi6Q1nFUrBag4eHroTr1OWWt3LxWpjpEiq4r4l53mkzeer1QOG90HQI0Z_tpD7ky4-1lW6SHZFqYDOK6GLQYk-BCiJrTzxl2Y3Nhn4jw4W2RqOeVy/s1600/Figure+4.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgW0ApAGtJ-MsE9Lef3j_RUu5hYGBQKi6Q1nFUrBag4eHroTr1OWWt3LxWpjpEiq4r4l53mkzeer1QOG90HQI0Z_tpD7ky4-1lW6SHZFqYDOK6GLQYk-BCiJrTzxl2Y3Nhn4jw4W2RqOeVy/s1600/Figure+4.png" height="316" width="640" /></a></div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Once you have reviewed the code, click OK to create the policy.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVQRDMBcQDxy4aX7vvh8GRho2-anlJ2rKMeOdERS7B6AjdQvdkMbbcaTlIA2vpbLnz276yfrFfZI1OcUO_YM0RyFNebO8WLSf5jYmHhqWMZRKH1zF8GuETpgR7hQMCmDF85xI0Lt_aZl_M/s1600/Figure+5.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVQRDMBcQDxy4aX7vvh8GRho2-anlJ2rKMeOdERS7B6AjdQvdkMbbcaTlIA2vpbLnz276yfrFfZI1OcUO_YM0RyFNebO8WLSf5jYmHhqWMZRKH1zF8GuETpgR7hQMCmDF85xI0Lt_aZl_M/s1600/Figure+5.png" height="106" width="640" /></a></div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<br />
<br />
<br />
<br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Testing the policy. First attempting to retrieve the values from the customers table as the owner of the policy - ddameda:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> show user</span><br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">USER is "DDAMEDA"</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> select creditcard_no from customers;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">CREDITCARD_NO</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">--------------------------------------------------------------------------------</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">4451-2172-9841-4368</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">5102-6342-4881-5211</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">4891-3311-0090-5005</span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">As expected, there is no redaction going on when the user executing the query is not named WATCHER. We now connect as WATCHER and see what happens:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> show user</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">USER is "WATCHER"</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> select creditcard_no from customers;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">CREDITCARD_NO</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">--------------------------------------------------------------------------------</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">************4368</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">************5211</span><br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">************5005</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">The above proves that the policy is working as intended. </span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">However, if the user watcher can run SQL statements directly to the database, he could still see the credit card numbers for all employees simply by running the following snippet:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SET TIMING ON</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SET SERVEROUTPUT ON</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">DECLARE</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> vcreditcard_no CUSTOMERS.creditcard_no%TYPE;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> vcustomer_name CUSTOMERS.name%TYPE;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">BEGIN</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> FOR a in 1..19 LOOP</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> IF a NOT IN (5,10,15) THEN</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> FOR b in 0..9 LOOP</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> BEGIN</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> SELECT name</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> INTO vcustomer_name</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> FROM CUSTOMERS</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>WHERE customer_id=1</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> AND SUBSTR(creditcard_no,a,1) = b;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>vcreditcard_no:=vcreditcard_no||b;</span><br />
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"> E</span><span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">XCEPTION</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> WHEN NO_DATA_FOUND THEN</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> NULL;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> END;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> END LOOP;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> ELSE</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> vcreditcard_no:=vcreditcard_no||'-';</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> END IF;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> END LOOP;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> DBMS_OUTPUT.PUT_LINE('Credit Card Number for '||vcustomer_name||' is: '||vcreditcard_no);</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">END;</span><br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">/</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Credit Card Number for Daniel Da Meda is: 4451-2172-9841-4368</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PL/SQL procedure successfully completed.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Elapsed: 00:00:00.04</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">The above script uses the where clause to perform a brute force comparison and tests each numeric digit from 0 to 9. At the end, it delivers the credit card number. As you can see, the process and only takes 4 centiseconds to run.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<h3>
Conclusion</h3>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">What I learn from this is that Oracle Data Redaction is a good tool for implementing "visual" security on new and existing applications. However, this only remain valid if the end user does not have any sort of access to the database other then through the application interface. It is important to mention also that some application will allow advanced users or developers to run SQL or procedural code from the application. This is usually the case when the application has a report generator or an interface that allows a user to write some logic and run that on the database. These cases must be visited if you want to implement Data Redaction with the intention of protecting the business against data theft.</span></div>
<div>
<br /></div>
Anonymoushttp://www.blogger.com/profile/04409090780691515655noreply@blogger.com1tag:blogger.com,1999:blog-1219458118840772394.post-25946666124754086072014-08-06T10:32:00.003-07:002014-08-06T10:32:45.938-07:00Oracle Extended Tracing<h2>
Definitions</h2>
<div>
<span style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: x-small; line-height: 19.5px;">A </span><span class="bold" style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: x-small; font-weight: bold; line-height: 19.5px;">trace file</span><span style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: x-small; line-height: 19.5px;"> is a file that contains diagnostic data used to investigate problems. Also, trace files can provide guidance for tuning applications or an instance.</span></div>
<div>
<span style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: x-small; line-height: 19.5px;"><br /></span></div>
<div>
<h3 style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: 16px;">
Types of Trace Files</h3>
<div style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: small; line-height: 19.5px; max-width: 70em;">
<b>Each server and background process</b> can periodically write to an associated trace file. The files contain information on the process environment, status, activities, and errors.</div>
<div style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: small; line-height: 19.5px; max-width: 70em;">
The SQL trace facility also creates trace files, which provide performance information on individual SQL statements. <b>You can enable tracing for a client identifier, service, module, action, session, instance, or database in various ways</b>. </div>
<div style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: small; line-height: 19.5px; max-width: 70em;">
<br /></div>
<h3 style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; line-height: 19.5px; max-width: 70em;">
<span style="font-size: small;">Extended Tracing and Multitenancy</span></h3>
<div>
<span style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: x-small; line-height: 19.5px;">In a </span><a href="https://www.blogger.com/null" id="sthref1650" name="sthref1650" style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: small; line-height: 19.5px;"></a><span style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: x-small; line-height: 19.5px;">multitenant environment, running the </span><code style="background-color: white; color: #222222; font-size: 12px;">ALTER SESSION SET EVENTS</code><span style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: x-small; line-height: 19.5px;"> SQL statement from either the root or a pluggable database (PDB) enables tracing for the current user session. If you switch from one PDB to another PDB (by using the </span><code style="background-color: white; color: #222222; font-size: 12px;">ALTER SESSION SET CONTAINER</code><span style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: x-small; line-height: 19.5px;"> statement), then tracing is still enabled for the new PDB. <b>You cannot enable tracing for a single PDB in a multitenant container database (CDB)</b>; it applies to all PDBs and the root. </span></div>
<div style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: small; line-height: 19.5px; max-width: 70em;">
<br /></div>
<h3 style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; line-height: 19.5px; max-width: 70em;">
<span style="font-size: small;">Setting Trace Events</span></h3>
<div>
<span style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: x-small; line-height: 19.5px;">Extended SQL trace, namely the 10046 event can be started in multiple ways and using multiples methods. Here is a list of SQL commands and PL/SQL API's that can be used to activate the 10046 trace. Depending on what you need, you may want to use one or another. </span></div>
<div>
<span style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: x-small; line-height: 19.5px;"><br /></span></div>
<div>
<ul>
<li><span style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: x-small; line-height: 19.5px;">alter session set events '10046 trace name context forever level 8';</span></li>
<li><span style="background-color: white; color: #555555; font-family: Tahoma; font-size: x-small;"><b>DBMS_MONITOR</b>: It is specially useful for tracing remote sessions and to enable what Oracle calls end-to-end tracing. </span></li>
<li><span style="background-color: white; color: #555555; font-family: Tahoma; font-size: x-small;"><b>DBMS_SYSTEM</b></span></li>
</ul>
</div>
<div>
<br /></div>
<div>
<span style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: x-small; line-height: 19.5px;">The last two are specially good if you want to trace a different sessions. However, </span> <span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="background-color: white; line-height: 19.5px;">if you want more granularity when tracing a specific session, one can make use of the new alter session set events syntax as follows:</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="background-color: white; line-height: 19.5px;"><br /></span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="background-color: white; line-height: 19.5px;"><b>To enable SQL tracing (10046) for a specific sql_id:</b></span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="background-color: white; line-height: 19.5px;"><br /></span></span></div>
<div>
<span style="color: #555555; font-family: tahoma; font-size: 13px;">alter session set events ‘sql_trace [sql:jfkgokfh2v9s1]’;</span></div>
<div>
<span style="color: #555555; font-family: tahoma; font-size: 13px;">alter session set events ‘sql_trace [sql:</span><span style="color: #555555; font-family: tahoma; font-size: 13px;">jfkgokfh</span><span style="color: #555555; font-family: tahoma; font-size: 13px;">2v9s1] off’;</span></div>
<div>
<span style="color: #555555; font-family: tahoma; font-size: 13px;"><br /></span></div>
<div>
<b style="color: #222222; font-family: Tahoma, sans-serif; font-size: small; line-height: 19.5px;">To enable Optimizer tracing (10053) for a specific sql_id:</b></div>
<div>
<b style="color: #222222; font-family: Tahoma, sans-serif; font-size: small; line-height: 19.5px;"><br /></b></div>
<div>
<span style="color: #555555; font-family: tahoma; font-size: 13px;">alter session set events 'trace[rdbms.SQL_Optimizer.*[sql:</span><span style="color: #555555; font-family: tahoma; font-size: 13px;">jfkgokfh2v9s1]';</span></div>
<div>
<span style="color: #555555; font-family: tahoma; font-size: 13px;">alter session set events 'trace[rdbms.SQL_Optimizer.*[sql:</span><span style="color: #555555; font-family: tahoma; font-size: 13px;">jfkgokfh2v9s1] off';</span></div>
<div>
<br /></div>
<div>
<span style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: x-small; line-height: 19.5px;">According to Maria Colgan, Oracle Database 11g has introduced a new diagnostic events infrastructure. This simplifies the tracing exercise allowing you to trace a specific SQL statement instead of enabling the trace for the entire session just to work on a single one.</span></div>
<div>
<span style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: x-small; line-height: 19.5px;"><br /></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="background-color: white; line-height: 19.5px;">As you can see from the above examples, there are more trace event codes than just the SQL trace event. Many other events can be used to expose timings and flows regarding Oracle internal workings. </span></span></div>
<div>
<br /></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="background-color: white; line-height: 19.5px;"><br /></span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="background-color: white; line-height: 19.5px;">I will be listing below, some trace event codes that I am familiar with and will update it with further ones as I</span></span></div>
<h3>
<span style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; line-height: 19.5px;"><span style="font-size: small;">Trace Events</span></span></h3>
<div>
<span style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; line-height: 19.5px;"><span style="font-size: small;"><br /></span></span></div>
<div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="background-color: white; line-height: 19.5px;">Find below, a list of trace event codes that I have extracted from the message file that is shipped with any Oracle Database Home. The text message file I am referring to is the following one:</span></span></div>
</div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="background-color: white; line-height: 19.5px;"><br /></span></span></div>
<div>
<span style="background-color: white; line-height: 19.5px;"><span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;">$ORACLE_HOME/rdbms/mesg/</span></span><span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">oraus.msg</span></span></div>
<div>
<span style="background-color: white; color: #222222; font-family: Tahoma, sans-serif; font-size: x-small; line-height: 19.5px;"><br /></span></div>
<div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10005, 00000, "trace latch operations for debugging"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// level 1 - trace latch gets and frees</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// level 4 - trace multiple posts by processes when latch is freed</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10021, 00000, "KST event to trace control file header writes and reads"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10022, 00000, "trace ktsgsp"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10027, 00000, "Specify Deadlock Trace Information to be Dumped"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10028, 00000, "Dump trace information during lock / resource latch cleanup"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Trace level is a bitfield.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0001 Trace sort auto memory management requirements</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0004 Trace use of new vs old sort</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0020 trace and debug sort spill statistics</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0080 Trace cluster-by-rowid (CBRID) sort</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Trace level is a bitfield.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x01 Output sort statistics in the trace file at the end of sort.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10047, 00000, "trace switching of sessions"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10050, 00000, "sniper trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10051, 00000, "trace OPI calls"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10053, 00000, "CBO Enable optimizer trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10054, 00000, "CBO Enable optimizer trace for recursive statement (RPI)"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10074, 00000, "default trace function mask for kst"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10079, 00000, "trace data sent/received via SQL*Net"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: level 1 - trace network ops to/from client</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// level 4 - trace network ops to/from dblink</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10104, 00000, "dump hash join statistics to trace file"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Trace level is a bit field.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// This event can be turned on globally by seting trace name sqlmem_tracing</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10146, 00000, "enable Oracle TRACE collection"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Oracle Trace may still have it enabled by mistake</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10166, 00000, "trace long operation statistics updates"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">/ At level 1, KQR will dump out latch clean-up debugging traces.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">/ At level 2, KQR will dump out bootstrap debugging traces.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10224, 00000, "index block split/delete trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10226, 00000, "trace CR applications of undo for data operations"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10228, 00000, "trace application of redo by kcocbk"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: such blocks are skipped in table scans, and listed in trace files</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: puts corrupted block in trace file</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// information is logged to a trace file.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10246, 00000, "print trace of PMON actions to trace file"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10250, 00000, "Trace all allocate and free calls to the topmost SGA heap"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10254, 00000, "trace cross-instance calls"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10257, 00000, "trace shared server load balancing"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10266, 00000, "Trace OSD stack usage"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">/ This event can limit the size of tracefile produced for such</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10289, 00000, "Do block dumps to trace file in hex rather than fromatted"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10292, 00000, "hang analysis trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x1 - dump errors to trace file through ksdwrf</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x2 - dump errors to trace file as ORA-600 + 0x1</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10293, 0000, "trace log switch media recovery checkpoints"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10299, 00000, "Trace prefetch tracking decisions made by CKPT"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Comment: This event will trace the history of KTD actions</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// made by the CKPT process are traced. The trace output is</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// written to that process' trace file.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10302, 00000, "trace create or drop internal trigger"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10303, 00000, "trace loading of library cache for internal triggers"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10304, 00000, "trace replication trigger"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10305, 00000, "trace updatable materialized view trigger"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10306, 00000, "trace materialized view log trigger"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10307, 00000, "trace RepCat execution"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10310, 00000, "trace synchronous change table trigger"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10318, 00000, "Trace extensible txn header movements"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10319, 00000, "Trace PGA statistics maintenance"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0001 dump message in trace file when PGA stats are diverging</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0002 trace top-level PGA allocation and deallocation</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10325, 0000, "Trace control file record section expand and shrink operations"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: trace control file record section expand and shrink operations to</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10335, 00000, "trace database open status"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: should cause process to dump trace file and die</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Prints the checkpoint queue and buffers to the trace file</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Comment: For testing only. Trace level bits can be used in combination:</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Comment: trace level is a bitfield (see kkrp.h)</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10390, 00000, "Trace parallel query slave execution"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// trace level is a bitfield</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0800 Trace CRI random sampling</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x1000 Trace signals</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x2000 Trace PX granule operations</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10391, 00000, "trace PX granule allocation/assignment"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0400 trace affinity module</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0800 trace granule allocation during query execution</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x1000 trace object flush</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10399, 00000, "trace buffer allocation"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Level2: trace buffer init, chunk alloc, free and recovery</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Level3: trace buffer alloc & free</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10420, 00000, "trace KSO OS-process operations"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Trace KSO operations.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// trace file. This only works for non-OS Oracle errors.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Usage: event="10423 trace name context forever, level <your-err>"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// event="10423 trace name context forever, level 28"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10425, 00000, "enable global enqueue operations event trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for global enqueue operations.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10426, 00000, "enable ges/gcs reconfiguration event trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for ges/gcs reconfiguration.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10427, 00000, "enable global enqueue service traffic controller event trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for global enqueue service traffic controller.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for global enqueue service cached resource activities.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for global enqueue service IPC calls.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10430, 00000, "enable ges/gcs dynamic remastering event trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for ges/gcs dynamic remastering.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for global cache service fusion calls.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for global enqueue service muliple LMS.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for global enqueue service deadlock detetction.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10437, 00000, "enable trace of global enqueue service S optimized resources"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10440, 00000, "enable global enqueue service inquire resource modes trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for global enqueue service resource inquiry messages.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10441, 00000, "enable diagnosibility daemon (DIAG) trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump traces for DIAG.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10442, 00000, "enable trace of kst for ORA-01555 diagnostics"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for ORA-01555 diagnostics</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for LMS priority management</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10449, 00000, "enable trace of kst for undo manageability features diagnostics"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for undo manageability features diagnostics</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10453, 00000, "Dump compression statistics to trace file"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// generation and dumps interesting information to trace</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10472, 00000, "dump reading log buffer hit ratio histogram to lgwr trace file"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// to lgwr trace file.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10478, 00000, "DBW0 file identification trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10490, 00000, "Trace OSM misc. events"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10491, 00000, "Trace OSM messaging (KFN) events"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10492, 00000, "Trace OSM metadata events"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10494, 00000, "Trace OSM metadata events"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10495, 00000, "Trace OSM metadata events"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10497, 00000, "Trace OSM metadata events"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10499, 00000, "Trace OSM metadata events"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10500, 00000, "turn on traces for SMON"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Level: <=5 trace instance recovery</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// > 5 trace posting of SMON</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10507, 00000, "Trace bind equivalence logic"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10524, 00000, "CMON connection pool trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Comment: enables trace messages from the lightweight thread module. </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Comment: enables trace messages from defer SGA allocation</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Cause: Check alert/trace files for more information</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Cause: Check alert/trace files for more information</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// level: 0x02 Print trace information of assigning CVs to undo tbs slave to trace file.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10569, 00000, "Trace datafile header writes"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10604, 00000, "trace parallel create index"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10606, 00000, "trace parallel create index"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10607, 00000, "trace index rowid partition scan"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// and puts more trace on errors in range scans</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10608, 00000, "trace create bitmap index"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10609, 00000, "trace for array index insertion"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10610, 00000, "trace create index pseudo optimizer"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10622, 00000, "test or trace online index build or rebuild"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// during alter session set events immediate trace name treedump</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10649, 00000, "Turn off/trace lob index freelist coalesce"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Cause: Will turn off or trace lob index freelist coalescing</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: INternal system parameter (_ksi_trace) can be used in addition</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// _ksi_trace = RTXA</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10708, 00000, "print out trace information from the RAC buffer cache"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10710, 00000, "trace bitmap index access"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10711, 00000, "trace bitmap index merge"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10712, 00000, "trace bitmap index or"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10713, 00000, "trace bitmap index and"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10714, 00000, "trace bitmap index minus"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10715, 00000, "trace bitmap index conversion to rowids"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10716, 00000, "trace bitmap index compress/decompress"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10717, 00000, "trace bitmap index compaction trace for index creation"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10719, 00000, "trace bitmap index dml"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10720, 00000, "trace db scheduling"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Comment: traces db scheduling</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10722, 00000, "trace server level database scheduling"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10724, 00000, "trace cross-instance broadcast"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// The trace level is a bitfield, so use it as you would a flag.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10730, 00000, "trace row level security policy predicates"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Comment: traces SQL statements generated to execute CURSOR expressions</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Comment: Causes debug trace to be dumped for ksws routines</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Trace level is a bitfield.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Comment: Causes debug trace to be dumped for kywm routines</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10741, 00000, "trace missing BRR generation"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Trace level is a bit field.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0002 Trace missing BRR due to Oracle RAC pings</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// trace missing BRR due to Oracle RAC pings</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Trace level is a bitfield.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// use level 5 to trace enabling and level 6 to trace disabling.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10780, 00000, "LogMiner API trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10781, 00000, "LogMiner reader trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10782, 00000, "LogMiner preparer trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10783, 00000, "LogMiner builder trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10784, 00000, "LogMiner dictionary trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10785, 00000, "LogMiner trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10787, 00000, "trace intra-instance broadcast"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10788, 00000, "trace call stacks"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10790, 00000, "LogMiner trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10791, 00000, "Logical Standby swithover/failover trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10792, 00000, "Logical Standby XDAT trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10793, 00000, "Logical Standby trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10794, 00000, "Logical Standby trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10795, 00000, "VKTM Process trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10796, 00000, "Elevate Scheduler Priority trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Comment: Causes debug trace to be dumped for gsm routines</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10809, 00000, "Trace state object allocate / free history"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Comment: This event will trace the history of KSS allocations / deletions.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10810, 00000, "Trace snapshot too old"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10811, 00000, "Trace block cleanouts"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10812, 00000, "Trace Consistent Reads"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10826, 00000, "enable upgrade/downgrade error message trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace files and other relevant output</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10830, 00000, "Trace group by sort row source"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// trace level is a bitfield</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0001 trace adaptive fetch usage</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0002 trace exceptions during aggregation</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0004 trace use of one comparison for all key columns</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10831, 00000, "Trace group by rollup row source"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// trace level is a bitfield</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0001 trace use of one comparison for all key columns</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10832, 00000, "Trace approximate NDV row source"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// trace level is a bitfield</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0001 trace </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// rollup pushdown is enabled. Trace level indicates the number of</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0001 trace adaptive mode for partial rollup pushdown</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10839, 00000, "trace / debug caching module (qesca.c)"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0001 trace / debug caching</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10840, 00000, "trace / debug pl/sql caching module (kkxmInitCache)"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0001 trace / debug pl/sql caching</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// state and the stack trace.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// See trace file for more details.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10880, 00000, "trace Java VM execution"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// related messages to trace files. This includes event </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10907, 00000, "Trace extent management events"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10908, 00000, "Trace temp tablespace events"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10975, 00000, "trace execution of parallel propagation"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// > 0 trace the execution of sync procedural replication,</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// > 1 trace the loading of meta-data into library cache for ip</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10977, 00000, "trace event for RepAPI"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">10979, 00000, "trace flags for join index implementation"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// > 1 Dump refresh expressions (SQL) to trace file.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// > 0 Echo input parameter values to the trace log.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// > 1 Display trigger debug info to the trace log also.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// trace file.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">22700, 00000, "object access trace event number"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: If the trace event number is set to a level greater than 0 then</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Look for information in the session trace file and contact</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Look for information in the session trace file and contact</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Event used to trace operation of AQ.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Set this event in your environment to obtain trace information</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Event to trace KOH memory events</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x1: KOH_TRACE_LEVEL_MEM: trace memory alloc and free</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x2: KOH_TRACE_LEVEL_DUR: trace duration start & end</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x4: KOH_TRACE_LEVEL_ZEROCACHE: cache max & opt size = 0</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x8: KOH_TRACE_LEVEL_KOHIH: trace duration list mgmt</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x10: KOH_TRACE_LEVEL_INS: dump memory or instance</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Event to trace KOC cache events</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x1: KOC_TRACE_EVENT_PIN: trace pin operations</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x2: KOC_TRACE_EVENT_DUR: trace duration operations</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x4: KOC_TRACE_EVENT_TXN: trace transaction operations</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Event to trace KOD data events</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x1: KOD_TRACE_EVENT_PIC: trace pickle operations</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x2: KOD_TRACE_EVENT_UPIC: trace unpickle operations</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x4: KOD_TRACE_EVENT_TYPE: trace pickle/unpickle a type</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x00004000: KOD_TRACE_LEVEL_MEDIUM: generate medium amount of tracing</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x00008000: KOD_TRACE_LEVEL_HIGH: generate high amount of tracing</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Event to trace KOL collection events</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x1: KOL_TRACE_EVENT_PIC: trace pickle operations</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x2: KOL_TRACE_EVENT_UPIC: trace unpickle operations</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x40: KOL_TRACE_LEVEL_MEDIUM: generate medium amount of tracing</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x80: KOL_TRACE_LEVEL_HIGH: generate high amount of tracing</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Event to trace KOKC events</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x1: KOkc_TRACE_LEVEL_BASIC: basic dumps</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x2: KOKC_TRACE_LEVEL_TIME: dump time</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x4: KOKC_TRACE_LEVEL_KOKCD: dump kokcd structure</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x8: KOKC_TRACE_LEVEL_ASSERT: enforce asserts</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x1000: KOKC_TRACE_LEVEL_STACK: dump short stack</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x2000: KOKC_TRACE_LEVEL_LSTACK: dump full stack</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Event to trace KOPF operations (FDO)</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// bit 0x1: KOPF_TRACE_EVENT_FDO: dump FDO's in kopfupdate()</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Cause: Number of parameters specified in OCI trace event have exceeded</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">24917, 00000, "OCI notification client trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Look at the client trace files for additional information.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Event used to trace EMON.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// to provide the trace file and information about reproducing the</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// the status of these processes. Also check the trace file for more</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// process. Also check the trace files for more information. </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// process. Also check the trace files for more information. </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// process. Also check the trace files for more information. </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// process. Also check the trace files for more information. </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// and check the trace file for information about the object.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Refer to trace file for more details. </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the error stack and trace file for error details.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// See trace file for more details.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// See trace file for more details.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check trace to see how the jobs were submitted and drop them.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check trace to see how the rows were inserted and call</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check trace to see how the jobs were submitted and drop them.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check trace to see how the invalid GoldenGate, XStream or Streams type was created and</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check trace to identify the problem and call</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check trace for more detail.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the corresponding split/merge row in DBA_STREAMS_SPLIT_MERGE view, alert log and trace file for details.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check Oracle trace file, OS message files and</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: check for trace file and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check for trace file and contact Oracle Support.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the Oracle trace file for additional information on file name</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Consult the trace file for details</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check additional error messages in the process trace file and </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// trace file.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// If there is a trace file, report the errors in it to Oracle</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// is a trace file, report the errors in it to Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// the process trace file and alert log.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// the process trace file and alert log.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// the process trace file and alert log.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// the process trace file and alert log.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// the process trace file and alert log.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Check the additional diagnostic information in the trace file and</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the alert log and process trace file for additional</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// specified in the trace file cannot be corrected.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Support Services along with alert log and trace files. If the cellsrv</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the additional diagnostic information in the trace file and</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Check the trace file for the name of the affected policy and</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace file and correct the errors.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Review the trace file for detailed error information.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Refer to the trace file for details.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Set this event in your environment to obtain trace information</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the error. For more information on the error, check the trace </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// to a trace (*.TRC) file for the ORACLE instance and to</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// version incompatibility is logged in trace (*.TRC) files,</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// trace file.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Also check for additional information in log and trace</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">29712, 00000, "enable global enqueue service cancel event trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for global enqueue service cancel.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">29713, 00000, "enable global enqueue service close event trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for global enqueue service close.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">29714, 00000, "enable global enqueue service state object event trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for global enqueue service state object.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">29717, 00000, "enable global resource directory freeze/unfreeze event trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for global resource directory freeze/unfreeze.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">29718, 00000, "enable global enqueue service CGS interface event trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for global enqueue service CGS interface.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">29720, 00000, "enable global enqueue service SCN service event trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for global enqueue service SCN service.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">29722, 00000, "enable global enqueue service process death event trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for global enqueue service process death.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">29724, 00000, "enable global enqueue heartbeat and CSS/GIPC event trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for global enqueue heartbeat operations and CSS/GIPC</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Enable trace and field levels for KA diagnostics</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">29733, 00000, "enable multiple recovery domains event trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump trace for ges/gcs multiple recovery domains</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace files of other active instances in the cluster</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the alert log, LMON and LMHB trace files for any errors and </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">29750, 00000, "enable CGS name service event trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the alert file and relevent trace files and</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the alert file and relevent trace files and contact</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Enable trace and field levels for GCR diagnostics.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Follow up with the Oracle Support Services using the traces </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Increase shared_pool_size in Init.ora. Check relevant trace files to get more information about the current number of CQN registrations that caused this error message.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x01 - trace loading of TT</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x02 - trace SQL statement generation</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x04 - trace RAC execution</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x08 - trace DBMS_DST procedures </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">30402, 00000, "access advisor debug/testing trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// occurred. The trace logs for each refresh operation describe the </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace logs for more information. Ensure that the </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// the trace log for the failed process to see if there is any</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// the trace log for the failed process to see if there is any</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// the trace log for the failed process to see if there is any</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// the trace log for the failed process to see if there is any</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// the trace log for the failed process to see if there is any</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// the trace log for the failed process to see if there is any</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// the trace log for the failed process to see if there is any</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check your system for problems. Check the trace file for the</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// trace file for the master process for any additional information.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// unexpectedly. Check the log file for the operaton and the trace</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// the trace log for the failed process to see if there is any</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// the trace log for the failed process to see if there is any</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">31902, 00000, "access advisor debug/testing trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">31904, 00000, "Synchronous refresh debug or testing trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">31929, 00000, "Synchronous refresh debug or testing trace"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check FMON trace files for errors.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// check FMON trace files for an ORA-32052 error.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check FMON trace files for errors.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check FMON and FMPUTL trace files for errors.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check foreground trace files for errors.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Oracle DIAG trace files for errors.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check alert log and DIAG trace file for error detail</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check error in DIAG trace file and issue the command again </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check DIAG trace files for errors.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check DIAG trace files for errors.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check DIAG trace files for errors.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check DIAG trace files for errors.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace files.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check Trace file for debug info</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">32781, 00000, "Trace event for window functions"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Trace level is a bitfield.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0001 trace window functions after ordering semantics rewrite</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0002 trace statistics collected for window functions</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0004 trace ordering groups generated for window functions</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0008 trace dynamic sampling statistics expressions</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0010 trace messages for slave-2-QC communication</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// 0x0020 trace window consolidation rows</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">38344, 00000, "bulk load compression trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Comment: Turn on/off various bulk load compression trace features.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// More information was dumped to the trace file.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// More information was dumped to the trace file.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: See trace files for details of the problem.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the FLASHBACK DATABASE command trace file for a</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace log for the offline range of the data file.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: See trace files for details of the problem.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// the trace log for the failed process to see if there is any</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">39089, 00000, "ku trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Comment: Turn on/off various ku trace and debug features (documentation</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// check the trace log for the failed process, if one was created,</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// check the trace log for the failed process, if one was created,</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// check the trace log for the failed process, if one was created,</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// check the trace log for the failed process, if one was created,</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// check the trace log for the failed process, if one was created,</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// check the trace log for the failed process, if one was created,</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">40288, 00000, "event to debug and trace mining model load"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Level 2 - trace model load info</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Turn on related trace for details and report it as a bug.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// package, see kpbf.c for trace levels.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check trace message.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// wallet is on the token. Check trace message</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check trace message</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">43822, 0000, "enable/disable/trace rejection heuristic"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action : Causes kkdcCheckAcrMap to write debug information to the trace </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">45490, 00000, "rolling upgrade trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action : Check the database server traces and contact Oracle Support</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace files for the names of the invalid objects found</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace files for details regarding which sensitive</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace files for more details.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace file for a list of sensitive columns that were </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// the error stack or alert log or trace file that indicate</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace file for detailed error information.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace files to identify the source of the error in the </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the PL/SQL error stack and trace files for a possible error.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace files for the PDB information where the operation</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace file for more information. </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace file for more information and try again.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// exists and the operation is failing, check the trace file and</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace file for more information, create permissions on</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace file for more information, specify the correct </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace file for more information, specify the correct </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check trace files for more information. Delete the target keystore</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check trace files for more information. Delete the target keystore</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check trace files for more information. If the target keystore is</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the contents of the trace file to identify the faulty master</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace file for errors and retry the command.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the contents of the trace file for errors and retry the</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the contents of the trace file for errors and retry the</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the contents of the trace file for more information on the</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace files for errors. Create the keys in PDBs where</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace files for errors. REKEY the keys in PDBs where</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the contents of the trace file for more information on the</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace files for errors. Activate the keys in PDBs where</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace files for errors. REKEY the PDBs where the master</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace file for more information and retry the operation.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// If there is no trace information and trying the operation again </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the trace file for more information and retry the operation.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// If there is no trace information and trying the operation again </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// sgaetjen 12/30/05 - add trace event</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">/ husun 10/02/07 - add backup control file to trace message</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">/ hayu 09/21/06 - add message for trace merging</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">/ bdagevil 06/11/06 - error for parsing UTS Trace event </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">/ bdagevil 06/11/06 - error for parsing UTS Trace event </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Examine the thread trace file for more information.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">54674, 0000, "Event to dump the R-tree node cache contents to trace file"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dump the R-tree node cache contents to trace file. Set this event </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">54675, 0000, "Event to enable diagnostic and informational messages to trace file"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Enable or disable diagnostic and informational messages to trace </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the stack trace for additional information.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check the error message and the stack trace.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">55500, 0000, "Event to be used for different trace levels"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">55516, 0000, "Event to dump the LCR's seen by flashback transaction backout to trace file"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Level 1 > Enable general temp undo debug traces</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Level 1 > Enable general parallel transaction debug traces</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">55570, 0000, "transaction layer debug trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">55703, 00000, "Trace min-act to MMON trace file"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Dumps min-act-scn tracing to MMON trace file.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">55901, 0000, "Secure file log Trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Check the trace files on remote instances for the underlying </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Review trace files for errors.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">56801, 00000, "ksz trace event"</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Comment: Turn on/off various ksz trace and debug features (documentation</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check alert or trace file for error(s).</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check alert or trace file for error(s).</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check alert or trace file for error(s).</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check alert or trace file for error(s) or complete upgrading of</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check alert or trace files for error(s).</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check alert or trace files for error(s).</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// Additional information in the trace file provides details</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: Check additional information in the trace file.</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// error. See alert or trace files in all instances for further</span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Action: None. This error is for understanding the trace file of XMLIndex rewrite. </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// *Cause: There was no subprogram, error, or backtrace at the specified stack </span></span></div>
<div>
<span style="color: #222222; font-family: Tahoma, sans-serif; font-size: x-small;"><span style="line-height: 19.5px;">// or backtrace.</span></span></div>
</div>
</div>
<div>
<br /></div>
Anonymoushttp://www.blogger.com/profile/04409090780691515655noreply@blogger.com1tag:blogger.com,1999:blog-1219458118840772394.post-83682969321769651872014-07-28T09:24:00.001-07:002014-07-28T09:36:50.405-07:00Database Upgrade from 12.1.0.1 to 12.1.0.2 and Cross-version plugin of a PDB<h2>
<span style="font-family: inherit;">Objetives</span></h2>
<div>
<span style="font-family: inherit;">Even though this post will illustrate the steps I have used to perform the upgrade, its main objective is to demonstrate how Oracle will behave in face of the following situation:</span></div>
<ul>
<li>Prior to performing the upgrade, we will unplug the PDBDEV database</li>
<li>Perform the upgrade of the CDB as well as any remaining plugged PDBs. We will be upgrading the database from 12.1.0.1.4 to 12.1.0.2.0.</li>
<li>Once the upgrade has been performed, we will then attempt to plug the PDBDEV back to the CDB in order to test whether Oracle will automatically upgrade it or not.</li>
</ul>
In this Post, we will be performing a CDB database upgrade from the following version:<br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">select banner from v$version;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">BANNER</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">--------------------------------------------------------------------------------</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PL/SQL Release 12.1.0.1.0 - Production</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">CORE<span class="Apple-tab-span" style="white-space: pre;"> </span>12.1.0.1.0<span class="Apple-tab-span" style="white-space: pre;"> </span>Production</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">TNS for Linux: Version 12.1.0.1.0 - Production</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">NLSRTL Version 12.1.0.1.0 - Production</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: inherit;">Note that even though v$version displays 12.1.0.1.0, I have already applied the latest CPU as follows:</span><br />
<span style="font-family: inherit;"><br /></span><span style="font-family: Courier New, Courier, monospace; font-size: x-small;">set linesize 200</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">col comments for a40</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">col action_time for a30</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">select action_time, con_id, action, comments from cdb_registry_history order by action_time,con_id;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">ACTION_TIME<span class="Apple-tab-span" style="white-space: pre;"> </span>CON_ID ACTION COMMENTS</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">------------------- ---------- ------ --------------</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">30/04/2014 16:59:17<span class="Apple-tab-span" style="white-space: pre;"> </span> 1 APPLY PSU 12.1.0.1.1</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">30/04/2014 16:59:45<span class="Apple-tab-span" style="white-space: pre;"> </span> 2 APPLY PSU 12.1.0.1.1</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">30/04/2014 16:59:45<span class="Apple-tab-span" style="white-space: pre;"> </span> 3 APPLY PSU 12.1.0.1.1</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">30/04/2014 16:59:45<span class="Apple-tab-span" style="white-space: pre;"> </span> 4 APPLY PSU 12.1.0.1.1</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">16/07/2014 14:40:52<span class="Apple-tab-span" style="white-space: pre;"> </span> 1 APPLY PSU 12.1.0.1.4</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">16/07/2014 14:41:11<span class="Apple-tab-span" style="white-space: pre;"> </span> 2 APPLY PSU 12.1.0.1.4</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">16/07/2014 14:41:19<span class="Apple-tab-span" style="white-space: pre;"> </span> 3 APPLY PSU 12.1.0.1.4</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">16/07/2014 14:41:26<span class="Apple-tab-span" style="white-space: pre;"> </span> 4 APPLY PSU 12.1.0.1.4</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">The CDB to be upgraded contains the following PDBs:</span><br />
<span style="font-family: inherit;"><br /></span><span style="font-family: Courier New, Courier, monospace; font-size: x-small;">select con_id, name from v$pdbs;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> CON_ID NAME</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">---------- ------------------------------</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> 2 PDB$SEED</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> 3 PDBPROD</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> 4 PDBDEV</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: inherit;">I am running Oracle Grid Infrastructure for a standalone server on this same machine. For the sake of simplicity, I will not be describing the upgrade process of GI. I will, however, detail the upgrade process for the database.</span><br />
<span style="font-family: inherit;"><br /></span>
The Oracle Grid Infrastructure software version must be greater or equal to the software version of the databases it manages.<br />
<br />
Since my goal is to upgrade the database to 12.1.0.2, I have previously upgraded BI to be on the same version as follows:<br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">[oracle@12c grid]$ crsctl query has softwareversion</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Oracle High Availability Services version on the local node is [12.1.0.2.0]</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<br />
<span style="font-family: inherit;">So, now that GI software version is on the same level as our intended level for the database software, we will proceed with the database upgrade.</span><br />
<span style="font-family: inherit;">However, as the defined in the objectives, we also want to test Oracle's 12c PDB hability to upgrade a PDB on the fly once it is plugged back in a CDB that has been updated.</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">At this point, we go ahead and unplug the PDBDEV pluggable database from the CDB while the CDB and all its PDBs are still on version 12.1.0.1:</span><br />
<span style="font-family: inherit;"><br /></span>
Place the pluggable database in MOUNT mode if it is not already :<br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">select name, open_mode from v$pdbs;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">NAME<span class="Apple-tab-span" style="white-space: pre;"> </span> OPEN_MODE</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">------------------------------ ----------</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDB$SEED<span class="Apple-tab-span" style="white-space: pre;"> </span> READ ONLY</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDBPROD <span class="Apple-tab-span" style="white-space: pre;"> </span> MOUNTED</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDBDEV<span class="Apple-tab-span" style="white-space: pre;"> </span> READ ONLY</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span><span style="font-family: Courier New, Courier, monospace; font-size: x-small;">alter pluggable database PDBDEV close;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Pluggable database altered.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">select name, open_mode from v$pdbs;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">NAME<span class="Apple-tab-span" style="white-space: pre;"> </span> OPEN_MODE</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">------------------------------ ----------</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDB$SEED<span class="Apple-tab-span" style="white-space: pre;"> </span> READ ONLY</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDBPROD <span class="Apple-tab-span" style="white-space: pre;"> </span> MOUNTED</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDBDEV<span class="Apple-tab-span" style="white-space: pre;"> </span> MOUNTED</span><br />
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"><br /></span>
Here, we will make use of the SQL statement to unplug the pluggable database. However, this same process can be done via GUI using DBCA:<br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">ALTER PLUGGABLE DATABASE PDBDEV UNPLUG INTO '/u01/app/oracle/unplugged_databases/pdbdev.xml';</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Pluggable database altered.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: inherit;">The XML file has been generated on the specified location as follows:</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">[oracle@12c unplugged_databases]$ pwd</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">/u01/app/oracle/unplugged_databases</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">[oracle@12c unplugged_databases]$ ll -lh</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">total 8.0K</span><br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">-rw-r--r-- 1 oracle asmadmin 4.9K Jul 24 12:59 pdbdev.xml</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: inherit;">Confirm that the PDB has been unplugged:</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">set linesize 200</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">col pdb_name for a30</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">select pdb_name, status from cdb_pdbs;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDB_NAME<span class="Apple-tab-span" style="white-space: pre;"> </span> STATUS</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">------------------------------ -------------</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDB$SEED<span class="Apple-tab-span" style="white-space: pre;"> </span> NORMAL</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDBPROD <span class="Apple-tab-span" style="white-space: pre;"> </span> NORMAL</span><br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">PDBDEV</span><span class="Apple-tab-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small; white-space: pre;"> </span><span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"> </span><b style="font-family: 'Courier New', Courier, monospace; font-size: small;">UNPLUGGED</b><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
Now that we have unplugged the PDBDEV database, we will drop its reference from the CDB so that the DBUA upgrade process doesn't fail.<br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">drop pluggable database pdbdev;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Pluggable database dropped.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: inherit;">Note that the above statement only removes the PDB reference from the CDB. The database files pertaining to the PDBDEV pluggable databases are kept on disk.</span><br />
Once we upgrade the CDB, we will attempt to plug back the 12.1.0.1 PDBDEV database. The process plugin process should automatically upgraded it to 12.1.0.2.<br />
<br />
<span style="font-family: inherit;">We will now, proceed with the database upgrade as follows:</span><br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">oracle@12c database]$ ./runInstaller</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFPTOuuGXjUlTSMCUH-1as1ivXUd8BG76HHCjFFcKtt0My3EihV8qNRdHNOBbL5xRP101F04mnzC2X2DaMR_V7aQ70DFZJT_EBEbrXeNRzOkYR7yeeUyaLfE0zBBspzjyg2nqcDaDZJbuB/s1600/runinstaller.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFPTOuuGXjUlTSMCUH-1as1ivXUd8BG76HHCjFFcKtt0My3EihV8qNRdHNOBbL5xRP101F04mnzC2X2DaMR_V7aQ70DFZJT_EBEbrXeNRzOkYR7yeeUyaLfE0zBBspzjyg2nqcDaDZJbuB/s1600/runinstaller.png" height="183" width="320" /></a></div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<br />
<h3>
</h3>
<br />
<div>
<br /></div>
<div>
<br /></div>
<br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<span style="font-family: inherit;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIQEamWsc2Ov_d-tNC2AgfWDkr2z1-TeB9iqxPCqz3mBytgNHUZPpalitUUE09rL8Odfj5iOPVMyFo0FkfYA0ebkCJc8M96mmFxBVrjqo8sNYmbPKA3aSE1Wc9jcRvKCSBJ1A04un9lc-w/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+1+of+9.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIQEamWsc2Ov_d-tNC2AgfWDkr2z1-TeB9iqxPCqz3mBytgNHUZPpalitUUE09rL8Odfj5iOPVMyFo0FkfYA0ebkCJc8M96mmFxBVrjqo8sNYmbPKA3aSE1Wc9jcRvKCSBJ1A04un9lc-w/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+1+of+9.png" height="480" width="640" /></a></div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYK7cC06AGhVt2axrv6ULKkKqPVSJ9a9Ikz2OLuKCUWjRw1IAaYNicusVxHoVH258NvYtzagSkQA_hQQU1-NMfYZ3P2kYfDPVfQFI0PjRnb02CaEp5PtpHx-HohEV-E970gHOQS2JRFgR6/s1600/Screenshot-My+Oracle+Support+Username-Email+Address+Not+Specified.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYK7cC06AGhVt2axrv6ULKkKqPVSJ9a9Ikz2OLuKCUWjRw1IAaYNicusVxHoVH258NvYtzagSkQA_hQQU1-NMfYZ3P2kYfDPVfQFI0PjRnb02CaEp5PtpHx-HohEV-E970gHOQS2JRFgR6/s1600/Screenshot-My+Oracle+Support+Username-Email+Address+Not+Specified.png" height="125" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoVD68xC6cIhoGZKzXXnSAxi6TKnv764dtmY86SuPIT1fSSoItOJ-irKO0mt2IUHS7iUHl_t1wpUGv3TP6fSBU3IgtYhRwLX5BfGyNYPU1xFKlVEXQ9Ma6BBz-VEIAURJGIR5CW_eWNm_4/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+2+of+9-1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoVD68xC6cIhoGZKzXXnSAxi6TKnv764dtmY86SuPIT1fSSoItOJ-irKO0mt2IUHS7iUHl_t1wpUGv3TP6fSBU3IgtYhRwLX5BfGyNYPU1xFKlVEXQ9Ma6BBz-VEIAURJGIR5CW_eWNm_4/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+2+of+9-1.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvrYZhra57Elx857gVaSQOFxtkJgUaOYoqQQO7StYQpJt7eN91ZsnkgRBbGkAr5Y0yXxqr0g00Fxi8Sw2wNDrbEcZbP5kQhQtHh5-45G3Izpmp3BtMjxcbUqDD_G4N6PXX8Xtl502fwMj3/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+3+of+10.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvrYZhra57Elx857gVaSQOFxtkJgUaOYoqQQO7StYQpJt7eN91ZsnkgRBbGkAr5Y0yXxqr0g00Fxi8Sw2wNDrbEcZbP5kQhQtHh5-45G3Izpmp3BtMjxcbUqDD_G4N6PXX8Xtl502fwMj3/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+3+of+10.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE6MVNGotQzRWuiClzYSQHU2s14r97Rp2RaLdN6t3V1p6CTHRhhyfFQLmllmrd3poRv4jhGH72BW5t2LB0UZUizooE7KeH3LxZWoE5zJ7ycLCkQ-eZfeyKSEvYuICLBiNEhbHwk2y5kees/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+4+of+10.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE6MVNGotQzRWuiClzYSQHU2s14r97Rp2RaLdN6t3V1p6CTHRhhyfFQLmllmrd3poRv4jhGH72BW5t2LB0UZUizooE7KeH3LxZWoE5zJ7ycLCkQ-eZfeyKSEvYuICLBiNEhbHwk2y5kees/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+4+of+10.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: inherit;">This is an out-of-place upgrade. An empty directory must be selected:</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioVBQ6y5NnCivpYGi3JqD_9EZ_-T5jhF_VKWgRfOYH5M0Uee2fU3VhANR7CIoP8oee9RJwC_JDxn4NROAcY-68GEmFu893OXqqc6ynuGVgXiaBbwC2_raIC2QgzhWX29HQ3wWwfkfdG8x6/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+5+of+10.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioVBQ6y5NnCivpYGi3JqD_9EZ_-T5jhF_VKWgRfOYH5M0Uee2fU3VhANR7CIoP8oee9RJwC_JDxn4NROAcY-68GEmFu893OXqqc6ynuGVgXiaBbwC2_raIC2QgzhWX29HQ3wWwfkfdG8x6/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+5+of+10.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJuGl_Us2Au8Rbg7dziCj6LJA3FHWRokzrsie7aMxlJLW_Ysz7HcHG7bsnp3rwUkLaZOQwgKYuLPEOXdRfYEL029JrJNalO-Aazk0DQQxsd417ZEVbC2qB9Ua36X3Pzt83VVs1tbYjth-8/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+6+of+10.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJuGl_Us2Au8Rbg7dziCj6LJA3FHWRokzrsie7aMxlJLW_Ysz7HcHG7bsnp3rwUkLaZOQwgKYuLPEOXdRfYEL029JrJNalO-Aazk0DQQxsd417ZEVbC2qB9Ua36X3Pzt83VVs1tbYjth-8/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+6+of+10.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoUo4ejtp4lH_zToh2wvjuGaUi0yt3yk6PO98HkybcGFtyOTnEZxIDtWnaA9dlw74YyWuVbrZI5B5lbpS-8fqdwOBfU3PjB9_bzI4frE6Y7x7WLf2grg3WVym5fSOoul1z5I4OII3w818k/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+7+of+10.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoUo4ejtp4lH_zToh2wvjuGaUi0yt3yk6PO98HkybcGFtyOTnEZxIDtWnaA9dlw74YyWuVbrZI5B5lbpS-8fqdwOBfU3PjB9_bzI4frE6Y7x7WLf2grg3WVym5fSOoul1z5I4OII3w818k/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+7+of+10.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn8BW-h2wJ-z0yMiH2gx0ha9drxrdoT3nkwcqWJmy8EeKnZKZVAqcc5zmEzsMC4lhUfsY2_CMgfpo1eQjW6YdOBFO9lJ7A-SXGX3GY8p0WVoeUzW8mk8NW2YeZsexQbdQ7798_WwKqnACK/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+8+of+10.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn8BW-h2wJ-z0yMiH2gx0ha9drxrdoT3nkwcqWJmy8EeKnZKZVAqcc5zmEzsMC4lhUfsY2_CMgfpo1eQjW6YdOBFO9lJ7A-SXGX3GY8p0WVoeUzW8mk8NW2YeZsexQbdQ7798_WwKqnACK/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+8+of+10.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivP0KhpirEMLl-7aCE8HPWxH6kCfLBcvjRSziIjOgBel6SzN9q46R7GKYUH1Zjk7d6mQ1RPI6sw2fk7IENDo_kCZgdBNKh4u5DipwDYWz9uy_GwIIiLK9_h9IuJ9i-SzNXoq439ORuf1de/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+9+of+10.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivP0KhpirEMLl-7aCE8HPWxH6kCfLBcvjRSziIjOgBel6SzN9q46R7GKYUH1Zjk7d6mQ1RPI6sw2fk7IENDo_kCZgdBNKh4u5DipwDYWz9uy_GwIIiLK9_h9IuJ9i-SzNXoq439ORuf1de/s1600/Screenshot-Oracle+Database+12c+Release+1+Installer+-+Step+9+of+10.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
Run the script as directed in the screen message:</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQsnjBn_VFRgaIFc1NJoWGzjaGKaVv18Vwt3M4_tszHMKZlqkQQhjflkWVN9skVStNuIHf1vTb0yIX2p0IGQDj4UeUBGYDxfkdZg7_88z-zRIvRGYP15E1Bsi7LNFpmsjgdIcxO3VzoYxm/s1600/Screenshot-Execute+Configuration+scripts.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQsnjBn_VFRgaIFc1NJoWGzjaGKaVv18Vwt3M4_tszHMKZlqkQQhjflkWVN9skVStNuIHf1vTb0yIX2p0IGQDj4UeUBGYDxfkdZg7_88z-zRIvRGYP15E1Bsi7LNFpmsjgdIcxO3VzoYxm/s1600/Screenshot-Execute+Configuration+scripts.png" height="281" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">[oracle@12c 12.1.0]$ su - root</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Password: </span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">[root@12c ~]# /u01/app/oracle/product/12.1.0.2/root.sh </span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Performing root user operation.</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">The following environment variables are set as:</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> ORACLE_OWNER= oracle</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> ORACLE_HOME= /u01/app/oracle/product/12.1.0.2</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Enter the full pathname of the local bin directory: [/usr/local/bin]: </span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">The contents of "dbhome" have not changed. No need to overwrite.</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">The contents of "oraenv" have not changed. No need to overwrite.</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">The contents of "coraenv" have not changed. No need to overwrite.</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Entries will be added to the /etc/oratab file as needed by</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Database Configuration Assistant when a database is created</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Finished running generic part of root script.</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Now product-specific root actions will be performed.</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">[root@12c ~]#</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<h3 style="clear: both;">
DBUA</h3>
<div style="clear: both;">
The Database Upgrade Assistant is automatically opened as the last step. At this point, all binaries 12.1.0.2 binaries have been installed onto the new ORACLE_HOME. The DBUA will perform the upgrade of the database dictionary as well as allowing it to run from the new ORACLE_HOME.</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGw2RfYeh5hMvuGt0qXIPJLJyRbUXS_pBq82pTmX5NI_mze5dNaYNh8cn0aB2Oxz9RQ9P_WV2cdWfrHr2s4aGhl6jUrBHMzDvBe1T4jbRiRWrv1wWUZ_Vrdla4jJ0K1r8kw4FaiqXA-frV/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Welcome+-+Step+1+of+11.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGw2RfYeh5hMvuGt0qXIPJLJyRbUXS_pBq82pTmX5NI_mze5dNaYNh8cn0aB2Oxz9RQ9P_WV2cdWfrHr2s4aGhl6jUrBHMzDvBe1T4jbRiRWrv1wWUZ_Vrdla4jJ0K1r8kw4FaiqXA-frV/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Welcome+-+Step+1+of+11.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both;">
This is the explanation for each option found on the above screen:</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
<b>Upgrade Oracle Database: </b>Upgrade your existing Oracle database version to Oracle Database 12c Release 1. </div>
<div class="separator" style="clear: both;">
<b>Move Database from a different release 12.1</b> <b>Oracle Home: </b>This option can be used to migrate your database from the present Oracle home to another Oracle home of the same version.</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-cJJUyOseVotHp_8W5gn2UgcZytA5Q4O00J-q4bVeoLmq8vDlTGwgRIppBvUvJEeicJV729DFXxKzGQeKRNSiGPAwJ0bz25MNMgZSdVN4WOO5JNkm5yHtXdMeG0-h4Yi_AWCXaNSPDrnH/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+2+of+11.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-cJJUyOseVotHp_8W5gn2UgcZytA5Q4O00J-q4bVeoLmq8vDlTGwgRIppBvUvJEeicJV729DFXxKzGQeKRNSiGPAwJ0bz25MNMgZSdVN4WOO5JNkm5yHtXdMeG0-h4Yi_AWCXaNSPDrnH/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+2+of+11.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwl23r8UvnFz7gGxBk5AcOHLbCmuOX3JCQxapxNMSQmNMTQuoNg8oR7oorGZ1jntEGSfn39hyphenhyphen6DWzSCiMZ80EHp4xZEmnSc9CdYHX7NomDybQ2XI1bIQppuo_g0FQqKW8bC9-H8DdcXpo-/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+3+of+12-1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwl23r8UvnFz7gGxBk5AcOHLbCmuOX3JCQxapxNMSQmNMTQuoNg8oR7oorGZ1jntEGSfn39hyphenhyphen6DWzSCiMZ80EHp4xZEmnSc9CdYHX7NomDybQ2XI1bIQppuo_g0FQqKW8bC9-H8DdcXpo-/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+3+of+12-1.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO-vHJEcU1gA-3V2e7GF93dStUY8npEA-ew3wbe1m_XgK4WnClgSLuEBFRGLYx4a3LIk-il8HH8ltetiGemhsA75yn63V45i6hiO9XWMZ3Vw4Z7jrHEed36x_b_pZGszvJXu6BwBxtXJ4g/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+4+of+12.png" imageanchor="1" style="clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em; text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO-vHJEcU1gA-3V2e7GF93dStUY8npEA-ew3wbe1m_XgK4WnClgSLuEBFRGLYx4a3LIk-il8HH8ltetiGemhsA75yn63V45i6hiO9XWMZ3Vw4Z7jrHEed36x_b_pZGszvJXu6BwBxtXJ4g/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+4+of+12.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVCUfkix_VoQuHbDSt422jDmf8dubV9oSeceBiQUuxUsx4tHjZyprFBXGoVPR7zxNUwpfhjDS3CwmQEu7VZ74VZ0FetdUHFMPRMnMQXUVsgFuOhXRwfgSspiGBRlDsh67BxisikfTO9OTt/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+4+of+12-1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVCUfkix_VoQuHbDSt422jDmf8dubV9oSeceBiQUuxUsx4tHjZyprFBXGoVPR7zxNUwpfhjDS3CwmQEu7VZ74VZ0FetdUHFMPRMnMQXUVsgFuOhXRwfgSspiGBRlDsh67BxisikfTO9OTt/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+4+of+12-1.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitYEIv-jA1CPYhAQNP5OKTs4m0-pW9K-bjrZLZGvlPHxJmDxAehtQyCJqBzrxkIOUGyeuoqt5XsMssgflnrapMDFzGpzYNLpWmHNwCgJ8Q5LKqrEsaPMOpqXYDXl0xD3Pa41CcpBz4jpJB/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+5+of+12.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitYEIv-jA1CPYhAQNP5OKTs4m0-pW9K-bjrZLZGvlPHxJmDxAehtQyCJqBzrxkIOUGyeuoqt5XsMssgflnrapMDFzGpzYNLpWmHNwCgJ8Q5LKqrEsaPMOpqXYDXl0xD3Pa41CcpBz4jpJB/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+5+of+12.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpoiSqWJON57k5I1XEJY3ZeyTLC3NlpD7za3oW1KAyYgI-Ospany3h-nINSrMddDrjqVHTReJR_vkl-Ky-l5m3itrYi4lGqFY6_MPg1YIqi6ol3ILzztZBl3yThBhvKJE6LrKr58mf1A4h/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+6+of+12.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpoiSqWJON57k5I1XEJY3ZeyTLC3NlpD7za3oW1KAyYgI-Ospany3h-nINSrMddDrjqVHTReJR_vkl-Ky-l5m3itrYi4lGqFY6_MPg1YIqi6ol3ILzztZBl3yThBhvKJE6LrKr58mf1A4h/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+6+of+12.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibk_JWZ_brtC4KNygoBKMdqD3nf76w3XPt1Gh10uDDESYFTpoitYeXeOYEK7z3hq7AeqafoOy1NtSsvOVgpkmTvUF569JbYZsDVZUcgJ4uea2Vqb16IRlRFpXYBNkuYFFpwPjV6M3rWwof/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+7+of+12.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibk_JWZ_brtC4KNygoBKMdqD3nf76w3XPt1Gh10uDDESYFTpoitYeXeOYEK7z3hq7AeqafoOy1NtSsvOVgpkmTvUF569JbYZsDVZUcgJ4uea2Vqb16IRlRFpXYBNkuYFFpwPjV6M3rWwof/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+7+of+12.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghdhRdFDLPcFCZUUvdfbpTzX_TomEaco52w3Yd66Olf0XTr90KdiTyc8Xqj7YfuSJuWuLf200abnWV4hpwN2ovvdkSIsRndBcnRgT7JklnoMYTIeoxxDjxTNra5k3LJizQeKdXKq9f48bE/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+8+of+12.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghdhRdFDLPcFCZUUvdfbpTzX_TomEaco52w3Yd66Olf0XTr90KdiTyc8Xqj7YfuSJuWuLf200abnWV4hpwN2ovvdkSIsRndBcnRgT7JklnoMYTIeoxxDjxTNra5k3LJizQeKdXKq9f48bE/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+8+of+12.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZF0z7Zz-kBErW82FoXR6p7GqL0ocOPAyaEQskD2sossrJdHIsOydOapZXQ6miejz2fm9saS20chxnntvsjdgQ0CsRz12svV_cgQ7wx5Y85yjPZal4AkjTErohC3Krvg74voUyVq1-30KN/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+9+of+12.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZF0z7Zz-kBErW82FoXR6p7GqL0ocOPAyaEQskD2sossrJdHIsOydOapZXQ6miejz2fm9saS20chxnntvsjdgQ0CsRz12svV_cgQ7wx5Y85yjPZal4AkjTErohC3Krvg74voUyVq1-30KN/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+9+of+12.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimmWI2FSdAkmASRc57i6ysjJPzgxOCYSFMiX5OVwQltGNllItIHr0NY0_qvyRG3wSx3B1Ha0mvwVBw7SVLy3L7kCs4ZPq4J2N_ADC7gDUddCUOti3nqSviKT7ZF0ki5o_DHQYX4tUAGzM_/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+10+of+12.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimmWI2FSdAkmASRc57i6ysjJPzgxOCYSFMiX5OVwQltGNllItIHr0NY0_qvyRG3wSx3B1Ha0mvwVBw7SVLy3L7kCs4ZPq4J2N_ADC7gDUddCUOti3nqSviKT7ZF0ki5o_DHQYX4tUAGzM_/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+10+of+12.png" height="480" width="640" /></a></div>
<div class="separator" style="clear: both;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi33HWzrsPlpqkX-gxeSBLkhw-VzquH5sUAksx75hJvX2N7U7TCVlO8Di-ic90SMMR4jUtpMoQxHpWqTnW7BWFYCWXwdDptg2DdY5e5JmumBtti2vv6uskz53lTGvI3Voe5h2TY1yKm5NBk/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+11+of+12.png" imageanchor="1" style="clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em; text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi33HWzrsPlpqkX-gxeSBLkhw-VzquH5sUAksx75hJvX2N7U7TCVlO8Di-ic90SMMR4jUtpMoQxHpWqTnW7BWFYCWXwdDptg2DdY5e5JmumBtti2vv6uskz53lTGvI3Voe5h2TY1yKm5NBk/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+11+of+12.png" height="480" width="640" /></a></div>
<br />
Once the upgrade is done, you can click on the upgrade results button to have a more detailed look at the upgrade process:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHPmGHJUR2JcL7Ne15gMUSiPnhKGGKE9G0DkvTw9KifEoOm5iGLjywlt3A7HoG_WTvCwcoKT5w-CSIzWhB_llDHD1VQXMrBIVaeyfPlOVe-YOtKz-9PogST14uYCiwXZO8aHmf5_IUb4Sy/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+12+of+12.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHPmGHJUR2JcL7Ne15gMUSiPnhKGGKE9G0DkvTw9KifEoOm5iGLjywlt3A7HoG_WTvCwcoKT5w-CSIzWhB_llDHD1VQXMrBIVaeyfPlOVe-YOtKz-9PogST14uYCiwXZO8aHmf5_IUb4Sy/s1600/Screenshot-Database+Upgrade+Assistant+12.1.0.2.0+-+Upgrade+Oracle+Database+-+Step+12+of+12.png" height="480" width="640" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
The upgrade process generates a large amount of REDO, so, make sure you backup your database plus archived logs once the upgrade process has finished. This is not strictly necessary but it could save us a great deal of time if we have to perform a recovery prior to the next scheduled database backup.<br />
<br />
<h3>
Plugging back the PDBDEV database</h3>
<div>
We may now attempt to plug the PDBDEV datababase back into the CDB.</div>
<div>
<br /></div>
<div>
Checking v$version:</div>
<div>
<br /></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">select banner from v$version;</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">BANNER</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">--------------------------------------------------------------------------------</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PL/SQL Release 12.1.0.2.0 - Production</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">CORE<span class="Apple-tab-span" style="white-space: pre;"> </span>12.1.0.2.0<span class="Apple-tab-span" style="white-space: pre;"> </span>Production</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">TNS for Linux: Version 12.1.0.2.0 - Production</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">NLSRTL Version 12.1.0.2.0 - Production</span></div>
</div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
Issuing the <span style="font-family: Courier New, Courier, monospace;">CREATE PLUGGABLE DATABASE</span> <span style="font-family: inherit;">command:</span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> create pluggable database pdbdev using '/u01/app/oracle/unplugged_databases/pdbdev.xml' ;</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Pluggable database created.</span></div>
</div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
Alert log contents:</div>
<div>
<br /></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">create pluggable database pdbdev using '/u01/app/oracle/unplugged_databases/pdbdev.xml'</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Mon Jul 28 15:45:58 2014</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">****************************************************************</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Pluggable Database PDBDEV with pdb id - 4 is created as UNUSABLE.</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">If any errors are encountered before the pdb is marked as NEW,</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">then the pdb must be dropped</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">****************************************************************</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Database Characterset for PDBDEV is AL32UTF8</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Mon Jul 28 15:46:13 2014</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Deleting old file#29 from file$</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Deleting old file#30 from file$</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Deleting old file#31 from file$</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Deleting old file#32 from file$</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Adding new file#33 to file$(old file#29)</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Adding new file#34 to file$(old file#30)</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Adding new file#35 to file$(old file#31)</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Adding new file#36 to file$(old file#32)</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Successfully created internal service pdbdev.xps15z.com at open</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">ALTER SYSTEM: Flushing buffer cache inst=0 container=4 local</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">****************************************************************</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Post plug operations are now complete.</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Pluggable database PDBDEV with pdb id - 4 is now marked as NEW.</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">****************************************************************</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Completed: create pluggable database pdbdev using '/u01/app/oracle/unplugged_databases/pdbdev.xml'</span></div>
</div>
<div>
<br /></div>
<div>
Checking the pluggable database PDBDEV mode, state and version:</div>
<div>
<br /></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">select name, open_mode from v$pdbs;</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">NAME<span class="Apple-tab-span" style="white-space: pre;"> </span> OPEN_MODE</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">------------------------------ ----------</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDB$SEED<span class="Apple-tab-span" style="white-space: pre;"> </span> READ ONLY</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDBPROD <span class="Apple-tab-span" style="white-space: pre;"> </span> READ WRITE</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDBDEV<span class="Apple-tab-span" style="white-space: pre;"> </span> MOUNTED</span></div>
</div>
<div>
<br /></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">select pdb_name, status, vsn from cdb_pdbs;</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDB_NAME<span class="Apple-tab-span" style="white-space: pre;"> </span> STATUS<span class="Apple-tab-span" style="white-space: pre;"> </span> VSN</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">-------------------- --------- ----------</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDB$SEED<span class="Apple-tab-span" style="white-space: pre;"> </span> NORMAL<span class="Apple-tab-span" style="white-space: pre;"> </span>202375680</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDBPROD <span class="Apple-tab-span" style="white-space: pre;"> </span> NORMAL<span class="Apple-tab-span" style="white-space: pre;"> </span>202375680</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDBDEV<span class="Apple-tab-span" style="white-space: pre;"> </span> NEW<span class="Apple-tab-span" style="white-space: pre;"> </span><b>202375424</b></span></div>
</div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><b><br /></b></span></div>
<div>
The PDBDEV pluggable database was plugged in successfully and it was left in MOUNT mode.</div>
<div>
We can also see that the VSN column from CDB_PDBS view shows the pluggable database as being on a previous version.</div>
<div>
We will proceed and attempt to open the PDBDEV pluggable database which is on a different version to see what happens:</div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL> alter pluggable database PDBDEV open;</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Warning: PDB altered with errors.</span></div>
</div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="background-color: white; color: #222222; line-height: 38.400001525878906px;"><span style="font-family: inherit; font-size: large;">Ouch! That was not what I was expecting...</span></span></div>
<div>
<span style="color: #222222;"><span style="background-color: white; line-height: 38.400001525878906px;">So, it does not perform the upgrade automatically. Let's investigate where we are at</span></span></div>
<div>
<br /></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"></span><br />
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">select name, open_mode from v$pdbs;</span></div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">
<div>
<br /></div>
<div>
NAME<span class="Apple-tab-span" style="white-space: pre;"> </span> OPEN_MODE</div>
<div>
------------------------------ ----------</div>
<div>
PDB$SEED<span class="Apple-tab-span" style="white-space: pre;"> </span> READ ONLY</div>
<div>
PDBPROD <span class="Apple-tab-span" style="white-space: pre;"> </span> READ WRITE</div>
<div>
PDBDEV<span class="Apple-tab-span" style="white-space: pre;"> </span> <b>MIGRATE</b></div>
</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: inherit;">Alert Log:</span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">alter pluggable database PDBDEV open</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Mon Jul 28 15:57:19 2014</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Pluggable database PDBDEV dictionary check beginning</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Pluggable Database PDBDEV Dictionary check complete</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Database Characterset for PDBDEV is AL32UTF8</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">***************************************************************</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">WARNING: Pluggable Database PDBDEV with pdb id - 4 is</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> altered with errors or warnings. Please look into</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> <b>PDB_PLUG_IN_VIOLATIONS</b> view for more details.</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">***************************************************************</span></div>
</div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">select time, status, message from pdb_plug_in_violations;</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">TIME<span class="Apple-tab-span" style="white-space: pre;"> </span> STATUS MESSAGE</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">-------------------- --------- ---------------------------------------------------------------------------------</span></div>
<div>
<br /></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">28/07/2014 15:57:21 <b>PENDING</b> PDB's version does not match CDB's version: PDB's version 12.1.0.1.0. CDB's versi</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> on 12.1.0.2.0.</span></div>
</div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: inherit;">As we can see from the above, it does not perform the upgrade automatically for us, we must perform the following manual steps to upgrade the pluggable database from 12.1.0.1 to 12.1.0.2:</span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">alter session set container=PDBDEV;</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Session altered.</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">alter pluggable database PDBDEV close;</span></div>
<div>
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">Pluggable database altered.</span></div>
</div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">alter pluggable database PDBDEV open upgrade;</span></div>
<div>
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">Warning: PDB altered with errors.</span></div>
</div>
<div>
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
It turns out that the upgrade process takes quite a while to finish. We are upgrading the PDBDEV database using the <span style="font-family: Courier New, Courier, monospace;">catcon.pl</span><span style="font-family: inherit;"> </span>perl script provided by oracle:</div>
<div>
<br /></div>
<div>
The following is the output from catcon.pl:</div>
<div>
<br /></div>
<div>
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">[oracle@12c admin]$ /u01/app/oracle/product/12.1.0.2/perl/bin/perl catctl.pl -d /u01/app/oracle/product/12.1.0.2/rdbms/admin/ -l /tmp/pdb_upgrade -c 'PDBDEV' catupgrd.sql</span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Argument list for [catctl.pl]</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL Process Count n = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL PDB Process Count N = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Input Directory d = /u01/app/oracle/product/12.1.0.2/rdbms/admin/</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Phase Logging Table t = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Log Dir l = /tmp/pdb_upgrade</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Script s = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Run S = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Upgrade Mode active M = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Start Phase p = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">End Phase P = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Log Id i = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Run in c = PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Do not run in C = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Echo OFF e = 1</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">No Post Upgrade x = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Reverse Order r = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Open Mode Normal o = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Debug catcon.pm z = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Debug catctl.pl Z = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Display Phases y = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Child Process I = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">catctl.pl version: 12.1.0.2.0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Oracle Base = /u01/app/oracle</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Analyzing file /u01/app/oracle/product/12.1.0.2/rdbms/admin//catupgrd.sql</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Log files in /tmp/pdb_upgrade</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">catcon: ALL catcon-related output will be written to /tmp/pdb_upgrade/catupgrd_catcon_8421.lst</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">catcon: See /tmp/pdb_upgrade/catupgrd*.log files for output generated by scripts</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">catcon: See /tmp/pdb_upgrade/catupgrd_*.lst files for spool files, if any</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Number of Cpus = 1</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Parallel PDB Upgrades = 2</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL PDB Process Count = 2</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL Process Count = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">New SQL Process Count = 1</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">[CONTAINER NAMES]</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">CDB$ROOT</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDB$SEED</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDBPROD</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDB Inclusion:[PDBDEV] Exclusion:[]</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Starting</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">[/u01/app/oracle/product/12.1.0.2/perl/bin/perl catctl.pl -d /u01/app/oracle/product/12.1.0.2/rdbms/admin/ -l /tmp/pdb_upgrade -c 'PDBDEV' -I -i pdbdev -n 2 catupgrd.sql]</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Argument list for [catctl.pl]</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL Process Count n = 2</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL PDB Process Count N = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Input Directory d = /u01/app/oracle/product/12.1.0.2/rdbms/admin/</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Phase Logging Table t = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Log Dir l = /tmp/pdb_upgrade</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Script s = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Run S = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Upgrade Mode active M = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Start Phase p = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">End Phase P = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Log Id i = pdbdev</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Run in c = PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Do not run in C = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Echo OFF e = 1</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">No Post Upgrade x = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Reverse Order r = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Open Mode Normal o = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Debug catcon.pm z = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Debug catctl.pl Z = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Display Phases y = 0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Child Process I = 1</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">catctl.pl version: 12.1.0.2.0</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Oracle Base = /u01/app/oracle</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Analyzing file /u01/app/oracle/product/12.1.0.2/rdbms/admin//catupgrd.sql</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Log files in /tmp/pdb_upgrade</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">catcon: ALL catcon-related output will be written to /tmp/pdb_upgrade/catupgrdpdbdev_catcon_8503.lst</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">catcon: See /tmp/pdb_upgrade/catupgrdpdbdev*.log files for output generated by scripts</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">catcon: See /tmp/pdb_upgrade/catupgrdpdbdev_*.lst files for spool files, if any</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Number of Cpus = 1</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL PDB Process Count = 2</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SQL Process Count = 2</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">[CONTAINER NAMES]</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">CDB$ROOT</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDB$SEED</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDBPROD</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDB Inclusion:[PDBDEV] Exclusion:[]</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">------------------------------------------------------</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Phases [0-73]</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Container Lists Inclusion:[PDBDEV] Exclusion:[]</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #: 0 Files: 1 Time: 33s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #: 1 Files: 5 Time: 47s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #: 2 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Parallel Phase #: 3 Files: 18 Time: 28s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #: 4 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #: 5 Files: 5 Time: 19s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #: 6 Files: 1 Time: 8s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #: 7 Files: 4 Time: 14s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #: 8 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Parallel Phase #: 9 Files: 62 Time: 119s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:10 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:11 Files: 1 Time: 19s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:12 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Parallel Phase #:13 Files: 91 Time: 9s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:14 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Parallel Phase #:15 Files: 111 Time: 33s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:16 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:17 Files: 3 Time: 2s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:18 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Parallel Phase #:19 Files: 32 Time: 52s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:20 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:21 Files: 3 Time: 11s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:22 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Parallel Phase #:23 Files: 23 Time: 144s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:24 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Parallel Phase #:25 Files: 11 Time: 52s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:26 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:27 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:28 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:30 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:31 Files: 257 Time: 39s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:32 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:33 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:34 Files: 1 Time: 2s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:35 Files: 1 Time: 1s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:36 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:37 Files: 4 Time: 74s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:38 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Parallel Phase #:39 Files: 13 Time: 116s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:40 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Parallel Phase #:41 Files: 10 Time: 12s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:42 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:43 Files: 1 Time: 11s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:44 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:45 Files: 1 Time: 3s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:46 Files: 1 Time: 1s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:47 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:48 Files: 1 Time: 596s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:49 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:50 Files: 1 Time: 75s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:51 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:52 Files: 1 Time: 133s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:53 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:54 Files: 1 Time: 109s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:55 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:56 Files: 1 Time: 128s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:57 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:58 Files: 1 Time: 150s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:59 Files: 1 Time: 1s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:60 Files: 1 Time: 383s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:61 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:62 Files: 1 Time: 294s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Restart Phase #:63 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:64 Files: 1 Time: 1s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:65 Files: 1 Calling sqlpatch with LD_LIBRARY_PATH=/u01/app/oracle/product/12.1.0.2/lib; export LD_LIBRARY_PATH;/u01/app/oracle/product/12.1.0.2/perl/bin/perl -I /u01/app/oracle/product/12.1.0.2/rdbms/admin -I /u01/app/oracle/product/12.1.0.2/rdbms/admin/../../sqlpatch /u01/app/oracle/product/12.1.0.2/rdbms/admin/../../sqlpatch/sqlpatch.pl -verbose -upgrade_mode_only -pdbs PDBDEV > /tmp/pdb_upgrade/catupgrdpdbdev_datapatch_upgrade.log 2> /tmp/pdb_upgrade/catupgrdpdbdev_datapatch_upgrade.err</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">returned from sqlpatch</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> Time: 23s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:66 Files: 1 Time: 3s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:68 Files: 1 Time: 7s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:69 Files: 1 Calling sqlpatch with LD_LIBRARY_PATH=/u01/app/oracle/product/12.1.0.2/lib; export LD_LIBRARY_PATH;/u01/app/oracle/product/12.1.0.2/perl/bin/perl -I /u01/app/oracle/product/12.1.0.2/rdbms/admin -I /u01/app/oracle/product/12.1.0.2/rdbms/admin/../../sqlpatch /u01/app/oracle/product/12.1.0.2/rdbms/admin/../../sqlpatch/sqlpatch.pl -verbose -pdbs PDBDEV > /tmp/pdb_upgrade/catupgrdpdbdev_datapatch_normal.log 2> /tmp/pdb_upgrade/catupgrdpdbdev_datapatch_normal.err</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">returned from sqlpatch</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> Time: 56s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:70 Files: 1 Time: 24s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:71 Files: 1 Time: 2s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:72 Files: 1 Time: 3s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Serial Phase #:73 Files: 1 Time: 0s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Grand Total Time: 2840s PDBDEV</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">LOG FILES: (catupgrdpdbdev*.log)</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Upgrade Summary Report Located in:</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">/u01/app/oracle/product/12.1.0.2/cfgtoollogs/CDB/upgrade/upg_summary.log</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Total Upgrade Time: [0d:0h:47m:20s]</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> Time: 2843s For PDB(s)</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Grand Total Time: 2843s </span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">LOG FILES: (catupgrd*.log)</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace;"><b>Grand Total Upgrade Time: [0d:0h:47m:23s]</b></span></div>
</div>
<div>
<span style="font-family: Courier New, Courier, monospace;"><b><br /></b></span></div>
<div>
At last, it looks like the PDBDEV pluggable database has been upgraded.</div>
<div>
Let's confirm that:</div>
<div>
<br /></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">select pdb_name, status, vsn from cdb_pdbs;</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDB_NAME<span class="Apple-tab-span" style="white-space: pre;"> </span> STATUS<span class="Apple-tab-span" style="white-space: pre;"> </span> VSN</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">-------------------- --------- ----------</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDB$SEED<span class="Apple-tab-span" style="white-space: pre;"> </span> NORMAL<span class="Apple-tab-span" style="white-space: pre;"> </span>202375680</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDBPROD <span class="Apple-tab-span" style="white-space: pre;"> </span> NORMAL<span class="Apple-tab-span" style="white-space: pre;"> </span>202375680</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDBDEV<span class="Apple-tab-span" style="white-space: pre;"> </span> NORMAL<span class="Apple-tab-span" style="white-space: pre;"> </span>202375680</span></div>
</div>
<div>
<span style="font-family: Courier New, Courier, monospace;"><br /></span></div>
<div>
<span style="font-family: inherit;">From the above output, we can see that the version is now the same as the other containers.</span></div>
<div>
<span style="font-family: inherit;">The PDBDEV was left in mount state. Let's attempt to open it:</span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">alter pluggable database PDBDEV open;</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Pluggable database altered.</span></div>
</div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">select name, open_mode from v$pdbs;</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">NAME<span class="Apple-tab-span" style="white-space: pre;"> </span> OPEN_MODE</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">------------------------------ ----------</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDB$SEED<span class="Apple-tab-span" style="white-space: pre;"> </span> READ ONLY</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDBPROD <span class="Apple-tab-span" style="white-space: pre;"> </span> READ WRITE</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">PDBDEV<span class="Apple-tab-span" style="white-space: pre;"> </span> READ WRITE</span></div>
</div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: inherit;">And it's all good!</span></div>
<div>
<span style="font-family: inherit;">I am taking another full database backup just in case...</span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<h2>
<span style="font-family: inherit;">Summary</span></h2>
<div>
At first, I was expecting the upgrade process to be more automated. However, I did not realise the amount of work the PDB upgrade would have to go through to get upgraded. I, somehow, was under the illusion that the upgrade would be much faster since all database metadata under the root container had already been upgraded. It is not clear to me what the upgrade process does with the dictionary objects residing in each PDB's SYSTEM tablespace. To my knowledge, such objects should have pointers to the root objects. Thus, avoiding metadata redundancy which is one of the great things about pluggable databases.</div>
<div>
<br /></div>
<div>
I hope you have found this article useful.</div>
<div>
Please leave any comments.</div>
<div>
<br /></div>
<div>
Daniel Da Meda</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<b><span style="font-family: inherit;"><br /></span></b></div>
<div>
<b><span style="font-family: inherit;"><br /></span></b></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<br />
<br />Anonymoushttp://www.blogger.com/profile/04409090780691515655noreply@blogger.com1tag:blogger.com,1999:blog-1219458118840772394.post-84982216943255172042014-01-15T00:04:00.001-08:002016-07-13T09:09:05.974-07:00Installing Oracle PSRM 2.4 former Oracle ETPM on a Test/Development System<span style="font-family: verdana, sans-serif">I was asked to install Oracle PSRM 2.4 on a test system for evaluation. I managed to get all the necessary installation software and tips from our expert partners at <span style="color: blue"><a href="http://www.tatis.com/" target="_blank"><span style="color: blue">Tatis</span></a>.</span></span><br><span style="font-family: verdana, sans-serif"><span style="color: blue"><br></span></span><span style="font-family: verdana, sans-serif">They also compiled the necessary software to get an development instance of PSRM 2.4 installed and some instructions to help us on this journey.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">As for the PSRM software, here is a list that puts things in order of installation/configuration:</span><br><span style="font-family: verdana, sans-serif"><br></span><br> <table class="tr-caption-container" style="float: left; text-align: left; margin-right: 1em" cellspacing="0" cellpadding="0"> <tbody> <tr> <td style="text-align: center"><a style="margin-bottom: 1em; margin-left: auto; clear: left; margin-right: auto" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi_N8oV66ldMHUw4H3iBt7i2NNHSz6vnGesXahzNN2rvcsD6KnQBuORhxmEO9k7_yCFzoTFWz1iwSi8FfH4MkFyjvsujCMh6VXhYngAkJQgxL_3fDgXVCSrOdzL9wUr19rs9-vKDwNwpGf/s1600/PSRM+Software.PNG" imageanchor="1"><img title="" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi_N8oV66ldMHUw4H3iBt7i2NNHSz6vnGesXahzNN2rvcsD6KnQBuORhxmEO9k7_yCFzoTFWz1iwSi8FfH4MkFyjvsujCMh6VXhYngAkJQgxL_3fDgXVCSrOdzL9wUr19rs9-vKDwNwpGf/s1600/PSRM+Software.PNG"></a></td></tr> <tr> <td class="tr-caption" style="text-align: center"><br></td></tr></tbody></table><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">So, just by looking at the image above, we can see that we will be using Oracle Enterprise Linux 6.3 for the PSRM 2.4 installation.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">For the sake of simplicity, for this test environment, we will be making use of a single server and will be placing all software tiers onto the same machine.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">We have elected an Oracle VM machine and had Oracle Enterprise Linux UEK 6.3 installed:</span><br><span style="font-family: verdana, sans-serif"><br></span><br> <table class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-padding-alt: 0cm 0cm 0cm 0cm; mso-yfti-tbllook: 1184" cellpadding="0" border="1"> <tbody> <tr> <td style="width: 33.36%; padding-bottom: 1.5pt; padding-top: 1.5pt; padding-left: 1.5pt; padding-right: 1.5pt" valign="top" width="33%"> <div class="MsoNormal">I<span style="font-size: x-small; font-family: verdana, sans-serif">tem<o:p></o:p></span></div></td> <td style="width: 66.04%; padding-bottom: 1.5pt; padding-top: 1.5pt; padding-left: 1.5pt; padding-right: 1.5pt" valign="top" width="66%"> <div class="MsoNormal"><span style="font-size: x-small; font-family: verdana, sans-serif">Descrição<o:p></o:p></span></div></td></tr> <tr> <td style="width: 33.36%; padding-bottom: 1.5pt; padding-top: 1.5pt; padding-left: 1.5pt; padding-right: 1.5pt" valign="top" width="33%"> <div class="MsoNormal"><span style="font-size: x-small; font-family: verdana, sans-serif">Modelo<o:p></o:p></span></div></td> <td style="width: 66.04%; padding-bottom: 1.5pt; padding-top: 1.5pt; padding-left: 1.5pt; padding-right: 1.5pt" valign="top" width="66%"> <div class="MsoNormal"><span style="font-size: x-small; font-family: verdana, sans-serif">Servidor Virtual<o:p></o:p></span></div></td></tr> <tr> <td style="width: 33.36%; padding-bottom: 1.5pt; padding-top: 1.5pt; padding-left: 1.5pt; padding-right: 1.5pt" valign="top" width="33%"> <div class="MsoNormal"><span style="font-size: x-small; font-family: verdana, sans-serif">Sistema operacional<o:p></o:p></span></div></td> <td style="width: 66.04%; padding-bottom: 1.5pt; padding-top: 1.5pt; padding-left: 1.5pt; padding-right: 1.5pt" valign="top" width="66%"> <div class="MsoNormal"><span style="font-size: x-small; font-family: verdana, sans-serif">Oracle Linux Server release 6.3 (x86_64)<o:p></o:p></span></div></td></tr> <tr> <td style="width: 33.36%; padding-bottom: 1.5pt; padding-top: 1.5pt; padding-left: 1.5pt; padding-right: 1.5pt" valign="top" width="33%"> <div class="MsoNormal"><span style="font-size: x-small; font-family: verdana, sans-serif">Nome<o:p></o:p></span></div></td> <td style="width: 66.04%; padding-bottom: 1.5pt; padding-top: 1.5pt; padding-left: 1.5pt; padding-right: 1.5pt" valign="top" width="66%"> <div class="MsoNormal"><span style="font-size: x-small; font-family: verdana, sans-serif">kalumba</span></div></td></tr> <tr> <td style="width: 33.36%; padding-bottom: 1.5pt; padding-top: 1.5pt; padding-left: 1.5pt; padding-right: 1.5pt" valign="top" width="33%"> <div class="MsoNormal"><span style="font-size: x-small; font-family: verdana, sans-serif">Serviço<o:p></o:p></span></div></td> <td style="width: 66.04%; padding-bottom: 1.5pt; padding-top: 1.5pt; padding-left: 1.5pt; padding-right: 1.5pt" valign="top" width="66%"> <div class="MsoNormal"><span style="font-size: x-small; font-family: verdana, sans-serif">PSRM<o:p></o:p></span></div></td></tr> <tr> <td style="width: 33.36%; padding-bottom: 1.5pt; padding-top: 1.5pt; padding-left: 1.5pt; padding-right: 1.5pt" valign="top" width="33%"> <div class="MsoNormal"><span style="font-size: x-small; font-family: verdana, sans-serif">IP<o:p></o:p></span></div></td> <td style="width: 66.04%; padding-bottom: 1.5pt; padding-top: 1.5pt; padding-left: 1.5pt; padding-right: 1.5pt" valign="top" width="66%"> <div class="MsoNormal"><span style="font-size: x-small; font-family: verdana, sans-serif">192.168.246.148</span><span style="font-size: 12pt"><o:p></o:p></span></div></td></tr></tbody></table><br> <div><span style="font-family: courier new, courier, monospace">2.6.39-200.24.1.el6uek.x86_64 x86_64</span></div> <div><span style="font-family: courier new, courier, monospace"></span><br> <div><span style="font-family: courier new, courier, monospace">cat /proc/meminfo|grep MemTotal</span></div><span style="font-family: courier new, courier, monospace"></span><br> <div><span style="font-family: courier new, courier, monospace">MemTotal: 8027948 kB</span></div><span style="font-family: courier new, courier, monospace"></span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">2 CPU's were presented to the Virtual Machine. The idea is to start very small and see if it will be able to cope with the load of having an Oracle Database, Oracle WebLogic plus a, somewhat, large footprint application running on this single machine.</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">Staging the installation software onto the server.</span><br><span style="font-family: verdana, sans-serif"><br></span><br> <h3><span style="font-family: verdana, sans-serif">Preparing To Install</span></h3></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">Creating OS groups and users for the Oracle Database installation, Oracle Weblogic and PSRM application software.</span></div> <div><span style="font-family: verdana, sans-serif">For the Oracle Database and Mid Tier software, I will be using the same account </span><span style="font-family: courier new, courier, monospace">oracle.</span></div> <div><span style="font-family: verdana, sans-serif">We won't be using Oracle ASM for this test.</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: courier new, courier, monospace">groupadd cisusr</span></div> <div><span style="font-family: courier new, courier, monospace">groupadd dba</span></div> <div><span style="font-family: courier new, courier, monospace">useradd -m -g dba oracle</span><br><span style="font-family: courier new, courier, monospace">useradd -m -g cisusr -G dba cissys</span><br><span style="font-family: courier new, courier, monospace">usermod -G oinstall cissys</span><br><span style="font-family: courier new, courier, monospace">passwd oracle</span><br><span style="font-family: courier new, courier, monospace">passwd cissys</span><br><span style="font-family: courier new, courier, monospace"><br></span><span style="font-family: verdana, sans-serif">As for the profiles, I have changed as follows depending on whether you use bash or ksh:</span><br><span style="font-family: verdana, sans-serif"><br></span><br> <h4><b><span style="font-family: verdana, sans-serif">oracle .bash_profile</span></b></h4><b><span style="font-family: verdana, sans-serif"><br></span></b><br><span style="font-family: courier new, courier, monospace"># .bash_profile</span><br><span style="font-family: courier new, courier, monospace"><br></span><span style="font-family: courier new, courier, monospace"># Get the aliases and functions</span><br><span style="font-family: courier new, courier, monospace">if [ -f ~/.bashrc ]; then</span><br><span style="font-family: courier new, courier, monospace"> . ~/.bashrc</span><br><span style="font-family: courier new, courier, monospace">fi</span><br><span style="font-family: courier new, courier, monospace"><br></span><span style="font-family: courier new, courier, monospace"># User specific environment and startup programs</span><br><span style="font-family: 'Courier New', courier, monospace">PATH=$PATH:$HOME/bin</span><br><span style="font-family: 'Courier New', courier, monospace">export PATH</span><br><span style="font-family: 'Courier New', courier, monospace">export JAVA_HOME=/ouaf/app/java_6_64/jdk1.6.0_45</span><br><span style="font-family: 'Courier New', courier, monospace">export PATH=$JAVA_HOME/bin:$JAVA_HOME/lib:$PATH</span><br><span style="font-family: 'Courier New', courier, monospace">export ORACLE_OWNER=oracle</span><br><span style="font-family: 'Courier New', courier, monospace">export ORACLE_BASE=/u01/app/oracle</span><br><span style="font-family: 'Courier New', courier, monospace">export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1</span><br><span style="font-family: 'Courier New', courier, monospace">export ORACLE_DATA=/u01/app/oracle/oradata</span><br><span style="font-family: 'Courier New', courier, monospace">export LD_LIBRARY_PATH=$ORACLE_HOME/lib</span><br><span style="font-family: 'Courier New', courier, monospace">export ORACLE_SID=psrmdb</span><br><span style="font-family: 'Courier New', courier, monospace">export PATH=$ORACLE_HOME/bin:$PATH</span><br><b><span style="font-family: verdana, sans-serif"></span></b><b><span style="font-family: verdana, sans-serif"><br></span></b><br> <h4><b><span style="font-family: verdana, sans-serif">cissys .bash_profile</span></b></h4><span style="font-family: courier new, courier, monospace"><br></span><span style="font-family: courier new, courier, monospace"># .bash_profile</span><br><span style="font-family: courier new, courier, monospace"># Get the aliases and functions</span><br><span style="font-family: courier new, courier, monospace">if [ -f ~/.bashrc ]; then</span><br><span style="font-family: courier new, courier, monospace"> . ~/.bashrc</span><br><span style="font-family: courier new, courier, monospace">fi</span><br><span style="font-family: courier new, courier, monospace"># User specific environment and startup programs</span><br><span style="font-family: 'Courier New', courier, monospace">PATH=$PATH:$HOME/bin</span><br><span style="font-family: 'Courier New', courier, monospace">export PATH</span><br><span style="font-family: 'Courier New', courier, monospace">export JAVA_HOME=/ouaf/app/java_6_64/jdk1.6.0_45</span><br><span style="font-family: 'Courier New', courier, monospace">export PATH=$JAVA_HOME/bin:$JAVA_HOME/lib:$PATH</span><br><span style="font-family: 'Courier New', courier, monospace">export ORACLE_BASE=/u01/app/oracle</span><br><span style="font-family: 'Courier New', courier, monospace">export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1</span><br><span style="font-family: 'Courier New', courier, monospace">export LD_LIBRARY_PATY=$ORACLE_HOME/lib</span><br><span style="font-family: 'Courier New', courier, monospace">export PATH=$ORACLE_HOME/bin:$PATH</span><br><span style="font-family: 'Courier New', courier, monospace">export ORACLE_DATA=/u01/app/oracle/oradata</span><br><span style="font-family: 'Courier New', courier, monospace">ulimit -s 51200</span><br><span style="font-family: 'Courier New', courier, monospace">set +o noclobber</span><br><span style="font-family: courier new, courier, monospace"><br></span><span style="font-family: verdana, sans-serif">Creating Directories for the software</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: courier new, courier, monospace">mkdir /u01/app/oracle/product/11.2.0/dbhome_1</span><span style="font-family: 'Courier New', courier, monospace"> -p</span><br><br><span style="font-family: courier new, courier, monospace">mkdir /ouaf/middleware -p</span><br><span style="font-family: courier new, courier, monospace">mkdir /ouaf/app -p</span><br><span style="font-family: courier new, courier, monospace">mkdir /ouaf/PSRMDEMO -p</span><br><span style="font-family: courier new, courier, monospace">mkdir /ouaf/psrm -p</span><br> <div><span style="font-family: courier new, courier, monospace"><br></span></div><span style="font-family: courier new, courier, monospace">chown -R oracle.oinstall /u01</span><br><br><span style="font-family: courier new, courier, monospace">chown -R cissys.cisusr /ouaf</span><br><span style="font-family: courier new, courier, monospace"><br></span><span style="font-family: verdana, sans-serif">Changing default shell to Korn shell</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: courier new, courier, monospace">vi /etc/passwd</span><br><span style="font-family: courier new, courier, monospace">cissys:x:1011:1003::/home/cissys:<b>/bin/ksh</b></span><br><span style="font-family: courier new, courier, monospace">oracle:x:1001:1000::/home/oracle:<b>/bin/ksh</b></span><br><span style="font-family: courier new, courier, monospace"><b><br></b></span><span style="font-family: verdana, sans-serif">Setting the user cissys .profile</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: courier new, courier, monospace">umask 022</span><br><span style="font-family: courier new, courier, monospace">ulimit -s 51200</span><br><span style="font-family: courier new, courier, monospace">set +o noclobber</span><br><br><span style="font-family: courier new, courier, monospace">set -o vi</span><br><span style="font-family: courier new, courier, monospace"><br></span><span style="font-family: verdana, sans-serif">You can get java from </span><a style="font-family: verdana, sans-serif" href="http://www.oracle.com/technetwork/java/javase/downloads/index.html" target="_blank">here</a><span style="font-family: verdana, sans-serif">.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">Defining a non default location for JAVA.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: courier new, courier, monospace">mkdir /u01/app/java_6_64 -p</span><br><span style="font-family: courier new, courier, monospace">cp jdk-6u37-linux-x64.bin /ouaf/app/java_6_64</span><br><span style="font-family: courier new, courier, monospace">cd /ouaf/app/java_6_64</span><br><span style="font-family: courier new, courier, monospace">./jdk-6u37-linux-x64.bin</span><br><span style="font-family: courier new, courier, monospace">cd /ouaf/app</span><br><span style="font-family: courier new, courier, monospace">ln -s /ouaf/app/java_6_64 ./java</span><br><br><span style="font-family: courier new, courier, monospace">export JAVA_HOME=/ouaf/app/java</span><br><span style="font-family: courier new, courier, monospace"><br></span><span style="font-family: verdana, sans-serif">Installing Hibernate jar file</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">You can get the file from <a href="http://sourceforge.net/projects/hibernate/files/hibernate3/3.3.2.GA/" target="_blank">here</a>.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: courier new, courier, monospace">mkdir /ouaf/app/hibernate-4.1.0</span><br><br><span style="font-family: verdana, sans-serif">Once you extracted the files from the zip file you downloaded, copy the following files to the above directory</span><br><span style="font-family: courier new, courier, monospace"><br></span><span style="font-family: courier new, courier, monospace">ehcache-core-2.4.3.jar</span><br><span style="font-family: courier new, courier, monospace">hibernate-commons-annotations-4.0.1.Final.jar</span><br><span style="font-family: courier new, courier, monospace">hibernate-core-4.1.0.Final.jar</span><br><span style="font-family: courier new, courier, monospace">hibernate-ehcache-4.1.0.Final.jar</span><br><span style="font-family: courier new, courier, monospace">hibernate-jpa-2.0-api-1.0.1.Final.jar</span><br><span style="font-family: courier new, courier, monospace">javassist-3.15.0-GA.jar</span><br><span style="font-family: courier new, courier, monospace">jboss-logging-3.1.0.CR2.jar</span><br><span style="font-family: courier new, courier, monospace"></span><br><span style="font-family: courier new, courier, monospace">jboss-transaction-api_1.1_spec-1.0.0.Final.jar</span><br><span style="font-family: courier new, courier, monospace"><br></span><span style="font-family: verdana, sans-serif">Example:</span><br><span style="font-family: courier new, courier, monospace"><br></span><span style="font-size: xx-small; font-family: courier new, courier, monospace">cp ./hibernate-release-4.1.0.Final/lib/optional/ehcache/ehcache-core-2.4.3.jar /ouaf/app/hibernate-4.1.0<br>cp ./hibernate-release-4.1.0.Final/lib/required/hibernate-commons-annotations-4.0.1.Final.jar /ouaf/app/hibernate-4.1.0<br>cp ./hibernate-release-4.1.0.Final/lib/required/hibernate-core-4.1.0.Final.jar /ouaf/app/hibernate-4.1.0<br>cp ./hibernate-release-4.1.0.Final/lib/optional/ehcache/hibernate-ehcache-4.1.0.Final.jar /ouaf/app/hibernate-4.1.0<br>cp ./hibernate-release-4.1.0.Final/lib/required/hibernate-jpa-2.0-api-1.0.1.Final.jar /ouaf/app/hibernate-4.1.0<br>cp ./hibernate-release-4.1.0.Final/lib/required/javassist-3.15.0-GA.jar /ouaf/app/hibernate-4.1.0</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">cp ./hibernate-release-4.1.0.Final/lib/required/jboss-logging-3.1.0.CR2.jar /ouaf/app/hibernate-4.1.0</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">cp ./hibernate-release-4.1.0.Final/lib/required/jboss-transaction-api_1.1_spec-1.0.0.Final.jar /ouaf/app/hibernate-4.1.0</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span><br> <h3><span style="font-size: large; font-family: verdana, sans-serif">WebLogic Installation</span></h3> <div><span style="font-family: verdana, sans-serif">We will be installing WebLogic 10.3.6. It can be downloaded from <a href="http://www.oracle.com/technetwork/middleware/weblogic/downloads" target="_blank"><span style="color: blue">here</span></a>.</span></div> <div><span style="font-family: verdana, sans-serif">Officional Documentation can be found <a href="http://docs.oracle.com/cd/E23943_01/wls.htm" target="_blank"><span style="color: blue">here</span></a>.</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">Make sure our PATH is set correctly to include the java we installed on previous steps:</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">$ echo $JAVA_HOME</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">/ouaf/app/java_6_64/jdk1.6.0_45</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">$ echo $PATH</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">/u01/app/oracle/product/11.2.0/dbhome_1/perl/bin:/ouaf/app/java_6_64/jdk1.6.0_45/bin:/ouaf/app/java_6_64/jdk1.6.0_45/lib:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">$ java -version</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">java version "1.6.0_45"</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">Java(TM) SE Runtime Environment (build 1.6.0_45-b06)</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">$ echo $USER</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">cissys</span></div></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div class="separator" style="text-align: center; clear: both"><a style="margin-bottom: 1em; float: left; clear: left; margin-right: 1em" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh79ef1_JcGbw20GC3ziB07reIB2qJNYx_tIt3BKHpR6BJdpukclmRzqQhrWQXiaJ5QXiG1vIlS7pX1BnfUY6sQRtLnoeW023EL8XJv-Izai4xU9w673gJ2TXpftwtkz7j9-hfEstkp1IVF/s1600/weblogic_install_1.PNG" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh79ef1_JcGbw20GC3ziB07reIB2qJNYx_tIt3BKHpR6BJdpukclmRzqQhrWQXiaJ5QXiG1vIlS7pX1BnfUY6sQRtLnoeW023EL8XJv-Izai4xU9w673gJ2TXpftwtkz7j9-hfEstkp1IVF/s1600/weblogic_install_1.PNG"></a></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div class="separator" style="text-align: center; clear: both"><a style="margin-bottom: 1em; float: left; clear: left; margin-right: 1em" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghOt1FKg_EwTlvoeudRfScOvAsHGA_A_SQDFCUjz5lsXszT94fnXa2L7i2MYl_ZKgJCbujBIfsYK2039XQDrrHIZ2nXrU_mXPHiqQ3FJk5TVAZLfCPLwpMdhODLGolvTpfGy2rBk1B4QlG/s1600/weblogic_install_2.PNG" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghOt1FKg_EwTlvoeudRfScOvAsHGA_A_SQDFCUjz5lsXszT94fnXa2L7i2MYl_ZKgJCbujBIfsYK2039XQDrrHIZ2nXrU_mXPHiqQ3FJk5TVAZLfCPLwpMdhODLGolvTpfGy2rBk1B4QlG/s1600/weblogic_install_2.PNG"></a></div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: courier new, courier, monospace"><br></span><span style="font-family: courier new, courier, monospace"><br></span><span style="font-family: courier new, courier, monospace"><br></span><span style="font-family: courier new, courier, monospace"><br></span><span style="font-family: courier new, courier, monospace"><br></span><br> <div class="separator" style="text-align: center; clear: both"><a style="margin-bottom: 1em; float: left; clear: left; margin-right: 1em" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz3MgLNgrGiCXoO2_4t386QFoQeGwF2v6J5u5rTcJn5ovcARxE5CeYWo1WaSdbwKvHoEAMuugFa_F9CnM352GaTQ3yU39sSL9znh5HScFdwp6PynEj_oT8VFc8UBZWMnsPCjD-M9b0zWi2/s1600/weblogic_install_3.PNG" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz3MgLNgrGiCXoO2_4t386QFoQeGwF2v6J5u5rTcJn5ovcARxE5CeYWo1WaSdbwKvHoEAMuugFa_F9CnM352GaTQ3yU39sSL9znh5HScFdwp6PynEj_oT8VFc8UBZWMnsPCjD-M9b0zWi2/s1600/weblogic_install_3.PNG"></a></div><span style="font-family: courier new, courier, monospace"><br></span><span style="font-family: courier new, courier, monospace"><br></span><br> <div> </div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div> </div> <div> </div> <div> </div> <div> </div> <div><br><br> <div class="separator" style="text-align: center; clear: both"><a style="margin-bottom: 1em; float: left; clear: left; margin-right: 1em" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwuDj2TBmYvNhgB7p5iS-2wxxjhlHGYXSyRrStltHoJVoEs-Syj3zIflDBESbgvhWMh4yi63PWm53HC3i29AFL0N0RMfZpCJokpWbT5e75m0n8f7qP1dI7HthgFK3wPatADSdT5c0dgApF/s1600/weblogic_install_4.PNG" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwuDj2TBmYvNhgB7p5iS-2wxxjhlHGYXSyRrStltHoJVoEs-Syj3zIflDBESbgvhWMh4yi63PWm53HC3i29AFL0N0RMfZpCJokpWbT5e75m0n8f7qP1dI7HthgFK3wPatADSdT5c0dgApF/s1600/weblogic_install_4.PNG"></a></div><br><br><br><br><br><br><br><br><br><br><br><br><br> <div class="separator" style="text-align: center; clear: both"><a style="margin-bottom: 1em; float: left; clear: left; margin-right: 1em" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnKN3dr4io7fIQHx4MxG41ahbTcn6hpLLm8ph9EQa_XWJTj1oexgZfg6hOybI0OW-MMBndZrsOHKmp3wZe_CaMUJpVlgYPTEaL9vFt2wAM2dtvLTuWJyARBszNGH_LARLsOOZORzOoXfR0/s1600/weblogic_install_5.PNG" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnKN3dr4io7fIQHx4MxG41ahbTcn6hpLLm8ph9EQa_XWJTj1oexgZfg6hOybI0OW-MMBndZrsOHKmp3wZe_CaMUJpVlgYPTEaL9vFt2wAM2dtvLTuWJyARBszNGH_LARLsOOZORzOoXfR0/s1600/weblogic_install_5.PNG"></a></div><br><br><br><br><br><br><br><br><br><br><br><br><br> <div class="separator" style="text-align: center; clear: both"><a style="margin-bottom: 1em; float: left; clear: left; margin-right: 1em" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhflKkAA0-C4KeX8UTk5aVYus00rZGsjrLPDykjNv1pBstsuK2wLhlVmTALg6M0hLKNRnlzGFTEediQNc6Q3vuMTu-WgtcM6ZuHTBHsKdrEQmBJ0WdvWHsO4ctrG7jG7seOooH-kHzrbKbK/s1600/weblogic_install_6.PNG" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhflKkAA0-C4KeX8UTk5aVYus00rZGsjrLPDykjNv1pBstsuK2wLhlVmTALg6M0hLKNRnlzGFTEediQNc6Q3vuMTu-WgtcM6ZuHTBHsKdrEQmBJ0WdvWHsO4ctrG7jG7seOooH-kHzrbKbK/s1600/weblogic_install_6.PNG"></a></div><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><br> <div style="text-align: left"><a style="margin-bottom: 1em; float: left; clear: left; margin-right: 1em" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtOK7K3K1WXx-qAjkqhArZGnuMv6gLFbGl6jcLnhNvLBw1ZGafEPsCJuJKom12-xcttSImyDRSiT-yuYI9qOyc4EActhebm9bRr4O7Fkj4SM-UX6RGSLLzVVsD7r1PFev5mfcS0XJA-AO7/s1600/weblogic_install_7.PNG" imageanchor="1"><img title="" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtOK7K3K1WXx-qAjkqhArZGnuMv6gLFbGl6jcLnhNvLBw1ZGafEPsCJuJKom12-xcttSImyDRSiT-yuYI9qOyc4EActhebm9bRr4O7Fkj4SM-UX6RGSLLzVVsD7r1PFev5mfcS0XJA-AO7/s1600/weblogic_install_7.PNG"></a></div><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">Since we will not be creating a domain at this point, there is no need to run the Quickstart.</span><br><span style="font-family: verdana, sans-serif"><br></span><br> <h3><span style="font-size: small; font-family: verdana, sans-serif">Micro Focus Server (COBOL)</span></h3></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">Uncompress the software and install it under the </span><span style="font-family: verdana, sans-serif">/opt/SPLcobAS51WP8 directory. If this is a cluster, you may have to install it on a different location and then create symbolic under /opt.</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"># mkdir /opt/SPLcobAS51WP8</span></div> <div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"># cp MicroFocus_Server_5.1_WrapPack8-OELRH-64-bit.zip</span><span style="font-size: x-small; font-family: 'Courier New', courier, monospace"> /opt/SPLcobAS51WP8 -v</span></div> <div><span style="font-size: x-small; font-family: 'Courier New', courier, monospace"># cd /opt/SPLcobAS51WP8/</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"># tar -xvf *.tar</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"># export COBDIR=/opt/SPLcobAS51WP8</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"># ./install</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">This script will install Micro Focus Server 5.1 on this computer.</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">The readme.txt file included in this delivery contains details of</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">new features, enhancements and any restrictions of which you should</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">be aware. This file is located in :</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"> /opt/SPLcobAS51WP8/docs</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">We strongly recommend you read this file once the installation is complete.</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">Do you wish to continue (y/n):y</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span></div> <div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small">--------------------------------------------------------------------------------</span></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small">Before installing and using this software product you must</span></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small">agree to be bound by the terms and conditions of the end user</span></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small">license agreement ("License Agreement") which accompanies this product.</span></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small">Please take this time to read the License Agreement. If you are not in</span></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small">agreement with the terms and conditions of the License Agreement, please</span></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small">return the product to your Account Representative and your money will</span></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small">be refunded. If you require a replacement copy of the License</span></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small">Agreement, please contact your Account Representative before proceeding</span></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small">with the install process.</span></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small"><br></span></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small">Do you agree to the terms of the License Agreement? (y/n): y</span></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small"><br></span></div> <div style="font-family: 'Courier New', courier, monospace"> <div><span style="font-size: xx-small">--------------------------------------------------------------------------------</span></div> <div style="font-size: small"> </div> <div><span style="font-size: x-small"> </span><span style="font-size: xx-small">Micro Focus Install</span></div> <div><span style="font-size: xx-small"><br></span></div> <div><span style="font-size: xx-small">This product was not built or tested on this version</span></div> <div><span style="font-size: xx-small">of the Operating System.</span></div> <div><span style="font-size: xx-small"><br></span></div> <div><span style="font-size: xx-small">This product was built on Operating System:</span></div> <div><span style="font-size: xx-small">RedHatEnterpriseAS 2.6.9-11.ELsmp x86_64</span></div> <div><span style="font-size: xx-small">Red Hat Enterprise Linux AS release 4 (Nahant Update 1)</span></div> <div><span style="font-size: xx-small">and you are installing it on Operating System:</span></div> <div><span style="font-size: xx-small">Linux 2.6.39-200.24.1.el6uek.x86_64</span></div> <div><span style="font-size: xx-small"><br></span></div> <div><span style="font-size: xx-small">Any product issues you report will only be corrected if</span></div> <div><span style="font-size: xx-small">they can be reproduced on one of our systems running:</span></div> <div><span style="font-size: xx-small">RedHatEnterpriseAS 2.6.9-11.ELsmp x86_64</span></div> <div><span style="font-size: xx-small">Red Hat Enterprise Linux AS release 4 (Nahant Update 1)</span></div> <div><span style="font-size: xx-small">RedHatEnterpriseServer 2.6.18-308.el5 x86_64</span></div> <div><span style="font-size: xx-small">Red Hat Enterprise Linux Server release 5.8 (Tikanga)</span></div> <div><span style="font-size: xx-small">OracleServer 2.6.32-300.3.1.el6uek.x86_64 x86_64</span></div> <div><span style="font-size: xx-small">Red Hat Enterprise Linux Server release 6.3 (Santiago)</span></div> <div><span style="font-size: xx-small">RedHatEnterpriseServer 2.6.32-279.el6.x86_64 x86_64</span></div> <div><span style="font-size: xx-small">Red Hat Enterprise Linux Server release 6.3 (Santiago)</span></div> <div><span style="font-size: xx-small"><br></span></div> <div><span style="font-size: xx-small">Please confirm that you want to continue with this installation (y/n): y</span></div></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small"><br></span></div> <div style="font-family: 'Courier New', courier, monospace"> <div><span style="font-size: xx-small">--------------------------------------------------------------------------------</span></div> <div><span style="font-size: xx-small">When you press return you will be shown details of the reference</span></div> <div><span style="font-size: xx-small">environment (and any compatibility environments).</span></div> <div> </div> <div style="font-size: small">Please press return when you are ready:</div></div> <div style="font-size: small; font-family: 'Courier New', courier, monospace"> </div> <div><span style="font-family: verdana, sans-serif">I recieved the following warning:</span></div></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">bin/cobconvstrtest: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">WARNING: unable to find sockets library /usr/lib/libc</span></div> <div style="font-family: verdana, sans-serif"> </div></div> <div style="font-family: verdana, sans-serif">I attempted to install the following package:</div> <div style="font-family: verdana, sans-serif"> </div> <div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"># yum search libstdc</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">Loaded plugins: refresh-packagekit, security</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">============================================== </span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">N/S Matched: libstdc </span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">===============================================</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">compat-libstdc++-296.i686 : Compatibility 2.96-RH standard C++ libraries</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">compat-libstdc++-33.i686 : Compatibility standard C++ libraries</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">compat-libstdc++-33.x86_64 : Compatibility standard C++ libraries</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">libstdc++.i686 : GNU Standard C++ Library</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">libstdc++.x86_64 : GNU Standard C++ Library</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">libstdc++-devel.i686 : Header files and libraries for C++ development</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">libstdc++-devel.x86_64 : Header files and libraries for C++ development</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">libstdc++-docs.x86_64 : Documentation for the GNU standard C++ library</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"> Name and summary matches only, use "search all" for everything.</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">[root@kalumba ~]#</span></div></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"># yum install libstdc++.i686</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-family: verdana, sans-serif">It seemed that the 32 bits libstdc++ package was missing.</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">I also received some errors as follows:</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div><span style="font-size: x-small; font-family: courier new, courier, monospace">CCITCP requires support from this library. Executable linked without this</span><br> <div><span style="font-size: 12px; font-family: 'Courier New', courier, monospace; background-color: #e0eaf1"><br></span></div> <div><span style="font-family: verdana, sans-serif">It turned out the problem was related to some missing 32 bit packages</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"># yum install glibc-devel.i686</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span><span style="font-family: verdana, sans-serif">Once the installation finishes, you will get the following message:</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: courier new, courier, monospace">Installation completed successfully.</span><br><span style="font-family: 'Courier New', courier, monospace">The COBOL system is ready to use.</span><br><span style="font-family: courier new, courier, monospace"><br></span><br> <h4><span style="font-family: verdana, sans-serif"><b>Installing UNIX Micro Focus Server Temporary Licenses</b></span></h4><span style="font-family: verdana, sans-serif"><b><br></b></span><span style="font-family: verdana, sans-serif">1. Log onto the target host server as 'root' user.</span><br><span style="font-family: verdana, sans-serif">2. At the command prompt, execute the command:</span><br><span style="font-family: verdana, sans-serif">export COBDIR=/opt/SPLcobAS51WP8</span><br><span style="font-family: verdana, sans-serif">/opt/SPLcobAS51WP8/aslmf/apptrack</span><br><span style="font-family: verdana, sans-serif">3. When prompted for a password, create one of your own. (****)</span><br><span style="font-family: verdana, sans-serif">4. Select the License Install option to install the temporary license keys.</span><br><span style="font-family: verdana, sans-serif">Serial Number: ORACLE_UTS30DAY32</span><br><span style="font-family: verdana, sans-serif">License Code: 04038 10780 64AAF 5F705 7CD9 ILA (This is a 30 day trial license)</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">Once you performed the above, you should receive a message stating that the license has been imported correctly.</span><br><span style="font-family: verdana, sans-serif"><br></span><br> <h4><span style="font-family: verdana, sans-serif">Checking COBOL license</span></h4> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div> <div><span style="font-family: courier new, courier, monospace">export COBDIR=/opt/SPLcobAS51WP8</span></div> <div><span style="font-family: courier new, courier, monospace">$COBDIR/aslmf/apptrack</span></div> <div style="font-family: verdana, sans-serif"> </div> <div style="font-family: verdana, sans-serif">Enter the password <****></div> <div style="font-family: verdana, sans-serif"> </div> <div style="font-family: verdana, sans-serif">Select Option 2</div></div> <h3><span style="font-family: verdana, sans-serif"><b>Installing an Oracle Database</b></span></h3><span style="font-family: verdana, sans-serif"><b><br></b></span><span style="font-family: verdana, sans-serif">Install Oracle Validated RPM</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: courier new, courier, monospace">yum install oracle-rdbms-server-11gR2-preinstall.x86_64</span><br><span style="font-family: courier new, courier, monospace"><br></span><span style="font-family: verdana, sans-serif">Proceed with the installation of Software Only.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">Once the sofware is installed, we must create a database using the scripts provided.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">The PSRM software comes with a script responsible for creating the repository database. It is shown on top of this document as step 7.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: courier new, courier, monospace">$ cd 07_OPSRM_V2.4.0.0.0_Oracle_Database_Unix/</span><br><span style="font-family: courier new, courier, monospace">$ cd Database/</span><br><span style="font-family: courier new, courier, monospace">$ cd Database\ Creation/</span><br><span style="font-family: courier new, courier, monospace">$ ll</span><br><span style="font-family: courier new, courier, monospace">total 157048</span><br><span style="font-family: courier new, courier, monospace">drwxr-xr-x 2 oracle oinstall 4096 Jan 9 15:30 11g</span><br><span style="font-family: courier new, courier, monospace">-rwxr-xr-x 1 oracle oinstall 9055 Jan 9 15:30 cdxdba.plx</span><br><span style="font-family: courier new, courier, monospace">-rwxr-xr-x 1 oracle oinstall 160661504 Jan 9 15:30 exp_demo.dmp</span><br><span style="font-family: courier new, courier, monospace">-rwxr-xr-x 1 oracle oinstall 127526 Jan 9 15:30 exp_demo.log</span><br><span style="font-family: courier new, courier, monospace">drwxr-xr-x 2 oracle oinstall 4096 Jan 9 15:30 exp_format</span><br><span style="font-family: courier new, courier, monospace"></span><br><span style="font-family: courier new, courier, monospace">-rwxr-xr-x 1 oracle oinstall 153 Jan 9 15:30 Readme.txt</span><br><span style="font-family: courier new, courier, monospace"><br></span><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">$ perl cdxdba.plx</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span><span style="font-size: xx-small; font-family: courier new, courier, monospace">Enter the instance name (psrmdb) :</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span><span style="font-size: xx-small; font-family: courier new, courier, monospace">Enter ORACLE_BASE: the directory where the setup files for the database will be created (/u01/app/oracle) :</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span><span style="font-size: xx-small; font-family: courier new, courier, monospace">Enter ORACLE_HOME: the folder where the current version of Oracle software is installed (/u01/app/oracle/product/11.2.0/dbhome_1) :</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span><span style="font-size: xx-small; font-family: courier new, courier, monospace">Enter ORACLE_DATA: the directory where the data files for the database will be created (/db05/oradata) :/u01/app/oracle/oradata</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span><span style="font-size: xx-small; font-family: courier new, courier, monospace">Enter the character set for the database (AL32UTF8) :</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">ORACLE_SID: psrmdb</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">ORACLE_HOME: /u01/app/oracle/product/11.2.0/dbhome_1</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">ORACLE_BASE: /u01/app/oracle</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">ORACLE_DATA: /u01/app/oracle/oradata</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">Character Set: AL32UTF8</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span><span style="font-size: xx-small; font-family: courier new, courier, monospace"></span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">Do you want to continue (Y/N)? Y</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span><span style="font-family: verdana, sans-serif">The script will take care of creating an instance, database and database files.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">Once the installation finishes, you will have to perform the following required and optional steps:</span><br><span style="font-family: verdana, sans-serif"><br></span><br> <ol> <li><span style="font-family: verdana, sans-serif">Create a SPFILE from PFILE</span> <li><span style="font-family: verdana, sans-serif">Bounce the instance</span> <li><span style="font-family: verdana, sans-serif">Set DB_DOMAIN if required</span> <li><span style="font-family: verdana, sans-serif">Bounce the Instance</span> <li><span style="font-family: verdana, sans-serif">Start the Listener</span> <li><span style="font-family: verdana, sans-serif">Create a NET Service Name</span> <li><span style="font-family: verdana, sans-serif">Add an entry reflecting the ORACLE HOME in the /etc/oratab</span> </li></ol> <div><span style="font-family: verdana, sans-serif">Test the connectivity with the database via Net Service Name and Listener.</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><br></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">sqlplus cisadm/cisadm@psrmdb</span></div> <div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">SQL*Plus: Release 11.2.0.3.0 Production on Tue Jan 14 09:02:31 2014</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">Copyright (c) 1982, 2011, Oracle. All rights reserved.</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">Connected to:</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">With the Partitioning, OLAP, Data Mining and Real Application Testing options</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">SQL></span></div></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <h4><span style="font-size: x-small; font-family: verdana, sans-serif"><b>Installing PSRM Database Objects</b></span></h4> <div><span style="font-size: x-small; font-family: verdana, sans-serif"><b><br></b></span></div> <div><span style="font-family: verdana, sans-serif">Still as part of item number 7 of the software list provided above, we move the the </span><span style="font-size: x-small; font-family: courier new, courier, monospace">07_OPSRM_V2.4.0.0.0_Oracle_Database_Unix/Database/Install-upgrade </span><span style="font-family: verdana, sans-serif">directory</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div> <div style="font-size: small; font-family: 'Courier New', courier, monospace">$ ls</div> <div style="font-size: small; font-family: 'Courier New', courier, monospace">ETM jarfiles OraDBI.par scripts Storage.xml.processed</div> <div style="font-size: small; font-family: 'Courier New', courier, monospace">FW OraDBI.exe OraDBI.psq Storage.xml Upgrade_Database.bat</div> <div style="font-size: small; font-family: 'Courier New', courier, monospace"> </div> <div><span style="font-family: verdana, sans-serif">As you can see from the above, it is a Windows application, therefore, you will need to have an FULL Oracle client installed on your machine to be able to run this.</span></div></div> <div><span style="font-family: verdana, sans-serif">So, make sure you have a FULL Oracle client installed and the correct Oracle Service Naming setup on your Windows tnsnames.ora prior to running the OraDBI.exe tool.</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">The following are possible prereqs for your Windows desktop where you will be running OraDBI.exe:</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div> <ul style="font-family: verdana, sans-serif"> <li>Software pre-requisites on the windows machine <li>Oracle client use the 32 bit version <li>On installation screen select Administration, not instant client <li>Test the connections </li></ul> <div style="font-family: verdana, sans-serif">However, I will be attempting to run the program using my 64 bit Oracle Client and see if it works. </div> <div style="font-family: verdana, sans-serif"> </div> <div style="font-family: verdana, sans-serif">Prior to running the program, you may customise the Storage.xml file to suit your needs in terms of storage characteristics for the objects that will be created. This includes assigning different tablespaces for different components other than the default CISTS_01.</div> <div style="font-family: verdana, sans-serif">If you make changes to Storage.xml file, make sure you copy the changed file to the other sub directories where this file is present.</div> <div style="font-family: verdana, sans-serif"> </div> <div style="font-family: verdana, sans-serif">It seems that the script makes use of Perl and a few modules, the following are the settings I had to make to my PATH and PERL5LIB session variables in order to be able to run the script:</div> <div style="font-family: verdana, sans-serif"> </div> <div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">set PERL5LIB="D:\app\...\product\11.2.0\client_1\perl\bin";"D:\app\...\product\11.2.0\client_1\perl\lib";"D:\app\...\product\11.2.0\client_1\perl\site\lib"</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">set PATH="D:\app\...\product\11.2.0\client_1\bin";"D:\app\...\product\11.2.0\client_1\lib";"C:\windows";"D:\app\...\product\11.2.0\client_1\perl\bin";"C:\windows\SysWOW64";"C:\windows\System32";"C:\windows\System32\Wbem";"C:\windows\System32\WindowsPowerShell\v1.0\";"C:\Program Files\Lenovo\Bluetooth Software\";"C:\Program Files\Lenovo\Bluetooth Software\syswow64";"C:\Program Files\Broadcom\WHL\";"C:\Program Files\Broadcom\WHL\syswow64";"C:\Program Files\Broadcom\WHL\SysWow64\";"C:\Program Files\Broadcom\WHL\SysWow64\syswow64";"C:\Program Files\Intel\WiFi\bin\";"C:\Program Files\Common Files\Intel\WirelessCommon\";"C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\";"C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\";"C:\Program Files (x86)\cvsnt";"C:\Program Files (x86)\CVSNT"</span></div></div> <div style="font-family: verdana, sans-serif"> </div> <div style="font-family: verdana, sans-serif">Once the above environment variables were set, I managed to get the script running as follows:</div> <div style="font-family: verdana, sans-serif"> </div> <div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">D:\Downloads\Oracle\07_OPSRM_V2.4.0.0.0_Oracle_Database_Unix\Database\Install-up</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">grade>OraDBI.exe</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: x-small; font-family: 'Courier New', courier, monospace">Enter the name of the target database:</span></div></div> <div><span style="font-size: x-small; font-family: 'Courier New', courier, monospace"><br></span></div> <h4><span style="font-size: x-small; font-family: verdana, sans-serif">Error and Troubleshooting</span></h4> <div><span style="font-size: x-small; font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">While running the script, I kept getting the following error after the step where the script makes a connection to the database:</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">Connecting to the Target Database as user CISADM</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">User Name : CISADM</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">Database Name : PSRMDEV</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">Ready to perform initial install of Database Rel.V2.4.0.0.0, do you want to cont</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">inue (Y/N)? Y</span></div> <div style="font-family: verdana, sans-serif"> </div></div> <div> <div><span style="font-family: courier new, courier, monospace">O sistema não conseguiu localizar o caminho especificado.</span></div> <div><span style="font-family: courier new, courier, monospace">Problem while processing the Password.</span></div></div> <div><span style="font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-family: verdana, sans-serif">At first, I thought this could be related to the fact that my desktop has Java 6.45 64 bits so I downloaded and installed the i586 version to no avail.</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">After some investigation, we came to realize that the main script OraDBI.exe also makes use of a file named OraDBI.psq on that same directory.</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">A close inspection of its contents show something quite disturbing. Here is quick example from a section of the OraDBI.psq file:</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">chdir("./FW/V4.2.0.0.0/Install-Upgrade") CAPTION:Changing directory to FW 4.2.0.0.0 LANGUAGE:ALL SCRIPT:P</span></div> <div><span style="font-family: courier new, courier, monospace"><span style="font-size: xx-small">CDXDBI.exe -d [DBNAME],[CDXOWNER],[CDXOWNERPSWD],[CDXUSER],[CDXREAD],[CDXWROLE],[CDXRROLE] -j </span><b><span style="font-size: x-small">C:\jre6</span></b><span style="font-size: xx-small"> -f </span><b><span style="font-size: x-small">C:\ETM\240\jarfiles</span></b><span style="font-size: xx-small"> CAPTION:Executing Database Setup Scripts LANGUAGE:ALL</span></span></div></div> <div> </div> <div><span style="font-family: verdana, sans-serif">As we can see from above, the file does have hard coded paths pointing fixed locations!!!</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">So, to simplify things, I just moved my jarfiles and jre6 to the location the file was expecting and the problem no longer occurred.</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">The information I received from our partners is that if you select to install a DEMO database when the </span><span style="font-family: verdana, sans-serif">cdxdba.plx is run, there is no need to run the OraDBI.exe and therefore no need to move the files. This might explain why not everyone goes through this problem.</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">D:\Downloads\Oracle\07_OPSRM_V2.4.0.0.0_Oracle_Database_Unix\Database\Install-up</span></div> <div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">grade>OraDBI.exe</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small">Enter the name of the target database: ****</span></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">Enter your database username: ****</span></div> <div><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">Enter your password username: ****</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">Enter the location for Java Home(e.g. C:\Java\jdk1.6.0_18): C:\Progra~1\Java\jdk1.6.0_45</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">Enter the TUGBU jarfiles location (e.g.C:\Database-Install\Jarfiles):</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">D:\Downloa</span><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">ds\Oracle\07_OPSRM_V2.4.0.0.0_Oracle_Database_Unix\Database\Install-upgrade\jarf</span><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">iles</span></div> <div><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">Enter the Oracle user with read-write privileges to Database Schema: ****</span></div> <div><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">Enter the Oracle user with read-only privileges to Database Schema: ****</span></div> <div><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">Enter the database role with read-write privileges to Database Schema: ****</span></div> <div><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">Enter the database role with read-only privileges to Database Schema: ****</span></div></div> <div style="font-family: verdana, sans-serif">...</div> <div style="font-family: verdana, sans-serif">...</div> <div style="font-family: verdana, sans-serif">...</div> <div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">Processing file ETM_cleanup.sql ...</span></div> <div><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">Configuring Security...</span></div> <div><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">Generating Security ...</span></div> <div><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">Security privileges and Synonyms generated successfully, Now Exiting ...</span></div> <div><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">Storing Database Credential with ecncrypted password...</span></div> <div><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">Install/Upgrade of Database Rel.V2.4.0.0.0 Completed Sucessfully, Now Exiting ..</span></div> <div><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">Storing Database Credential with ecncrypted password...</span></div> <div><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">Install/Upgrade of Database Rel.V2.4.0.0.0 Completed Sucessfully, Now Exiting ..</span></div> <div> </div></div> <h3><span style="font-family: verdana, sans-serif">Oracle Utilities Application Framework</span></h3> <div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"># touch /etc/cistab</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"># chown cissys.cisusr /etc/cistab</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"># ll /etc/cistab</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">-rw-r--r-- 1 cissys cisusr 0 Jan 14 16:32 /etc/cistab</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"># su - cissys</span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">$ mkdir /ouaf/sploutput</span></div> <div> </div></div> <div> </div> <div><span style="font-family: verdana, sans-serif">Running the Korn Shell script for the first time for base version. The first time I ran the command I specified the values for number 1 then for 50.</span></div> <div> </div> <div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">************************************</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">* Environment Installation Options *</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">************************************</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> 1. Third Party Software Configuration</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Oracle Client Home Directory: /u01/app/oracle/product/11.2.0/dbhome_1</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Web Java Home Directory: /ouaf/app/java_6_64/jdk1.6.0_45</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Child JVM Home Directory: /ouaf/app/java</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> COBOL Home Directory: /opt/SPLcobAS51WP8</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Hibernate JAR Directory: /ouaf/app/hibernate-4.1.0</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> ONS JAR Directory:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Web Application Server Home Directory: /ouaf/app/oracle/middleware/wlserver_10.3</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> ADF Home Directory:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> OIM OAM Enabled Environment: false</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">50. Environment Installation Options</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Environment Mount Point:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Log Files Mount Point:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Environment Name:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Web Application Server Type:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Install Application Viewer Module: true</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">Each item in the above list should be configured for a successful install.</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">Choose option (1,50, <P> Process, <X> Exit):</span></div></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-family: verdana, sans-serif">Second run with option 50.</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">************************************</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">* Environment Installation Options *</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">************************************</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> 1. Third Party Software Configuration</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Oracle Client Home Directory: /u01/app/oracle/product/11.2.0/dbhome_1</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Web Java Home Directory: /ouaf/app/java_6_64/jdk1.6.0_45</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Child JVM Home Directory: /ouaf/app/java</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> COBOL Home Directory: /opt/SPLcobAS51WP8</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Hibernate JAR Directory: /ouaf/app/hibernate-4.1.0</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> ONS JAR Directory:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Web Application Server Home Directory: /ouaf/app/oracle/middleware/wlserver_10.3</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> ADF Home Directory:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> OIM OAM Enabled Environment: false</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">50. Environment Installation Options</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Environment Mount Point: /ouaf</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Log Files Mount Point: /ouaf/sploutput</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Environment Name: psrmdesenv</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Web Application Server Type: WLS</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Install Application Viewer Module: true</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">Each item in the above list should be configured for a successful install.</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">Choose option (1,50, <P> Process, <X> Exit):</span></div></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div style="font-family: verdana, sans-serif"> </div> <div style="font-family: verdana, sans-serif">Then, running with P</div> <div style="font-family: verdana, sans-serif"> </div> <div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">****************************************</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">* Environment Configuration psrmdesenv *</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">****************************************</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> 1. Environment Description</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Environment Description:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> 2. Business Application Server Configuration</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Business Server Host: kalumba.<domain></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> WebLogic Server Name: myserver</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Business Server Application Name: SPLService</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> MPL Admin Port Number:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> MPL Automatic startup: false</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> 3. Web Application Server Configuration</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Web Server Host: kalumba.<domain></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Web Server Port Number:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Web Context Root: ouaf</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> WebLogic JNDI User ID:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> WebLogic JNDI Password:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> WebLogic Admin System User ID:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> WebLogic Admin System Password:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> WebLogic Server Name: myserver</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Web Server Application Name: SPLWeb</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Application Admin User ID:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Application Admin Password:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Expanded Directories: false</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Application Viewer Module: true</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> 4. Database Configuration</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Application Server Database User ID:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Application Server Database Password:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> MPL Database User ID:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> MPL Database Password:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> XAI Database User ID:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> XAI Database Password:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Batch Database User ID:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Batch Database Password:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Database Name:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Database Server:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Database Port:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> ONS Server Configuration:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Database Override Connection String:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Oracle Client Character Set NLS_LANG: AMERICAN_AMERICA.AL32UTF8</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> 5. General Configuration Options</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Batch RMI Port:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Batch Mode: CLUSTERED</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Coherence Cluster Name:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Coherence Cluster Address:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Coherence Cluster Port:</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"> Coherence Cluster Mode: dev</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">Each item in the above list should be configured for a successful install.</span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">Choose option (1,2,3,4,5, <P> Process, <X> Exit):</span></div></div> <div style="font-family: verdana, sans-serif"> </div> <div style="font-family: verdana, sans-serif"> </div></div> <div><span style="font-family: verdana, sans-serif">Proceed with the configuration of each item of the list</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: courier new, courier, monospace">WebLogic JNDI User ID: system/***</span></div> <div><span style="font-family: courier new, courier, monospace">WebLogic Admin System ID/Password: system/***</span></div> <div><span style="font-family: courier new, courier, monospace">Application Admin Password: SYSUSER/***</span></div> <div><span style="font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">****************************************</span></div><span style="font-size: xx-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">* Environment Configuration psrmdesenv *</span></div><span style="font-size: xx-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: xx-small; font-family: courier new, courier, monospace">****************************************</span></div><span style="font-family: courier new, courier, monospace"></span><br> <div style="font-size: x-small"><span style="font-family: courier new, courier, monospace"><br></span></div><span style="font-family: courier new, courier, monospace"></span><br> <div style="font-size: x-small"><span style="font-family: courier new, courier, monospace"> 1. Environment Description</span></div><span style="font-family: courier new, courier, monospace"></span><br> <div style="font-size: x-small"><span style="font-family: courier new, courier, monospace"> Environment Description: PSRM Development</span></div><span style="font-family: courier new, courier, monospace"></span><br> <div style="font-size: x-small"><span style="font-family: courier new, courier, monospace"><br></span></div><span style="font-family: courier new, courier, monospace"></span><br> <div style="font-size: x-small"><span style="font-family: courier new, courier, monospace"> 2. Business Application Server Configuration</span></div><span style="font-family: courier new, courier, monospace"></span><br> <div style="font-size: x-small"><span style="font-family: courier new, courier, monospace"> Business Server Host: kalumba.<domain></span></div><span style="font-family: courier new, courier, monospace"></span><br> <div><span style="font-family: courier new, courier, monospace"><span style="font-size: xx-small"> WebLogic Server Name: </span><b><span style="font-size: x-small">myserver</span></b></span></div><span style="font-family: courier new, courier, monospace"></span><br> <div style="font-size: x-small"><span style="font-family: courier new, courier, monospace"> Business Server Application Name: SPLService</span></div><span style="font-family: courier new, courier, monospace"></span><br> <div style="font-size: x-small"><span style="font-family: courier new, courier, monospace"> MPL Admin Port Number: ****</span></div><span style="font-family: courier new, courier, monospace"></span><br> <div style="font-size: x-small"><span style="font-family: courier new, courier, monospace"> MPL Automatic startup: false</span></div><span style="font-family: courier new, courier, monospace"></span> <div style="font-size: x-small"><span style="font-family: courier new, courier, monospace"><br></span></div><span style="font-family: courier new, courier, monospace"> <div style="font-size: x-small"> 3. Web Application Server Configuration</div> <div style="font-size: x-small"> Web Server Host: kalumba.<domain></div> <div style="font-size: x-small"> Web Server Port Number: ****</div> <div style="font-size: x-small"> Web Context Root: ouaf</div> <div style="font-size: x-small"> WebLogic JNDI User ID: ****</div> <div style="font-size: x-small"> WebLogic JNDI Password: ****</div> <div style="font-size: x-small"> WebLogic Admin System User ID: ****</div> <div style="font-size: x-small"> WebLogic Admin System Password: ****</div> <div><span style="font-size: xx-small"> WebLogic Server Name: </span><b><span style="font-size: x-small">myserver</span></b></div> <div><span style="font-size: xx-small"> Web Server Application Name: </span><b><span style="font-size: x-small">SPLWeb</span></b></div> <div style="font-size: x-small"> Application Admin User ID: ****</div> <div style="font-size: x-small"> Application Admin Password: ****</div> <div style="font-size: x-small"> Expanded Directories: false</div> <div style="font-size: x-small"> Application Viewer Module: true</div> <div style="font-size: x-small"> </div> <div style="font-size: x-small"> 4. Database Configuration</div> <div style="font-size: x-small"> Application Server Database User ID: ****</div> <div style="font-size: x-small"> Application Server Database Password: ****</div> <div style="font-size: x-small"> MPL Database User ID: ****</div> <div style="font-size: x-small"> MPL Database Password: ****</div> <div style="font-size: x-small"> XAI Database User ID: ****</div> <div style="font-size: x-small"> XAI Database Password: ****</div> <div style="font-size: x-small"> Batch Database User ID: ****</div> <div style="font-size: x-small"> Batch Database Password: ****</div> <div style="font-size: x-small"> Database Name: psrmdb</div> <div style="font-size: x-small"> Database Server: kalumba.<domain><br> Database Port: ****</div> <div style="font-size: x-small"> ONS Server Configuration:</div> <div style="font-size: x-small"> Database Override Connection String:</div> <div style="font-size: x-small"> Oracle Client Character Set NLS_LANG: AMERICAN_AMERICA.AL32UTF8</div> <div style="font-size: x-small"> </div> <div style="font-size: x-small"> 5. General Configuration Options</div> <div style="font-size: x-small"> Batch RMI Port: ****</div> <div style="font-size: x-small"> Batch Mode: CLUSTERED</div> <div style="font-size: x-small"> Coherence Cluster Name: psrmdev.cisadm</div> <div style="font-size: x-small"> Coherence Cluster Address: kalumba.<domain></div> <div style="font-size: x-small"> Coherence Cluster Port: ****</div> <div style="font-size: x-small"> Coherence Cluster Mode: dev</div> <div style="font-size: x-small"> </div> <div style="font-size: x-small">Each item in the above list should be configured for a successful install.</div> <div style="font-size: x-small"> </div> <div style="font-size: x-small">Choose option (1,2,3,4,5, <P> Process, <X> Exit):</div></span></div><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-size: xx-small; font-family: courier new, courier, monospace">140114:194949 <info> FW installation completed successfully, see the log /u01/repository/08_OUAF_V4.2.0.0.0_Base_Install/Release-FW-V4.2.0.0.0/FW.V4.2.0.0.0/install_FW_psrmdesenv.log</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">Executing: /ouaf/psrmdesenv/bin/splenviron.sh -e psrmdesenv</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">JAVA_HOME=/ouaf/app/java_6_64/jdk1.6.0_45</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">CHILD_JVM_JAVA_HOME=/ouaf/app/java</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">WL_HOME=/ouaf/app/oracle/middleware/wlserver_10.3</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">Version ................ (SPLVERSION) : V4.2.0.0.0</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">Database Type ............... (CMPDB) : ORACLE</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">Environment Name ....... (SPLENVIRON) : psrmdesenv</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">Environment Code Directory (SPLEBASE) : /ouaf/psrmdesenv</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">App Output Dir - Logs ... (SPLOUTPUT) : /ouaf/sploutput/psrmdesenv</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">Build Directory .......... (SPLBUILD) : /ouaf/psrmdesenv/cobol/build</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace"></span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">Runtime Directory .......... (SPLRUN) : /ouaf/psrmdesenv/runtime</span><br><br> <h4>Permission Problem</h4><br><span style="font-family: verdana, sans-serif">Due to a problem that I was getting regarding permissions on various files, I placed a </span><span style="font-family: courier new, courier, monospace">my $daniel = <STDIN>;</span><span style="font-family: verdana, sans-serif"> inside the </span><span style="font-family: courier new, courier, monospace">/ouaf/psrmdesenv/bin/initialSetup.plx</span><span style="font-family: verdana, sans-serif"> script in order to stop the execution just in time for me to perform a </span><span style="font-family: courier new, courier, monospace">chmod 755 -R /ouaf/psrmdev</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: courier new, courier, monospace">su - cissys</span><br><span style="font-family: courier new, courier, monospace">cd /ouaf/etpmdemo</span><br><br><span style="font-family: courier new, courier, monospace">chmod -R 755 *</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><br><span style="font-family: verdana, sans-serif">Once this step is finished, you must perform the following step to set a port for the JVM related to the BSN_RMIPORT= value stored in the etc/ENVIRON.INI file.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">So, Perform the following steps:</span><br><span style="font-family: verdana, sans-serif"><br></span><br> <div style="white-space: normal; word-spacing: 0px; text-transform: none; color: black; font: medium 'Times New Roman'; margin: 0px; letter-spacing: normal; text-indent: 0px; -webkit-text-stroke-width: 0px"><span style="font-size: x-small; font-family: courier new, courier, monospace"></span></div> <div style="white-space: normal; word-spacing: 0px; text-transform: none; color: black; font: medium 'Times New Roman'; letter-spacing: normal; text-indent: 0px; -webkit-text-stroke-width: 0px"></div> <div><br></div> <div style="text-indent: 0px"> <div style="font-size: medium; font-family: 'Times New Roman'; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: black; font-style: normal; margin: 0px; letter-spacing: normal; line-height: normal; -webkit-text-stroke-width: 0px"><span style="font-size: x-small; font-family: courier new, courier, monospace">$ /ouaf/psrmdesenv/bin/splenviron.sh -e $SPLENVIRON</span></div> <div style="margin: 0px"><span style="font-size: x-small"><span style="font-family: courier new, courier, monospace; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: black; font-style: normal; letter-spacing: normal; line-height: normal; -webkit-text-stroke-width: 0px">$ </span><span style="font-family: courier new, courier, monospace">/ouaf/psrmdesenv/bin/</span></span><span style="font-size: x-small; font-family: courier new, courier, monospace">configureEnv.sh</span></div> <div style="margin: 0px"><span style="font-size: x-small; font-family: courier new, courier, monospace"><b><br></b></span></div> <div style="margin: 0px"><span style="font-family: verdana, sans-serif">Set 6503 for the JVM Child Process Starting Port Number</span></div> <div style="margin: 0px"><span style="font-size: x-small; font-family: courier new, courier, monospace"><b><br></b></span></div><span style="font-size: x-small; font-family: courier new, courier, monospace">2. Business Application Server Configuration</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"> Business Server Host: kalumba.<domain></span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"> WebLogic Server Name: myserver</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"> Business Server Application Name: SPLService</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"> MPL Admin Port Number: 6502</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"> MPL Automatic startup: false</span><br><span style="font-family: courier new, courier, monospace"><span style="font-size: x-small"> JVM Child Process Starting Port Number: </span><b>6503</b></span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"> Number of JVM Child Processes: 2</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span><span style="font-size: x-small"><span style="font-family: courier new, courier, monospace">$ </span><span style="font-family: courier new, courier, monospace">/ouaf/psrmdesenv/bin/</span></span><span style="font-size: x-small; font-family: courier new, courier, monospace">initialSetup.sh</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span><span style="font-family: verdana, sans-serif">Then, proceed with the installation or start the application depending on what you are doing.</span><br> <div style="margin: 0px"><span style="font-size: x-small; font-family: courier new, courier, monospace"><b><br></b></span></div> <div style="margin: 0px"> </div></div> <h3><span style="font-size: small; font-family: verdana, sans-serif">Environment Initialization</span></h3> <div><span style="font-size: small; font-family: verdana, sans-serif"><br></span></div> <div><span style="font-size: small; font-family: verdana, sans-serif">From this point onwards, to initialise the environment, use the following command:</span></div> <div><span style="font-size: small; font-family: verdana, sans-serif"><br></span></div> <div><span style="font-size: small; font-family: verdana, sans-serif">as cissys user</span></div> <div><span style="font-size: small; font-family: verdana, sans-serif"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><b>$ /ouaf/psrmdesenv/bin/splenviron.sh -e $SPLENVIRON</b></span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><i><br></i></span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><i><br></i></span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">JAVA_HOME=/ouaf/app/java_6_64/jdk1.6.0_45</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">CHILD_JVM_JAVA_HOME=/ouaf/app/java</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">WL_HOME=/ouaf/app/oracle/middleware/wlserver_10.3</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">Version ................ (SPLVERSION) : V4.2.0.0.0</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">Database Type ............... (CMPDB) : ORACLE</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">Environment Name ....... (SPLENVIRON) : psrmdesenv</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">Environment Code Directory (SPLEBASE) : /ouaf/psrmdesenv</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">App Output Dir - Logs ... (SPLOUTPUT) : /ouaf/sploutput/psrmdesenv</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">Build Directory .......... (SPLBUILD) : /ouaf/psrmdesenv/cobol/build</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">Runtime Directory .......... (SPLRUN) : /ouaf/psrmdesenv/runtime</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span></div><span style="font-family: verdana, sans-serif"><br></span><br> <h3><span style="font-size: small; font-family: verdana, sans-serif">Installing Oracle Utilities Application Framework Service Pack 1</span></h3> <div><span style="font-size: small; font-family: verdana, sans-serif">It is strongly recommended that you take a backup of your environment at this point and prior to applying the SP1.</span></div> <div><span style="font-size: small; font-family: verdana, sans-serif"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">$ pwd</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">/ouaf</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">$ tar -czvf psrmdesenv_priorSP1.tz psrmdesenv/</span></div><span style="font-size: x-small; font-family: courier new, courier, monospace"></span></div> <div><span style="font-size: small; font-family: verdana, sans-serif"><br></span></div> <div><span style="font-size: small; font-family: verdana, sans-serif">Extract the .jar file inside software item number 9 from the software list provided at the top of this post.</span></div> <div><span style="font-size: small; font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">Setup your PSRM environment with the following command:</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div> <div><span style="font-size: small; font-family: verdana, sans-serif">as cissys user</span></div> <div><span style="font-size: small; font-family: verdana, sans-serif"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><b>$ /ouaf/psrmdesenv/bin/splenviron.sh -e $SPLENVIRON</b></span></div></div> <div> </div> <div><span style="font-family: verdana, sans-serif">Then</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: courier new, courier, monospace">cd 09_OUAF_V4.2.0.1.0_Service_Pack_1/</span></div> <div><span style="font-family: courier new, courier, monospace">cd FW-V4.2.0.1.0-SP1</span></div> <div><span style="font-family: courier new, courier, monospace">ksh ./installSP.sh</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <h3><span style="font-size: small; font-family: verdana, sans-serif">Installing Oracle Utilities Application Framework Convenience </span><span style="font-size: small; font-family: verdana, sans-serif">Rollup</span></h3> <div><span style="font-size: small; font-family: verdana, sans-serif"><br></span></div> <div> <div><span style="font-size: small; font-family: verdana, sans-serif">It is strongly recommended that you take a backup of your environment at this point and prior to applying the Convenience Rollup.</span></div></div> <div><span style="font-size: small; font-family: verdana, sans-serif"><br></span></div> <div><span style="font-size: small; font-family: verdana, sans-serif"><br></span></div> <div> <div style="font-size: small; font-family: 'Courier New', courier, monospace">$ pwd</div> <div style="font-size: small; font-family: 'Courier New', courier, monospace">/ouaf</div> <div style="font-size: small; font-family: 'Courier New', courier, monospace">$ tar -czvf /backup/produto/psrm_desenv/mid/psrmdesenv_prior_conv_rollup.tz psrmdesenv/</div></div> <div style="font-size: small; font-family: 'Courier New', courier, monospace"> </div> <div style="font-size: small; font-family: 'Courier New', courier, monospace"> </div> <div> <div><span style="font-size: small; font-family: verdana, sans-serif">Extract the .jar file inside software item number 10 from the software list provided at the top of this post.</span></div> <div><span style="font-size: small; font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">Setup your PSRM environment with the following command:</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div> <div><span style="font-size: small; font-family: verdana, sans-serif">as cissys user</span></div> <div><span style="font-size: small; font-family: verdana, sans-serif"><br></span></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace"><b>$ /ouaf/psrmdesenv/bin/splenviron.sh -e $SPLENVIRON</b></span></div></div> <div> </div> <div><span style="font-family: verdana, sans-serif">Then</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: courier new, courier, monospace">cd 10_OUAF_V4.2.0.0.0_Rollup/</span></div> <div><span style="font-family: courier new, courier, monospace">jar -xvf PSRM-V24000-FW-PREREQ-MultiPlatform.jar</span></div> <div><span style="font-family: courier new, courier, monospace">cd FW-Post-SP1-Rollup</span></div> <div><span style="font-family: courier new, courier, monospace"><br></span></div> <div> <div><span style="font-family: verdana, sans-serif">Ensure that execute permissions are set on individual fixes in the rollup. If not, add execute permissions.</span></div> <div style="font-family: 'Courier New', courier, monospace"> </div> <div style="font-family: 'Courier New', courier, monospace">ls -ltr FW*/installSF.sh </div> <div style="font-family: 'Courier New', courier, monospace">chmod +x FW*/installSF.sh</div></div> <div><span style="font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-family: courier new, courier, monospace">ksh ./installSFgroup.sh</span></div> <div><span style="font-family: courier new, courier, monospace"><br></span></div> <h3 style="text-align: center"><span style="font-size: small; font-family: verdana, sans-serif">Installing the Application Server Component of Oracle Public Sector Revenue Management</span></h3> <div><span style="font-size: small; font-family: verdana, sans-serif"><br></span><br> <div><span style="font-size: small; font-family: verdana, sans-serif">It is strongly recommended that you take a backup of your environment at this point and prior to installing the application.</span></div> <div><span style="font-size: small; font-family: verdana, sans-serif"><br></span></div> <div><span style="font-size: small; font-family: verdana, sans-serif"><br></span></div> <div> <div style="font-size: small; font-family: 'Courier New', courier, monospace">$ pwd</div> <div style="font-size: small; font-family: 'Courier New', courier, monospace">/ouaf</div> <div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small">$ tar -czvf /backup/produto/psrm_desenv/mid/psrmdesenv_prior_application_install.tz psrmdesenv/</span></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small"><br></span></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small"><br></span></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-family: verdana, sans-serif">Extract the .jar file inside software item number 11 from the software list provided at the top of this post.</span></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-family: verdana, sans-serif"><br></span></div><span style="font-size: x-small; font-family: courier new, courier, monospace">jar -xvf FW-V4.2.0.1.0-SP1-Multiplatform.jar</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">cd Release-PSRM-V2.4.0.0.0-Linux</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">cd PSRM.V2.4.0.0.0</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span><span style="font-size: x-small; font-family: courier new, courier, monospace">$ ls</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">data install.cmd install.plx PRIOR_PROD.txt SPLVERSION.txt</span><br><span style="font-size: x-small; font-family: 'Courier New', courier, monospace">FSCheck.pl install_info.txt install.sh PRODUCT.txt</span><br> <div style="font-family: 'Courier New', courier, monospace"><span style="font-family: verdana, sans-serif"><br></span></div> <div style="font-family: 'Courier New', courier, monospace"><span style="font-size: xx-small"><br></span></div><span style="font-family: verdana, sans-serif">Initialize the Framework environment that you want to install the product into.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><br> <div style="font-size: small; font-family: 'Courier New', courier, monospace"><b>/ouaf/psrmdesenv/bin/splenviron.sh -e $SPLENVIRON</b></div> <div><span style="font-size: x-small; font-family: courier new, courier, monospace">WL_HOME=/ouaf/app/oracle/middleware/wlserver_10.3</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">Version ................ (SPLVERSION) : V4.2.0.1.0</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">Database Type ............... (CMPDB) : ORACLE</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">Environment Name ....... (SPLENVIRON) : psrmdesenv</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">Environment Code Directory (SPLEBASE) : /ouaf/psrmdesenv</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">App Output Dir - Logs ... (SPLOUTPUT) : /ouaf/sploutput/psrmdesenv</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">Build Directory .......... (SPLBUILD) : /ouaf/psrmdesenv/cobol/build</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">Runtime Directory .......... (SPLRUN) : /ouaf/psrmdesenv/runtime</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span><span style="font-family: verdana, sans-serif">You must stop the environment if it is running by issuing the following command</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span><span style="font-size: x-small; font-family: 'Courier New', courier, monospace">$SPLEBASE/bin/spl.sh stop</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span><br> <h4><span style="font-size: x-small; font-family: courier new, courier, monospace">Error and Troubleshooting</span></h4><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span><span style="font-size: x-small; font-family: courier new, courier, monospace">$SPLEBASE/bin/spl.sh stop</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">bash: /ouaf/psrmdesenv/bin/spl.sh: /usr/bin/ksh: bad interpreter: No such file or directory</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span><span style="font-family: verdana, sans-serif">This problem was fixed by creating a symbolic link of ksh where the script expected it to be placed</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: courier new, courier, monospace"># ln -s /bin/ksh /usr/bin/ksh</span><br><span style="font-family: courier new, courier, monospace"><br></span><span style="font-size: xx-small; font-family: 'Courier New', courier, monospace">140115.10:30:30 <info> Startup/Shutdown logs will go to /ouaf/psrmdesenv/logs/system/spl.sh.log</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">140115.10:30:30 <info> All old logs will be copied to /ouaf/psrmdesenv/logs/backups</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">140115.10:30:31 <info> Assuming Weblogic is UP</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">140115.10:30:31 <info> Stopping Weblogic Environment on kalumba.<domain>:6500</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span><span style="font-size: xx-small; font-family: courier new, courier, monospace">Failed to connect to t3://kalumba.<domain>:6500: Destination unreachable; nested exception is:</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace"> java.net.ConnectException: Connection refused; No available router to destination</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">140115.10:30:56 <info> Waiting for WEBLOGIC java process to terminate \c</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span><span style="font-size: xx-small; font-family: courier new, courier, monospace"></span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace">140115.10:30:56 <info> WebLogic Shutdown Complete</span><br><span style="font-size: xx-small; font-family: courier new, courier, monospace"><br></span><span style="font-family: verdana, sans-serif">I am assuming the error above is due to the fact that the weblogic server was not up at the time we attempted to bring it down.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: courier new, courier, monospace">PSRM.V2.4.0.0.0]$ ksh ./install.sh</span><br><span style="font-size: x-small; font-family: 'Courier New', courier, monospace">140115:103433 <info></span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">140115:103433 <info> You are about to install the product TAX into the environment psrmdesenv located at /ouaf/psrmdesenv</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">140115:103433 <info> Make sure you executed splenviron.sh -e psrmdesenv prior to installation process.</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">140115:103433 <info></span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">Do you wish to proceed with the installation? (Y,N):</span><br><br> <h3><span style="font-family: verdana, sans-serif">Application Startup</span></h3><span style="font-family: verdana, sans-serif">To start the Oracle WebLogic environment, run the following command:</span><br><span style="font-family: verdana, sans-serif"><br></span><br> <h4><span style="font-family: verdana, sans-serif">Start</span></h4><span style="font-family: courier new, courier, monospace">/ouaf/psrmdesenv/bin/splenviron.sh -e psrmdesenv</span><br><span style="font-family: courier new, courier, monospace">cd $SPLEBASE/bin</span><br><span style="font-family: courier new, courier, monospace">./spl.sh start</span><br><span style="font-family: courier new, courier, monospace"><br></span><br> <h4><span style="font-family: verdana, sans-serif">Stop</span></h4> <div><span style="font-family: courier new, courier, monospace">/ouaf/psrmdesenv/bin/splenviron.sh -e psrmdesenv</span><br><span style="font-family: courier new, courier, monospace">cd $SPLEBASE/bin</span><br><span style="font-family: courier new, courier, monospace">./spl.sh stop</span></div> <div><span style="font-family: courier new, courier, monospace"><br></span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div><span style="font-family: courier new, courier, monospace"><br></span><span style="font-size: x-small; font-family: courier new, courier, monospace">[cissys@kalumba bin]$ ./spl.sh start</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">140115.11:10:58 <info> Startup/Shutdown logs will go to /ouaf/psrmdesenv/logs/system/spl.sh.log</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">140115.11:10:58 <info> All old logs will be copied to /ouaf/psrmdesenv/logs/backups</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">140115.11:10:58 <info> Moving weblogic_current.log to /ouaf/psrmdesenv/logs/backups/140115.1110.psrmdesenv.weblogic_current.log</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">140115.11:10:59 <info> Starting WebLogic Environment on http://kalumba.<domain>:6500</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"></span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">140115.11:10:59 <info> startWebLogic.sh process = 21538</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace"><br></span><br> <h4><span style="font-size: x-small; font-family: verdana, sans-serif">Error and Troubleshooting</span></h4> <div><span style="font-size: x-small; font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">I could not get weblogic started both via spl.sh start or startWeblogic.sh due to a weblogic admin userid and password mismatch. Even though I was using both userid and password I informed earlier, weblogic would not start.</span></div> <div><span style="font-family: verdana, sans-serif">In order to reset the password, I have followed the steps described <a href="http://www.oracle-base.com/articles/11g/reset-the-adminserver-password-in-weblogic-11g-and-12c.php" target="_blank"><span style="color: blue">here</span></a>.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">Procedure to change the password</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-size: x-small; font-family: courier new, courier, monospace">export WL_HOME=/ouaf/app/oracle/middleware/wlserver_10.3</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">export MW_HOME=/ouaf/app/oracle/middleware</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">export DOMAIN_HOME=/ouaf/psrmdesenv/splapp</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">rm -r </span><span style="font-size: x-small; font-family: 'Courier New', courier, monospace">/ouaf/psrmdesenv/splapp/servers/myserver/data.old</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">mv /ouaf/psrmdesenv/splapp/servers/myserver/data /ouaf/psrmdesenv/splapp/servers/myserver/data.old</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">. $DOMAIN_HOME/setEnv.sh</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">cd $DOMAIN_HOME/security</span><br><span style="font-size: x-small; font-family: courier new, courier, monospace">java weblogic.security.utils.AdminAccount system ouafadmin .</span><br><span style="font-family: verdana, sans-serif"><br></span></div> <h3><span style="font-size: small; font-family: verdana, sans-serif">WebLogic Application URL</span></h3> <div><span style="font-size: small; font-family: verdana, sans-serif"><br></span></div> <div><span style="font-size: small; font-family: verdana, sans-serif">http://<hostname>:<WC_default_port>/<context_root>/loginPage.jsp</span></div> <div><span style="font-size: small; font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">For this particular development installation:</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-size: small; font-family: verdana, sans-serif">http://</span><span style="font-family: verdana, sans-serif">kalumba.<domain></span><span style="font-family: verdana, sans-serif">:6500/ouaf/loginPage.jsp</span><br><span style="font-family: verdana, sans-serif"><br></span><br> <h3><span style="font-size: small; font-family: verdana, sans-serif">WebLogic Console URL</span></h3><span style="font-family: verdana, sans-serif"><br></span><span style="font-size: small; font-family: verdana, sans-serif">http://</span><span style="font-family: verdana, sans-serif">kalumba.<domain></span><span style="font-family: verdana, sans-serif">:6500/console</span><br><br> <h4><span style="font-size: x-small; font-family: verdana, sans-serif">Error and Troubleshooting</span></h4><span style="font-family: verdana, sans-serif">Still not able to open the application. The weblogic_current.log file does not show errors related to the system account password but it does show some errors related to COBOL I guess.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">The following is the suggestion Johan's@Tatis suggestion to fix the issue:</span><br><span style="font-family: courier new, courier, monospace"><br></span><span style="font-family: 'Courier New', courier, monospace">BSN_JVMCOUNT=2</span><br><span style="font-family: courier new, courier, monospace">BSN_RMIPORT=</span><br><span style="font-family: courier new, courier, monospace">BSN_WLHOST=kalumba.<domain></span><br><span style="font-family: courier new, courier, monospace">BSN_WLS_SVRNAME=myserver</span><br><br><span style="font-family: verdana, sans-serif">edit etc/ENVIRON.INI and enter 6503 as the BSN_RMIPORT</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">The above procedure also did not work. </span><br><span style="font-family: verdana, sans-serif">In order to fix this issue, I had to rerun the </span><span style="font-size: x-small"><span style="font-family: courier new, courier, monospace">/ouaf/psrmdesenv/bin/</span></span><span style="font-size: x-small; font-family: courier new, courier, monospace">configureEnv.sh </span><span style="font-family: verdana, sans-serif"> script making sure I selected 6503 for the port. There are more instructions about this above. Search for "6503" in this document.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><br> <h3><span style="font-family: verdana, sans-serif">Login into the Application</span></h3> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">Once the above problem with the 6503 port was fixed and the application started. I could see the PSRM 2.4 logon screen:</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div class="separator" style="text-align: center; clear: both"><a style="margin-left: 1em; margin-right: 1em" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlbentqjN3E_SUCAWeuvfHLy7zS_iKAqX7TzNfHyU-NXHg79KTUPmEGIBRJd-KhNjfMpO1XixTNsplqYxcvYQFkNQQPpTGUL1DeSvMlDmouBBRB7jOfAcorrQTNmKv8o0bOBztOMxoBdXx/s1600/psrm_login.PNG" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlbentqjN3E_SUCAWeuvfHLy7zS_iKAqX7TzNfHyU-NXHg79KTUPmEGIBRJd-KhNjfMpO1XixTNsplqYxcvYQFkNQQPpTGUL1DeSvMlDmouBBRB7jOfAcorrQTNmKv8o0bOBztOMxoBdXx/s1600/psrm_login.PNG" width="640" height="316"></a></div> <div><span style="font-family: verdana, sans-serif"><br></span></div><span style="font-family: verdana, sans-serif">At this point, I should be able to proceed and logon with ****/*** but as we say in Brasil, "Poor man's happiness doesn't last".</span><br><span style="font-family: verdana, sans-serif">I suddently realized that it would not allow me to login.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">Again Johan came to my rescue and suggested a change of password through the WebLogic Administration URL.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">Once I connected to the WebLogic Administration Console, I noticed that neither users or groups were created under Security Realms. Therefore, I went and manually created them as follows:</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">Under Security Realms, Click myrealm:</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><br> <div class="separator" style="text-align: center; clear: both"><a style="margin-left: 1em; margin-right: 1em" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE3al497IL9z1Bg49kYGivqKHltigDJKFCPtCSuxQIY_WzMnsZIWZj-_BBnGOg9A0cMJoUhqkGPuzeEC1EJ5VV89dOageDSVy-qjPyf9RJG3Cut8e7ir4QRALBCmGGAADkU4N5Nf3CvGy8/s1600/psrm_conf_1.PNG" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE3al497IL9z1Bg49kYGivqKHltigDJKFCPtCSuxQIY_WzMnsZIWZj-_BBnGOg9A0cMJoUhqkGPuzeEC1EJ5VV89dOageDSVy-qjPyf9RJG3Cut8e7ir4QRALBCmGGAADkU4N5Nf3CvGy8/s1600/psrm_conf_1.PNG" width="640" height="236"></a></div><br><span style="font-family: verdana, sans-serif">Firstly, create a group named cisusers</span><br><br><br> <div class="separator" style="text-align: center; clear: both"><a style="margin-left: 1em; margin-right: 1em" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzkXOB1jZ3lk7rcfyonc374fAyQq5xCPlHwSOCjYQOraCLUmdd8PxYVQKA48r41ad8DLOAaq9Qzpa-IhWHpLHTk2oS0lKBwUISYvgF5CCKQTGsLvZzEtuH7UbzBZYdmSUWfqPSwdOdiUji/s1600/psrm_conf_2.PNG" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzkXOB1jZ3lk7rcfyonc374fAyQq5xCPlHwSOCjYQOraCLUmdd8PxYVQKA48r41ad8DLOAaq9Qzpa-IhWHpLHTk2oS0lKBwUISYvgF5CCKQTGsLvZzEtuH7UbzBZYdmSUWfqPSwdOdiUji/s1600/psrm_conf_2.PNG" width="640" height="474"></a></div><br><span style="font-family: verdana, sans-serif">Then add a user named SYSUSER and assign him to the cisusers group</span><br><br><br> <div class="separator" style="text-align: center; clear: both"><a style="margin-left: 1em; margin-right: 1em" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT9ZUonOYbOaW7MywNVwdETiPRA8M50fNnSp8iXZWfvn7dfwD_NgQY0Yp3C6UsP-Yre7oyR7QIVFMwV3VfPVjWs2f2QjCGLH_lfaQYl3I32Lb88KokYetJIf9COrk6kzWs9yTmFY1x2eH8/s1600/psrm_conf_3.PNG" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT9ZUonOYbOaW7MywNVwdETiPRA8M50fNnSp8iXZWfvn7dfwD_NgQY0Yp3C6UsP-Yre7oyR7QIVFMwV3VfPVjWs2f2QjCGLH_lfaQYl3I32Lb88KokYetJIf9COrk6kzWs9yTmFY1x2eH8/s1600/psrm_conf_3.PNG" width="640" height="374"></a></div> <div><br></div> <div class="separator" style="text-align: center; clear: both"><a style="margin-left: 1em; margin-right: 1em" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHntqbBuqgj4jWbOEHFvS0b5VmcY3qQ213oFfXb_MFjVyQXRYnAUuGh-o34uX2vSVTb55NL0P6hedCpcAy1AIGCr_ru5myfAD9gQwZqeEqPi_3hwQfejcYybH_GF7n6kajH6u_-WCWzwq2/s1600/psrm_conf_4.PNG" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHntqbBuqgj4jWbOEHFvS0b5VmcY3qQ213oFfXb_MFjVyQXRYnAUuGh-o34uX2vSVTb55NL0P6hedCpcAy1AIGCr_ru5myfAD9gQwZqeEqPi_3hwQfejcYybH_GF7n6kajH6u_-WCWzwq2/s1600/psrm_conf_4.PNG" width="640" height="486"></a></div> <div><br></div> <div class="separator" style="text-align: center; clear: both"></div><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">Once done, attempt to logon to the application once again:</span><br><span style="font-family: verdana, sans-serif"><br></span><br> <div class="separator" style="text-align: center; clear: both"><a style="margin-left: 1em; margin-right: 1em" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzOUHZg3FX24M5kgXlhgMm0X0S6zpbRWE3R0jBUYungwmqc_S1K4D_P4qPugCq4ApzbW3C5EumB4Cjk8bFJzvARN9a0PKSOrtkZnDrmKEune7Azfz5iXfZdMjvVGW_5UPkxOupk4EkQE4k/s1600/psrm_login_2.PNG" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzOUHZg3FX24M5kgXlhgMm0X0S6zpbRWE3R0jBUYungwmqc_S1K4D_P4qPugCq4ApzbW3C5EumB4Cjk8bFJzvARN9a0PKSOrtkZnDrmKEune7Azfz5iXfZdMjvVGW_5UPkxOupk4EkQE4k/s1600/psrm_login_2.PNG" width="640" height="307"></a></div><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">and it works!</span><br><span style="font-family: verdana, sans-serif"><br></span><br> <div class="separator" style="text-align: center; clear: both"><a style="margin-left: 1em; margin-right: 1em" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL0Mv0vLDgg9sCy9gJBBJ0HPa4K_-kMFLorZc51e6Qpr4JzALB_QFmcNf0ifkad4x1CwLoFNeA0rz9v3abDEwauVleWMqb43ubHDZoTwOv19TPr4OJVPloXx7ItTifzbs7cgNzx1xlbMBM/s1600/psrm.PNG" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL0Mv0vLDgg9sCy9gJBBJ0HPa4K_-kMFLorZc51e6Qpr4JzALB_QFmcNf0ifkad4x1CwLoFNeA0rz9v3abDEwauVleWMqb43ubHDZoTwOv19TPr4OJVPloXx7ItTifzbs7cgNzx1xlbMBM/s1600/psrm.PNG" width="640" height="424"></a></div><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif"><br></span></div> <h3><span style="font-family: verdana, sans-serif">Backing UP everything</span></h3> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif">At this point, I will be taking a backup of the binaries as well as a RMAN backup of the repository database.</span><br><span style="font-family: verdana, sans-serif"><br></span><span style="font-family: verdana, sans-serif">Have Fun!!!</span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <div><span style="font-family: verdana, sans-serif"><br></span></div> <blockquote class="tr_bq"><span style="font-family: verdana, sans-serif"><br></span></blockquote></div></div></div></div></div></div></div>Anonymoushttp://www.blogger.com/profile/04409090780691515655noreply@blogger.com0tag:blogger.com,1999:blog-1219458118840772394.post-91859373369804962302014-01-07T23:26:00.001-08:002014-03-21T08:56:16.120-07:00LOG_LOADER - Manage and Load your OS Logs into an Oracle Database<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Recently, I came across a customer's need to load and manage OS log files like Apache logs into a Oracle Database repository in order to allow applications to query the data.</span><br />
<span style="font-family: Verdana, sans-serif;">The first two things that came to my mind were Oracle Loader and Oracle External Tables. Since I had quite a huge back log of data that would have to be imported to start with, I decided to create a script that would help us to both automate the process of loading and managing the flow of such application logs.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<br />
<h3>
<span style="font-family: Verdana, sans-serif;">Installation</span></h3>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">The script, as it is, can be downloaded from <a href="https://dl.dropboxusercontent.com/u/12886838/log_loader.pl" target="_blank"><span style="color: blue;">here</span></a>. A new window will be opened and the script code will be displayed. You may either copy and paste it or right-click and select Save as.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">The script has been designed and tested on both RHEL and OEL 5.8 but it is believed that it will run on any version above 5.0.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">The Perl used by the script is the Perl that is installed with Oracle Software like Oracle Database or components of Oracle Fusion Middleware, in this case, Oracle Portal.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">I have tested the script as it using Perl and Modules that were already installed along with Oracle Portal 11g deployed onto Oracle Weblogic Server on the Mid Tier server and imported over 1 billion rows worth of APACHE logs into an Oracle 12c pluggable database.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<br />
<h3>
<span style="font-family: Verdana, sans-serif;">What is needed to run this script</span></h3>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">One of my objectives when creating the script was to minimize the need of downloading both Perl and any extra modules. I came to realize that all my Perl related needs, were already fulfilled as part of any Oracle product installation. All that is necessary to run this script is to set the environment variables to make use of the right Perl with the right Modules. That in itself sounds easy but it can be tricky to say the least.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">This post will guide you through some steps to make sure you have all it takes to run the script with no errors or setting of hunting for astray Perl modules around the internet.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">As far as where to place the script, you have the following options:</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<br />
<ul>
<li><span style="font-family: Verdana, sans-serif;">Place the script on the Mid Tier Server where the Apache logs are located and make use of the Perl/Modules available on that Node.</span></li>
<li><span style="font-family: Verdana, sans-serif;">Place the script on a different server where you have Perl derived of some Oracle Home. If you choose this path, be aware that you will have to </span><span style="font-family: Courier New, Courier, monospace;">NFS</span><span style="font-family: Verdana, sans-serif;"> share the location of the OS logs between the Apache server and the server where the script runs</span></li>
</ul>
<div>
<span style="font-family: Verdana, sans-serif;">For the sake of simplicity, I have decided to place my script on a </span><span style="font-family: Courier New, Courier, monospace;">NFS</span><span style="font-family: Verdana, sans-serif;"> share that is presented to most of our production servers. This makes it easy to have access to it from any server where I may want to load logs from.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<h3>
<span style="font-family: Verdana, sans-serif;">Script Dependencies</span></h3>
<div>
<br /></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Dependencies : This script has been developed in Perl and it depends on the </span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> following modules:</span></div>
<div>
<br /></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> Getopt::Long (Included in Oracle Home)</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> DBD::Oracle (Included in Oracle Home</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> File::Basename (Included in Oracle Home)</span></div>
<div>
<br /></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> The version and modules of Perl that are installed along most </span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> Oracle products like Middleware and database are enough to get </span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> the script running.</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> Remember to set the following environment variables so that you </span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> make use of the Oracle Supplied Perl that should include all you</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> need to run this script.</span></div>
</div>
</div>
<div>
<br /></div>
<span style="font-family: Verdana, sans-serif;">First we need to set the environment so that we make use of the Perl and Modules from our Oracle Home.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Once you have defined from which Oracle Home you will use Perl, you need to set your session's environment variables</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">In My Case, I am using an Oracle Portal 11g Home as follows:</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span><span style="font-family: Courier New, Courier, monospace; font-size: x-small;">export ORACLE_HOME=/u01/app/oracle/product/Middleware/as_portal</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Verdana, sans-serif;">So, I go ahead and set the environment variables replacing <ORACLE_HOME> with the path above</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span><span style="font-family: Courier New, Courier, monospace; font-size: x-small;">export PERL5LIB=$ORACLE_HOME/perl/lib/site_perl/5.10.0/i686-linux-thread-</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">multi/:$ORACLE_HOME/perl/lib/5.10.0</span><br />
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">export LD_LIBRARY_PATH=$ORACLE_HOME/lib</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">export PATH=$ORACLE_HOME/perl/bin:$PATH</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Edit the script with your preferred editor and adjust the first line according to your environment. Replacing the <ORACLE_HOME> with the correct path</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;">#!<ORACLE_HOME>/perl/bin</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Save and close the file.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">At this point, we may perform a few tests to find out if the Perl environment has been setup properly for the script to be run.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<br />
<h3>
<span style="font-family: Verdana, sans-serif;">Testing DBD</span></h3>
<div>
<span style="font-family: Verdana, sans-serif;">This script makes use of this module to connect to the Oracle Repository Database. Now, because some Oracle supplied Perl scripts require to make connections to Oracle databases, the Perl version included in the Oracle Software already has it.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">To find our if your Perl environment is set correctly and if it can find the </span><span style="font-family: Courier New, Courier, monospace;">DBD::Oracle </span><span style="font-family: Verdana, sans-serif;">module: </span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace;">perl -e 'use DBD::Oracle; print $DBD::Oracle::VERSION,"\n";'</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace;">1.20</span></div>
<div style="font-family: Verdana, sans-serif;">
<br /></div>
</div>
<div style="font-family: Verdana, sans-serif;">
If your environment is correctly setup, the above command should return the version of the Driver/Module.</div>
<div style="font-family: Verdana, sans-serif;">
<br /></div>
<h3>
<span style="font-family: Verdana, sans-serif;">Testing Getopt::Long</span></h3>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace;"># I am glad to find out that the Getopt::Long is also included in the Perl provided by Oracle</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace;">perl -e 'use Getopt::Long; print $Getopt::Long::VERSION,"\n";'</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;">2.37</span></div>
<div style="font-family: Verdana, sans-serif;">
<br /></div>
</div>
<div>
<h3 style="font-family: Verdana, sans-serif;">
Getting Started</h3>
<div style="font-family: Verdana, sans-serif;">
Before you run the script for the first time, there are a few changes to be made in the script itself.</div>
<div style="font-family: Verdana, sans-serif;">
<br /></div>
<div style="font-family: Verdana, sans-serif;">
Even though the script's behavior can mostly be controlled via switches during invocation, some parameters must be changed inside the script.</div>
<div style="font-family: Verdana, sans-serif;">
<br /></div>
<div>
<span style="font-family: Verdana, sans-serif;">The following parameters will be used by the script changes will be used one-time-only when the script is run passing the </span><span style="font-family: Courier New, Courier, monospace;">-createrepo</span><span style="font-family: Verdana, sans-serif;"> switch</span></div>
<div style="font-family: Verdana, sans-serif;">
<br /></div>
<div style="font-family: Verdana, sans-serif;">
Make the following changes to the script to reflect your environment:</div>
<div style="font-family: Verdana, sans-serif;">
<br /></div>
<div style="font-family: Verdana, sans-serif;">
Open the script and locate/change the following lines inside the script to reflect the paths in your environment:</div>
<div style="font-family: Verdana, sans-serif;">
<br /></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"># CHANGE THE FOLLOWING PATHS TO MATCH YOUR PATH TO YOUR CHOSEN ORACLE_HOME</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"># ALTERNATIVELY, YOU MAY ADD EXTRA SWITCHES SO THAT THE USER CAN PASS THESE</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"># VALUES TO THE SCRIPT</span></div>
<div>
<br /></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">$oracle_home = '/u01/app/oracle/product/Middleware/as_portal';</span></div>
<div>
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Change the above line to reflect the ORACLE HOME location you have chosen</span><span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"> </span></div>
<div>
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">$tns_admin = '/u01/app/oracle/product/Middleware/as_portal/network/admin';</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Since this script will require a TNS Net Alias, you will have to add such entry to the </span><span style="font-family: Courier New, Courier, monospace;">tnsnames.ora</span><span style="font-family: Verdana, sans-serif;"> file located under the path specified above</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">$ld_library_path = '/u01/app/oracle/product/Middleware/as_portal/lib';</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Next, locate/change the following section in the script. Please note that the following directories must reflect the paths on the server where the repository DATABASE IS INSTALLED. For easy of use, you may have to create a </span><span style="font-family: Courier New, Courier, monospace;">NFS</span><span style="font-family: Verdana, sans-serif;"> share between the database server and the server where the script is running. </span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<br /></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"># CHANGE THE FOLLOWING LOCATIONS TO REFLECT PATH'S ACCESSIBLE TO THE SCRIPT</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"># ON THE SERVER WHERE THE DATABASE RESIDES</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">$ext_table_bad_files_path = '/backup/logs_apache/prod/log_loader/bad';</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">$ext_table_log_files_path = '/backup/logs_apache/prod/log_loader/log';</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">$zcat_path = '/backup/logs_apache/prod/log_loader';</span></div>
</div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">If the script detects that a file to be loaded is compressed, it will make use of the </span><span style="font-family: Courier New, Courier, monospace;">zcat</span><span style="font-family: Verdana, sans-serif;"> OS binary to preprocess the file. To avoid permission issues, make a copy of the </span><span style="font-family: Courier New, Courier, monospace;">zcat</span><span style="font-family: Verdana, sans-serif;"> utility to the directory defined above.</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Since the script makes use of Oracle External Tables to mine and upload the data into the repository database, you must define a location for your </span><span style="font-family: Courier New, Courier, monospace;">BAD</span><span style="font-family: Verdana, sans-serif;">, </span><span style="font-family: Courier New, Courier, monospace;">LOG</span><span style="font-family: Verdana, sans-serif;"> and to the </span><span style="font-family: Courier New, Courier, monospace;">zcat</span><span style="font-family: Verdana, sans-serif;"> binary.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<h3>
<span style="font-family: Verdana, sans-serif;">Creating a database Schema</span></h3>
<div>
<span style="font-family: Verdana, sans-serif;">The purpose of this script is to load and manage OS log files into an Oracle Database. Create a user account with permissions to create and drop tables as well as indexes and Oracle directories. It is recommended that a separate tablespace is created and assigned as the default tablespace for the log loader schema user</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">create user LLO identified by <password> default tablespace LLO temporary tablespace temp;</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">grant create table, create any directory to LLO;</span></div>
<h3>
<span style="font-family: Verdana, sans-serif;">Defining a TNS Net Alias</span></h3>
<div>
<span style="font-family: Verdana, sans-serif;">On the machine where the script will be running, define an Oracle Net Service Alias to be used by the </span><span style="font-family: 'Courier New', Courier, monospace;">-tnsalias</span><span style="font-family: Verdana, sans-serif;"> switch.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Example:</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">pdblog =</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> (DESCRIPTION =</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> (ADDRESS_LIST =</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.248.139)(PORT = 1521))</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> )</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> (CONNECT_DATA =</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> (SERVICE_NAME = pdblogdb.domain.gv.ao)</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> )</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> )</span></div>
</div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<h3>
<span style="font-family: Verdana, sans-serif;">Running the Script for the First Time</span></h3>
<div>
<span style="font-family: Verdana, sans-serif;">Before the script can be run regularly, it must be invoked passing the -</span><span style="font-family: Courier New, Courier, monospace;">createrepo</span><span style="font-family: Verdana, sans-serif;"> switch to instruct the script to create all necessary objects in the repository database.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Example:</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">If you have not set the environment as described above, set it as follows. Please note that if the script will be called subsequently from the cron, such environment variables must set in the OS session started by the cron job. This can be achieved by wrapping the script invocation in a shell script setting up the environment variables in the shell script.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">$ export ORACLE_HOME=/u01/app/oracle/product/Middleware/as_portal</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">$ export PERL5LIB=$ORACLE_HOME/perl/lib/site_perl/5.10.0/i686-linux-thread-multi/:$ORACLE_HOME/perl/lib/5.10.0</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">$ export LD_LIBRARY_PATH=$ORACLE_HOME/lib</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"></span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">$ export PATH=$ORACLE_HOME/perl/bin:$PATH</span><br />
<div>
<br /></div>
<span style="font-family: Verdana, sans-serif;">Run the script passing the -createrepo switch as well as the other required parameters. </span></div>
</div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">$ <b>perl log_loader.pl -createrepo -dbuser=llo -dbpassword=logloader -tnsalias=pdblog defaulttbs=users</b></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">The script validates the passed parameters as well as their dependencies. If any inconsistencies or insufficient parameters are passed to the script, it will return an LLO type error followed by a number and a message that should describe what went wrong. If everything is OK with the parameters, the script will attempt to connect to the database and perform all necessary actions. </span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Bellow is the output of the script once it has connected and created the database objects:</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"></span><br />
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Attempting to connect to the repository Database via TNS alias <pdblog></span></div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">
</span>
<br />
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">User : llo</span></div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">
</span>
<br />
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Password : *************</span></div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">
</span>
<br />
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">
</span>
<br />
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> *** Setting Environment Variables ***</span></div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">
</span>
<br />
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">
</span>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> ORACLE_HOME=/u01/app/oracle/product/as10g/MidTier/</span></div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">
<div>
TNS_ADMIN=/u01/app/oracle/product/as10g/MidTier/network/admin</div>
<div>
LD_LIBRARY_PATH=/u01/app/oracle/product/as10g/MidTier/lib</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
10/02/2014 14:27:12: Connected.</div>
<div>
<br /></div>
<div>
Table LLO_APACHE_LOGS dropped.</div>
<div>
Table LLO_APACHE_LOGS and Indexes Created.</div>
<div>
<br /></div>
<div>
Table LLO_SYSLOG_LOGS dropped.</div>
<div>
Table LLO_SYSLOG_LOGS and Indexes Created.</div>
<div>
<br /></div>
<div>
Repository objects created successfully.</div>
<div>
<br /></div>
<div>
10/02/2014 14:27:12: Closing connection to the repository database.</div>
</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">As we can see from the above output, this version of the script as it is creates all necessary directories and two tables as well as it's indexes. One table is for APACHE logs and it is fully functional and the other would be for OS SYSLOGS, although it is not functional at this point. be the first to implement and share with us!</span><br />
<span style="font-family: Verdana, sans-serif;">The script creates interval partitioned tables and global indexes. make sure you adapt the script according to your Oracle licensing.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<br />
<h3>
<span style="font-family: Verdana, sans-serif;">Using the Script </span></h3>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Now that the repository has been setup, the script should be ready to start loading and managing your APACHE logs. Be aware that this script as it is expects the APACHE contents to have the following format. Although not all columns need to have a value, it does expect to find all the following columns when it applies its field delimiters:</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;">105.172.13.165 - DANIEL.DAMEDA [11/Feb/2014:01:00:05 +0100] "GET /portal/pls/sigfe/WWJS.GENERICO HTTP/1.1" 200 60859</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">You may have to make some adjustments to the script if you notice that your APACHE log format is not the same as the above.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">The script's behavior is affected by the values passed to its switches. Therefore, it is important to understand that each switch does. The script itself does some validation of the switches to make sure the input values are correct as well as dependency checking. For example if you invoke the script in running mode by passing the </span><span style="font-family: Courier New, Courier, monospace;">-type=APACHE</span><span style="font-family: Verdana, sans-serif;">, it will expect that you also pass extra parameters like which logs to load, where to store it and what to do with each log file once it has been processed.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Depending on the values passed as parameters for the script's switches. </span></div>
<div>
<span style="font-family: Verdana, sans-serif;">To get a full list of the switches and their description, invoke the script passing the </span><span style="font-family: Courier New, Courier, monospace;">-help</span><span style="font-family: Verdana, sans-serif;"> switch as follows:</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Make sure your environment is set prior to running the script. Refer to the chapter "Script Dependencies" above for instructions on how to set your environment.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;">$ </span><span style="font-family: Courier New, Courier, monospace;">perl log_loader.pl -help</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;">Not Copyrighted, 2013 Authorship Rights Reserved</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;">http://www.thatoracledude.blogspot.com/</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;">----------------------------------------------------------------------</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;">Usage: | = OR operator</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> & = AND operator (Required)</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> <> = Optional</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [] = Required</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> log_loader.pl [-help] |</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [-createrepo] &</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> <-dropfirst> &</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [-dbuser=] &</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [-dbpassword=] &</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [-tnsalias=] &</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> <-defaulttbs=> |</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [-type=<APACHE|SYSLOG>] &</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [-logdir=] &</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> <-logfiles=> |</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [-fileprefix=] &</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [-dbuser=] &</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [-dbpassword=] &</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [-defaulttbs=] |</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [-tnsalias=] |</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> <movetodir=> |</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> <compresstool=> |</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [-about]</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;">Options: -help : Displays usage help.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> -createrepo : Instructs the script to create the repository tables on the repository</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> database specified with the -dbuser, -dbpassword and -tnsalias parameters.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> YOU MUST CREATE A DATABASE USER THAT WILL BE USED TO STORE THE REPOSITORY</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> TABLES PRIOR TO CREATING THE REPOSITORY. THE DATABASE USER MUST HAVE PRIVILEGES</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> TO CREATE TABLES, INDEXES and DIRECTORIES. The name "LLO" is recommended as the</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> -dropfirst : This switch is to be used in conjunction with the -createrepo switch. It defaults</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> to NULL, which means that not passing this switch will instruct the script NOT</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> to drop the objects already created. This is usefull when you just want to add </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> new Tables or Objects into your repository database but you do not want any </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> existing objects which may contain data to be dropped. </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> Passing this switch will instruct the script to RECREATE all repository objects</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> Use this switch with CAUTION.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> database schema user. </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> -type= : Specify the log type the script is supposed to read.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> Possible options are: APACHE|SYSLOG. However, at the time of this writing the </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> only supported value for -type is APACHE.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> -logdir= : Specify the directory where the logs to be processed are located. The script </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> performs checks to confirm that the directory is valid.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> -logfiles= : You may enter a comma-separated list of log files names to be imported.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> There is no need to specify the full path, only the log file names as the path</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> will derive from the -logdir switch.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> All log files specified must reside on the same directory defined under the</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> -logdir= parameter. If you pass a value for the -logfiles parameter, the</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> -fileprefix= parameter is ignored.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> -fileprefix= : Log File Name prefix so that the script will search and process only files that</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> begin with the specified string and are located on the directory passed through</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> the -logdir switch. This switch is ignored if you also pass a value for the </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> -logfiles switch.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> PLEASE NOTE THAT THIS SCRIPT WILL MAKE USE OF /sbin/fuser IN ORDER TO IDENTIFY</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> THE APACHE LOG THAT IS CURRENTLY BEING WRITTEN TO. APACHE LOGS CURRENTLY BEING</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> WRITTEN TO ARE NOT PROCESSED BY THIS SCRIPT. </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> -dbuser= : Database user schema used to connect to the repository database. It refers to the</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> <span class="Apple-tab-span" style="white-space: pre;"> </span> schema user who owns the repository database objects created when -createrepo was</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> run. </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> -dbpassword= : Password for the user passed in through the -dbuser parameter.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> SECURITY WARNING: Yes, you will have to pass the password in plain text but</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> I am sure some clever guy will solve this issue. There are some Perl modules </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> that allow for masked or concealed input.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> -tnsalias= : TNS alias defined in the tnsnames.ora located under the ORACLE_HOME that has been</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> set on your environment. Make sure the environment variable TNS_ADMIN is set</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> appropriately.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> -defaulttbs= : Optionally, Inform the tablespace where the log history table will be placed.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> If ignored, or passed a NULL value, it will attempt to use a tablespace named</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> USERS.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> -movetodir= : You may optionally define a directory directory to which each log file that has </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> <span class="Apple-tab-span" style="white-space: pre;"> </span> been successfully imported into the repository database should be moved to. If</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> this parameter is specified, each file will be moved</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> to this directory once it has been successfully imported into the database.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> IF THE REPOSITORY DATABASE IS LOCATED ON A DIFFERENT HOST THAN THE HOST WHERE</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> THE LOGS ARE BEING READ FROM, YOU MUST PRESENT THE SAME LOG LOCATION PATH TO</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> THE DATABASE SERVER VIA.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> -compresstool=: Full path to the compression tool to be used to compress each log file as they</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> are moved to the directory defined in -movetodir. This parameter is ignored if</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> -movetodir parameter is not specified.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> -about : Acknowledgments, Copyrights and general information about this script.</span></div>
</div>
<div>
<br /></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Example:</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Let's assume that you have a a few APACHE log files located on a directory that is shared between the server where the script will run and the server where the database is located via NFS.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<ul>
<li><span style="font-family: Verdana, sans-serif;">The location for the log files is </span><span style="font-family: Courier New, Courier, monospace;">/shared/apache/logs.</span></li>
<li><span style="font-family: Verdana, sans-serif;">You want the script to read and import all files that start with the string </span><span style="font-family: Courier New, Courier, monospace;">access_log1.</span></li>
<li><span style="font-family: Verdana, sans-serif;">You want to import all data into a repository user schema you created previously. The connection details for such user schema are as follows</span></li>
<ul>
<li><span style="font-family: Verdana, sans-serif;">Username: llo</span></li>
<li><span style="font-family: Verdana, sans-serif;">Password: llopassword</span></li>
<li><span style="font-family: Verdana, sans-serif;">TNS alias: llodb</span></li>
</ul>
<li><span style="font-family: Verdana, sans-serif;">As well as importing the files, you want to make sure each file imported gets compressed using the gzip tool and once compressed they get moved to an archive directory located at </span><span style="font-family: Courier New, Courier, monospace;">/shared/apache/archive</span></li>
</ul>
<div>
<span style="font-family: Verdana, sans-serif;">The switches you would use to instruct the script to perform the above tasks are is as follows:</span></div>
</div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">perl log_loader.pl -type=APACHE -logdir=/shared/apache/logs \</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">-fileprefix=access_log1 -dbuser=llo -dbpassword=llopassword -tnsalias=llodb \</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">-movetodir=/shared/apache/archive compresstool=/bin/gzip</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">When the script executes, it will first check all the switches for semantic errors, then for dependencies as well as check if any paths and binary files exist. Once all pre-checks are performed, the script will attempt to connect to the repository database using the credentials provided through the -dbuser=, -dbpassword= and -tnsalias= switches. Once connected to the database, the script searches the directory passed through the -logdir= switch for files that start with whatever string was passed through the -fileprefix= switch. Files that match the search patters will be displayed and processed one by one. </span></div>
<div>
<span style="font-family: Verdana, sans-serif;">If the script detects that a file is compressed, it will use zcat as a pre-processor for each file before it reads the data and imports it into the database repository tables.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">The following is an output example from the script where it displays all the files that match a specific search pattern and are candidates for import.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Verifying files that match the criteria provided</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">================================================</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> FILE NAME FILE SIZE</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> ---------------------------------------------------- ------------------------</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> access_log.1392076800 129.64 MB</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> access_log.1392120000 11.48 MB</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<br /></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Creating Temporary Oracle Directory for External Tables</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">=======================================================</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Directories LLO_DIR, LLO_LOG, LLO_BAD and LLO_ZCAT Created.</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Below is an output script example from the script where it details the steps a each file goes through to get imported, compressed (if nor already compressed) and moved to an archive destination.</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Creating External Table on File /u01/app/oracle/product/as10g/MidTier/Apache/Apache/logs/access_log.1392076800</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Loading Data . . . Imported.</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Compressing File . . . Done.</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Moving File . . . Done.</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">Skipping Current Log File access_log.1392120000.</span></div>
</div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">In the last line of the above output, we can see that the script has skipped one particular log file named </span><span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">access_log.1392120000. </span><span style="font-family: Verdana, sans-serif;">It has done so because it uses the Unix fuser command to find out if the file is in use so it does not process the current APACHE log file.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Now, let's suppose you want to import only a few distinct APACHE log files instead of allowing the script to import all logs that match a supplied string.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">In this case, you must make use of the </span><span style="font-family: Courier New, Courier, monospace;">-logfiles=</span><span style="font-family: Verdana, sans-serif;"> switch in order to pass a comma-delimited list of log file names to be imported by the script.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">In the following example, we will only be importing a few log files that reside on the directory defined by the </span><span style="font-family: Courier New, Courier, monospace;">-logdir </span><span style="font-family: Verdana, sans-serif;">switch:</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<br />
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">perl log_loader.pl -type=APACHE -logdir=/shared/apache/logs \</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">-logfiles=mylog1.gz,mylog2.gz,mylog3.log,</span><span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">access_log.1392076930</span><span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"> -dbuser=llo \</span><br />
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">-dbpassword=llopassword -tnsalias=llodb \</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">-movetodir=/shared/apache/archive compresstool=/bin/gzip</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Verdana, sans-serif;">On the previous example, we make use of the </span><span style="font-family: Courier New, Courier, monospace;">-logfiles= </span><span style="font-family: Verdana, sans-serif;">switch to instruct the script to load only the logs passed in a comma-delimited list. Note that you must pass pathless names in either compressed or uncompressed format.</span><br />
<span style="font-family: Verdana, sans-serif;">Passing the current APACHE log file in the comma-delimited list will cause the script to skip it as it makes use of the unix fuser command to check if the file is in use. The script will only process files that are not in use.</span></div>
</div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<h3>
<span style="font-family: Verdana, sans-serif;">Import Only the Content that Matters to you</span></h3>
</div>
</div>
</div>
<div>
<span style="font-family: Verdana, sans-serif;">In this section I will explain how you can change the script so that it does not flood your repository database with OS log entries that you may not find relevant to your needs:</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">You may add filters to the part of the script where it performs a </span><span style="font-family: Courier New, Courier, monospace;">INSERT AS SELECT</span><span style="font-family: Verdana, sans-serif;"> from an external table.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">The above section is indicated in the script by the following comment:</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace;"># FILTER OUT WHAT THE ENTRIES YOU DO NOT WANT IMPORTED USING THE # WHERE CLAUSE OF THE FOLLOWING </span><span style="font-family: 'Courier New', Courier, monospace;">INSERT AS SELECT STATEMENT</span></div>
</div>
<div>
<span style="font-family: 'Courier New', Courier, monospace;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Below the above message you will find the SQL statement itself which performs the direct path insert:</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"><br /></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;">INSERT /*+ APPEND NOLOGGING PARALLEL */</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> INTO LLO_APACHE_LOGS</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> (HOST,</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> LOGNAME,</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> REMOTE_USER,</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> REQUEST_DATE,</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> REQUEST_LINE,</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> REQUEST_STATUS,</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> BYTES_SENT)</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;">SELECT /*+ PARALLEL */</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> host,</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> logname,</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> remote_user,</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> CASE</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> WHEN</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> REGEXP_LIKE(request_date,'[[:digit:]]\{2\}/[[:alpha:]]\{3\}/[[:digit:]]\{4\}:[[:digit:]]\{2\}:[[:digit:]]\{2\}:[[:digit:]]\{2\}','i')</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> THEN</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> TO_DATE(request_date,'[DD/Mon/YYYY:HH24:MI:SS')</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> ELSE</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> TO_DATE('01/Jan/1970:00:00:00','DD/Mon/YYYY:HH24:MI:SS')</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> END REQUEST_DATE,</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> request_line,</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> request_status,</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> bytes_sent</span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> FROM LLO_APACHE_LOG_EXT</span></div>
<div>
<span style="font-size: xx-small;"><span style="font-family: 'Courier New', Courier, monospace;"> WHERE request_line NOT LIKE '%POST /portal/pls/test/!PORTAL.wwpro_app_provider%'</span></span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">If necessary, you may add as many "NOT LIKE" clauses as you want to make sure you filter out non necessary entries.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Also, you can make use of the REGEXP_LIKE function to filter out records that do not satisfy a specific format.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<h3>
<span style="font-family: Verdana, sans-serif;">Scripts Error Codes and Messages</span></h3>
<br />
<div>
<span style="font-size: x-small;"><span style="font-family: Verdana, sans-serif;"><b>LLO-00010</b>: Invalid Parameter passed to the script. Check each passed parameter and look for possible typos. Use the -help switch for correct parameters and syntax.</span></span></div>
<br />
<div>
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><b>LLO-00020</b>: Insufficient parameters passed to the script. Enter -help for parameters.</span></div>
<div>
<div>
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><b>LLO-00030</b>: Invalid value for parameter -logtype. Enter -help for parameters.</span></div>
</div>
<div>
<div>
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><b>LLO-00040</b>: nvalid value for either parameter -fileprefix or -log_files. Enter either a prefix for the log files to be read or a comma-delimited list of log files to be imported.</span></div>
</div>
<div>
<div>
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><b>LLO-00050</b>: Invalid or missing value for either -dbuser, -dbpassword or -tnsalias. Enter -help for parameters.</span></div>
</div>
<div>
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;"><b>LLO-00060</b>: When passing -createrepo, you must also provide value for parameters -dbuser, -dbpassword and -tnsalias. Enter -help for parameters.</span></span></div>
<br />
<div>
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;"><b>LLO-00080</b>: Invalid value for parameter -logdir. Unable to find directory $log_dig.</span></span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;"><b>LLO-00100</b>: It will output any database related error that happen during the creation of the external table directories.</span></span></div>
<div>
<span style="font-size: x-small;"><span style="font-family: Verdana, sans-serif;"><b>LLO-00110</b>: </span><span style="font-family: Verdana, sans-serif;">It will output any database related error that happen while importing data into the repository database.</span></span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;"><b>LLO-00120</b>: It will report any error that happens while attempting to connect to the repository database.</span></span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><span style="font-size: x-small;"><b>LLO-00210</b>: Unable to locate file $compress_tool passed through the parameter -compresstool.</span></span></div>
<div>
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><b>LLO-00220</b>: Unable to locate directory $move_to_dir passed through the parameter -movetodir.</span><br />
<span style="font-family: Verdana, sans-serif; font-size: x-small;"><br /></span>
<br />
<h3>
<span style="font-family: Verdana, sans-serif;">Script Automation</span></h3>
</div>
<div>
<span style="font-family: Verdana, sans-serif;">Once the script is up and running manually, you may automate its executions using the unix cron. The following is an example where the script is wrapped on a shell script that sets the environment and then invokes log_loader.pl to perform the load and management of APACHE logs.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">30 01,13 * * * "/backup/logs_apache/log_loader.sh" >/dev/null 2>&1</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Verdana, sans-serif;">And the following is the content of the script:</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">export PERL5LIB=/u01/app/oracle/product/as10g/MidTier/perl/lib/site_perl/5.6.1/i686-linux:/u01/app/oracle/product/as10g/MidTier/perl/lib/5.6.1</span><br />
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;">export LD_LIBRARY_PATH=/u01/app/oracle/product/as10g/MidTier/lib</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">export PATH=/u01/app/oracle/product/as10g/MidTier/perl/bin:$PATH</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">perl /backup/logs_apache/log_loader.pl -type=APACHE \</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">-logdir=/u01/app/oracle/product/as10g/MidTier/Apache/Apache/logs \</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">-fileprefix=access_log -dbuser=llo -dbpassword=logloader -tnsalias=pdblog \</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">-movetodir=/backup/logs_apache/prod/autoloaded -compresstool=/bin/gzip \</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">> /backup/logs_apache/log_loader_last_import.log</span><br />
<br /></div>
<div>
<br /></div>
<h3>
<span style="font-family: Verdana, sans-serif;">Special consideration for VLDB's and Oracle Text</span></h3>
<div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Note that if you end up with a very large table and you intend to search no a CLOB column, you may have to create an Oracle Text index on the column to allow your queries to run in a timely fashion.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Context indexes are not created by default by this script. If you feel the need to enable Oracle Text, you will have to check of Oracle Text is installed on your database and create an index on the CLOB column.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Also, make sure you grant the appropriate privileges to the database repository schema owner in order to be able to use Oracle Text.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<br />
<h3>
<span style="font-family: Verdana, sans-serif;">Acknowledgments</span></h3>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Please feel free to use, modify and make this script better as you wish. </span></div>
<div>
<span style="font-family: Verdana, sans-serif;">The script as it is lays out the idea so that you can follow its principles and adequate it to your needs. </span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">However, please keep some kind of reference to my blog or my name in some shape or form as it would make me very happy to see people finding any use for something we started.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Also, please send comments, questions, suggestions and critics as well as ideas that you may want to share with me. Any feedback will be VERY appreciated even if is just a hello or to say that this may be totally useless or obsolete by some other technology already available.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Special thanks to my colleague Alex Zaballa who helped me with ideas and suggestions and helped me testing after we imported over 1 billion rows of APACHE logs into a 12c Pluggable database.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Have lots of fun and thanks for taking your time to read this!</span></div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
</div>
</div>
<div>
<span style="font-family: Verdana, sans-serif;">Daniel Da Meda - 2014</span></div>
Anonymoushttp://www.blogger.com/profile/04409090780691515655noreply@blogger.com0