From version 9.1
edited by Jeffrey McDonald
on 2025/02/25 19:36
on 2025/02/25 19:36
Change comment:
Upload new image "wls_patch_search.png", version 1.1
To version 13.1
edited by Jeffrey McDonald
on 2025/05/06 12:10
on 2025/05/06 12:10
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Patching 1 +03-Patching - Content
-
... ... @@ -1,98 +1,79 @@ 1 - Instructionsfor patchingOCCAS...1 += Prerequisites = 2 2 3 - =OCCASPatches=3 +For convenience, let's set the ORACLE_HOME environment variable: 4 4 5 - DownloadthelatestOCCAS patches. At the timeofthiswriting,it containedan entirelynewstaller.5 +In your (% class="mark" %)~~/.bash_profile(%%) script, add the following lines: 6 6 7 -From support.oracle.com, click on the **//Patches & Updates//** tab. 7 +(% class="box" %) 8 +((( 9 +export ORACLE_HOME=/opt/oracle/occas-8.1 10 +export PATH=$ORACLE_HOME/OPatch:$PATH 11 +))) 8 8 9 - Inthe**//Patch Search//**window,clickon//**Product orFamily (Advanced)**// tab.13 +Load the variables by logging out and logging back in. (Or, you can type "source ~~/.bash_profile".) 10 10 11 - Enter...15 +Let's find out which version of WebLogic OCCAS is running on: 12 12 13 -Product is: **Oracle Communications Application Server** 14 -Release is: **Oracle Communications Application Server 8.1.0.0.0** 15 -Platform is: **Linux x86-64** 16 - 17 -**[[image:patch_search.png]]** 18 - 19 -From there, download each patch and unzip each patch. 20 - 21 21 (% class="box" %) 22 22 ((( 23 -u nzip'*.zip'19 +grep "distribution" $ORACLE_HOME/inventory/registry.xml 24 24 ))) 25 25 26 -Wow! One of the patches (p35908669) contains a new **occas_generic.jar** file. Let's use that to install OCCAS instead of using the one from 'edelivery.oracle.com'. 22 +(% class="box infomessage" %) 23 +((( 24 + <distributions> 25 + <distribution status="installed" name="Converged Application Server" version="8.1.0.0.0"> 26 + </distribution> 27 + </distributions> 28 +))) 27 27 28 - Followthesteps in[[OCCASInstallation>>doc:Tutorials.Oracle.Communications.OCCAS.Prenstallation.WebHome]] andreturn here when youaredone.(Donot configureOCCASjustyet.)30 +Now let's find out which version of WebLogic (WLS) OCCAS is running on: 29 29 30 -Back? 31 - 32 -Now let's install the remaining OPatch style patches in one fell swoop... 33 - 34 34 (% class="box" %) 35 35 ((( 36 -export PATH=/opt/oracle/occas/8.1/OPatch:$PATH 37 -opatch napply -id 35843968,36228321,36853044,36965445 -silent 34 +grep "wls_server" $ORACLE_HOME/inventory/registry.xml 38 38 ))) 39 39 40 -That was easy! Sometimes it's not so easy. Sometimes the patches require a newer version of OPatch to work. If that's a problem for you, see below for updating OPatch from the WLS stack bundle patch. 41 - 42 -= Download WebLogic Patches = 43 - 44 -In addition to the OCCAS patches, we need to install the latest WebLogic Server (WLS) patches. 45 - 46 -But, which version of WebLogic does OCCAS use? Let's find out! 47 - 48 48 (% class="box infomessage" %) 49 49 ((( 50 -cd <install_dir>/inventory 51 -grep "wls_server" registry.xml 52 - 53 -<feature status="installed" name="wls_server" version="14.1.1.0.0"> 39 + <feature status="installed" name="wls_server" version="14.1.1.0.0"> 54 54 ))) 55 55 56 - Ah,nowthat we knowthe version number, letssearchforthelatestWLS patches...42 +Fantastic! Now we know what patches to download and install... 57 57 58 -Product is: **Oracle WebLogic Server** 59 -Release is: **Oracle WebLogic Server 14.1.1.0.0** 60 -Platform is: **Linux x86-64** 61 -Show recommended patches only **(check)** 62 -Exclude superseded patches **(check)** 44 += WebLogic Server Patches = 63 63 46 +From [[Oracle's My Support>>https://support.oracle.com]] download the latest //WLS Stack Patch Bundle//: 64 64 48 +[[image:wls_patch_search.png]] 65 65 50 +These patch bundles are released on a quarterly basis and should give us everything we need. 66 66 67 -That's a lot of patches! We only need to download the latest WLS stack bundle: 68 - 69 69 (% class="box infomessage" %) 70 70 ((( 71 -WLS STACK PATCH BUNDLE 14.1.1.0.2 41008(Patch)54 +WLS STACK PATCH BUNDLE 14.1.1.0.250114 (Patch) 72 72 ))) 73 73 74 -These patch bundles are released on a quarterly basis and should give us everything we need. 75 - 76 76 Unzip the patch and refer to the README.html for detail instructions. 77 77 78 - Here'showIdidit...59 +First, we must upgrade the patching program (opatch) itself. 79 79 61 +Follow these instructions: 62 + 80 80 (% class="box" %) 81 81 ((( 82 -export ORACLE_HOME=/opt/oracle/occas/8.1 83 -export PATH=$ORACLE_HOME/OPatch:$PATH 84 - 85 -opatch version 65 +$ opatch version 86 86 OPatch Version: 13.9.4.2.3 87 -\\cd WLS_SPB_14.1.1.0.241008/tools/opatch/generic 88 -unzip p28186730_1394217_Generic.zip 89 -cd 6880880 90 -java -jar opatch_generic.jar -silent oracle_home=$ORACLE_HOME -ignoreSysPrereqs 91 -\\opatch version 92 -OPatch Version: 13.9.4.2.17 67 +\\$ unzip p37476502_141100_Generic.zip 68 +$ cd WLS_SPB_14.1.1.0.241008/tools/opatch/generic 69 +$ unzip p37476502_141100_Generic.zip 70 +$ cd 6880880 71 +$ java -jar opatch_generic.jar -silent oracle_home=$ORACLE_HOME -ignoreSysPrereqs 72 +\\$ opatch version 73 +OPatch Version: 13.9.4.2.18 93 93 ))) 94 94 95 - Nowthatwehave thelatestOPatch,let'suseSPBATto patchWLS.76 +If you're using Linux (RHEL etc), there's a script we can run to patch everything all at once: 96 96 97 97 (% class="box" %) 98 98 ((( ... ... @@ -100,4 +100,34 @@ 100 100 ./spbat.sh -phase apply -oracle_home $ORACLE_HOME 101 101 ))) 102 102 84 +If you're on an unsupported operating system (Window, MacOS, etc.), you will have to install the patches manually using "opatch apply". 85 + 86 += OCCAS Patches = 87 + 88 +From [[Oracle's My Support>>https://support.oracle.com]] download the latest //OCCAS patches~:// 89 + 90 +**[[image:patch_search.png]]** 91 + 92 +Download each patch and unzip them. 93 + 94 +(% class="box" %) 95 +((( 96 +$ unzip '*.zip' 97 +))) 98 + 99 +Wow! One of the patches (p35908669) contains a new **occas_generic.jar** file. Let's use that to install OCCAS instead of using the one from 'edelivery.oracle.com'. 100 + 101 +Follow the steps in [[OCCAS Installation>>doc:Tutorials.Oracle.Communications.OCCAS.Prenstallation.WebHome]] and return here when you are done. (Do not configure OCCAS just yet.) 102 + 103 +Now let's install the remaining patches one-by-one: 104 + 105 +(% class="box" %) 106 +((( 107 +$ opatch apply -silent 35843968 108 +$ opatch apply -silent 36228321 109 +$ opatch apply -silent 36853044 110 +$ opatch apply -silent 36965445 111 +$ opatch apply -silent 37467100 112 +))) 113 + 103 103 Congratulations! We are now ready to [[Configure OCCAS>>doc:Tutorials.Oracle.Communications.OCCAS.Configuration.WebHome]].