How to gather OPatch inventory for all RAC Oracle Homes, regardless of role separation. (Doc ID 1922360.1)

Last updated on SEPTEMBER 19, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 and later
Information in this document applies to any platform.
Check for root user queries _Effective_ User ID (EUID), so will work w/sudo as well.

Goal

 To provide a brief OPatch inventory of all major (GI/CRS/ASM/DB/EM-Agent, but not Plugin) Oracle Homes on any Linux or Unix Host.

This sample code is provided for educational purposes only and not supported by Oracle Support Services.
It has been tested internally, however, and works as documented.
We do not guarantee that it will work for you, so be sure to test it in your environment before relying on it.

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms