<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Rittman Mead Consulting &#187; Borkur Steingrimsson</title>
	<atom:link href="http://www.rittmanmead.com/author/borkur-steingrimsson/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rittmanmead.com</link>
	<description>Delivered Intelligence</description>
	<lastBuildDate>Wed, 17 Mar 2010 20:23:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Running the OBIEE Administratiol tool on Unix using Wine</title>
		<link>http://www.rittmanmead.com/2009/12/13/running-the-obiee-administratiol-tool-on-unix-using-wine/</link>
		<comments>http://www.rittmanmead.com/2009/12/13/running-the-obiee-administratiol-tool-on-unix-using-wine/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 22:08:58 +0000</pubDate>
		<dc:creator>Borkur Steingrimsson</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle BI Suite EE]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2009/12/13/running-the-obiee-administratiol-tool-on-unix-using-wine/</guid>
		<description><![CDATA[The other day I was playing with getting OWB11gR2, which at the time of this writing, has only been released under Linux and Solaris, to run under Windows. In the pursuing comments Jon Mead threw down the gauntlet and asked if I could figure out a way to run the OBIEE Administration tool under Linux. [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I was playing with getting OWB11gR2, which at the time of this writing, has only been released under Linux and Solaris, to <a title="run under Windows" href="http://www.rittmanmead.com/2009/12/10/owb11gr2-on-windows/">run under Windows</a>. In the pursuing comments Jon Mead threw down the gauntlet and asked if I could figure out a way to run the OBIEE Administration tool under Linux. Like many of you might know, most everything in the OBIEE stack runs on Windows as well as various Unixes, but the Administration tool however is only available on Windows. The reason for that being that the tool is written using Microsoft Foundation Classes.</p>
<p>So I set out to give it a go. I picked a random Ubuntu VM image I had laying around and installed <a title="WINE Is Not an Emulator" href="http://www.winehq.org/">Wine</a> (sudo apt-get install wine). After some failed attempts on trying to figure out which DLLs the admintool.exe uses I figured out that the <a href="http://www.dependencywalker.com/">Dependency Walker</a> tool was just what I needed (I still would have preferred to have a proper Windows equivalence of the Unix tool <em>ldd</em> ). Looking at the dependent DLLs I quickly saw that most all of these libraries are contained in the %BIHOME%\server\bin directory. The tricky bit would be to get the MFC libraries in place. A quick Google search suggested to use the Winetricks gadget to install the .NET 2.0 libraries in to Wine</p>
<pre>wget http://www.kegel.com/wine/winetricks &amp;&amp; sh winetricks msxml3 dotnet20</pre>
<p>This should install a working version of .NET on Wine. The next issue is to set the proper PATH variable in your wine session. I started up a wine Command line util by issuing:</p>
<pre>wineconsole cmd</pre>
<p>Now, we also need to have the software in place. So grab a complete copy of both the OracleBI and OracleBIData directories from a working Windows installation. Make sure to note the full path of your installation as you want to match the correct path (including drive letters) in Wine. Use the <em>winecfg</em> utility to map a Wine drive letter to the folder where you copied the OBIEE installation to. In my case I had OBIEE installed on E:\BI\. I copied my installation to /mnt/hgfs/BI and configured Wine to map E: to /mnt/hgfs/ <span style="font-family: monospace;"><span style="font-family: Helvetica;"><br />
</span></p>
<p><img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2009/12/winecfg.png" alt="winecfg.png" width="414" height="315" /></span></p>
<p>Next I created a little .bat file to set the environment to what the admintool.exe expects to find, e:\wine.bat : <span style="font-family: monospace;"><span style="font-family: Helvetica;"><br />
</span></span></p>
<pre>set SADATADIR=E:\BI\OracleBIData
set SAROOTDIR=E:\BI\OracleB
set SATEMPDIR=E:\BI\OracleBIData\tmp

set PATH=%PATH%;E:\BI\OracleBI\server\Bin;E:\BI\OracleBI\web\bin;E:\BI\OracleBI\web\catalogmanager;E:\BI\OracleBI\SQLAnywhere;</pre>
<p>This makes it possible to now fire up the admintool.exe and open up an .RPD file in Offline mode:<br />
</p>
<p><img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2009/12/obiee_admintool.png" alt="obiee_admintool.png" width="480" height="288" /><br />
</p>
<p>This seems to behave OK and I am happy with what we got. But I still want to be able to connect to an Online server. My Ubuntu has already a working OBIEE installation so I am keen to get the Oracle BI Server ODBC driver set up on my Wine. This is where the <em>winetrick</em> comes in handy again.</p>
<pre>sh winetricks jet40 mdac28</pre>
<p>This gives me a working Microsoft ODBC for Oracle. A quick Windows Registry hack to register the e:\BI\OracleBI\server\Bin\NQSODBC.dll with the Wine Registry and we are on our way. First I exported the following key from my working Windows XP VM image: <em>[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Oracle BI Server]</em>. (Make sure to export it using a Win95 format). Import this key in to your wine installation, using wine regedit. Then create a new string value, called <em>Oracle BI Server</em>, in the <em>[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]</em> key, and give it the value Installed. This will tell Wine where to look for your .DLL.</p>
<p><img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2009/12/obiee_reg_1.png" alt="obiee_reg_1.png" width="480" height="176" /></p>
<p>Next step is to simply create a normal ODBC connection to my local BI Server with the odbcad32.exe command in the wineconsole:</p>
<p><img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2009/12/obiee_odbc_conn1.png" alt="obiee_odbc_conn1.png" width="480" height="292" /><br />
</p>
<p>Now I fire up the admintool.exe and see if I can connect to my local BI server:</p>
<p><img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2009/12/obiee_admin_conn1.png" alt="obiee_admin_conn1.png" width="480" height="410" /></p>
<p>And the joy!</p>
<p><img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2009/12/obiee_admin_conn2.png" alt="obiee_admin_conn2.png" width="480" height="182" /><br />
<br />
Now, it will be interesting to see if I can actually work with this, but at first glance it looks just fine. Hasn&#8217;t crashed on me yet, so I am hopeful it will stick. Next step is to try out the other tools as well, such as the Catalog Manager. These are Java based, so I might as well try and run them natively from Ubuntu &#8230;?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2009/12/13/running-the-obiee-administratiol-tool-on-unix-using-wine/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>OWB11gR2 on Windows?</title>
		<link>http://www.rittmanmead.com/2009/12/10/owb11gr2-on-windows/</link>
		<comments>http://www.rittmanmead.com/2009/12/10/owb11gr2-on-windows/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 01:43:15 +0000</pubDate>
		<dc:creator>Borkur Steingrimsson</dc:creator>
				<category><![CDATA[Oracle Warehouse Builder]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2009/12/10/owb11gr2-on-windows/</guid>
		<description><![CDATA[So, OWB 11g R2 is out now, and has been for a few weeks &#8211; ever since the database version was released. But as a Windows version of the database hasn&#8217;t been released yet we are also stuck with Linux version version of OWB. Or are we? If you think about it, OWB is an [...]]]></description>
			<content:encoded><![CDATA[<p>So, OWB 11g R2 is out now, and has been for a few weeks &#8211; ever since the database version was released. But as a Windows version of the database hasn&#8217;t been released yet we are also stuck with Linux version version of OWB. Or are we? If you think about it, OWB is an application written in Java. So why should there be any real difference between the Windows release and Linux? At least that was my thought.</p>
<p>So, I set out to give it a go: Can I run the Linux installed version of OWB11gR2 on Windows? And the answer is simple: It&#8217;s easy as pie</p>
<p>First you need to download the stand-alone version linux version of the binaries. Follow the instruction and install the software on a linux box. I used an Oracle REL VM for this purpose. Once the installer has completed we need to copy the whole OWB home over to our Windows box (I used Windows XP VM). Once we get the 1GB directory copied over there are a few minor steps we must take:</p>
<ol>
<li>Make sure we have a java runtime to use. The Linux install will not include a Windows version of JRE/JDK. I had an Oracle DB installed on my VM so I used the JDK that came with that installation.</li>
<li>Create a valid setowbenv.bat file that takes care of setting up the OWB runtime environment. The $OWB_HOME/bin/win32/ directory contains a template file, setownenv.tmp for this, so go ahead and make a working version.</li>
<li>Run the owbclient.bat file from the £OWB_HOME/bin/win32/ directory and you are good to go</li>
</ol>
<p><img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2009/12/config.png" alt="config.png" width="480" height="91" /></p>
<p><img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2009/12/owb11gr2_on_windows.png" alt="owb11gr2_on_windows.png" width="480" height="294" /></p>
<p>Since you need to connect to an OWB11gR2 repository, I simply followed the documents to run against an 11gR1 database on my VM. To put it simple you need to upgrade the pre-sseded OWBSYS schema that comes with all 11g Oracle instances to the R2 version. After that you are good to go &#8230;<P></p>
<p><B> UPDATE:</B> To sum up the extra steps I have put in the comments here:</p>
<ol>
<li> To get the Control Center Agent running (the bit that takes care of the new Code Template technology): Edit the %OWBHOME%\owb\jrt\config\secure-web-site.xml file and fix the absolute path of the <i>ssl-config keystore</i> entry</li>
<li> To get the Control Center Service running (the bit that takes (and always has taken) care of the regular mappings): Make sure that the %JAVAHOME% variable is set to a proper Java home, in the %OWBHOME%\owb\bin\win32\run_service_local.bat file. Then start the service using the local_service_login.bat script.</li>
<p>/
<ol>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2009/12/10/owb11gr2-on-windows/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>More on High Availability: BI Publisher and BI Server authentication</title>
		<link>http://www.rittmanmead.com/2009/04/03/more-on-high-availability-bi-publisher-and-bi-server-authentication/</link>
		<comments>http://www.rittmanmead.com/2009/04/03/more-on-high-availability-bi-publisher-and-bi-server-authentication/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 13:35:26 +0000</pubDate>
		<dc:creator>Borkur Steingrimsson</dc:creator>
				<category><![CDATA[Oracle BI Suite EE]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2009/04/03/more-on-high-availability-bi-publisher-and-bi-server-authentication/</guid>
		<description><![CDATA[I recently wrote up the various steps involved in setting up OBIEE in a cluster, here and here
I was recently asked by a client to outline the steps for setting up BI Publisher with a cluster. If you installed BI Publisher during the OBI installation you most likely have the default BIP security model of [...]]]></description>
			<content:encoded><![CDATA[<p>I recently wrote up the various steps involved in setting up OBIEE in a cluster, <a href="http://www.rittmanmead.com/2008/12/21/obiee-high-availability-the-bi-server/">here</a> and <a href="http://www.rittmanmead.com/2009/02/02/obiee-high-availability-presentation-services-and-scheduler/">here</a></p>
<p>I was recently asked by a client to outline the steps for setting up BI Publisher with a cluster. If you installed BI Publisher during the OBI installation you most likely have the default BIP security model of BI Server; BIP delegates user authentication to the BI Server. If a user is known by the BI Server then the same user is allowed to log in to BI Publisher. If you have now configured your OBI environment to make use of the robust high availability (and load balancing) Cluster Controller, the next step is to make sure that the BIP security model is changed to reflect this different scenario.</p>
<p>I am assuming that our primary cluster controller is called <em>aravis2</em> and the secondary is <em>aravis3</em> and both cluster controllers are running on the default port of 9706. If you are not sure on which port the cluster controllers are running, look at the <em>OracleBI/server/Config/NQClusterConfig.INI</em> file. Now, log in to the BI Publisher with administrative rights and navigate to the <em>Security Configuration</em> on the <em>Admin</em> tab. Locate the <em>Connection String</em> in the <em>Security Model</em> section and replace the default value (which tells BIP to connect directly to the BI Server) from</p>
<pre>
jdbc:oraclebi://aravis2:9703/
</pre>
<p>to this</p>
<pre>
jdbc:oraclebi://aravis2:9706/PrimaryCCS=aravis2;PrimaryCCSPort=9706;SecondaryCCS=aravis3;SecondaryCCSPort=9706;
</pre>
<p>Take care to include the last semi-colon. Took me a little time to track that little fellow down ;)</p>
<p>
<img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2009/04/sec-model-cluster.png" width="480" height="185" alt="sec_model_cluster.png" /></p>
<p>Restart the BIP application and you should now be logging in via the Cluster Controller. Looking at the log we can see that all is well:</p>
<pre>
2009-04-03 15:31:13.477 NOTIFICATION connect to CCSSECONDARYCCS=aravis3;PORT=;SSLKEYSTOREPASSWORD=***;PRIMARYCCS=aravis2;USER=Administrator;IMPERSONATE=demo;PRIMARYCCSPORT=;TRUSTANYSERVER=;LOGFILEPATH=/tmp;SECONDARYCCSPORT=;TRUSTSTOREPASSWORD=***;LOGLEVEL=;SSL=;HOST=aravis2;CATALOG=;PASSWORD=***;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2009/04/03/more-on-high-availability-bi-publisher-and-bi-server-authentication/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>OUGN Spring Seminar 2009</title>
		<link>http://www.rittmanmead.com/2009/03/11/ougn-spring-seminar-2009/</link>
		<comments>http://www.rittmanmead.com/2009/03/11/ougn-spring-seminar-2009/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 18:17:55 +0000</pubDate>
		<dc:creator>Borkur Steingrimsson</dc:creator>
				<category><![CDATA[User Groups & Conferences]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2009/03/11/ougn-spring-seminar-2009/</guid>
		<description><![CDATA[I had the fortune to attend and present at the Oracle User Group Norway Spring Seminar 2009. The event took place on the grand Color Magic cruiseferry. Though most of the presentations were delivered in Norwegian there was also an English speaking track with presenters such as Oracle Ace Directors Dan Morgan and Sten Vesterli [...]]]></description>
			<content:encoded><![CDATA[<p>I had the fortune to attend and present at the <a href="http://www.ougn.no/pls/apex/f?p=10002:7120:2195401018196516::::p:oracle-brukergruppe" title="Oracle User Group Norway">Oracle User Group Norway</a> Spring Seminar 2009. The event took place on the grand <a href="http://en.wikipedia.org/wiki/Color_Magic">Color Magic</a> cruiseferry. Though most of the presentations were delivered in Norwegian there was also an English speaking track with presenters such as Oracle Ace Directors Dan Morgan and <a href="http://www.vesterli.com/" title="Sten Vesterli">Sten Vesterli</a> . Though I manage to follow a little bit of Norwegian it took me quite some concentration to follow the other sessions I attended :)</p>
<p>Here is a picture of the Color Magic</p>
<p><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/0/07/ColorMagic_Liegeplatz_Taufe_Kiel2007.jpg/800px-ColorMagic_Liegeplatz_Taufe_Kiel2007.jpg" alt="courtesy of wikipedia.com" width="500" height="375" /></p>
<p>Dan Morris gave a presentation titled Oracle Gems. He had an excellent point on how many fantastic features or packages there are in each release of the database, but since they are free we often don&#8217;t hear any Oracle sales rep pointing them out. So if you don&#8217;t read thoroughly through the New Features whitepapers for each release, or plough through the list of new DBMS_% packages then you are very likely to miss out on some real gems. Below is a list of packages/procedures that Dan pointed out specifically. I encourage you to look these up and see just how cool these free (as in beer) gems have to offer:</p>
<ul>
<li>DBMS_ADVANCED_REWRITE and SQL equivalence statements</li>
<li>DBMS_COMPARISON</li>
<li>DBMS_PCLXUTIL</li>
<li>DBMS_REDEFINITION</li>
<li>DBMS_SPACE</li>
<li>DBMS_FLASHBACK.TRANSACTION_BACKOUT</li>
<li>PL/SQL Warnings: ALTER SESSION PLSQL_WARNINGS</li>
<li>Sorted Hash Clusters</li>
</ul>
<p>The conference is effectively over now and the Color Magic is making it&#8217;s way through the night back to Oslo. Many thanks to Truls Bergersen and the OUGN committee for this fantastic event and the opportunity to present here this year!</p>
<p>GIven that I started (and will end) the working week with a client in London and my home base is in Brussels, I will have visited 4 cities in 5 days: Brussels, London, Oslo and Kiel, Germany. Saturday morning I am scheduled to fly to the 5th city in yet another country. Perhaps more on that later&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2009/03/11/ougn-spring-seminar-2009/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OBIEE High Availability &#8211; Presentation Services and Scheduler</title>
		<link>http://www.rittmanmead.com/2009/02/02/obiee-high-availability-presentation-services-and-scheduler/</link>
		<comments>http://www.rittmanmead.com/2009/02/02/obiee-high-availability-presentation-services-and-scheduler/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 22:27:07 +0000</pubDate>
		<dc:creator>Borkur Steingrimsson</dc:creator>
				<category><![CDATA[Oracle BI Suite EE]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2009/02/02/obiee-high-availability-presentation-services-and-scheduler/</guid>
		<description><![CDATA[Continuing from my previous post, I&#8217;d like to talk about how to configure and set up High Availability (HA) for the Presentation Services (PS) and the Scheduler.
Presentation Services
With the BI services already set up in a clustered mode, managed by the Cluster Controller, the next step is to configure a new Cluster-aware ODBC connection. This [...]]]></description>
			<content:encoded><![CDATA[<p>Continuing from my <a href="http://www.rittmanmead.com/2008/12/21/obiee-high-availability-the-bi-server/">previous post,</a> I&#8217;d like to talk about how to configure and set up High Availability (HA) for the Presentation Services (PS) and the Scheduler.</p>
<p><strong>Presentation Services</strong></p>
<p><strong><span style="font-weight: normal">With the BI services already set up in a clustered mode, managed by the Cluster Controller, the next step is to configure a new Cluster-aware ODBC connection. This connection is set to communicate with the Cluster Controller instead of connecting directly to a BI server instance. Each Presentation Server instance in the cluster is then configured to use this new ODBC connection. On a Unix box, the connections are defined in the <em>[OracleBI]/setup/odbc.ini</em> file, but if you are running on a Windows box, use the <em>[Control Panel/Administrative Tasks/Data Sources (ODBC)]</em> Wizard to set up a similar connection (make sure not to use a space/blank in the connection name, as this will not work). This new ODBC connection must be defined on each PS node we are setting up. Although there is nothing stopping you from naming each ODBC DSN differently, I really suggest you keep some constancy and stick to the same name.</span></strong></p>
<p>The <em>[OracleBIDate]/web/config/instanceconfig.xml</em> file on each node contains the configuration properties of the PS. The first interesting bit is which ODBC connection the PS uses to connect to a BI server. Find and change the &lt;DSN&gt; entry in this file, to refer to the our Cluster DSN instead of the AnalyticsWeb connection. This step needs to be done on each box we are setting up.</p>
<pre>
&lt;DSN&gt;AnalyticsWeb_Cluster&lt;/DSN&gt;</pre>
<p>Another thing to note is the &lt;CatalogPath&gt; entry. As all the PS need to share the same web catalog, we have to set up a shared directory (much like we did for the BI server repository and global cache) to store the catalog files. I have set up a share on /media/share/Catalog that I use for this purpose. Make sure you copy all your catalog directory structure to this shared directory.</p>
<pre>
&lt;CatalogPath&gt; /media/share/Catalog/samplesales &lt;/CatalogPath&gt;</pre>
<p>This takes care of what we need to run each PS in our cluster. Restart each service for the changes to take effect.</p>
<p><strong>OC4J</strong></p>
<p>For the purpose of this write-up I am using a single OC4J instance. I am assuming that you already have an OC4J instance set up, running the <em>analytics</em> web application. In a simple deployment, the configured application is made aware of a single PS instance, and all incoming web requests are forwarded directly to that node. We can reconfigure this so that each PS in our cluster gets a round-robin assignment of the incoming requests. The file in question is called <em>web.xml</em> and can be found in the <em>[OASHOME]/j2ee/home/applications/analytics/analytics/WEB-INF/</em> directory (if you deployed your WAR file locally in a simple stand-alone OBIEE manner, then OASHOME is replaced by [OracleBI]/oc4j_bi/). Instead of a two pair/value parameters (host and port), we put a single parameter, that lists all the host:port values for the PS nodes.<br />
Replace</p>
<pre>
&lt;init-param&gt;
 &lt;param-name&gt;oracle.bi.presentation.sawserver.Host&lt;/param-name&gt;
 &lt;param-value&gt;localhost&lt;/param-value&gt;
&lt;/init-param&gt;
&lt;init-param&gt;
 &lt;param-name&gt;oracle.bi.presentation.sawserver.Port&lt;/param-name&gt;
 &lt;param-value&gt;9710&lt;/param-value&gt;
&lt;/init-param&gt;</pre>
<p><span style="font-family: Helvetica; white-space: normal">With</span></p>
<pre>
&lt;init-param&gt;
 &lt;param-name&gt;oracle.bi.presentation.sawservers&lt;/param-name&gt;
 &lt;param-value&gt;aravis4.rmcvm.com:9710; aravis1.rmcvm.com:9710&lt;/param-value&gt;
&lt;/init-param&gt;</pre>
<p><span style="font-family: Helvetica; white-space: normal"><span style="font-family: Helvetica; white-space: normal">Make sure you restart the application after you edit this file.</span></span></p>
<p><strong>Scheduler</strong></p>
<p>Assuming that you have already gone through the default scheduler configuration on each node, adding these to the cluster is quite straight forward. In the [OracleBI]/server/Config/NQClusterConfig.INI file, add the following line</p>
<pre>
SCHEDULERS = "aravis4.rmcvm.com:9705:9708", "aravis1.rmcvm.com:9705:9708";</pre>
<p>(obviously replacing my server names with your own). This will basically tell the Cluster Controller that the first server in the list, namely aravis4, will be the main/active scheduler, and aravis1 will be the passive one. Next step is to configure each scheduler to join the cluster. On each node, use the <em>schconfig</em> tool to change the Advanced settings of the Scheduler (Choice 1, 3 and then 3) to set &#8216;Participant in a Cluster&#8217; to <em>True</em>. Save your settings and exit the tool. Now restart the cluster controllers on each node and then start up the schedulers.<br />
<strong></p>
<p></strong><strong>JavaHost</strong></p>
<p>By default, each PS will communicate with the JavaHost running on the local machine, on the default port of 9810. We can, if the mood strikes us, decide to share the JavaHost services on each node with the other nodes, in (you guessed it) a round-robin manner. Would there really be any gain in doing so, though? Certainly we could put the JavaHost services on yet another set of nodes, which would then require that we configure each PS to use those. Again, edit the <em>[OracleBIData]/web/config/instanceconfig.xml</em> file and add the following code within the <em>&lt;ServerInstance&gt;</em> tags</p>
<pre>
&lt;JavaHostProxy&gt;
&lt;Hosts&gt;
&lt;Host address="aravis1.rmcvm.com" port="9810" /&gt;
&lt;Host address="aravis4.rmcvm.com" port="9810" /&gt;
&lt;/Hosts&gt;
&lt;/JavaHostProxy&gt;</pre>
<p>Make sure to restart the JavaHost and PS services on each node. This method can also be used to let the PS service now that the JavaHost is running on a non-default port (i.e. you had a port conflict and changed the port in the <em>[OracleBI]/web/javahost/config/config.xml</em> file.<br />
And remember; When in doubt, reboot. It can save you a lot of time and frustration to restart all the services each time, even though you might think that restarting one service is all that should be required ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2009/02/02/obiee-high-availability-presentation-services-and-scheduler/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>OBIEE High Availability &#8211; The BI Server</title>
		<link>http://www.rittmanmead.com/2008/12/21/obiee-high-availability-the-bi-server/</link>
		<comments>http://www.rittmanmead.com/2008/12/21/obiee-high-availability-the-bi-server/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 19:27:45 +0000</pubDate>
		<dc:creator>Borkur Steingrimsson</dc:creator>
				<category><![CDATA[Oracle BI Suite EE]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2008/12/21/obiee-high-availability-the-bi-server/</guid>
		<description><![CDATA[At the beginning of the month, the majority of the Rittman Mead Consulting team was at the UKOUG conference in Birmingham. Jon Mead and myself presented a paper called &#8220;OBIEE High Availability&#8221;. What we discussed was the different components of the Oracle BI EE stack, how they can be clustered and some of the main [...]]]></description>
			<content:encoded><![CDATA[<p>At the beginning of the month, the majority of the Rittman Mead Consulting team was at the <a href="http://www.rittmanmead.com/2008/12/06/ukoug-conference-2008-roundup/">UKOUG conference in Birmingham</a>. Jon Mead and myself presented a paper called &#8220;OBIEE High Availability&#8221;. What we discussed was the different components of the Oracle BI EE stack, how they can be clustered and some of the main features of such a setup.</p>
<p>The OBIEE architecture, in it&#8217;s simplest form, is comprised of the Oracle BI Server, Oracle BI Presentation Server, Oracle BI Java Host and the J2EE container that runs the web application (let&#8217;s just call that bit OC4J , though it doesn&#8217;t have to be hosted in an Oracle Container 4 Java). Behind the Oracle BI Server we might expect to find several different data sources, but clustering those is well outside the scope of this write-up.</p>
<p align="center"><img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2008/12/obiee-high-single-point-of-failure.png" width="209" height="218" alt="OBIEE_High_Single_Point_of_failure.png" /></p>
<p>In your regular installation we always have a single point of failure. If any one server goes down or looses network connectivity then we have lost all service. Making each node redundant we reduce the risk of a single point bringing down the whole stack</p>
<p align="center"><img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2008/12/obiee-high-high-available.png" width="256" height="218" alt="OBIEE_High_High_available.png" /></p>
<p><strong>Setting the BI Server to a clustered mode</strong></p>
<p>The clustering of a BI server and the cluster controller are configured in the NQSConfig.INI and NQClusterConfig.INI files, found in the ORACLEBI/server/Config/ directory. Once you have installed the BI server on all the dedicated servers, you need to configure each and every node to join the cluster we are creating. One server must be chosen to be the primary cluster control. This server will be responsible for receiving connection requests to the cluster, and forward that request down to one of the servers participating in the cluster. We can also configure a secondary cluster controller, to act as a backup if the master goes down. If you don&#8217;t bother setting up a secondary cluster controller, you have introduced a single point of failure.</p>
<p>Here are some of the main configuration parameters that need to be set in the NQSConfig.INI file</p>
<ul>
<li>CLUSTER_PARTICIPANT = YES;</li>
<li>REPOSITORY_PUBLISHING_DIRECTORY = &#8220;/media/share/Repository&#8221;;</li>
<li>REQUIRE_PUBLISHING_DIRECTORY = YES;</li>
</ul>
<p>The first one tells the BI server to look in to the NQClusterConfig.INI file for further information on how to connect to a cluster. The second parameter points to a shared directory on the network, where all BI Servers in the cluster must be able to find the common repository and write back any modifications. The third parameter tells the BI server that it should not be able to start if the Publishing Directory can not be found.</p>
<p>The configuration of the Cluster Controller and the BI Server clustering is set in the NQClusterConfig.INI file. The Cluster Control must be enabled and then we must list the primary (and, optionally) the secondary cluster controllers. Each node must also know about all the BI servers in the cluster, and which server is dedicated to contain the master copy of the repository.</p>
<ul>
<li>ENABLE_CONTROLLER = YES;</li>
<li>PRIMARY_CONTROLLER = &#8220;aravis2.rmcvm.com&#8221;;</li>
<li>SECONDARY_CONTROLLER = &#8220;aravis3.rmcvm.com&#8221;;</li>
<li>SERVERS = &#8220;aravis2.rmcvm.com&#8221;,&#8221;aravis3.rmcvm.com&#8221;;</li>
<li>MASTER_SERVER = &#8220;aravis2.rmcvm.com&#8221;;&nbsp;&nbsp;</li>
</ul>
<p>The next step is top copy the .RPD file in to the /media/share/Repository mount point. (If you are setting this up on Windows machines, then you must share a drive on the network and refer to the share something like this: REPOSITORY_PUBLISHING_DIRECTORY=&#8221;aravis0\\share\Repository&#8221;)</p>
<p>In our setting here, we have one BI server and the Primary Cluster Controller running on aravis2 and a second BI server and the Secondary Cluster controller running on aravis3. If we now start the Cluster Controller on aravis1, we see the following</p>
<pre>
[oracle@aravis2 setup]$ ./run-ccs.sh start
Oracle BI Cluster Controller startup initiated.
Execute the following command to check the Oracle BI Cluster Controller logfile and see if it started.
tail -f /u01/app/oracle/product/obiee/OracleBI/server/Log/NQCluster.log
[oracle@aravis2 setup]$ tail -f ../server/Log/NQCluster.log
[71030] A connection with Cluster Controller aravis3.rmcvm.com:9706 was established.
2008-12-21 15:43:59
[71020] A connection with Oracle BI Server aravis3.rmcvm.com:9703 was established.
2008-12-21 15:43:59
[71010] Oracle BI Server aravis3.rmcvm.com:9703 has transitioned to ONLINE state.
2008-12-21 15:43:59
[71027] Cluster Controller aravis3.rmcvm.com:9706 has transitioned to ONLINE state.
</pre>
<p>Now make sure that the cluster controllers and BI servers are up and running on both instances.</p>
<p><strong>Connecting to the BI Cluster</strong></p>
<p>The Oracle BI ODBC driver is configured, by default, to connect to a regular non-clustered instance. Now that the Primary Cluster Controller is responsible for all connections, we need to configure a new DSN for the Administrator tool.</p>
<p align="center"><img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2008/12/admin-config1.png" width="480" height="367" alt="Admin_config.png" /></p>
<p>If we now start the Administrator tool and connect to the newly created ClusterController connection, we should see something like the following, if we start up the Cluster Manager Tool. Here we can see the state of each BI server and cluster controller.</p>
<p align="center"><img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2008/12/cluster-controller.png" width="480" height="346" alt="cluster_controller.png" /></p>
<p>Once we have established that the BI servers are both members of the cluster and the primary and secondary cluster controllers are running we can move on and change the ODBC connection for the Presentation Server. For the time being we are satisfied that the Presentation Server is a potential single point of failure. My Presentation Server is called aravis1.rmcvm.com. I now must edit the odbc.ini file, that we find in the ORACLEBI/setup/ directory. This configuration file defines all ODBC connections to the BI server, and now we are interested in creating a similar connection as we did above, for the Administration tool</p>
<pre>
[AnalyticsWeb_Cluster]
Driver=/u01/app/oracle/product/obiee/OracleBI/server/Bin/libnqsodbc.so
Description=Oracle BI Server
ServerMachine=local
Repository=
FinalTimeOutForContactingCCS=60
InitialTimeOutForContactingPrimaryCCS=5
IsClusteredDSN=Yes
Catalog=
UID=Administrator
PWD=
Port=9703
PrimaryCCS=aravis2.rmcvm.com
PrimaryCCSPort=9706
SecondaryCCS=aravis3.rmcvm.com
SecondaryCCSPort=9706
Regional=No
</pre>
<p>The Presentation Server then needs to be configured to use this ODBC connection, called AnalyticsWeb_Cluster, instead of the default AnalyticsWeb. Edit the ORACLEBIDATA/web/config/instanceconfig.xml file and change the ODBC connection name in the DSN tags</p>
<pre>
&lt;WebConfig&gt;
</pre>
<pre>
&lt;ServerInstance&gt;
</pre>
<pre>
&lt;DSN&gt;AnalyticsWeb_Cluster&lt;/DSN&gt;
</pre>
<pre>
&lt;CatalogPath&gt;/media/share/WebCat/catalog/samplesales&lt;/CatalogPath&gt;
</pre>
<p>Restart the Presentation server and you should be ready to go. Log in to the Analytics web application and monitor, using the Administration tool, and see how you are now, in a round robin manner, get sessions created on each BI server.</p>
<p align="center"><img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2008/12/obiee-high-connection-manager1.png" width="480" height="334" alt="OBIEE_High_Connection_manager.png" /></p>
<p>Next we look at how to set up multiple presentation services to make that layer more fault tolerant , as well as putting the Java Host and Scheduler in to the cluster.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2008/12/21/obiee-high-availability-the-bi-server/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>OBIEE and Outer Joins</title>
		<link>http://www.rittmanmead.com/2008/12/16/obiee-and-outer-joins/</link>
		<comments>http://www.rittmanmead.com/2008/12/16/obiee-and-outer-joins/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 14:29:45 +0000</pubDate>
		<dc:creator>Borkur Steingrimsson</dc:creator>
				<category><![CDATA[Oracle BI Suite EE]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2008/12/16/obiee-and-outer-joins/</guid>
		<description><![CDATA[One of the developers at a client&#8217;s site came to ask me a simple question today: How do you set up an Outer Join in OBIEE? I was fairly certain that I had done so in the past, and when I looked at his physical model I saw, as the developer already pointed out, that [...]]]></description>
			<content:encoded><![CDATA[<p>One of the developers at a client&#8217;s site came to ask me a simple question today: How do you set up an Outer Join in OBIEE? I was fairly certain that I had done so in the past, and when I looked at his physical model I saw, as the developer already pointed out, that the possibility to set the physical join to &#8216;Outer&#8217; is greyed out; suggesting that it should be possible, but for some reasons it&#8217;s not possible right now &#8230;</p>
<p>But when you think about it, it really doesn&#8217;t make much sense to set the outer join on the physical model: the same tables can be added multiple times in to a business layer, and how the tables are treated there can differ between subjects. My keen developer had already set the join options to Outer in the business layer, but was unable to get the expected result. The reason for that turned out to be completely different: Caching! The BI server was not trying to execute the query as the results were already in the cache, and even though the join had been changed the cache wasn&#8217;t about to expire.</p>
<p>Another thing I learned while quickly looking at this problem was this: The BI server generates a mix of &#8216;regular&#8217; and ANSII join syntax. I didn&#8217;t even know that was possible! Here is an example code:</p>
<pre>

SELECT DISTINCT t63443.code AS c1,
                t67974.area AS c2,
                t67974.status AS c3,
                t67715.code AS c4,
                t67720.code AS c5,
                t67720.status AS c6,
                t67954.cost AS c7
           FROM table1 t67715,
                table2 t63443,
                table3 t67720,
                table4 t67974,
                table5 t67954
           <strong>LEFT OUTER JOIN</strong> table6 t67650 ON t67650.ID = t67954.ID
          WHERE (t63443.ID = t67650.ID AND
                 t67650.ID = t67720.ID AND
                 t67650.ID = t67715.ID AND
                 t67650.ID = t67974.ID)</pre>
<p>So, a mix between the two types of syntax is supported in the Oracle database. My DB version here is Oracle 10.2.0.3</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2008/12/16/obiee-and-outer-joins/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Rittman Mead Consulting At the UKOUG Conference 2008</title>
		<link>http://www.rittmanmead.com/2008/12/02/rittman-mead-consulting-at-the-ukoug-conference-2008/</link>
		<comments>http://www.rittmanmead.com/2008/12/02/rittman-mead-consulting-at-the-ukoug-conference-2008/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 14:24:31 +0000</pubDate>
		<dc:creator>Borkur Steingrimsson</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[User Groups & Conferences]]></category>
		<category><![CDATA[UKOUG]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2008/12/02/rittman-mead-consulting-at-the-ukoug-conference-2008/</guid>
		<description><![CDATA[I hope the readers of this blog have already noticed that the UKOUG conference is running this week up in Birmingham. The Rittman Mead Consulting team has a stand in the exhibition hall as well as running several sessions on the conference. Please try to drop by  Stand 90 and say hello, if you are [...]]]></description>
			<content:encoded><![CDATA[<p>I hope the readers of this blog have already noticed that the UKOUG conference is running this week up in Birmingham. The Rittman Mead Consulting team has a stand in the exhibition hall as well as running several sessions on the conference. Please try to drop by  Stand 90 and say hello, if you are attending, and talk to any of the team members about your BI projects, issues or questions you might have.</p>
<p>We are giving away branded beer to thirsty attendees so make sure you get your cold Rittman Mead lager!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2008/12/02/rittman-mead-consulting-at-the-ukoug-conference-2008/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Automatic migration of a Discoverer EUL to an OBIEE Repository</title>
		<link>http://www.rittmanmead.com/2008/10/23/automatic-migration-of-a-discoverer-eul-to-an-obiee-repositoryautomatic-migration-of-a-discoverer-eul-to-an-obiee-repositoryautomatic-migration-of-a-discoverer-eul-to-an-obiee-repositoryautomatic-m/</link>
		<comments>http://www.rittmanmead.com/2008/10/23/automatic-migration-of-a-discoverer-eul-to-an-obiee-repositoryautomatic-migration-of-a-discoverer-eul-to-an-obiee-repositoryautomatic-migration-of-a-discoverer-eul-to-an-obiee-repositoryautomatic-m/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 15:27:05 +0000</pubDate>
		<dc:creator>Borkur Steingrimsson</dc:creator>
				<category><![CDATA[Discoverer]]></category>
		<category><![CDATA[Oracle BI Suite EE]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2008/10/23/automatic-migration-of-a-discoverer-eul-to-an-obiee-repositoryautomatic-migration-of-a-discoverer-eul-to-an-obiee-repositoryautomatic-migration-of-a-discoverer-eul-to-an-obiee-repositoryautomatic-m/</guid>
		<description><![CDATA[The latest release of OBIEE, version 10.1.3.4 comes with a brand new demo repository and dashboards, that Mark already talked about, in this post. This is not the only new thing to come with this latest release. For the first time now, Oracle makes available a tool that allows the BI administrator to automatically generate [...]]]></description>
			<content:encoded><![CDATA[<p>The latest release of OBIEE, version 10.1.3.4 comes with a brand new demo repository and dashboards, that Mark already talked about, in <a href="http://www.rittmanmead.com/2008/10/14/exploring-the-new-obiee-10134-samples-sales-application-data/" title="Exploring the New OBIEE 10.1.3.4 Samples Sales Application &amp; Data">this post</a>. This is not the only new thing to come with this latest release. For the first time now, Oracle makes available a tool that allows the BI administrator to automatically generate an OBIEE repository from an exported Discoverer End-User Layer (EUL) file (.EEX) ! For some time now, OBIEE customers have been able to get access to this tool via Metalink, but this release is the first one to include this handy tool in to the wild.</p>
<p>The tool is a part of the Administration toolset, so it’s only available on the Microsoft Windows platform. The program file is called MigrateEUL.exe and can be found in the OracleBI/server/Bin/ directory. The migration tool must be run on a machine with an existing OBIEE Administrator installation. This is a command line utility, so get ready to do some work in the Windows shell …</p>
<p>In this first release the migration utility only supports the generation of a repository file (.RPD) based on the business areas (BAs) that are contained in the exported .EEX file. This means that no Discoverer Workbooks can be migrated yet. This is planned for a later release. But what what we do get is a complete physical, business and presentation layer. This also includes join definitions, hierarchies for dimensions and calculations. When workbook migration will be made available we should expect to get a presentation services web catalog as well. Also due to this limitation, some things in the Discoverer EUL can not be migrated, such as optional conditions that would normally be represented as saved filters in OBIEE web catalog.</p>
<p>First, to be able to do this migration you must make sure you are already running on the latest release of Oracle Discoverer, 10.1.2.X (if your production environment is not running in this version, I’d suggest you get the latest release of the Discoverer Desktop tools, create a dummy EUL in your test environment and use that to quickly migrate your EUL, so that you can still go on with testing this migration utility). Using the Discoverer Administrator tool, we must first export the desired BAs to a file, as I have already mentioned. Once that is done, you simply run the command line utility, passing the name of the .EEX file as an argument:</p>
<blockquote>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal">- MigrateEUL.exe vidstr.eex</p>
</blockquote>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal">The generated results will be placed in the same folder as the input .EEX file</p>
<ul>
<li>vidstr.rpd &#8211; This is the resulting OBIEE repository</li>
<li>vidstr.migration.log &#8211; Progress of the migration</li>
<li>vidstr.exception.log &#8211; Any exceptions such as folders and joins that could not be migrated</li>
</ul>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal">&nbsp;</p>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal"><strong>The Logs</strong></p>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal">The migration.log will look something like this:</p>
<pre>
  Oracle BI SE - EE Migration Assistant Version 10.1.3.4.0
  Repository creation started...
  ****************************************************************
  Business Area : Video Store Tutorial
  ****************************************************************
  Custom Folder : Alternate Sort Store Size
  Custom Folder : Alternate Sort Days
  -- Processing EUL Joins....
  -- Processing Folder(s) based on EUL Joins....
  ## List of Folder(s) with SKIPPED JOINS / PATHS
  FOLDER_ID SELECTED = ### FOLDER_NAME JOIN_NAME
  --------------------------------------------
  ### FOLDER CONTAINER MAPPING ###
  Mapping For Folder : Alternate Sort Days : Alternate Sort Days
  Mapping For Folder : Alternate Sort Store Size : Alternate Sort Store Size
  Mapping For Folder : Calendar Date : Calendar Date
  Mapping For Folder : Fiscal Date : Fiscal Date
  Mapping For Folder : Products : Products
  Mapping For Folder : Sales Facts : Sales Facts
  Mapping For Folder : Store : Store
  Mapping For Folder : Target Sales : Target Sales
  -- Processing Complex Folder(s)....
  ** Complex Folder : Monthly Sales Analysis
  Complex Folder is not based on any folder in the current Business Area : Video Store Tutorial
  Complex Folder cannot be migrated!!!

  -- Processing Dimension(s)....
  ** Dimension Video Analysis Calendar Time Hierarchy based on a Complex Folder is not supported!!!
  ** Dimension Video Analysis Store Hierarchy based on a Complex Folder is not supported!!!

  ************* CREATING PHYSICAL LAYER *************
  -- Creating Database...[DONE]
  -- Creating Connection Pool...[DONE]
  -- Creating Physical Table(s)...
  -- Physical Table(s) creation...[DONE]
  -- Creating Physical Join(s)...
  -- Physical Join(s) creation...[DONE]
  ************* PHYSICAL LAYER CREATION DONE *************

  ************* CREATING LOGICAL LAYER *************
  -- Creating Subject Area...[DONE]
  -- Creating Logical Table(s)...
  -- Creating Logical Join(s)...
  -- Logical Join(s) creation...[DONE]
  -- Creating Calculation(s)...
  - Creating Complex Folder Calculation(s)...
  -- Calculation(s) creation...[DONE]
  -- Logical Table(s) creation...[DONE]
  -- Creating Dimension(s)...
  Dimension : Calendar Date Hierarchy
  Dimension : Fiscal Calendar Hierarchy
  Dimension : Product Hierarchy
  Dimension : Store Hierarchy
  -- Dimension(s) creation...[DONE]
  ************* LOGICAL LAYER CREATION DONE *************
  ************* CREATING PRESENTATION LAYER *************
  -- Creating Presentation Folder(s)...
  Folder : Video Analysis Information
  *** Admin Optional Condition Year is 1998 or 1999 will not be migrated to a repository!!!
  *** Admin Optional Condition Department is Video Rental or Video Sale will not be migrated to a repository!!!
  Folder : Stores and Sales Details
  Folder : Products
  Folder : Store
  Folder : Calendar Date
  Folder : Fiscal Date
  Folder : Sales Facts
  Folder : Target Sales
  -- Presentation Folder(s) creation...[DONE]

  ************* PRESENTATION LAYER CREATION DONE *************

  ------------------- All Business Area(s) processed -----------------
  -- Creating Security Filter(s)...
  -- Security Filter(s) creation...[DONE]
  -- Creating User(s)...

  EUL
  PUBLIC
  VIDEO5

  -- User(s) creation...[DONE]

  The migrated repository is saved at C:\TEMP\vidstrEUL.rpd
  ------------------------------------------
  EUL MIGRATION SUCCESSFUL
  ------------------------------------------</pre>
<p>Anything that doesn’t get migrated or fails during the execution of the tool will get looged in to the the migration log as well as the execption log. The exception.log will only list, as the name suggests, the exceptions that occurred during the pass through.</p>
<pre>
  Oracle BI SE - EE Migration Assistant Version 10.1.3.4.0
  ****************************************************************
  Business Area : Video Store Tutorial
  ****************************************************************
  ## List of Folder(s) with SKIPPED JOINS / PATHS
  FOLDER_ID SELECTED = ### FOLDER_NAME JOIN_NAME
  ——————————————————————

  ** Complex Folder : Monthly Sales Analysis
  Complex Folder is not based on any folder in the current Business Area : Video Store Tutorial
  Complex Folder cannot be migrated!!!
  ** Dimension Video Analysis Calendar Time Hierarchy based on a Complex Folder is not supported!!!
  ** Dimension Video Analysis Store Hierarchy based on a Complex Folder is not supported!!!
  *** Admin Optional Condition Year is 1998 or 1999 will not be migrated to a repository!!!
  *** Admin Optional Condition Department is Video Rental or Video Sale will not be migrated to a repository!!!</pre>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; min-height: 14px">The interesting things we see here are:</p>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal">&nbsp;</p>
<ul>
<li>Complex folders that are based on other complex folders are not supported (yet?)</li>
<li>Hierarchies based on Complex Folders are not supported</li>
<li>Optional Conditions are not supported (as mentioned above) as they’d need to be placed in the web catalog</li>
</ul>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; min-height: 14px"><strong>Configuration Parameters</strong></p>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal">The migration tool reads configuration parameters from a file called MigrationConfig.properties that is stored in the same directory as the executable. SInce the only command line argument the tool expects is the name of the Discoverer .EEX, all other configurations need to be stated in this properties file.</p>
<table border="2">
<tr>
<th>Parameter</th>
<th>Description</th>
</tr>
<tr>
<td>CreateAggregatedCols</td>
<td>True = Aggregated Columns with functions like SUM, MIN, MAX, AVG and COUNT will be created for Measure columns<br />
False = Aggregated Columns will be created for Measure columns based on the DEFAULT AGGREGATION set in the EUL</td>
</tr>
<tr>
<td>CreateSeperateRPDs</td>
<td>True = Each Business Area in the EUL export ﬁle will be migrated to a seperate repository<br />
False = All the Business Areas in the EUL export ﬁle will be migrated to a single repository</td>
</tr>
<tr>
<td>ExcludeJoins</td>
<td>Valid values are comma seperated JOIN_IDs available for every join created in Discoverer. These Joins will not be migrated</td>
</tr>
<tr>
<td>ConsiderMultiplePaths</td>
<td>True = The Joins skipped for eliminating the Circular and Multiple Join paths will be considered for migration<br />
False = The Joins skipped for eliminating the Circular and Multiple Join paths will not be migrated</td>
</tr>
<tr>
<td>IncludePathsForFolders</td>
<td>Valid values are comma seperated TABLE_ID values generated in the log ﬁle listing the folders having joins that are skipped for eliminating the Circular and Multiple Join paths. IF ConsiderMultiplePaths property is TRUE and there are no values speciﬁed fIncludePathsForFolders then all the Skipped Joins will be migrated</td>
</tr>
<tr>
<td>DataSourceName</td>
<td>This property value is the name of the System Datasource Name used for connecting to the Database</td>
</tr>
<tr>
<td>Username</td>
<td>This property value is the Username for connecting to the Database</td>
</tr>
</table>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal">&nbsp;</p>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal">Looking at the MigrationConfig.properties file we can see that the following is the default setting:</p>
<pre>
  CreateAggregatedCols=FALSE
  CreateSeperateRPDs=FALSE
  ExcludeJoins=
  ConsiderMultiplePaths=TRUE
  IncludePathsForFolders=
  DataSourceName=
  Username=</pre>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal">Sticking with the Discoverer Video Store Tutorial, here is what the business area looks like in the Administration tool:</p>
<p style="text-align: center; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal"><img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2008/10/discoverer-1.png" alt="Discoverer_1" height="237" width="256" /></p>
<p style="text-align: center; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal">&nbsp;</p>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal">After we run the migration tool, we get a new .RPD called vidstr.rpd. Opening this repository in the OBIEE Administration tool, we must first set the properties of the connection pool, so that the BI Server can connect to the database, namely the TNS connection name, username and password.</p>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; min-height: 14px">&nbsp;</p>
<p style="text-align: center"><img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2008/10/presentation-layer-1.png" alt="Presentation Layer 1" height="195" width="228" /> <img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2008/10/logical-layer-1.png" alt="Logical_Layer_1" height="323" width="258" /> <img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2008/10/physical-layer-1.png" alt="Physical_Layer_1" height="216" width="198" /></p>
<p style="text-align: center">&nbsp;</p>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal">Validate and save the repository. Notice the warning that the Administrator user has been created using a blank password.</p>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; min-height: 14px">Now would be a good time to shut down the BI Server as well as the BI Presentation Server.</p>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal">Copy the vidstr.rpd file to the OracleBI/server/Repository/ directory. Change the OracleBI/Server/Config/NQSConfig.ini configuration file to point to the new repository.</p>
<pre>
  #Star = samplesales.rpd, DEFAULT;
  Star = vidstr.rpd, DEFAULT;</pre>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal">Before we go on, we might also want to create a new web catalog to test the migration in Answers. Edit the OracleBIData/web/conf/instanceconfig.xml file to point to a new catalog. Simply giving it a new name will create a new blank catalog once the BI Presentation Service has been started.</p>
<pre>
  &lt;CatalogPath&gt;E:/OracleBIData/web/catalog/vidstr&lt;/CatalogPath&gt;</pre>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; min-height: 14px">Restart the BI Server and the BI Presentation Server services and log in to the Oracle BI web application and we will see that the “Business Area: Video Store Tutorial” Subject Area is now available for querying.</p>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; min-height: 14px">&nbsp;</p>
<p style="text-align: center"><img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2008/10/answers-1.png" alt="Answers_1" height="470" width="480" /></p>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; min-height: 14px">&nbsp;</p>
<p style="text-align: center">&nbsp;</p>
<p style="text-align: center"><img src="http://www.rittmanmead.com/wp2/wp-content/uploads/2008/10/answers-2.png" alt="Answers_2" height="480" width="252" /></p>
<p style="text-align: center">&nbsp;</p>
<p style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal">To conclude this, we can see that it is quite straight forward to migrate a Discoverer EUL to OBIEE. However, there are still some fundamental differences between the architecture of the two products that make it difficult to automatically migrate everything. But what we do get is a very good head start. The Video Store Sample I used here is a very simple business area, where as your EUL might contain quite a lot more complicated logic. Things can get hairy very fast when your Discoverer join configurations are slightly more complicated than a simple star. But don’t hesitate to give it a go, even if just to demonstrate what your current Discoverer reporting environment might look like, in the spiffy new OBIEE …</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2008/10/23/automatic-migration-of-a-discoverer-eul-to-an-obiee-repositoryautomatic-migration-of-a-discoverer-eul-to-an-obiee-repositoryautomatic-migration-of-a-discoverer-eul-to-an-obiee-repositoryautomatic-m/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Finally I managed to write a post</title>
		<link>http://www.rittmanmead.com/2008/06/21/finally-i-managed-to-write-a-post/</link>
		<comments>http://www.rittmanmead.com/2008/06/21/finally-i-managed-to-write-a-post/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 13:32:24 +0000</pubDate>
		<dc:creator>Borkur Steingrimsson</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.rittmanmead.com/2008/06/21/finally-i-managed-to-write-a-post/</guid>
		<description><![CDATA[A time for a post
Well, it has now been close to 5 months since I joined Rittman Mead Consulting. Right after I joined up, all my previous blog posts were migrated to the RMC blog. The ensuing blog silence on my behalf did cause some people to wonder and ask if I had been banned [...]]]></description>
			<content:encoded><![CDATA[<p>A time for a post</p>
<p>Well, it has now been close to 5 months since I joined Rittman Mead Consulting. Right after I joined up, all my previous blog posts were migrated to the RMC blog. The ensuing blog silence on my behalf did cause some people to wonder and ask if I had been banned from the blog or if Mark and Jon took editorial power over my writing. The simple fact of the matter is that I somehow dropped out of any blogging mode and have been keeping my head down in the trenches, working hard. This is not to suggest that Mark, Jon and Peter have not been working hard and therefore they had plenty of time to blog :)</p>
<p>The last few months I have been dividing my time between a client in Brussels and another in London. The two projects are vastly different, so it has been quite refreshing to switch context every two weeks. In between I have also been tasked with writing new training material, delivering training to  other clients, attending Oracle Partner training in Reading and the tedious task of attending user conferences and events. As a matter of fact, I am currently cruising at 35.000 feet over Lake Ontario on my way back home after spending a whole week in the heat and humidity of the fascinating (yet somewhat crazy) New Orleans, where Mark and I attended and presented at the ODTUG Kaleidoscope 2008 conference. Readers of the blog have, no doubt, read Mark&#8217;s chronology of the week&#8217;s happening. Let me just reiterate that the famous Hand Grenade drink, as well as the Hurricane, really are as advertised: dangerous in the hands of amateurs &#8230;</p>
<p>The conference itself was really quite good. This was the second time that I attended ODTUG, the first time being the Washington 2006 event, but I was amazed to see so many familiar faces &#8211; both from the UKOUG crowd as well as people I had met 2 years ago. This was the first time that I presented at ODTUG and I am looking forward to submitting a paper again, next year. These events are a fantastic chance to catch up with &#8220;on-line&#8221; friends but more importantly, as a small business owner, for networking and meeting potential customers.  I also had a chance to catch up a little bit with my good buddy Dimitri Gielis. Even though we both live in (or near)  Brussels, we never seem to be able to catch up, as we are both very busy with our own work and travel.</p>
<p>The highlight of the conference, for my part, was probably the chance to meet up with Jean-Pierre Dijcks and talk about OWB and the roadmap and upcoming OWB11gR2. Also, I had a nice long talk with Mike Donohue about BI publisher and the really cool new features we are to expect to see there, like an online template builder. Also, I enjoyed the chance to spend some off-time with Mark, as we hadn&#8217;t had any chance to catch up over the last few months.</p>
<p>After a hard week of attending talks, delivering talks, meeting people, chatting, having a beer (or two) and short nights, it will be good to get back home. Upcoming 2 months are booked solid for me, with more trips to London on the Eurostar and client work in Brussels. I plan on contributing some technical stuff later on, but this will have to do for now.</p>
<p>Cheers  to everybody who attended ODTUG!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rittmanmead.com/2008/06/21/finally-i-managed-to-write-a-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
