Installing and Applying Oracle Patches

First, carefully read the patch’s README and prepare the DB for applying the patch. If unable to prepare the database please refer to Oracle Support SR.

To update OPatch, Oracle’s patch applying utility:

OPatch – Where Can I Find the Latest Version of OPatch? [Video] (Doc ID 224346.1)

To download the patch directly: log on to support.oracle.com –> using the “patches & updates” link, download patch 6880880 appropriate to the operating system.

Updating the OPatch application.

rdbms_home

Download file: p6880880_112000_Solaris86-64.zip and saved to /SetUp/oracle/patches

Making a backup of the old version to the old directory

Copying the new version

grid_home

This is after having downloaded and extracted p6880880_112000_Solaris86-64.zip in the /SetUp/oracle/patches folder.

Using root

To check

Defining the path where the shell script can run “opatch”

Online patch install

Note:

1. opatch apply online -connectString

SID_NAME_1:rdbms_home_owner:password:node_name,SID_NAME_2:rdbms_home_owner:password:node_name

2. As an online rollback wasn’t applied a hyphen character ‘‘ could cause issues.

If its necessary to create pcm.rsp

As a the grid home owner, which is grid

alternatively

As the root user

A patch has been applied to both grid home and rdbms home

Details

Varieties

Following executables are active

Flow diagrams

All-Node Patch

  • Shutdown all Oracle instances on all nodes
  • Apply the patch to the RAC home on all nodes
  • Bring all instances up

Minimum downtime

  • Shutdown the Oracle instance on node 1
  • Apply the patch to the RAC home on node 1
  • Shutdown the Oracle instance on node 2
  • Apply the patch to the RAC home on node 2
  • Shutdown the Oracle instance on node 3
  • At this point, instances on nodes 1 and 2 can be brought up
  • Apply the patch to the RAC home on node 3
  • Startup the Oracle instance on node 3

Rolling patch (no downtime)

  • Shutdown the Oracle instance on node 1
  • Apply the patch to the RAC home on node 1
  • Start the Oracle instance on node 1
  • Shutdown the Oracle instance on node 2
  • Apply the patch to the RAC home on node 2
  • Start the Oracle instance on node 2
  • Shutdown the Oracle instance on node 3
  • Apply the patch to the RAC home on node 3
  • Start the Oracle instance on node 3
Kategori seçin...