From version 5.1
edited by Jeffrey McDonald
on 2024/12/07 15:41
on 2024/12/07 15:41
Change comment:
There is no comment for this version
To version 16.1
edited by Jeffrey McDonald
on 2025/08/01 13:04
on 2025/08/01 13:04
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Patching 1 +03-Patching - Content
-
... ... @@ -1,98 +1,116 @@ 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 MW_HOME=/opt/oracle/occas/8.1 10 +export PATH=$MW_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 -From there, download each patch... 18 - 19 19 (% class="box" %) 20 20 ((( 21 -u nzip'*.zip'19 +grep "distribution" $ORACLE_HOME/inventory/registry.xml 22 22 ))) 23 23 24 -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 +))) 25 25 26 - Followthesteps in[[OCCASInstallation>>doc:Tutorials.Oracle.Communications.OCCAS.Installation.WebHome]] andreturn here when youaredone.(Donot configureOCCASjustyet.)30 +Now let's find out which version of WebLogic (WLS) OCCAS is running on: 27 27 28 -Back? 29 - 30 -Now let's install the remaining OPatch style patches in one fell swoop... 31 - 32 32 (% class="box" %) 33 33 ((( 34 -export PATH=/opt/oracle/occas/8.1/OPatch:$PATH 35 -opatch napply -id 35843968,36228321,36853044,36965445 -silent 34 +grep "wls_server" $ORACLE_HOME/inventory/registry.xml 36 36 ))) 37 37 38 -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. 37 +(% class="box infomessage" %) 38 +((( 39 + <feature status="installed" name="wls_server" version="14.1.1.0.0"> 40 +))) 39 39 40 - =DownloadWebLogicPatches=42 +Fantastic! Now we know what patches to download and install... 41 41 42 - Inaddition to the OCCAS patches, we need to install the latestWebLogic Server(WLS) patches.44 += WebLogic Server Patches = 43 43 44 - But,whichversion ofWebLogic does OCCAS use?Let's find out!46 +In order to access Oracle's support web site, make sure your Oracle.com account is associated with the Customer Service Identifier (CSI) granted to your company with the purchase of OCCAS. Someone in your company should be able login and grant you privileges. If that makes no sense, call the Oracle toll-free number and they will help you through the process. 45 45 48 +From [[Oracle's My Support>>https://support.oracle.com]] download the latest //WLS Stack Patch Bundle//: 49 + 50 +[[image:wls_patch_search.png]] 51 + 52 +These patch bundles are released on a quarterly basis and should give us everything we need. 53 + 46 46 (% class="box infomessage" %) 47 47 ((( 48 -cd <install_dir>/inventory 49 -grep "wls_server" registry.xml 50 -<feature status="installed" name="wls_server" version="14.1.1.0.0"> 56 +WLS STACK PATCH BUNDLE 14.1.1.0.250114 (Patch) 51 51 ))) 52 52 53 - Ah,nowthat weknowtheversionnumber,letssearch forthelatestWLS patches...59 +Unzip the patch and refer to the README.html for detail instructions. 54 54 55 -Product is: **Oracle WebLogic Server** 56 -Release is: **Oracle WebLogic Server 14.1.1.0.0** 57 -Platform is: **Linux x86-64** 58 -Show recommended patches only **(check)** 59 -Exclude superseded patches **(check)** 61 +First, we must upgrade the patching program (opatch) itself. 60 60 61 - That's alotof patches! Weonly need to download the latestWLS stack bundle:63 +Follow these instructions: 62 62 63 -(% class="box infomessage" %)65 +(% class="box" %) 64 64 ((( 65 -WLS STACK PATCH BUNDLE 14.1.1.0.241008 (Patch) 67 +$ opatch version 68 +OPatch Version: 13.9.4.2.3 69 +\\$ unzip p37476502_141100_Generic.zip 70 +$ cd WLS_SPB_14.1.1.0.241008/tools/opatch/generic 71 +$ unzip p37476502_141100_Generic.zip 72 +$ cd 6880880 73 +$ java -jar opatch_generic.jar -silent oracle_home=$ORACLE_HOME -ignoreSysPrereqs 74 +\\$ opatch version 75 +OPatch Version: 13.9.4.2.18 66 66 ))) 67 67 68 - Thesepatch bundles arereleasedonaquarterlybasisandshouldgiveuseverythingweneed.78 +If you're using Linux (RHEL etc), there's a script we can run to patch everything all at once: 69 69 70 -Unzip the patch and refer to the README.html for detail instructions. 80 +(% class="box" %) 81 +((( 82 +cd WLS_SPB_14.1.1.0.241008/tools/spbat/generic/SPBAT 83 +./spbat.sh -phase apply -oracle_home $ORACLE_HOME 84 +))) 71 71 72 - Here'showIdidit...86 +If you're on an unsupported operating system (Window, MacOS, etc.), you will have to install the patches manually using "opatch apply". 73 73 88 += OCCAS Patches = 89 + 90 +From [[Oracle's My Support>>https://support.oracle.com]] download the latest //OCCAS patches~:// 91 + 92 +**[[image:patch_search.png]]** 93 + 94 +Download each patch and unzip them. 95 + 74 74 (% class="box" %) 75 75 ((( 76 -opatch version 77 -OPatch Version: 13.9.4.2.3 78 -\\cd WLS_SPB_14.1.1.0.241008/tools/opatch/generic 79 -unzip p28186730_1394217_Generic.zip 80 -cd 6880880 81 -java -jar opatch_generic.jar -silent oracle_home=/opt/oracle/occas/8.1 -ignoreSysPrereqs 82 -\\opatch version 83 -OPatch Version: 13.9.4.2.17 98 +$ unzip '*.zip' 84 84 ))) 85 85 86 - Nowthat wehavethelatestOPatch,let's useSPBATtopatchWLS.101 +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'. 87 87 103 +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.) 104 + 105 +Now let's install the remaining patches one-by-one: 106 + 88 88 (% class="box" %) 89 89 ((( 90 -export ORACLE_HOME=/opt/oracle/occas/8.1 91 -export OPATCH_JRE_MEMORY_OPTIONS='-Xmx5172m' 92 -\\cd WLS_SPB_14.1.1.0.241008/tools/spbat/generic/SPBAT 93 -./spbat.sh -phase apply -oracle_home $ORACLE_HOME 109 +$ opatch apply -silent 35843968 110 +$ opatch apply -silent 36228321 111 +$ opatch apply -silent 36853044 112 +$ opatch apply -silent 36965445 113 +$ opatch apply -silent 37467100 94 94 ))) 95 95 96 96 Congratulations! We are now ready to [[Configure OCCAS>>doc:Tutorials.Oracle.Communications.OCCAS.Configuration.WebHome]]. 97 - 98 -
- patch_search.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.jeff - Size
-
... ... @@ -1,0 +1,1 @@ 1 +54.7 KB - Content
- wls_patch_search.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.jeff - Size
-
... ... @@ -1,0 +1,1 @@ 1 +51.8 KB - Content