0% found this document useful (0 votes)
66 views2 pages

How To Check Which PSU Is Installed

This document provides instructions for checking which Patch Set Update (PSU) is installed on an Oracle database, Grid Infrastructure, Cluster Ready Services, Enterprise Manager Agent, Enterprise Manager OMS, and WebLogic Server. It describes using the opatch lsinventory command or querying the sys.registry$history view to check the PSU version installed in the ORACLE_HOME. It also notes that if the query on sys.registry$history returns an error about an invalid identifier, then no PSU or CPU has been applied.

Uploaded by

Randall May
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views2 pages

How To Check Which PSU Is Installed

This document provides instructions for checking which Patch Set Update (PSU) is installed on an Oracle database, Grid Infrastructure, Cluster Ready Services, Enterprise Manager Agent, Enterprise Manager OMS, and WebLogic Server. It describes using the opatch lsinventory command or querying the sys.registry$history view to check the PSU version installed in the ORACLE_HOME. It also notes that if the query on sys.registry$history returns an error about an invalid identifier, then no PSU or CPU has been applied.

Uploaded by

Randall May
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

HowtocheckwhichPSUisinstalledifany

PostedonOctober10,2012byGarth

OraclePSUsPatchSetUpdatesarereferencedbytheir5placeversionnumber.
UnfortunatelytheydonotchangeversionnumbersintheOraclebinaries,productbanners
andsuchthoughseeMOS861152.1,sohereshowtoidentifywhichPSUyour
ORACLE_HOMEisat
DatabaseServer:
$ORACLE_HOME/OPatch/opatchlsinventorybugs_fixed|grepiE'DATABASEPSU|DATABASEPATCHSET
UPDATE'
$ORACLE_HOME/OPatch/opatchlsinventorybugs_fixed|egrepi'DATABASEPSU|DATABASEPATCHSETUP
DATE'

ThefirstcommandabovebeingforLinux
orusingthefollowingSQL:
selectcomments,version,bundle_series
fromsys.registry$history
wherebundle_series='PSU'
orderbyaction_time;
COMMENTSVERSIONBUNDLE_SERIES

Patchset11.2.0.2.011.2.0.3PSU
PSU11.2.0.3.511.2.0.3PSU

Theaboveviewispopulatedwhencatbundle.sqlisexecuted.Ifthequeryaboveendswith
ORA00904:BUNDLE_SERIES:invalididentifierthennobundlepatchPSUorCPU
hasbeenapplied.
GridInfrastructure:
$ORACLE_HOME/OPatch/opatchlsinventorybugs_fixed|grepi'GIPSU'

ClusterReadyServices:
$ORACLE_HOME/OPatch/opatchlsinventorybugs_fixed|grepi'TRACKINGBUG'|grepi'PSU'

EnterpriseManagerAgent:

'PSU'

EnterpriseManagerOMS:
$ORACLE_HOME/OPatch/opatchlsinventorybugs_fixed|grepi'ENTERPRISEMANAGEROMS'|grepi
'PSU'

WebLogicServer:
.$WLS_HOME/server/bin/setWLSEnv.sh
javaweblogic.version|grepPSU

You might also like