Select Page

Upgrade RPD to Latest Oracle BI 11g Version via OBIEERPDMIGRATEUTIL CLI

Christian Screen | | August 6, 2012

We have a nice section in the appendix of the Oracle BI 11g book that highlights the command-line interfaces (CLI) that are including with the Oracle BI server and client tools.  One of my favorite has to be the obieerpdmigrateutil.sh|cmd CLI that ships with both the server and client installs.

The perfect example for using this CLI comes by way of the big “oops” that the Oracle BI development team made by releasing an Oracle BI 10g (okay could be version 11.1.1.3 or .5, I didn’t care to check; I just know its not 11.1.1.6) of the UsageTracking RPD (and web catalog) with the 11.1.1.6 installation binaries.

Most people may choose to use the Upgrade Assistant(UA) (i.e. ua.bat|sh) but there is a much easier way.  The way I’m showing you below does not require the RPD to be automatically deployed to a running Oracle Bi 11g instance either which is the default result when using the UA GUI.  In other words, don’t use the Upgrade Assistant to upgrade just an RPD; just keep it around for Web catalog , BIP, and Scheduler Schema initial upgrades. Of course, the UA can be run by command-line as well but more on that in a future post.

As you should know by now, for the Oracle BI server installation all core server command files reside the under <BI_HOME>/server/bin folder.  For the client tools install this path is <CLIENT_HOME>/server/bin/.

Just open a terminal window or a command prompt, cd to that directory path and if you list the items in the directory you’ll see a lot of files, one of them is obieerpdmigrateutil.

The important thing that I noticed here is that the client tool only installation is the best software option to use for this operation.  The reason why is that the client tool provides an option to launch a BI Command Prompt.  This option doesn’t come with the server installation.  So from the Client Tools windows program option, select BI Command Prompt.  This automatically loads all Oracle BI 11g environment paths and prepares the command prompt now opened for you to just type in any of the Oracle BI CLI commands.

[simage=608,400,y,center]

So, what does it look like to migrate the Usage Tracking RPD that comes with 11.1.1.6?  Just move that RPD to a temporary folder like C:tmp.  Then enter the syntax as follows.

[sourcecode lang=”bash”]
obieerpdmigrateutil -I C:TmpUsageTracking.rpd -O C:TmpUsageTracking11116.rpd -U Administrator -L C:TmpOBI_RPD_UserGroups.LDIF
[/sourcecode]
If you don’t use the client tools option then you’ll probably get prompted with a CLI error stating something about setting the ORACLE_INSTANCE.  The easiest thing here would be to copy the logic from the client tools launch of the BI command Prompt and incorporate that into your Oracle BI server installation location.

We give an over view of the switches used in the CLI in the book (most are common sense as you can see by their values) but one cool thing to look at quickly is the -L switch.  This provides an output file called a LDAP Integration Format (LDIF) file.  For those familiar with LDAP administration this provides a universal file that contains information about users, groups, and their attributes.  In other words you could take the resulting LDIF file and import it into any compliant LDAP directory such as Apache DS, Active Directory, or you guessed it WebLogic Embedded LDAP.

Have fun with circumventing the Upgrade Assistant and using your new powers.

References:

Enhanced by Zemanta

Subscribe to Our Blog

Never miss a post! Stay up to date with the latest database, application and analytics tips and news. Delivered in a handy bi-weekly update straight to your inbox. You can unsubscribe at any time.

Art of BI: BI Publisher (BIP) Quick Guide and Tips

Read our blog post on how to take over production support of BI Publisher reports.

Sherry Milad | January 15, 2018

How to Index a Fact Table – A Best Practice

At the base of any good BI project is a solid data warehouse or data mart.

Christian Screen | March 16, 2010

Art of BI: How to Add Comments in Oracle BI (OBIEE)

Ultimately the goal of commentary in OBIEE is to have a system for persisting feedback, creating a call to action, and recognizing the prolific users.

Christian Screen | December 29, 2013

Work with Us

Let’s have a conversation about what you need to succeed and how we can help get you there.

CONTACT US

Work for Us

Where do you want to take your career? Explore exciting opportunities to join our team.

EXPLORE JOBS