<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>12c on Café Com Cloud</title><link>https://blog.cafecomcloud.com.br/tags/12c/</link><description>Recent content in 12c on Café Com Cloud</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sat, 10 Jun 2017 22:19:15 -0300</lastBuildDate><atom:link href="https://blog.cafecomcloud.com.br/tags/12c/index.xml" rel="self" type="application/rss+xml"/><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 database install</title><link>https://blog.cafecomcloud.com.br/2017/03/16/first-impression-on-12cr2-database-install/</link><pubDate>Thu, 16 Mar 2017 16:00:00 -0300</pubDate><guid>https://blog.cafecomcloud.com.br/2017/03/16/first-impression-on-12cr2-database-install/</guid><description>&lt;p&gt;Today I&amp;rsquo;ll describe my first impressions on install the new 12cR2 (available for premises on march 2017) for linux and Solaris.&lt;/p&gt;
&lt;p&gt;Inicially I felt a little bit strange because there are only one file for database and only one for grid install (on other versions since 11gR2, there are 2 files for database and one or more for grid - depends of version that you install).&lt;/p&gt;
&lt;p&gt;So I downloaded and install it on OEL6.8 for study purposes.&lt;/p&gt;
&lt;p&gt;The install process is almost similar than 12cR1 process, except you need more free space to install it (at least 8 GB).&lt;/p&gt;
&lt;p&gt;Other point, when you unzip the single file, keep careful in uncompress on a folder (for organization, because all files will be uncompress in same directory that you are).&lt;/p&gt;
&lt;p&gt;Then  I will keep study and publish some more new features! :-)&lt;/p&gt;</description></item><item><title>To be or not to be (lazy)</title><link>https://blog.cafecomcloud.com.br/2017/03/06/to-be-or-not-to-be-lazy/</link><pubDate>Mon, 06 Mar 2017 20:49:44 -0300</pubDate><guid>https://blog.cafecomcloud.com.br/2017/03/06/to-be-or-not-to-be-lazy/</guid><description>&lt;p&gt;Sometimes you are an Oracle DBA just tired of perform setup ( I like to install everything from scratch&amp;hellip;since oracle 7.3 it was always an adventure for me :) )&lt;/p&gt;
&lt;p&gt;If you only want to download and have fun on some cool new features, a pre-installed ova is the gold medal for you..&lt;/p&gt;
&lt;p&gt;Check out last this Jeff Smith (SQL Developer and lots of fun on his blog)  &lt;a class="link" href="http://www.thatjeffsmith.com/archive/2017/03/oracle-database-12c-release-2-is-now-available-and-so-is-our-new-virtualbox-appliance/" target="_blank" rel="noopener"
 &gt;here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Its a OVA with 12.2, APEX, SQL Developer and other cool stuff :)&lt;/p&gt;
&lt;p&gt;See you around!&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><item><title>Why and Why not use table recover - Oracle 12c</title><link>https://blog.cafecomcloud.com.br/2017/02/24/why-and-why-not-use-table-recover-oracle-12c/</link><pubDate>Fri, 24 Feb 2017 22:23:53 -0300</pubDate><guid>https://blog.cafecomcloud.com.br/2017/02/24/why-and-why-not-use-table-recover-oracle-12c/</guid><description>&lt;p&gt;Today will gonna discuss about RMAN table recovery, one of new features of Oracle 12c and my personal view of this feature.&lt;/p&gt;
&lt;p&gt;Official documentation you could found &lt;a class="link" href="https://docs.oracle.com/database/121/BRADV/rcmresind.htm#BRADV686" target="_blank" rel="noopener"
 &gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Basically RMAN use the mecanism of Point in Time recovery and automates the way that we can do a recover for a single table. Before Oracle 12c we can do it manually.&lt;/p&gt;
&lt;p&gt;Inside of this mecanism, RMAN create auxiliary instance to perform recovery, get only necessary information: RMAN restore and recover the SYSTEM, SYSAUX, UNDO tablespaces + tablespace where table resides and use a datapump (expdp and impdp - if you configurate to import this on database) to get point-in-time information.&lt;/p&gt;
&lt;p&gt;Why use this mecanism?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Because it permitted to get the old information dropped (accidentally or not for some user, of course if you have the previous backup) without restore all database.&lt;/li&gt;
&lt;li&gt;It very easy to use: its permitted to recover the information of tape or disk backup based. You only have the information available.&lt;/li&gt;
&lt;li&gt;You can set the recover to import table with another name or just generate a dump.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Why not use this mecanism? (until 12cR1)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If you have index associate with required table and this index was on different  tablespace, you can have some trouble.&lt;/li&gt;
&lt;li&gt;You can&amp;rsquo;t configure options like parallelism or exclude index on datapump.&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>