{"id":2642,"date":"2022-01-11T15:45:32","date_gmt":"2022-01-11T18:45:32","guid":{"rendered":"https:\/\/zmsolution.laraclaud.com.br\/?p=2642"},"modified":"2022-01-12T08:41:17","modified_gmt":"2022-01-12T11:41:17","slug":"aplicando-patch-no-instaladora-antes-da-instalacao","status":"publish","type":"post","link":"http:\/\/zmsolution.com\/aplicando-patch-no-instaladora-antes-da-instalacao\/","title":{"rendered":"Aplicando patch no instaladora antes da instala\u00e7\u00e3o"},"content":{"rendered":"\n\n\n

Apartir do Oracle 18 foi poss\u00edvel aplicar patchs no instalador antes de executar a instala\u00e7\u00e3o.<\/p>\n

Antes de iniciarmos, precisamos atualizar o Opatch<\/p>\n

com o usuario\u00a0 root:
Atualiza o OPatch
cd \/u01\/app\/oracle\/product\/19.3.0.0\/grid
rm -rf OPatch
mkdir OPatch
chown grid.oinstall OPatch\/<\/p>\n

com o usuario grid:
Entre no diretorio onde esta o instalador
unzip -q p6880880_190000_Linux-x86-64.zip
cp -rf OPatch\/* \/u01\/app\/oracle\/product\/19.3.0.0\/grid\/OPatch\/<\/p>\n

su – grid<\/p>\n

Vamos iniciar descompactando o instalador.
cd \/u01\/app\/oracle\/product\/19.3.0.0\/grid
unzip LINUX.X64_193000_db_home.zip<\/p>\n

Agora descompacte o patch
unzip -q p33182768_190000_Linux-x86-64.zip<\/p>\n

Entre no $GRID_HOME e aplique o patch.<\/p>\n

com a op\u00e7\u00e3o Silent:
.\/gridSetup.sh -silent -applyRU \/u01\/install\/33182768<\/p>\n

[grid@ggsrv1 grid]$ .\/gridSetup.sh -silent -applyRU \/u01\/install\/33182768
Preparing the home to patch…
Applying the patch \/u01\/install\/33182768…
Successfully applied the patch.
The log can be found at: \/tmp\/GridSetupActions2022-01-11_03-08-14PM\/installerPatchActions_2022-01-11_03-08-14PM.log
Launching Oracle Grid Infrastructure Setup Wizard…<\/p>\n


como n\u00e3o abre o terminal gr\u00e1fico dessa forma o erro abaixo aparece
[FATAL] [INS-40426] Grid installation option has not been specified.
ACTION: Specify the valid installation option.<\/p>\n


ou sem a op\u00e7\u00e3o -silent em um terminal gr\u00e1fico<\/p>\n

.\/gridSetup.sh -applyRU \/u01\/install\/33182768<\/p>\n

sem a op\u00e7\u00e3o -silent ira abrir a aplica\u00e7\u00e3o de instala\u00e7\u00e3o do grid<\/p>\n

Agora vamos atualizar o RDBMS<\/p>\n

cd \/u01\/app\/oracle\/product\/19.3.0.0\/db_1<\/p>\n

Descompacte o instalador<\/p>\n

unzip LINUX.X64_193000_db_home.zip<\/p>\n

Atualizando o Opatch<\/p>\n

Com o usu\u00e1rio root<\/p>\n

cd \/u01\/app\/oracle\/product\/19.3.0.0\/db_1
\u00a0rm -rf OPatch\/
\u00a0mkdir OPatch
chown oracle.oinstall OPatch\/<\/p>\n

Com usuario oracle
cd \/u01\/install\/
su – oracle
cd \/u01\/install\/
cp -rf OPatch\/* \/u01\/app\/oracle\/product\/19.3.0.0\/db_1\/OPatch\/<\/p>\n

Agora entre no $ORACLE_HOME e aplique o patch<\/p>\n

.\/runInstaller -applyRU \/u01\/install\/33192793<\/p>\n

\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"

Apartir do Oracle 18 foi poss\u00edvel aplicar patchs no instalador antes de executar a instala\u00e7\u00e3o. Antes de iniciarmos, precisamos atualizar o Opatch com o usuario\u00a0 root:Atualiza o OPatchcd \/u01\/app\/oracle\/product\/19.3.0.0\/gridrm -rf OPatchmkdir OPatchchown grid.oinstall OPatch\/ com o usuario grid:Entre no diretorio onde esta o instaladorunzip -q p6880880_190000_Linux-x86-64.zipcp -rf OPatch\/* \/u01\/app\/oracle\/product\/19.3.0.0\/grid\/OPatch\/ su – grid Vamos iniciar descompactando o instalador.cd \/u01\/app\/oracle\/product\/19.3.0.0\/gridunzip LINUX.X64_193000_db_home.zip Agora descompacte o patchunzip -q p33182768_190000_Linux-x86-64.zip Entre no $GRID_HOME e aplique o patch. com a op\u00e7\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":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts\/2642"}],"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=2642"}],"version-history":[{"count":0,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts\/2642\/revisions"}],"wp:attachment":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/media?parent=2642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/categories?post=2642"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/tags?post=2642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}