{"id":1978,"date":"2018-04-03T00:24:16","date_gmt":"2018-04-03T03:24:16","guid":{"rendered":"https:\/\/zmsolution.laraclaud.com.br\/?p=1978"},"modified":"2018-04-03T00:24:16","modified_gmt":"2018-04-03T03:24:16","slug":"aplicando-patch-no-oracle-soa-suite-12-2-1-3","status":"publish","type":"post","link":"http:\/\/zmsolution.com\/aplicando-patch-no-oracle-soa-suite-12-2-1-3\/","title":{"rendered":"Aplicando Patch no Oracle SOA Su\u00edte 12.2.1.3"},"content":{"rendered":"

No Oracle SOA Su\u00edte 10.3 existiam tr\u00eas formas de aplica\u00e7\u00e3o de Patch: OPATCH,BSU e PSA<\/strong><\/p>\n

O OPATCH<\/strong> funciona para patchs no Oracle Home<\/strong>, o BSU<\/strong> que funciona para no weblogic<\/strong> e PSU<\/strong> funciona para patchs no FMW<\/strong> schemas que no caso s\u00e3o os esquemas de banco que criamos com o rca. <\/strong>Acho bem interessante fazer esse coment\u00e1rio sobre o Oracle SOA Su\u00edte 10.3<\/strong> devido a maioria dos produtos Oracle ainda funcionarem em cima dessa vers\u00e3o do Weblogic<\/strong>.
\nNo Oracle SOA Su\u00edte 12.2<\/strong> as formas de aplica\u00e7\u00e3o de Patch foram simplificadas, ficando apenas o Opatch<\/strong> e o PSU<\/strong>.<\/p>\n

Vamos iniciar baixando o nossos patchs.<\/p>\n

Para realizar o downloard do patch e necess\u00e1rio uma conta no Oracle Suport.<\/strong><\/p>\n

Entre no site do Oracle Suport\u00a0 https:\/\/support.oracle.com\u00a0<\/a><\/p>\n

\"\"<\/p>\n

Digite o seu usu\u00e1rio e senha<\/p>\n

\"\"<\/p>\n

V\u00e1 ate a aba Patchs & Updates<\/strong><\/p>\n

\"\"<\/p>\n

V\u00e1 na op\u00e7\u00e3o Product or Family<\/strong> e digite os dados do produto que deseje baixar os patchs.<\/p>\n

\"\"<\/p>\n

Click no patch 27311023<\/strong><\/p>\n

\"\"<\/p>\n

Agora click em downloard<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

Ap\u00f3s baixar o patch copie para um diret\u00f3rio no servidor.<\/p>\n

cp p27311023_122130_Generic.zip\u00a0 \/u01\/install<\/pre>\n

Extraia o patch<\/p>\n

unzip p27311023_122130_Generic.zip<\/pre>\n

Antes de aplicar o patch verifique se todos os servi\u00e7os do Oracle SOA Suite est\u00e3o off<\/p>\n

[oracle@soaapp soa_domain]$ ps -ef |grep java\r\n\r\noracle\u00a0\u00a0\u00a0 6734\u00a0 6708\u00a0 0 23:08 pts\/0\u00a0\u00a0\u00a0 00:00:00 grep java\r\n\r\n[oracle@soaapp soa_domain]$<\/pre>\n

Agora vamos gera uma lista dos patchs que j\u00e1 est\u00e3o aplicados no Oracle SOA Su\u00edte.<\/p>\n

Entre no Opatch_Home \/u01\/app\/oracle\/product\/12.2.1.2\/fmw\/OPatch<\/p>\n

e execute o opatch com a op\u00e7\u00e3o\u00a0lsinventory<\/p>\n

[oracle@soaapp OPatch]$ .\/opatch lsinventory\r\n\r\nOracle Interim Patch Installer version 13.9.2.0.0\r\n\r\nCopyright (c) 2018, Oracle Corporation.\u00a0 All rights reserved.\r\n\r\nOracle Home\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : \/u01\/app\/oracle\/product\/12.2.1.2\/fmw\r\n\r\nCentral Inventory : \/u01\/app\/oracle\/oraInventory\r\n\r\n\u00a0\u00a0 from\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : \/u01\/app\/oracle\/product\/12.2.1.2\/fmw\/oraInst.loc\r\n\r\nOPatch version\u00a0\u00a0\u00a0 : 13.9.2.0.0\r\n\r\nOUI version\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 13.9.2.0.0\r\n\r\nLog file location : \/u01\/app\/oracle\/product\/12.2.1.2\/fmw\/cfgtoollogs\/opatch\/opatch2018-04-02_23-20-29PM_1.log\r\nOPatch detects the Middleware Home as \"\/u01\/app\/oracle\/product\/12.2.1.2\/fmw\"\r\nLsinventory Output file location : \/u01\/app\/oracle\/product\/12.2.1.2\/fmw\/cfgtoollogs\/opatch\/lsinv\/lsinventory2018-04-02_23-20-29PM.txt\r\n\r\n--------------------------------------------------------------------------------\r\n\r\nLocal Machine Information::\r\n\r\nHostname: soaapp.localdomain\r\n\r\nARU platform id: 226\r\n\r\nARU platform description:: Linux x86-64\r\n\r\nInterim patches (4) :\r\n\r\nPatch\u00a0 26355633\u00a0\u00a0\u00a0\u00a0 : applied on Wed Mar 07 23:08:02 BRT 2018\r\n\r\nUnique Patch ID:\u00a0 21447583\r\n\r\nPatch description:\u00a0 \"One-off\"\r\n\r\n\u00a0\u00a0 Created on 1 Aug 2017, 21:40:20 hrs UTC\r\n\r\n\u00a0\u00a0 Bugs fixed:\r\n\r\n\u00a0\u00a0\u00a0\u00a0 26355633\r\n\r\nPatch\u00a0 26287183\u00a0\u00a0\u00a0\u00a0 : applied on Wed Mar 07 23:07:47 BRT 2018\r\n\r\nUnique Patch ID:\u00a0 21447582\r\n\r\nPatch description:\u00a0 \"One-off\"\r\n\r\n\u00a0\u00a0 Created on 1 Aug 2017, 21:41:27 hrs UTC\r\n\r\n\u00a0\u00a0 Bugs fixed:\r\n\r\n\u00a0\u00a0\u00a0\u00a0 26287183\r\n\r\nPatch\u00a0 26261906\u00a0\u00a0\u00a0\u00a0 : applied on Wed Mar 07 23:07:20 BRT 2018\r\n\r\nUnique Patch ID:\u00a0 21344506\r\n\r\nPatch description:\u00a0 \"One-off\"\r\n\r\n\u00a0\u00a0 Created on 12 Jun 2017, 23:36:08 hrs UTC\r\n\r\n\u00a0\u00a0 Bugs fixed:\r\n\r\n\u00a0\u00a0\u00a0\u00a0 25559137, 25232931, 24811916\r\n\r\nPatch\u00a0 26051289\u00a0\u00a0\u00a0\u00a0 : applied on Wed Mar 07 23:07:10 BRT 2018\r\n\r\nUnique Patch ID:\u00a0 21455037\r\n\r\nPatch description:\u00a0 \"One-off\"\r\n\r\n\u00a0\u00a0 Created on 31 Jul 2017, 22:11:57 hrs UTC\r\n\r\n\u00a0\u00a0 Bugs fixed:\r\n\r\n\u00a0\u00a0\u00a0\u00a0 26051289\r\n\r\n--------------------------------------------------------------------------------\r\n\r\nOPatch succeeded.<\/pre>\n

Para a aplica\u00e7\u00e3o do patch \u00e9 bem simples<\/p>\n

Entre no diret\u00f3rio onde est\u00e1 o patch e\u00a0chame o execut\u00e1vel do opatch com a op\u00e7\u00e3o apply<\/p>\n

cd 27311023 \r\n\/u01\/app\/oracle\/product\/12.2.1.2\/fmw\/OPatch\/opatch apply\r\n\r\n[oracle@soaapp 27311023]$ \/u01\/app\/oracle\/product\/12.2.1.2\/fmw\/OPatch\/opatch apply\r\n\r\nOracle Interim Patch Installer version 13.9.2.0.0\r\n\r\nCopyright (c) 2018, Oracle Corporation.\u00a0 All rights reserved.\r\n\r\nOracle Home\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : \/u01\/app\/oracle\/product\/12.2.1.2\/fmw\r\n\r\nCentral Inventory : \/u01\/app\/oracle\/oraInventory\r\n\r\n\u00a0\u00a0 from\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : \/u01\/app\/oracle\/product\/12.2.1.2\/fmw\/oraInst.loc\r\n\r\nOPatch version\u00a0\u00a0\u00a0 : 13.9.2.0.0\r\n\r\nOUI version\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 13.9.2.0.0\r\n\r\nLog file location : \/u01\/app\/oracle\/product\/12.2.1.2\/fmw\/cfgtoollogs\/opatch\/opatch2018-04-02_23-23-00PM_1.log\r\n\r\nOPatch detects the Middleware Home as \"\/u01\/app\/oracle\/product\/12.2.1.2\/fmw\"\r\nVerifying environment and performing prerequisite checks...\r\n\r\nOPatch continues with these patches:\u00a0\u00a0 27311023\r\n\r\nDo you want to proceed? [y|n]\r\n\r\ny\r\n\r\nUser Responded with: Y\r\n\r\nAll checks passed.\r\n\r\nPlease shutdown Oracle instances running out of this ORACLE_HOME on the local system.\r\n\r\n(Oracle Home = '\/u01\/app\/oracle\/product\/12.2.1.2\/fmw')\r\n\r\nIs the local system ready for patching? [y|n]\r\n\r\ny\r\n\r\nUser Responded with: Y\r\n\r\nBacking up files...\r\n\r\nApplying interim patch '27311023' to OH '\/u01\/app\/oracle\/product\/12.2.1.2\/fmw'\r\n\r\nApplySession: Optional component(s) [ oracle.bpm.processspaces, 12.2.1.3.0 ]\u00a0 not present in the Oracle Home or a higher version is found.\r\n\r\nPatching component oracle.integration.soainfra, 12.2.1.3.0...\r\n\r\nPatch 27311023 successfully applied.\r\n\r\nLog file location: \/u01\/app\/oracle\/product\/12.2.1.2\/fmw\/cfgtoollogs\/opatch\/opatch2018-04-02_23-23-00PM_1.log\r\n\r\nOPatch succeeded.\r\n\r\n[oracle@soaapp 27311023]$<\/pre>\n

Agora vamos consultar novamente e ver se o patch foi realmente aplicado<\/p>\n

oracle@soaapp 27311023]$ \/u01\/app\/oracle\/product\/12.2.1.2\/fmw\/OPatch\/opatch lsinventory\r\n\r\nOracle Interim Patch Installer version 13.9.2.0.0\r\n\r\nCopyright (c) 2018, Oracle Corporation.\u00a0 All rights reserved.\r\n\r\n\r\nOracle Home\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : \/u01\/app\/oracle\/product\/12.2.1.2\/fmw\r\n\r\nCentral Inventory : \/u01\/app\/oracle\/oraInventory\r\n\r\n\u00a0\u00a0 from\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : \/u01\/app\/oracle\/product\/12.2.1.2\/fmw\/oraInst.loc\r\n\r\nOPatch version\u00a0\u00a0\u00a0 : 13.9.2.0.0\r\n\r\nOUI version\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 13.9.2.0.0\r\n\r\nLog file location : \/u01\/app\/oracle\/product\/12.2.1.2\/fmw\/cfgtoollogs\/opatch\/opatch2018-04-02_23-24-46PM_1.log\r\n\r\n\r\nOPatch detects the Middleware Home as \"\/u01\/app\/oracle\/product\/12.2.1.2\/fmw\"\r\n\r\n\r\n\r\nLsinventory Output file location : \/u01\/app\/oracle\/product\/12.2.1.2\/fmw\/cfgtoollogs\/opatch\/lsinv\/lsinventory2018-04-02_23-24-46PM.txt\r\n\r\n\r\n\r\n--------------------------------------------------------------------------------\r\n\r\nLocal Machine Information::\r\n\r\nHostname: soaapp.localdomain\r\n\r\nARU platform id: 226\r\n\r\nARU platform description:: Linux x86-64\r\n\r\n\r\n\r\n\r\n\r\nInterim patches (5) :\r\n\r\n\r\n\r\nPatch\u00a0 27311023\u00a0\u00a0\u00a0\u00a0 : applied on Mon Apr 02 23:24:02 BRT 2018\r\n\r\nUnique Patch ID:\u00a0 22076499\r\n\r\nPatch description:\u00a0 \"One-off\"\r\n\r\n\u00a0\u00a0 Created on 2 Apr 2018, 15:44:29 hrs PST8PDT\r\n\r\n\u00a0\u00a0 Bugs fixed:\r\n\r\n\u00a0\u00a0\u00a0\u00a0 27311023\r\n\r\n\r\n\r\nPatch\u00a0 26355633\u00a0\u00a0\u00a0\u00a0 : applied on Wed Mar 07 23:08:02 BRT 2018\r\n\r\nUnique Patch ID:\u00a0 21447583\r\n\r\nPatch description:\u00a0 \"One-off\"\r\n\r\n\u00a0\u00a0 Created on 1 Aug 2017, 21:40:20 hrs UTC\r\n\r\n\u00a0\u00a0 Bugs fixed:\r\n\r\n\u00a0\u00a0\u00a0\u00a0 26355633\r\n\r\n\r\n\r\nPatch\u00a0 26287183\u00a0\u00a0\u00a0\u00a0 : applied on Wed Mar 07 23:07:47 BRT 2018\r\n\r\nUnique Patch ID:\u00a0 21447582\r\n\r\nPatch description:\u00a0 \"One-off\"\r\n\r\n\u00a0\u00a0 Created on 1 Aug 2017, 21:41:27 hrs UTC\r\n\r\n\u00a0\u00a0 Bugs fixed:\r\n\r\n\u00a0\u00a0\u00a0\u00a0 26287183\r\n\r\n\r\n\r\nPatch\u00a0 26261906\u00a0\u00a0\u00a0\u00a0 : applied on Wed Mar 07 23:07:20 BRT 2018\r\n\r\nUnique Patch ID:\u00a0 21344506\r\n\r\nPatch description:\u00a0 \"One-off\"\r\n\r\n\u00a0\u00a0 Created on 12 Jun 2017, 23:36:08 hrs UTC\r\n\r\n\u00a0\u00a0 Bugs fixed:\r\n\r\n\u00a0\u00a0\u00a0\u00a0 25559137, 25232931, 24811916\r\n\r\n\r\n\r\nPatch\u00a0 26051289\u00a0\u00a0\u00a0\u00a0 : applied on Wed Mar 07 23:07:10 BRT 2018\r\n\r\nUnique Patch ID:\u00a0 21455037\r\n\r\nPatch description:\u00a0 \"One-off\"\r\n\r\n\u00a0\u00a0 Created on 31 Jul 2017, 22:11:57 hrs UTC\r\n\r\n\u00a0\u00a0 Bugs fixed:\r\n\r\n\u00a0\u00a0\u00a0\u00a0 26051289\r\n\r\n\r\n--------------------------------------------------------------------------------\r\n\r\nOPatch succeeded.\r\n\r\n[oracle@soaapp 27311023]$<\/pre>\n

Por enquanto ficamos por aqui, At\u00e9 Mais!<\/p>\n","protected":false},"excerpt":{"rendered":"

No Oracle SOA Su\u00edte 10.3 existiam tr\u00eas formas de aplica\u00e7\u00e3o de Patch: OPATCH,BSU e PSA O OPATCH funciona para patchs no Oracle Home, o BSU que funciona para no weblogic e PSU funciona para patchs no FMW schemas que no caso s\u00e3o os esquemas de banco que criamos com o rca. Acho bem interessante fazer esse coment\u00e1rio sobre o Oracle SOA Su\u00edte 10.3 devido a maioria dos produtos Oracle ainda funcionarem em cima dessa vers\u00e3o[…]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[18,19,23,22],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts\/1978"}],"collection":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/comments?post=1978"}],"version-history":[{"count":0,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts\/1978\/revisions"}],"wp:attachment":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/media?parent=1978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/categories?post=1978"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/tags?post=1978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}