RSS
 

RTD Tips #1 – Deployment in production

12 Oct

Finally I am publishing my first article about Oracle Real Time Decisions.
It’s not a huge post, just a tip about how to perform  a deployment in production environment following the best practice.

In fact, using Decision Studio is not the only way RTD provide us to deploy Inline Services within RTD.
Effectively, in a real situation, it’s common that the deployment phase it’s not a developer’s responsability; it’s more usual that the IT departement from the customer side is in charge of performing the deployment by following the guidelines provided by the developer.

So in most cases we don’t want the customer’s IT departement to access the Decision Studio, but it’s easier to give them a way to execute a script performs the deployment automatically.

RTD provides a tool that can be found in your RTD client installation folder: <RTD_HOME>/OrcaleBI/RTD/client/CommandLineDeploy

You will find a zip archive rtd-deploytool-<VERSION>.zip that you have to extract.

Within the extracted folder you can find the deployment tool; it’s java-based and packaged into a jar file: deploytool.jar

If you take a look to the readme.txt file, you will find the usage guidelines as follows:

java -jar deploytool.jar -deploy [[<named option> ...] <source> [<positional option> [...]]

Here I have listed down some main parameters:

username: Name of a user logging in to the RTD server
password: The user’s password. For a blank password, specify “”
server: Server Address
port: Server Port
state: Set the deployment state for the Inline Service
unlock: Release Inline Service Lock
Endsessions: Terminate Sessions

 

Tipical usage examples could be the following:

java -jar deploytool.jar -deploy "c:\my workspace\CrossSell" scott brighton 192.168.0.15 8080 false Production false

java -jar deploytool.jar -deploy CrossSell sp34kc slater java -jar deploytool.jar -deploy c:\OracleBI\RTD\examples\CrossSell sdsu b21k7e false QA

java -jar deploytool.jar -deploy -server 192.168.0.15 -port 8081 c:\OracleBI\RTD\examples\CrossSell sysman mi22ty

java -jar deploytool.jar -deploy -port 8081 -server 192.168.0.15 c:\OracleBI\RTD\examples\DC_Demo sonar chimney

java -jar deploytool.jar -deploy CrossSell.zip calzone twostep java -jar deploytool.jar -deploy -terminateSessions true
 -server abcserver.foo.com -port 8081 -deploymentState QA CrossSell.zip

java -jar deploytool.jar -deploy -deploymentState Production -releaseLock false "c:\my workspace\CrossSell\" scott "password" 192.168.0.15 8081

 java -Djavax.net.ssl.trustStore="C:\OracleBI\RTDdeploytool\etc\ssl\sdtrust.store" -jar deploytool.jar -deploy -sslConnection true -port 8443 "C:\OracleBI\RTD\examples\CrossSell" user1 password1

Hope it helps! ;-)

 

Tags: , , , ,

Leave a Reply