“We use Oracle Business Suite as our primary ERP. We have acquired BICG product through Oracle, with plug in adapters, and thought we could do it on our own and after 3 years were unsuccessful. We contacted BICG … within a week we had working instance of the BI Aps. We decided we had to work with BICG. It has been 3years now, we have had BICG do training, had consultants onsite. It has been a great relationship. We are a reference often for Oracle, and when we are asked I tell them that they need to do business with a company like BICG. They have done wonderful work for us. They are the first ones that I would recommend to do the work.”

Ware Hartwell - Los Alamos National Laboratory

“We recently implemented Financial Analytics Module, we are now working on integrated some retail water billing data form a CIS system. The system has been well adopted by the users. It has become a fundamental enterprise system to the company.”

Keith Niesner - LCRA
Functional Analyst for Data Warehouse and OBIEE platform

Search the Blog
Tuesday
Aug042009

Simplifying Migration Process – Changing Environment Specific Variables in RPD

When it comes to migrating repository file between environments (Dev - TEST-Prod), one of the common questions from OBIEE environment administrators is if there is a way to change the connection information without having to change them manually in all the places.

Creating repository variables for DSN and DSN Username solves the issue to an extent. However, imagine having to deal with changing multiple DSNs and their respective usernames. Moreover, there is the setting password to the DSN username. One way to automate the setting of the variables is to store the values in a file and set them via admin tool command line mode.

First, define repository variables that can be used in the connection pool.

image

Reference the DSN information in the connection pool.

image

Now create a control file SetVariables.txt with the environment specific values.

_______________

'To Open rpd - Open <rpdname> <Administrator User> <administrator password>

Open YourRpd.rpd Administrator SADMIN

'Setting OLAP DSN variable

SetProperty "Variable" "OLAP_DSN" Initializer " 'QA_DSN' "

' Setting OLAP DSN Username variable

SetProperty "Variable" "OLAP_DSN_USER" Initializer " 'QA_User' "

'Setting OLAP DSN User QA database password

SetProperty "Connection Pool" "AppDW"."Connection Pool" "Password" "QAPassword"

Save

Close

Exit

______________

Create one per environment.

image

In the command line run the following command:

AdminTool.exe /command SetVariables_QA.txt

image

And the repository is now prepped for the other environment (QA in this case).

image

« BI Consulting Group in attendance for Oracle OpenWorld 2009 | Main | Essbase Alias Tables - The Universal Language Translator »

Reader Comments (2)

Interesting approach.

08.6.2009 | Unregistered CommenterOBIEEguy

Hi Kumar kambam,

Really it is an int6resting post and helpful for me.

Keep posting some more topics.

Regards
Swapna
OBIEE Consulatant

11.17.2009 | Unregistered CommenterSwapna

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.
Bookmark and Share