Thursday, December 5, 2019

Patching PeopleTool 8.57

How to Patch Weblogic in PeopleTool 8.57

Per Oracle, if you are running PeopleTool 8.57 on Windows, it is recommended that you deploy the latest DPK that comes with all the necessary patches. However, if you just want to patch Weblogic (because...), follow this.

  1. Stop all PIA services and Oracle service
  2. Ensure you have 7-zip installed (because Windows can't natively handle such long path names that Oracle provides)
  3. Download the latest Weblogic patch (the latest one contains all the previous patches too)
  4. Use 7-zip to extract the content
  5. Go into the content directory and run weblogic's opatch.bat with apply and "-oh" flag to designate Oracle Home directory for this installation. I'll assume Oracle DPK was installed in c:\pt857
    c:\pt857\pt\bea\OPatch\opatch.bat apply -oh c:\pt857\pt\bea -silent
    
  6. Call same opatch.bat with lsinventory to ensure the patch took
    c:\pt857\pt\bea\OPatch\opatch.bat lsinventory -oh c:\pt857\pt\bea
    
  7. Here's the whole thing in a bat file
     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    call net stop "ORACLE ProcMGR v12.2.2.0.0_VS2015"
    call net stop "psDEMO-WebLogicAdmin"
    call net stop "psDEMO-PIA"
    aws s3 cp s3://my-repo-name/7zip/7z920.exe c:\temp
    aws s3 cp s3://my-repo-name/patches/p30386660_122130_Generic.zip c:\temp
    cd c:\temp
    call 7z920.exe /S /D="C:\Program Files (x86)\7-Zip"
    call "C:\Program Files (x86)\7-Zip\7z.exe" x C:\temp\p30386660_122130_Generic.zip
    call c:\pt857\pt\bea\OPatch\opatch.bat apply -oh c:\pt857\pt\bea -silent
    call "c:\Program Files (x86)\7-Zip\Uninstall.exe" /S
    cd c:\pt857\pt\bea\opatch
    call c:\pt857\pt\bea\opatch\opatch.bat lsinventory -oh c:\pt857\pt\bea
    

No comments:

Post a Comment

AWS WAF log4j query

How to query AWS WAF log for log4j attacks 1. Setup your Athena table using this instruction https://docs.aws.amazon.com/athena/latest/ug/wa...