Friday 12 September 2014

09 OBIA PATCH UPDATES

  1. Make sure all servers like weblogic ,Node manager ,opmnctl ..etc are stopped
  2. if you are not sure how to stop all restart your PC
  3. Navigate to path C:\OBIEE_HOME\Oracle_BI1\biapps\tools\bin → open apply_patches_import file
  1. Modify all parameters as shown below
# Required JAVA_HOME - Java home

JAVA_HOME=C:\OBIEE_HOME\Oracle_BI1\jdk
# Required INVENTORY_LOC - Inventory Location

INVENTORY_LOC=C:\Program Files\Oracle\Inventory
ORACLE_HOME=C:\OBIEE_HOME\Oracle_BI1
MW_HOME=C:\OBIEE_HOME
COMMON_ORACLE_HOME=C:\OBIEE_HOME\oracle_common
WL_HOME=C:\OBIEE_HOME\wlserver_10.3
ODI_HOME=C:\OBIEE_HOME\Oracle_ODI1
SKIP_BITECH_PATCHES=false

# Optionally Required WINDOWS_UNZIP_TOOL_EXE - If platform is windows, then specify unzip tool exe with complete path

# Currently only two tools : Winzip command line and 7-Zip command line are supported tools.

# Eg for Winzip tool - c:{PathSep}Program Files{PathSep}WinZip{PathSep}wzunzip.exe

# Eg for 7-Zip tool - c:{PathSep}Program Files{PathSep}7-Zip{PathSep}7z.exe

WINDOWS_UNZIP_TOOL_EXE=C:\Program Files\7-Zip\7z.exe
# Required WORKDIR - An existing writable directory to create logs and temp patch files

WORKDIR=C:\TEMP
# Required PATCH_ROOT_DIR - Path of patch directory till the release patch-set folder which is inside patches4fa/dist.

# i;e the patch-set folder for a particular release to apply patch from

# eg; /scratch/aime/tmp/ps1/biappsshiphome/patches4fa/dist/ps6rc3

PATCH_ROOT_DIR=C:\OBIAPATCH
  1. Open command prompt window → execute below perl script
  1. It should apply all patches successfully
  2. Due to my bad :( for me weblogic patches are failed .
  1. So i went to log file and noticed it is not able to backup jar file
  1. After some research i noticed the problem is because of beasvc .exe file → i killed from task manager and ran same perl script → it skipped all successful patches and installed previous patches
  1. UPDATE ATGLITE PATCH → by running below command in command prompt

C:\OBIEE_HOME\Oracle_BI1\jdk\bin\java -jar C:\OBIEE_HOME\Oracle_BI1\biapps\tools\lib\biappsrepositoryutil.jar upgradeATG bi.oracle.home=C:\OBIEE_HOME\Oracle_BI1 work.dir=C:\TEMP\ATG biacomp.user=DEV_BIACOMP biacomp.password=RRitec123 db.conn.sid.url=localhost:1521:orcl atg.db.seed.url=localhost:1521/orcl db.sys.user=sys db.sys.password=RRitec123
  1. UPDATE FSM LITE

C:\OBIEE_HOME\Oracle_BI1\jdk\bin\java -jar C:\OBIEE_HOME\Oracle_BI1\biapps\tools\lib\biappsrepositoryutil.jar upgradeFSM bi.oracle.home=C:\OBIEE_HOME\Oracle_BI1 work.dir=C:\TEMP\ATG biacomp.user=DEV_BIACOMP biacomp.password=RRitec123 db.conn.sid.url=localhost:1521:orcl fsm.db.seed.url=localhost:1521/orcl db.sys.user=sys db.sys.password=RRitec123

No comments:

Post a Comment