如何在安装grid之前打补丁(PSU、RU)How to Apply a Grid Infrastructure Patch Before Grid Infrastructure Configuration (before root.sh or rootupgrade.sh or gridsetup.bat) is Executed (Doc ID 1410202.1)

0    924    3

Tags:

👉 本文共约3491个字,系统预计阅读时间或需14分钟。

APPLIES TO:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

PURPOSE

It may be necessary to apply a patch prior to the execution of the root script to ensure successful root script execution (e.g. Document:1212703.1 ). This note describe the procedure to apply a Grid Infrastructure patch(including GI PSU patch) before GI is configured (in other word, before root.sh or rootupgrade.sh is executed).

In upgrade case, the note applies when a patch is being applied to the new GI home, it does not apply when applying to the existing (current) clusterware home.

Prior to executing the root script, applying a GI patch with the patch readme may result in failure as these instruction are written for a "configured" GI Home.

"opatch auto" must NOT be used as the new GI home hasn't been configured yet.

QUESTIONS AND ANSWERS

18.1 and above

  1. Unzip Grid Infrastructure Gold Image to the Desired GI Home Location on the Local Node as the Grid user

  2. Download and Install the latest OPatch Version (Patch 6880880) to the extracted GI Gold Image as the Grid user:

Note: Choose Overwrite ALL when prompted, do NOT remove the old OPatch directory from the GI_HOME prior to extracting

$ unzip -d $GIHOME p6880880.zip

  1. Install/Upgrade the 18c GI and apply the patch to the Gold Image at the same time by running the following as the Grid user:

To apply only Release Updates:

$GI_HOME/gridSetup.sh -silent -applyRU

To apply only Non-RU patches:

$GI_HOME/gridSetup.sh -silent -applyRUR

To apply Release Updates and Non-RU patches in one command:

$GI_HOME/gridSetup.sh -silent -applyRU -applyOneOffs

For Windows, applyRU option is not supported. Install/configure the base Goldimage Software first (without -applyRU), and then install the RU using standard opatch/opatchauto process.

Note: If -silent option use, also specify -responseFile option and specify response file to avoid "[FATAL] [INS-40426] Grid installation option has not been specified." error.

An example is:

$ ./gridSetup.sh -applyRU /u01/patch/27100009/

本人提供Oracle(OCP、OCM)、MySQL(OCP)、PostgreSQL(PGCA、PGCE、PGCM)等数据库的培训和考证业务,私聊QQ646634621或微信db_bao,谢谢!
如何在安装grid之前打补丁(PSU、RU)How to Apply a Grid Infrastructure Patch Before Grid Infrastructure Configuration (before root.sh or rootupgrade.sh or gridsetup.bat) is Executed (Doc ID 1410202.1)后续精彩内容已被小麦苗无情隐藏,请输入验证码解锁本站所有文章!
验证码:
请先关注本站微信公众号,然后回复“验证码”,获取验证码。在微信里搜索“DB宝”或者“www_xmmup_com”或者微信扫描右侧二维码都可以关注本站微信公众号。

标签:

Avatar photo

小麦苗

学习或考证,均可联系麦老师,请加微信db_bao或QQ646634621

您可能还喜欢...

发表回复

嘿,我是小麦,需要帮助随时找我哦。
  • 18509239930
  • 个人微信

  • DB宝
  • 个人邮箱
  • 点击加入QQ群
  • 个人微店

  • 回到顶部