Beruflich Dokumente
Kultur Dokumente
0 /
12c server
Posted on November 15, 2015 by Kishore & Naresh
Standard
Dear All,
We will learn how to upload / deploy new rpd in obiee 12c server.
Unlike in 11g, em does not have any option for deployments of rpd, it is all now uploading repository to a specific
service instance. we should be using weblogic scripting command uploadrpd to upload repository to Oracle BI
Server.
You execute the utility through a launcher script, data-model-cmd.sh on UNIX and data-model-cmd.cmd on
Windows. You can find the launcher script at the following location:
<Oracle_Home>/user_projects/domains/bi/bitools/bin
>wlst.cmd
Syntax:
uploadrpd -I <RPDname> [-W <RPDpwd>] -SI <service_instance> -U <cred_username> [-P <cred_password>] [S <hostname>] [-N <port_number>] [-SSL] [-H]
password when the command is run. For security purposes, Oracle recommends that you include a
password in the command only if you are using automated scripting to run the command.
SI specifies the name of the service instance.
U specifies a valid users name to be used for Oracle BI EE authentication.
P specifies the password corresponding to the users name that you specified for U. If you do not supply
the password, then you will be prompted for the password when the command is run. For security
purposes, Oracle recommends that you include a password in the command only if you are using
automated scripting to run the command.
S specifies the Oracle BI EE host name. Only include this option when you are running the command
option when you are running the command from a client installation.
H displays the usage information and exits the command.
Example: data-model-cmd.sh uploadrpd -I <RepositoryName.rpd> -SI ssi -U weblogic -S server.example.com -N
9502 -SSL
Note: Using uploadrpd, we can upload an Oracle BI repository in RPD format and cannot upload a repository
composed of MDS XML documents.
The online rpd in the server is with name liverpd.rpd_n (n is integer with increased number) and can be found
at: <Oracle_Home>\user_projects\domains\bi\bidata\service_instances\ssi\metadata\datamodel\customizations
You can log into analytics and see the subject area contents of new rpd with changes affected.
You can also download current online rpd from server which acts as offline rpd on which you will be developing
your changes or for any diagnose purpose
syntax: downloadrpd -O RPDname [-W RPDpwd] -SI service_instance -U cred_username [-P cred_password] [S hostname] [-N port_number] [-SSL] [-H]
rpd will be saved under the same location where you executed above command..
Update Dec 12, 2015 This is now documented: 1.2.4 Error When Running datamodel-cmd.cmd Launcher Script. The bug 22095286 BI-LCM TOOLS NOT WORKING
FROM CLIENT INSTALLATION will be fixed in 12.2.3 (My Oracle Support).
The first issue was that the data-model-cmd.cmd script wasn't where I've been
expected to find it. I thought that it should be in
the C:\Oracle\Middleware\Oracle_Home\bi\bitools\bin folder by analogy with
Linux installation. There is a script in the analogous directory on Linux server. It's
pretty small and does two things: defines the DOMAIN_HOME environment variable
and calls $ORACLE_HOME/bi/modules/oracle.bi.commandlinetools/scripts/datamodel-cmd.cmd script. But it wasn't there. I found only a script in
the %ORACLE_HOME%\bi\modules\oracle.bi.commandlinetools\scripts folder.
The good news is that I have a server installation with these jars (I wouldn't need all
this if I haven't had one :) ).
A few seconds and a repository file is on my Windows machine. Now I can edit it in
on offline mode as usual.
Below are some repository commands required for rpd deployment, but
before that let's look at a pre-fix to be performed before using those
commands.
'data-model-cmd.cmd'
This command is used to run any of new command line tools (including for
upload/download) of rpd.
However there is a certain "ClassNotFoundException" message that
appears in command box when run on windows (no issues
for Linux installation).
A simple fix as per the Oracle docs for this would be to copy the "bicommandline-tools.jar" from the full server installation (in this case it's
Linux machine location: "Oracle_Home/bi/lib")
Go to the following link to read more about the pre-fix: Error when running
data-model-cmd.cmd Launcher Script
Linux Terminal