About Me

Anjum Ara I am a technology enthusiast, an ardent reader. My latest interest is virtualization. In my free time, I love understanding child nutrition, child holistic development. I bake, read, paint, and do whatever it takes to improve myself every day.

Tuesday, February 13, 2024

Essential Steps for a Smooth Transition to ODI 12c from ODI11g

When upgrading ODI repositories from version 11g to 12c, it's not uncommon to encounter an issue where the upgrade process appears to be stuck at a certain percentage. This situation typically arises when certain conditions are not met.

 Here are some of the points to ensure before upgrading the repositories to minimize the risk of failure:

1.     Optimize the upgrade process by minimizing the size of cloned work repositories. Achieve this by archiving execution logs to reduce unnecessary data.

2.     Grant unlimited tablespace to the master and work repository schemas

Alter user <master_repo> quota unlimited tablespace to <master_repo_users>;

Alter user <work_repo> quota unlimited tablespace to <work_repo_tbspc>;

3.     Add multiple data files to the work repository schema

ALTER TABLESPACE your_tablespace_name ADD DATAFILE '/path/to/datafile1.dbf' SIZE 1024M,

'/path/to/datafile2.dbf' SIZE 1024M,

'/path/to/datafile3.dbf' SIZE 1024M;

4.     Enable “Auto Extend”, auto-extend for the specified data file, allowing it to extend automatically in increments of 100 megabytes, with a maximum size of unlimited

 ALTER DATABASE DATAFILE '/path/to/your/datafile.dbf' AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED;

 5.     Ensure there is enough disk space, processor, memory to run the upgrade

6.     Ensure at the time of upgrade no major activity like backup, export or import of schema is running on the DB as it takes precedence and may slow down the process

7.     Review the work repositories, remove unwanted projects, interfaces that are duplicates, delete the interfaces that do not open or corrupted.

8.     Ensure the master repository is pointing to the destination work repository and not the source from where it was migrated.  (Most common mistake hence upgrade fails)

a.      Open the migrated master repository via 11g ODI Studio

b.      Go to master repository > Topology > Work Repositories > Select the work repositories > Click on the “switch” like symbol > JDBC

Update this JDBC string to the destination DB JDBC string  > Save.

c.      Repeat the #b if you have more than one repository.

9.     If the upgrade failed but the repositories show already 12c version then update the schema_version_registry, reimport the 11g schemas, follow all the above steps and run the upgrade again. 

Share:

Thursday, May 11, 2023

Kill all Hyperion services after using stop.sh

 

Once Hyperion services are stopped using stop.sh we observe that processes are still lingering around. 

Use below command : 

ps -ef|grep -i <USERNAME> | grep '<PATH>' | awk '{print $2}'

kill -9 $(ps -ef|grep i <USERNAME> | grep '<PATH>' | awk '{print $2}')


Example:

ps -ef|grep hypadmp+ | grep '/apps/Oracle/' | awk '{print $2}'


kill -9 $(ps -ef|grep hypadmp+ | grep '/apps/Oracle/' | awk '{print $2}')

Share:

Wednesday, August 3, 2022

Unable to use KSS for Demo Key Stores, KSS is unavailable.



Error: 

Caused By: weblogic.management.provider.internal.RuntimeAccessImpl$ParseException: [Management:141266]Parsing failure in config.xml: java.lang.IllegalArgumentException: Unable to use KSS for Demo Key Stores, KSS is unavailable.

If you continue to get KSS error, go to config.xml and set it to "false"

Symptoms:

Unable to start the services hosted on any server other than the Foundation/Weblogic server. 

Managed server logs are not created

If you disable KSS parameter in the config.xml it will get replaced to true every time you attempt to start the service


Solution: 

1. Copy the setstartupenv.sh from D:\Oracle\Middleware\user_projects\domains\Epmsystem\bin of the Admin Server to the distributed server on the same location 

2. Start the service


For Windows refer to my previous post : Starting managed servers on a new distributed environment EPM 11.2.X


Share:

Tuesday, July 5, 2022

EPM 11.2.8 OHS Nodemanager password update

Applicable if  storeUserConfig was used to save user information.

Situation: Reconfiguration of the environment was done and the password of epm_admin was changed while starting OHS services. You get the below error:




The password is not stored in the exact location as shown in the error. 


Delete the files in the location : C:\Users\<username>AppData\Local\Temp


Start the Oracle HTTP Service again following the below link:

http://learninghyperion.blogspot.com/2021/05/starting-ohs-with-stored-nodemanager.html  

Share:

Monday, July 4, 2022

Starting EPM 11.2.8 services on distributed Linux environment

 After installing services on distributed environment, the Java Web Services on distributed servers do NOT start.


Error: java.lang.UnsatisfiedLinkError: no environmentjni in java.library.path




Solution: Copy the /domain/EPMSystem/bin/setstartupEnv.sh script from the Foundation server to the distributed servers

Start the services. 


OR 


1. Add the below variables to the setStartupEnv.sh file


export

JAVA_OPTIONS="-Dhyperion.home=/u01/Oracle/Middleware/EPMSystem11R1 -DHYPERION_HOME=/u01/Oracle/Middleware/EPMSystem11R1 -DEPM_ORACLE_HOME=/u01/Oracle/Middleware/EPMSystem11R1 -DEPM_ORACLE_INSTANCE=/u01/Oracle/Middleware/user_projects/epmsystem1 -Dlogging.folder=/u01/Oracle/Middleware/user_projects/domains/EPMSystem/servers/EssbaseAdminServices0/logs/ -Dserver.name=EssbaseAdminServices0 -Dsun.net.inetaddr.ttl=0 -Djava.io.tmpdir=/u01/Oracle/Middleware/user_projects/epmsystem1/tmp -Doracle.jdbc.useFetchSizeWithLongColumn=true -Doracle.security.jps.config=/u01/Oracle/Middleware/user_projects/domains/EPMSystem\config\fmwconfig\jps-config.xml -Dcommon.components.home=/u01/Oracle/Middleware\oracle_common -Dweblogic.alternateTypesDirectory=/u01/Oracle/Middleware\Oracle_common\modules -Djrf.version=12.2.1.3.0 -Doracle.domain.config.dir=/u01/Oracle/Middleware/user_projects/domains/EPMSystem\config\fmwconfig -Djava.system.class.loader=com.oracle.classloader.weblogic.LaunchClassLoader -d64 -Djava.security.egd=file:/dev/../dev/urandom -DcomponentId=a30d97cf1ea22fc0S1d5b5b21180fbe47665S7a55 -Djava.library.path=/u01/Oracle/Middleware/EPMSystem11R1/lib:/u01/Oracle/Middleware/EPMSystem11R1/products/Essbase/eas/server/bin:/u01/Oracle/Middleware/EPMSystem11R1/common/EssbaseRTC-64/11.1.2.0/bin: -DPATH=/u01/Oracle/Middleware/EPMSystem11R1/lib:/u01/Oracle/Middleware/EPMSystem11R1/products/Essbase/eas/server/bin:/u01/Oracle/Middleware/EPMSystem11R1/common/EssbaseRTC-64/11.1.2.0/bin: -DEAS_HOME=/u01/Oracle/Middleware/EPMSystem11R1/products/Essbase/eas -DESS_ES_HOME=/u01/Oracle/Middleware/EPMSystem11R1/products/Essbase/eas/server  ${JAVA_OPTIONS}"



export

LD_LIBRARY_PATH="/u01/Oracle/Middleware/EPMSystem11R1/lib:/u01/Oracle/Middleware/EPMSystem11R1/products/Essbase/eas/server/bin:/u01/Oracle/Middleware/EPMSystem11R1/common/EssbaseRTC-64/11.1.2.0/bin::${LD_LIBRARY_PATH}"



export

PATH=/u01/Oracle/Middleware/EPMSystem11R1/lib:/u01/Oracle/Middleware/EPMSystem11R1/products/Essbase/eas/server/bin:/u01/Oracle/Middleware/EPMSystem11R1/common/EssbaseRTC64/11.1.2.0/bin:$PATH



ESSBASEPATH="/u01/Oracle/Middleware/EPMSystem11R1/common/EssbaseRTC-64/11.1.2.0"

export ESSBASEPATH


ARBORPATH="/u01/Oracle/Middleware/EPMSystem11R1/common/EssbaseRTC-64/11.1.2.0"

export ARBORPATH



Then start the managed service like EAS , APS on other node. 

Share: