Sei sulla pagina 1di 4

Document 1457229.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-stat...

How to Check whether Enterprise Manager Cloud Control 12c Bundle Patch 1 BP1 is applied to a Cloud Control System? (Doc ID 1457229.1)
Modified: Sep 10, 2012 Type: HOWTO

In this Document Goal Fix References

APPLIES TO:
Enterprise Manager Base Platform - Version 12.1.0.1.0 to 12.1.0.1.0 [Release 12.1] Information in this document applies to any platform.

GOAL
How to determine if the mandatory Bundle Patch 1 (BP1) has been applied to Enterprise Manager 12c Cloud Control.

FIX
Enterprise Manager Cloud Control Bundle Patch 1 (BP1) is delivered by Patch:13242773 for the OMS and is a mandatory patch release for Enterprise Manager 12c Cloud Control. BP1 for the agent is delivered by different patches depending on the platform. A table of BP1 patches per platform is given below. PATCH 13550565 13550561 13491785 13242776 14158696 14041708 required Linux required required required required required required required required required required required required required required required required Solaris (sparc) Solaris x86-64 AIX HP

Note* 12c Cloud Control for Windows automatically will have the BP1 patches applied because the Windows release was released later than the other platforms and when it was shipped, these fixes were automatically included. So for example, you can see that for the linux platform, Patch:13242776,Patch:13491785,Patch:13550565 and Patch:13550561 are necessary. In order to simplify the patching process, when BP1 becomes available for a particular platform, the Cloud Control software available to download for that platform on OTN will also be bundled to include the BP1 fixes. This means that there are two ways that BP1 fixes can have been applied to 12c Enterprise Manager Cloud Control. Either the BP1 patch has been manually applied or Cloud Control was installed from software which was downloaded from OTN later than February 2012 (for Linux or Windows platforms) which included the BP1 fixes for OMS and Agent. This note is to show how to check whether BP1 is applied or not (for users who may have inherited a system and are not sure when the software was installed, or if the patch has been manually applied) The BP1 patch will show in the inventory. Therefore to ascertain whether BP1 is applied the following can be used:-

Section 1 To check whether BP1 is installed on the OMS

1 of 4

1/22/2014 2:17 PM

Document 1457229.1

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-stat...

cd $ORACLE_HOME<of OMS>/OPatch ./opatch lsinventory | grep 13242773

for example:-

opatch lsinventory | grep 13242773 Patch 13242773 : applied on Thu Mar 08 23:54:29 GMT 2012 13403327, 13335076, 12851038, 13358747, 12928995, 13100709, 13242773 This shows that the BP1 patch has been applied

Alternatively the full opatch lsinventory output will be:-

oracle@omsmachine oms]$ opatch lsinventory Oracle Interim Patch Installer version 11.1.0.9.5 Copyright (c) 2012, Oracle Corporation. All rights reserved. Oracle Home : /oracle/12cloud/oms Central Inventory : /oracle/oraInventory from : /oracle/12cloud/oms/oraInst.loc OPatch version : 11.1.0.9.5 OUI version : 11.1.0.9.0 Log file location : /oracle/12cloud/oms/cfgtoollogs/opatch/opatch2012-05-10_10-22-30AM_1.log OPatch detects the Middleware Home as "/oracle/12cloud" Lsinventory Output file location : /oracle/12cloud/oms/cfgtoollogs/opatch/lsinv/lsinventory2012-0510_10-22-30AM.txt -------------------------------------------------------------------------------Installed Top-level Products (1): EM Platform (OMS) 12.1.0.1.0 There are 1 products installed in this Oracle Home. Interim patches (1) : Patch 13242773 : applied on Thu Mar 08 23:54:29 GMT 2012 Created on 10 Feb 2012, 05:21:29 hrs PST8PDT Bugs fixed: 13472263, 13106443, 13071823, 12989982, 13492366, 12957621, 13375992, 12957984, 12989821, 13016983, 13080770, 13370175, 13010282, 13055166, 13094371, 12920846, 13028935, 13062375, 13403327, 13335076, 12851038, 13358747, 12928995, 13100709, 13359763, 12865976, 13426571, 12957944, 13251841

13374975 13334194 13033378 13242773

-------------------------------------------------------------------------------OPatch succeeded.

Note that BP1 does not change the Cloud Control version in any way so the only way to check is via the inventory. See Note:1431756.1 "After Applying BP1, Enterprise Manager Cloud Control Still Shows its Version as 12.1.0.1.0" for further details. Section 2 - To check whether BP1 is installed on the agent on Linux For the agent BP1 is made up of four patches (Patch:13242776,Patch:13491785,Patch:13550565 and Patch:13550561) on Linux. Patch Patch Patch Patch 13242776 13491785 13550565 13550561 is is is is applied applied applied applied to to to to the the the the agent agent agent agent home home 'oracle home' plugin home 'discovery' plugin home

The following can be done to check whether these patches exist:export ORACLE_HOME=<agent_base>/core/12.1.0.1.0 export PATH=$ORACLE_HOME/OPatch:$PATH

2 of 4

1/22/2014 2:17 PM

Document 1457229.1

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-stat...

Note that <agent_base> will be the install home of the agent (the directory which was specified for the agent during install) In this example this is /oracle/12cloud/agent so $ORACLE_HOME is /oracle/12cloud/agent/core/12.1.0.1.0 in this example

a) To check for Patch 13242776 and 13491785 Go to $ORACLE_HOME/OPatch and do:opatch lsinventory | grep 13242776 opatch lsinventory | grep 13491785

eg.
[oracle@machine1 OPatch]$ cd $ORACLE_HOME [oracle@machine1 12.1.0.1.0]$ pwd /oracle/12cloud/agent/core/12.1.0.1.0 [oracle@machine1 12.1.0.1.0]$ opatch lsinventory | grep 13242776 Patch 13242776 : applied on Sat Feb 11 15:35:09 GMT 2012 13112219, 12970822, 13242776, 13112604, 13101976, 13002930, 12810754 [oracle@machine1 12.1.0.1.0]$ opatch lsinventory | grep 13491785 Patch 13491785 : applied on Sat Feb 11 15:35:21 GMT 2012 13113618, 13491785, 13495982, 13010706, 11729692, 13097461, 13104068

b) To check for patch:13550565 This is applied to the 'oracle home' agent plugin which is located in:<agent_base>/plugins/oracle.sysman.oh.agent.plugin_12.1.0.1.0 eg. /oracle/12cloud/agent/plugins/oracle.sysman.oh.agent.plugin_12.1.0.1.0 so this means it's necessary to set the PLUGIN_HOME before running opatch.
export PLUGIN_HOME=<agent_base>/plugins/oracle.sysman.oh.agent.plugin_12.1.0.1.0 echo $PLUGIN_HOME /oracle/12cloud/agent/plugins/oracle.sysman.oh.agent.plugin_12.1.0.1.0

Check that the patch has been applied by doing:$ORACLE_HOME/OPatch/opatch lsinventory -detail -oh $PLUGIN_HOME | grep 13550565

eg.

oracle@machine1 OPatch]$ opatch lsinventory -details -oh $PLUGIN_HOME | grep 13550565 Patch 13550565 : applied on Sat Feb 11 12:48:28 GMT 2012 13639680, 13632156, 13550565 /oracle/12cloud/agent/plugins/oracle.sysman.oh.agent.plugin_12.1.0.1.0/inventory/oneoffs/13550565 /oracle/12cloud/agent/plugins/oracle.sysman.oh.agent.plugin_12.1.0.1.0/.patch_storage/13550565_Feb_6_2012_04_32_24

c) To check for Patch:13550561 To check for patch:13550561 This is applied to the 'oracle home discovery' plugin which is located in:<agent_base>/plugins/oracle.sysman.oh.discovery.plugin_12.1.0.1.0 eg. /oracle/12cloud/agent/plugins/oracle.sysman.oh.discovery.plugin_12.1.0.1.0 so it's necessary to do:export PLUGIN_HOME=<agent_base>/plugins/oracle.sysman.oh.discovery.plugin_12.1.0.1.0

3 of 4

1/22/2014 2:17 PM

Document 1457229.1

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-stat...

echo $PLUGIN_HOME /oracle/12cloud/agent/plugins/oracle.sysman.oh.discovery.plugin_12.1.0.1.0

Check that the patch has been applied by doing:$ORACLE_HOME/OPatch/opatch lsinventory -detail -oh $PLUGIN_HOME | grep 13550561

eg.
oracle@machine1 OPatch]$ opatch lsinventory -detail -oh $PLUGIN_HOME | grep 13550561 Patch 13550561 : applied on Sat Feb 11 12:47:51 GMT 2012 13550561 /oracle/12cloud/agent/plugins/oracle.sysman.oh.discovery.plugin_12.1.0.1.0/inventory/oneoffs/13550561 /oracle/12cloud/agent/plugins/oracle.sysman.oh.discovery.plugin_12.1.0.1.0/.patch_storage/13550561_Jan_6_2012_01_21_26

Section 3 - To check whether BP1 is installed on the agent on Solaris(sparc), AIX and HP a) To check for Patch 13242776, 3491785 and 14041708 Go to $ORACLE_HOME<of agent>/OPatch (eg. /oracle/12cloud/agent/core/12.1.0.1.0/OPatch) and do:-

opatch lsinventory | grep 13242776 opatch lsinventory | grep 13491785 opatch lsinventory | grep 14041708

Section 4 - To check whether BP1 is installed on the agent on Solaris x86-64 a) To check for Patch 13242776, 3491785, 14041708 and 14158696 Go to $ORACLE_HOME<of agent>/OPatch (eg. /oracle/12cloud/agent/core/12.1.0.1.0/OPatch) and do:opatch opatch opatch opatch lsinventory lsinventory lsinventory lsinventory | | | | grep grep grep grep 13242776 13491785 14041708 14158696

For further information on BP1: General Information including availability for other platforms see Note:1395505.1 How to apply the patch see Note:1393173.1 Also see the Bundle Patch 1 Application Guide (http://docs.oracle.com/cd/E24628_01/doc.121/e35229/aix_solaris.htm#CIHDHFIG)

REFERENCES
NOTE:1431756.1 - EM 12c: After Applying BP1, Enterprise Manager Cloud Control Still Shows its Version as 12.1.0.1.0 NOTE:1395505.1 - Announcing Enterprise Manager Cloud Control 12c Release 12.1.0.1 Bundle Patch 1(BP1) and 12.1.0.2 Plug-ins NOTE:1393173.1 - Enterprise Manager Cloud Control Workbook for Applying Bundle Patch 1 (February 2012) and 12.1.0.2 Plugins http://docs.oracle.com/cd/E24628_01/doc.121/e35229/overview.htm

4 of 4

1/22/2014 2:17 PM

Potrebbero piacerti anche