4 Ekim 2011 Salı

startscen.sh ODI Scenario Load

If you have more than one work repository in ODI , you should add workrepository parameter into your sh load script.Otherwise you can face with an error message like this:

com.sunopsis.core.SnpsInexistantObjectException: SnpScen.getScenarioByCodeAndVersion ; SnpScen does not exist

The reason to get this error , ODI (in default mode) checks the odi params file and get reporsitory information.If the scenario you suppose to run inside of another repository then It raises the error we specify above.

Here it is a sample for correct usage:

sh startscen.sh SCENARIO_NAME 001 -WORK_REPOSITORY=WORKREP2

28 Eylül 2011 Çarşamba

ODI agent.sh nohup command + without out file

Well
Here it is the issue , you run your agent with nohup command ... but later maybe oneday one week or one year whatever.. your nohup.out file will be turned into a big file, which causes problem in your disk spaces.How about Solution ? ... quite simple first stop your agent then delete the big nohup.out file and then run the following script

nohup sh agent.sh "-port=PORT_NUMBER" "-name=AGENT_NAME" >/dev/null 2>&1&

8 Eylül 2011 Perşembe

ODI schema rights

Okay , here it is my way:
While developing ODI projects , refrain to create all tables i mean Master Rep. , Work Rep. and your ETL tables into same schema.Especially in rush hours , truncating one of your Master Rep. table instead of your ETL tables , could really give an serious headache at least for one day or maybe even more.For example create a user for Master Rep. called such as ODI_MASTER
and one for Work Rep. called such as ODI_WORK and lastly for your ETL stuff ODI_ETL.It will be much more convenient and of course safer for your development.Finally ,in your project sometimes you need check your log tables for some reason , so it is better give select right to your ODI_ETL user by running following script.


** connect as ODI_MASTER & ODI_WORK

BEGIN
FOR x IN (SELECT * FROM user_tables)
LOOP
EXECUTE IMMEDIATE 'GRANT SELECT ON ' x.table_name ' TO ODI_ETL';
END LOOP;
END;

3 Mayıs 2011 Salı

How to start ODI agent in Unix

Under INSTALLATION_DIRECTORY/oracledi/bin

Type the following command:

nohup sh agent.sh "-port=PORTNUMBER" "-name=AGENT_NAME" "-v=VER_NUMBER" &


Note: Change the parameters in the command (port,name,v) depends on your ODI specifications.

29 Nisan 2011 Cuma

Dummy

Just a dummy post...