How to Manually Extract the Repository Dump in OBIEE
The repository dump is one of two files that need to be manually extracted so that analyses and the repository are analyzed correctly. This file is needed to create repository nodes and lineage. These steps will help you correctly perform the extraction.
-
Download the RPD file.
-
This can be done, for example, by using curl in the Windows command line.
-
curl -X POST "http://<HOSTNAME>:<PORT>/bi-lcm/v1/si/ssi/rpd/downloadrpd" --data-urlencode "target-password=<RPD_PASSWORD>" --basic --user <USER>:<PASSWORD> > <TMP_FILE>
-
<HOSTNAME>
and<PORT>
are the hostname and port of your OBIEE instance. -
<RPD_PASSWORD>
is the intended password of the downloaded RPD file. -
<USER>
and<PASSWORD>
are the credentials of your OBIEE instance. -
<TMP_FILE>
is the intended path of the downloaded RPD file; for example,C:\tmp\repo.rpd
.
-
-
-
Create an XML dump from the RPD file.
-
This can be done using the
biserverxmlgen
utility. For more information, see Generating XML from an Existing RPD in the official Oracle documentation . -
Here is an example of how it is used in the Windows command line.
-
First, change the directory, for example,
cd C:\Oracle\Middleware\Oracle_Home\bi\bitools\bin
. -
biserverxmlgen -R <TMP_FILE> -P <RPD_PASSWORD> -O <PATH>\repository.xml
-
<TMP_FILE>
and<RPD_PASSWORD>
are the same as in the first step of downloading the RPD file. -
<PATH>
should match theobiee.manualInput.dir
directory. (See OBIEE Resource Configuration.)-
By default, this folder points to
<MANTA_FOLDER>\cli\input\obiee\<CONNECTION_NAME>
. -
<MANTA_FOLDER>
is the folder where you installed Manta. -
<CONNECTION_NAME>
is the name of the OBIEE connection that you use in Manta Admin GUI.
-
-
-
The resulting file must be named
repository.xml
.
-
-
Don’t forget to update this dump in the future, whenever you make any changes in your OBIEE repository and you want the changes to be visualized. Remember that analyses are extracted automatically; therefore, not updating the repository dump could result in lineage inconsistencies.