<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Installation on Café Com Cloud</title><link>https://blog.cafecomcloud.com.br/categories/installation/</link><description>Recent content in Installation on Café Com Cloud</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Mon, 10 Sep 2018 18:35:18 -0300</lastBuildDate><atom:link href="https://blog.cafecomcloud.com.br/categories/installation/index.xml" rel="self" type="application/rss+xml"/><item><title>18c install on premises - first impressions</title><link>https://blog.cafecomcloud.com.br/2018/09/10/18c-install-on-premises-first-impressions/</link><pubDate>Mon, 10 Sep 2018 18:35:18 -0300</pubDate><guid>https://blog.cafecomcloud.com.br/2018/09/10/18c-install-on-premises-first-impressions/</guid><description>&lt;p&gt;Hey all,&lt;/p&gt;
&lt;p&gt;Somethings have change on 18c. Today I will explain my first impressions of this pretty new product on premises and some comparisons by older versions (PS: I classified each topic before start talk about&amp;hellip; I hope to help you on your next upgrade)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Download: If you use download from Oracle OTN, you notice that there is only one zip for Oracle database and one zip file for grid install.&lt;/li&gt;
&lt;li&gt;Install: now you have to unzip all content into Oracle_HOME&amp;lt;- they called this new way as &amp;ldquo;Simplified Image-based Oracle Database Installation&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Install: runInstaller was replaced by gridSetup.sh (in case of Grid installation) and for database Installer you still need to execute runInstall.sh&lt;/li&gt;
&lt;li&gt;Install: you will need at least a machine with 8 GB RAM to install grid / database.&lt;/li&gt;
&lt;li&gt;Install: for database installer, now you have both options of install (as 10g Installer) - you can choose install enterprise or Standard Edition 2.&lt;/li&gt;
&lt;li&gt;Install: now you can choose on database install TFA during execution of root.sh.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="Screen Shot 2018-09-10 at 17.33.02" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://blog.cafecomcloud.com.br/images/screen-shot-2018-09-10-at-17-33-02.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Screen Shot 2018-09-10 at 18.32.51" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://blog.cafecomcloud.com.br/images/screen-shot-2018-09-10-at-18-32-51.png"&gt;&lt;/p&gt;
&lt;p&gt;See you. :-)&lt;/p&gt;</description></item><item><title>Patching an Engineered System</title><link>https://blog.cafecomcloud.com.br/2018/08/16/patching-an-engineered-system/</link><pubDate>Thu, 16 Aug 2018 16:54:11 -0300</pubDate><guid>https://blog.cafecomcloud.com.br/2018/08/16/patching-an-engineered-system/</guid><description>&lt;p&gt;Everyone in Oracle DBA world knows the key value of use an Engineered System, such as Exadata or Supercluster.&lt;/p&gt;
&lt;p&gt;In a mission critical on premises database, as a DBA we need to consolidate many databases, plataform in different versions into an Engeneed system.&lt;/p&gt;
&lt;p&gt;In a Engeneered System world we have different types of patch deployment that consists in a group of many other patches for differents versions of databases / applications / system /services. They are called Oracle Engineered Systems Quarterly Patch Deployment (QPD).&lt;/p&gt;
&lt;p&gt;The key advantage of using QPD is stay with best practices patches that was recommeded by Oracle. The QDP are available for download every 4 months and if you have a contract, you can let Oracle apply for you via ACS / platinum contract. More information, you can see in &lt;a class="link" href="https://www.oracle.com/assets/as-quarterly-patch-deployment-3042102.pdf" target="_blank" rel="noopener"
 &gt;https://www.oracle.com/assets/as-quarterly-patch-deployment-3042102.pdf&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Personal experiences on Engineered Systems(Exadata, Supercluster) patch apply&lt;/strong&gt; I have some few experiences on patch apply in many enviroments even Exadata or Supercluster systems.&lt;/p&gt;
&lt;p&gt;First, I always take an exachk. It&amp;rsquo;s extremely important to compare how health your environment are before apply. Always download the last available on MOS &amp;ldquo;Oracle Exadata Database Machine exachk or HealthCheck (Doc ID 1070954.1)&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Second, I recommend this note lecture:&lt;/p&gt;
&lt;p&gt;Exadata Database Machine and Exadata Storage Server Supported Versions (Doc ID 888828.1)&lt;/p&gt;
&lt;p&gt;Oracle SuperCluster Supported Software Versions - All Hardware Types (Doc ID 1567979.1)&lt;/p&gt;
&lt;p&gt;PS. in this notes there are some references to others Engeneered Systems. If you have on your enviroment, please take a look on MOS.&lt;/p&gt;
&lt;p&gt;So before download, as every patch I extremaly recomments read the README of each patch before start (it seems obvious, but I knew many DBAs that don&amp;rsquo;t follow this secret rule) and follow the prechecks as Oracle recommendations such as space, check if there are any conflict with another patch, etc.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Some tips based on my personal experience&lt;/strong&gt; - In most of cases, during patching some errors related by datapatch (on Database apply) occurs. Don&amp;rsquo;t be affraid and take a look at:&lt;/p&gt;
&lt;p&gt;Queryable Patch Inventory - Issues/Solutions for ORA-20001: Latest xml inventory is not loaded into table (Doc ID 1602089.1)&lt;/p&gt;
&lt;p&gt;12.1 : Datapatch Fails with ERROR &amp;ldquo;KUP-04004,KUP-04017,KUP-04118,KUP-04095,ORA-29913&amp;rdquo;,&amp;quot; fatal: libjli.so or libpicl.so.1: open failed&amp;quot; (Doc ID 2085653.1)&lt;/p&gt;
&lt;p&gt;- If you have a segregated environment, always apply patches on DEV or UAT environment.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Examples of database patch apply&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;=====&lt;/p&gt;
&lt;p&gt;Don&amp;rsquo;t be affraid if you get an error. It&amp;rsquo;s happen with everyone:&lt;/p&gt;
&lt;p&gt;./datapatch -verbose SQL Patching tool version 12.1.0.2.0 Production on Thu Aug 16 14:39:41 2018 Copyright (c) 2012, 2017, Oracle. All rights reserved.&lt;/p&gt;
&lt;p&gt;Log file for this invocation: /u01/app/grid/cfgtoollogs/sqlpatch/sqlpatch_2278_2018_08_16_14_39_41/sqlpatch_invocation.log&lt;/p&gt;
&lt;p&gt;Connecting to database&amp;hellip;OK Note: Datapatch will only apply or rollback SQL fixes for PDBs that are in an open state, no patches will be applied to closed PDBs. Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation (Doc ID 1585822.1) Bootstrapping registry and package to current versions&amp;hellip;done&lt;/p&gt;
&lt;p&gt;Queryable inventory could not determine the current opatch status. Execute &amp;lsquo;select dbms_sqlpatch.verify_queryable_inventory from dual&amp;rsquo; and/or check the invocation log /u01/app/grid/cfgtoollogs/sqlpatch/sqlpatch_2278_2018_08_16_14_39_41/sqlpatch_invocation.log for the complete error. Prereq check failed, exiting without installing any patches.&lt;/p&gt;
&lt;p&gt;Please refer to MOS Note 1609718.1 and/or the invocation log /u01/app/grid/cfgtoollogs/sqlpatch/sqlpatch_2278_2018_08_16_14_39_41/sqlpatch_invocation.log for information on how to resolve the above errors.&lt;/p&gt;
&lt;p&gt;SQL Patching tool complete on Thu Aug 16 14:39:59 2018&lt;/p&gt;
&lt;p&gt;=====&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s so good when everything was work as design:&lt;/p&gt;
&lt;p&gt;./datapatch -verbose SQL Patching tool version 12.1.0.2.0 Production on Thu Aug 16 14:47:57 2018 Copyright (c) 2012, 2017, Oracle. All rights reserved.&lt;/p&gt;
&lt;p&gt;Log file for this invocation: /u01/app/grid/cfgtoollogs/sqlpatch/sqlpatch_23787_2018_08_16_14_47_57/sqlpatch_invocation.log&lt;/p&gt;
&lt;p&gt;Connecting to database&amp;hellip;OK Note: Datapatch will only apply or rollback SQL fixes for PDBs that are in an open state, no patches will be applied to closed PDBs. Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation (Doc ID 1585822.1) Bootstrapping registry and package to current versions&amp;hellip;done Determining current state&amp;hellip;done&lt;/p&gt;
&lt;p&gt;Current state of SQL patches: Bundle series DBBP: ID 180717 in the binary registry and not installed in any PDB&lt;/p&gt;
&lt;p&gt;Adding patches to installation queue and performing prereq checks&amp;hellip; Installation queue: For the following PDBs: CDB$ROOT PDB$SEED Nothing to roll back The following patches will be applied: 27547374 (DATABASE BUNDLE PATCH 12.1.0.2.180717)&lt;/p&gt;
&lt;p&gt;Installing patches&amp;hellip; Patch installation complete. Total patches installed: 2&lt;/p&gt;
&lt;p&gt;Validating logfiles&amp;hellip; Patch 27547374 apply (pdb CDB$ROOT): SUCCESS logfile: /u01/app/grid/cfgtoollogs/sqlpatch/27547374/22329708/27547374_apply__MGMTDB_CDBROOT_2018Aug16_14_48_44.log (no errors) Patch 27547374 apply (pdb PDB$SEED): SUCCESS logfile: /u01/app/grid/cfgtoollogs/sqlpatch/27547374/22329708/27547374_apply__MGMTDB_PDBSEED_2018Aug16_14_52_35.log (no errors) SQL Patching tool complete on Thu Aug 16 14:55:29 2018&lt;/p&gt;
&lt;p&gt;=====&lt;/p&gt;
&lt;p&gt;See you soon! :-)&lt;/p&gt;</description></item><item><title>12cR1 + Suse 12 SP2 = take a look on this post</title><link>https://blog.cafecomcloud.com.br/2017/06/10/12cr1--suse-12-sp2-take-a-look-on-this-post/</link><pubDate>Sat, 10 Jun 2017 22:19:15 -0300</pubDate><guid>https://blog.cafecomcloud.com.br/2017/06/10/12cr1--suse-12-sp2-take-a-look-on-this-post/</guid><description>&lt;p&gt;Today I face a weird issue during a HAS 12.1.0.2 in Suse 12 SP2 for a customer.&lt;/p&gt;
&lt;p&gt;Everything went smooth during the runInstaller, but roothas.pl failed with the follow error:&lt;/p&gt;
&lt;h5 id="server_blau01grid12102--u01grid12102perlbinperl--iu01grid12102perllib--iu01grid12102crsinstall-u01grid12102crsinstallroothaspl-using-configuration-parameter-file-u01grid12102crsinstallcrsconfig_params-local-add-mode-creating-ocr-keys-for-user-ora12c-privgrp-dba-operation-successful-local-only-mode-successfully-accumulated-necessary-ocr-keys-creating-ocr-keys-for-user-root-privgrp-root-operation-successful-crs-4664-node-server_bla-successfully-pinned-20170610-004642-clsrsc-330-adding-clusterware-entries-to-file-oracle-ohasdservice"&gt;SERVER_BLA:/u01/grid/12.1.0.2 # /u01/grid/12.1.0.2/perl/bin/perl -I/u01/grid/12.1.0.2/perl/lib -I/u01/grid/12.1.0.2/crs/install /u01/grid/12.1.0.2/crs/install/roothas.pl Using configuration parameter file: /u01/grid/12.1.0.2/crs/install/crsconfig_params LOCAL ADD MODE Creating OCR keys for user &amp;lsquo;ora12c&amp;rsquo;, privgrp &amp;lsquo;dba&amp;rsquo;.. Operation successful. LOCAL ONLY MODE Successfully accumulated necessary OCR keys. Creating OCR keys for user &amp;lsquo;root&amp;rsquo;, privgrp &amp;lsquo;root&amp;rsquo;.. Operation successful. CRS-4664: Node SERVER_BLA successfully pinned. 2017/06/10 00:46:42 CLSRSC-330: Adding Clusterware entries to file &amp;lsquo;oracle-ohasd.service&amp;rsquo;
&lt;/h5&gt;&lt;h5 id="prcr-1006--failed-to-add-resource-oraons-for-ons-prcr-1115--failed-to-find-entities-of-type-resource-type-that-match-filters-type_name-ends-type-and-contain-attributes-crs-0184--cannot-communicate-with-the-crs-daemon-20170610-004704-clsrsc-180-an-error-occurred-while-executing-the-command-srvctl-add-ons-error-code-0"&gt;PRCR-1006 : Failed to add resource ora.ons for ons PRCR-1115 : Failed to find entities of type resource type that match filters (TYPE_NAME ends .type) and contain attributes CRS-0184 : Cannot communicate with the CRS daemon. 2017/06/10 00:47:04 CLSRSC-180: An error occurred while executing the command &amp;lsquo;srvctl add ons&amp;rsquo; (error code 0)
&lt;/h5&gt;&lt;h5 id="20170610-004755-clsrsc-115-start-of-resource-oraevmd-failed"&gt;2017/06/10 00:47:55 CLSRSC-115: Start of resource &amp;lsquo;ora.evmd&amp;rsquo; failed
&lt;/h5&gt;&lt;h5 id="20170610-004755-clsrsc-202-failed-to-start-evm-daemon"&gt;2017/06/10 00:47:55 CLSRSC-202: Failed to start EVM daemon
&lt;/h5&gt;&lt;p&gt;This PRCR-1006 drive me nuts. Turns out, after long hours digging the web + metalink + caffeine, that you need to:&lt;/p&gt;
&lt;p&gt;vi /etc/ld.so.conf and add /lib64/noelision on top of it.&lt;/p&gt;
&lt;p&gt;The file should be like this after vi:&lt;/p&gt;
&lt;h5 id="server_blau01grid12102crsinstall-cat-etcldsoconf-lib64noelision-usrlocallib64-usrlocallib-include-etcldsoconfdconf"&gt;SERVER_BLA:/u01/grid/12.1.0.2/crs/install# cat /etc/ld.so.conf /lib64/noelision /usr/local/lib64 /usr/local/lib include /etc/ld.so.conf.d/*.conf
&lt;/h5&gt;&lt;p&gt;And then, add the symlink on GI_HOME:&lt;/p&gt;
&lt;h5 id="server_blau01grid12102lib-lns--s-lib64noelisionlibpthread-222so-libpthreadso0"&gt;SERVER_BLA:/u01/grid/12.1.0.2/lib# lns -s /lib64/noelision/libpthread-2.22.so libpthread.so.0
&lt;/h5&gt;&lt;p&gt;And only after this run root.sh/roothas.pl. If you are reading this post problably you already executed roothas.pl ( =[ sadly). So you need to deconfigure first, execute the steps above, and then execute roothas.pl again.&lt;/p&gt;
&lt;p&gt;After this, happiness is back =]&lt;/p&gt;
&lt;p&gt;***Update***&lt;/p&gt;
&lt;p&gt;When patching GI home, remove the symlink created, apply the patch, and make the symlink again.&lt;/p&gt;
&lt;p&gt;Feedbacks are always welcome! See you around&lt;/p&gt;
&lt;p&gt;Hang,&lt;/p&gt;</description></item><item><title>First impression on 12cR2 Oracle Clusterware install</title><link>https://blog.cafecomcloud.com.br/2017/03/30/first-impression-on-12cr2-oracle-clusterware-install/</link><pubDate>Thu, 30 Mar 2017 15:51:24 -0300</pubDate><guid>https://blog.cafecomcloud.com.br/2017/03/30/first-impression-on-12cr2-oracle-clusterware-install/</guid><description>&lt;p&gt;Today we will gonna discuss about first impression on fresh install of Oracle Clusterware 12cR2 (for database, you could found some considerations &lt;a class="link" href="https://dbdebug.wordpress.com/2017/03/16/first-impression-on-12cr2-install/" target="_blank" rel="noopener"
 &gt;here&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;I install on new Oracle Linux 6.9 on Virtualbox 5.1.18 and I observe some points:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Like database install, the grid software has only one file to download (take care with uncompress the zip file. You need to uncompress on the location that you need to use the cluster software).&lt;/li&gt;
&lt;li&gt;Oracle has added 2 diskgroups types (in 11gR2 its doesn&amp;rsquo;t are present): Flex and Extended (more information you could found &lt;a class="link" href="https://docs.oracle.com/database/122/OSTMG/mirroring-diskgroup-redundancy.htm#OSTMG13711" target="_blank" rel="noopener"
 &gt;here&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="Screen Shot 2017-03-30 at 14.38.17" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://blog.cafecomcloud.com.br/images/screen-shot-2017-03-30-at-14-38-17.png"&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Pay attention with pre-requisites and space: at least, almost 40 GB was necessary for grid diskgroup if you have less than 4 nodes clusterware.&lt;/li&gt;
&lt;li&gt;Gavin Soorma has upgrade a 12R1 Cluster. If you are planning to upgrade your cluster, consider to read &lt;a class="link" href="http://gavinsoorma.com/2017/03/oracle-12c-release-2-12-2-0-1-0-grid-infrastructure-upgrade/" target="_blank" rel="noopener"
 &gt;this post&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;I install with old way Oracle ASMLIB for test purposes and it&amp;rsquo;s works! :-)&lt;/li&gt;
&lt;li&gt;If you install on graphical mode be aware in unzip the cluster software where ORACLE_HOME grid software resides because you can not change the location of install home, as you could see below:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="Screen Shot 2017-04-12 at 17.44.12" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://blog.cafecomcloud.com.br/images/screen-shot-2017-04-12-at-17-44-12.png"&gt;&lt;/p&gt;
&lt;p&gt;So, I&amp;rsquo;ll perform more tests in this test cluster. So, if you are planning to construct your own test cluster, i recommend:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://oracle-base.com/articles/12c/oracle-db-12cr2-rac-installation-on-oracle-linux-6-using-virtualbox" target="_blank" rel="noopener"
 &gt;Oracle RAC 12cR2 on Linux 6 using VirtualBox, by Oracle Base Tim Hall&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Release schedules dates document was updated!!</title><link>https://blog.cafecomcloud.com.br/2017/03/13/release-schedules-dates-document-was-updated/</link><pubDate>Mon, 13 Mar 2017 18:33:13 -0300</pubDate><guid>https://blog.cafecomcloud.com.br/2017/03/13/release-schedules-dates-document-was-updated/</guid><description>&lt;p&gt;Continue Hanganalyze&amp;rsquo;s post: &lt;a class="link" href="https://dbdebug.wordpress.com/2017/03/02/84/" target="_blank" rel="noopener"
 &gt;12.2 on-prem available for download&lt;/a&gt;, we see that realease date document was update on MOS (742060.1).&lt;/p&gt;
&lt;p&gt;Basically Oracle 12.2 was released for cloud (in March 2017 for premises) and 12.2 have been supported until 2021.&lt;/p&gt;
&lt;p&gt;&lt;img alt="roadmap" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://blog.cafecomcloud.com.br/images/roadmap.jpg"&gt;&lt;/p&gt;
&lt;p&gt;So, now it&amp;rsquo;s time to think about and plan to upgrade databases 11.2.0.4 and 12.1.0.2, of course if  application was compatible too! :-)&lt;/p&gt;
&lt;p&gt;Remember, now Oracle Recertification program follow the schedules date (more information you could see in this &lt;a class="link" href="https://www.youtube.com/watch?v=Fk94YhBFZS8" target="_blank" rel="noopener"
 &gt;video&lt;/a&gt;).&lt;/p&gt;</description></item><item><title>12.2 on-prem available for download</title><link>https://blog.cafecomcloud.com.br/2017/03/02/12.2-on-prem-available-for-download/</link><pubDate>Thu, 02 Mar 2017 20:27:05 -0300</pubDate><guid>https://blog.cafecomcloud.com.br/2017/03/02/12.2-on-prem-available-for-download/</guid><description>&lt;p&gt;Finally :)&lt;/p&gt;
&lt;p&gt;We will post shortly about some cool new features - like online move for non partitioned tables, sharding, v$index_usage_info and more!&lt;/p&gt;
&lt;p&gt;&lt;img alt="12-2\\_its\\_time" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://blog.cafecomcloud.com.br/images/12-2_its_time.jpg"&gt;&lt;/p&gt;
&lt;p&gt;See you around!&lt;/p&gt;</description></item></channel></rss>