Thursday, January 10, 2013

Oracle Enterprise Manager Agent Upgrade from 10.2.0.5 to 11.1.0.1 using response file


Oracle Enterprise Manager Agent Upgrade from 10.2.0.5 to 11.1.0.1 using response file

Environment:

This is a 2 node RAC cluster. Task is to upgrade the agent to 11.1.0.1 to address certain issues we were having with 10.2.0.5 agent.
Note: 11.1.0.1 EM Agent is certified to work with 10.2.0.5 OMS.


Agent Status check :

> emctl status agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 10.2.0.5.0
OMS Version       : 10.2.0.5.0
Protocol Version  : 10.2.0.5.0
Agent Home        : /export/oracle/product/10.2.0/agent10g
Agent binaries    : /export/oracle/product/10.2.0/agent10g
Agent Process ID  : 6433
Parent Process ID : 6386
Agent URL         : http://slsrac01.ientprise.com:3872/emd/main/
Repository URL    : http://gridcontrol.ientprise.com:4889/em/upload/
Started at        : 2013-01-04 22:23:00
Started by user   : oracle
Last Reload       : 2013-01-06 02:47:14
Last successful upload                       : 2013-01-07 19:52:33
Total Megabytes of XML files uploaded so far :  1275.31
Number of XML files pending upload           :        0
Size of XML files pending upload(MB)         :     0.00
Available disk space on upload filesystem    :    20.00%
Last successful heartbeat to OMS             : 2013-01-07 19:58:58
---------------------------------------------------------------
Agent is Running and Ready




Backup Current Agent Home:

I’m going to backup the current EM Agent 10.2.0.5 home to a shared location available on my servers.

Node 1
cd /export/oracle/product/10.2.0/agent10g
tar -cvpf /export/install/backup/tar_agent10g_cluster/tx_01agent.tar ./

Node 2
cd /export/oracle/product/10.2.0/agent10g
tar -cvpf /export/install/backup/tar_agent10g_cluster/tx_02agent.tar ./


Software Download:

Download 11.1.0.1 agent software from otn.oracle.com
You must accept Oracle OTN license to download this software






Documentation:

There are multiple approaches for installing/ upgrading Enterprise Manager Grid Control Agent. Refer to ‘Oracle® Enterprise Manager Grid Control Advanced Installation and Configuration Guide’ available at the following location. I will be following the procedure listed in ‘Upgrading Oracle Management Agent Using a Response File



Navigate to the following location and edit the response file upgrade_agent.rsp. Description of the parameters will be given in the file. It is an easy and straightforward edit.

<Downloaded_Software_Location>/<platform>/response/upgrade_agent.rsp

b_upgrade
OLD_BASE_DIR
ORACLE_AGENT_HOME_LOCATION
EM_INSTALL_TYPE
SECURITY_UPDATES_VIA_MYORACLESUPPORT
DECLINE_SECURITY_UPDATES

I’m going to test this upgrade on one node first and if it’s successful, then deploy it on the second node and update Inventory to reflect that it is a cluster installation.
So, I commented out the below parameter
#CLUSTER_NODES



Upgrade:

Stop the current 10.2.0.5 management agent before proceeding.


> ./runInstaller -silent -responseFile /export/install/backup/em_agent_11.1.0.1_linux64/linux_x64/response/upgrade_agent.rsp
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 150 MB.   Actual 13062 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 13628 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-01-07_09-20-06PM. Please wait ...slsrac01 |AGENT| /export/install/backup/em_agent_11.1.0.1_linux64/linux_x64/agent

> *** Check for updates ***
*** Select Installation Type ***
*** Select Oracle Homes to Upgrade ***
Warning: EM_INSTALL_TYPE key is already added to hashmap from /export/install/backup/em_agent_11.1.0.1_linux64/linux_x64/agent/install/response/agent.rsp
Warning:EM_INSTALL_TYPE="AGENT" -- line will be ignored and not added to hashmap
*** Check Prerequisites ***
*** Connect to Oracle Database ***
*** Specify Install Locations ***
*** Create WebLogic Server Domain ***
*** Customize Ports ***
*** Review ***

-----------------------------------------------------------------------------
Summary
Global Settings
    Source: /export/install/backup/em_agent_11.1.0.1_linux64/linux_x64/agent//stage/../stage/products.xml
    Oracle Home: /export/oracle/product/11.1.0.1/agent11g (agent11g1)
    Installation Type: Complete
Product Languages
   English
Space Requirements
   / Required 1.07GB (includes 34MB temporary) : Available 12.55GB
New Installations (58 products)
   Oracle Management Agent 11.1.0.1.0
   Agent Virtualization 11.1.0.1.0
   Enterprise Manager Agent 11.1.0.1.0
   Enterprise Manager Agent Core Files 11.1.0.1.0
   Secure Socket Layer 11.1.0.7.0
   Oracle Recovery Manager 11.1.0.7.0
   Enterprise Manager Common Files 11.1.0.1.0
   Enterprise Manager Common Core Files 11.1.0.1.0
   Required Support Files 11.1.0.7.0
   Oracle RAC Required Support Files-HAS 11.1.0.7.0
   Oracle JDBC/THIN Interfaces 11.1.0.7.0
   Oracle JDBC/OCI Instant Client 11.1.0.7.0
   Oracle Globalization Support 11.1.0.7.0
   Oracle Net Required Support Files 11.1.0.7.0
   SSL Required Support Files for InstantClient 11.1.0.7.0
   LDAP Required Support Files 11.1.0.7.0
   Oracle Globalization Support 11.1.0.7.0
   Perl Interpreter 5.10.0.0.1
   Perl Modules 5.10.0.0.1
   Expat libraries 2.0.1.0.1
   XML Parser for Java 11.1.0.7.0
   Precompiler Required Support Files 11.1.0.7.0
   RDBMS Required Support Files 11.1.0.7.0
   RDBMS Required Support Files for Instant Client 11.1.0.7.0
   Parser Generator Required Support Files 11.1.0.7.0
   Platform Required Support Files 11.1.0.7.0a
   Patch for Oracle Process Management Notification 10.1.3.4.0
   Oracle Process Management Notification 10.1.3.0.0
   Agent Required Support Files 10.2.0.4.1
   XDK Required Support Files 11.1.0.7.0
   SQL*Plus Required Support Files 11.1.0.7.0
   Secure Socket Layer 11.1.0.7.0
   Oracle Core Required Support Files 11.1.0.7.0
   Enterprise Manager Agent for Grid Control 11.1.0.1.0
   Installation Common Files 11.1.0.7.0
   Oracle Configuration Manager 10.3.2.1.0
   Oracle Bali Share 11.1.1.2.0
   Enterprise Manager Application Server Integrator Plugin -- Agent Support 11.1.0.2.0
   Oracle Dynamic Monitoring Service Patch 10.1.2.3.0
   Oracle Dynamic Monitoring Service 10.1.2.1.0
   Enterprise Manager Application Server Plugin -- Agent Support 11.1.0.1.0
   Enterprise Manager Application Server Plugin -- Common Support 11.1.0.1.0
   Enterprise Manager Database Plugin -- Agent Support 11.1.0.1.0
   Enterprise Manager Siebel Plugin -- Agent Support 11.1.0.1.0
   Provisioning Advisor Framework Common Files For Agent and OMS 11.1.0.1.0
   Common component for  Virtualization 11.1.0.1.0
   Oracle Notification Service (eONS) 11.2.0.1.0
   Enterprise Manager Collaboration Suite Plugin -- Agent Support 11.1.0.1.0
   Oracle Notification Service 10.1.3.0.0
   Oracle Required Support Files 32 bit 11.1.0.7.0
   OracleAS HTTP Client 11.1.1.2.0
   OracleAS J2EE BULKOPS 11.0.0.0.0
   Oracle Wallet Manager 11.1.0.7.0
   Oracle Security Developer Tools 11.1.0.7.0
   Oracle Universal Installer 11.1.0.8.0
   Oracle One-Off Patch Installer 11.1.0.8.0
   Installer SDK Component 11.1.0.8.0
   Sun JDK 1.6.0.14.0
-----------------------------------------------------------------------------
Installation in progress
..................................Installation in progress
..................
Install successful
Linking in progress

Link successful
Setup in progress
.......
Setup successful

Warning: The following configuration scripts needs to be executed as the "root" user
  /export/oracle/product/11.1.0.1/agent11g/root.sh
To execute the configuration scripts:
 1. Open a new  terminal window
 2. Login in as "root"
 3. Run the scripts

Running Configuration assistant "Agent Oneoff Patch Application"

The ORACLE HOME is /export/oracle/product/11.1.0.1/agent11gThe install isLocal is trueThe command is opatch apply -invPtrLoc /export/oracle/product/11.1.0.1/agent11g/oraInst.loc -silent   -local
 Unjarring the oneoff 5336126.zip ...
 /export/oracle/product/11.1.0.1/agent11g/jdk/bin/jar xvf /export/oracle/product/11.1.0.1/agent11g/install/oneoffs/111010/5336126.zip

  created: 5336126/
  created: 5336126/files/
  created: 5336126/files/lib/
  created: 5336126/files/lib/dms.jar/
  created: 5336126/files/lib/dms.jar/oracle/
  created: 5336126/files/lib/dms.jar/oracle/core/
  created: 5336126/files/lib/dms.jar/oracle/core/ojdl/
 inflated: 5336126/files/lib/dms.jar/oracle/core/ojdl/LogMessage$InstanceId.class
 inflated: 5336126/files/lib/dms.jar/oracle/core/ojdl/LogMessage$MessageArgument.class
 inflated: 5336126/files/lib/dms.jar/oracle/core/ojdl/LogMessage.class
 inflated: 5336126/files/lib/dms.jar/oracle/core/ojdl/MessageType.class
  created: 5336126/files/diagnostics/
  created: 5336126/files/diagnostics/lib/
  created: 5336126/files/diagnostics/lib/ojdl.jar/
  created: 5336126/files/diagnostics/lib/ojdl.jar/oracle/
  created: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/
  created: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/LogMessage$InstanceId.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/LogMessage$MessageArgument.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/LogMessage.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/MessageType.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/ODL11Formatter.class
  created: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/AccessLogReader.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/BaseTextLogReader.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/BufferedLogFileReader.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/BusStopLogReader.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/EOFParseException.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/FileSet.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/FileSetLogReader.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogContentHandler.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogFileReader.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogParser.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogReaderConstants.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogRecordImpl.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/MessageFormatFileSet.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/ODLTextLogReader.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/ODLTextLogReaderFactory.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/SAXParserDriver.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/SimpleTextLogReader.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/TextLogReader.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/UnformattedTextLogReader.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/WebCacheLogReader.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/XMLParser$CharBuf.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/XMLParser.class
 inflated: 5336126/files/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/oraclelog.dtd
  created: 5336126/etc/
  created: 5336126/etc/config/
 inflated: 5336126/etc/config/inventory
 inflated: 5336126/etc/config/actions
  created: 5336126/etc/xml/
 inflated: 5336126/etc/xml/GenericActions.xml
 inflated: 5336126/etc/xml/ShiphomeDirectoryStructure.xml
 inflated: 5336126/README.txt


 Applying opatch for the oneoff 5336126 ...
 /export/oracle/product/11.1.0.1/agent11g/OPatch/opatch apply -invPtrLoc /export/oracle/product/11.1.0.1/agent11g/oraInst.loc -silent   -local  -oh /export/oracle/product/11.1.0.1/agent11g /export/oracle/product/11.1.0.1/agent11g/install/oneoffs/111010/5336126

Invoking OPatch 11.1.0.8.0


Oracle Interim Patch Installer version 11.1.0.8.0
Copyright (c) 2009, Oracle Corporation.  All rights reserved.



Oracle Home       : /export/oracle/product/11.1.0.1/agent11g
Central Inventory : /export/oracle/oraInventory
   from           : /export/oracle/product/11.1.0.1/agent11g/oraInst.loc
OPatch version    : 11.1.0.8.0
OUI version       : 11.1.0.8.0
OUI location      : /export/oracle/product/11.1.0.1/agent11g/oui
Log file location : /export/oracle/product/11.1.0.1/agent11g/cfgtoollogs/opatch/opatch2013-01-07_21-23-58PM.log

Patch history file: /export/oracle/product/11.1.0.1/agent11g/cfgtoollogs/opatch/opatch_history.txt


ApplySession applying interim patch '5336126' to OH '/export/oracle/product/11.1.0.1/agent11g'


Running prerequisite checks...


You selected -local option, hence OPatch will patch the local system only.


Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '5336126' for restore. This might take a while...
Backing up files affected by the patch '5336126' for rollback. This might take a while...


Patching component oracle.dms, 10.1.2.3.0...
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/lib/dms.jar" with "/lib/dms.jar/oracle/core/ojdl/LogMessage$InstanceId.class"

Updating jar file "/export/oracle/product/11.1.0.1/agent11g/lib/dms.jar" with "/lib/dms.jar/oracle/core/ojdl/LogMessage$MessageArgument.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/lib/dms.jar" with "/lib/dms.jar/oracle/core/ojdl/LogMessage.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/lib/dms.jar" with "/lib/dms.jar/oracle/core/ojdl/MessageType.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/LogMessage$InstanceId.class"

Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/LogMessage$MessageArgument.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/LogMessage.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/MessageType.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/ODL11Formatter.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/AccessLogReader.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/BaseTextLogReader.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/BufferedLogFileReader.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/BusStopLogReader.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/EOFParseException.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/FileSet.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/FileSetLogReader.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogContentHandler.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogFileReader.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogParser.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogReaderConstants.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/LogRecordImpl.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/MessageFormatFileSet.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/ODLTextLogReader.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/ODLTextLogReaderFactory.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/SAXParserDriver.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/SimpleTextLogReader.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/TextLogReader.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/UnformattedTextLogReader.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/WebCacheLogReader.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/XMLParser$CharBuf.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/XMLParser.class"
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/diagnostics/lib/ojdl.jar" with "/diagnostics/lib/ojdl.jar/oracle/core/ojdl/reader/oraclelog.dtd"
ApplySession adding interim patch '5336126' to inventory


Verifying the update...
Inventory check OK: Patch ID 5336126 is registered in Oracle Home inventory with proper meta-data.

Files check OK: Files from Patch ID 5336126 are present in Oracle Home.


OPatch succeeded.

 Unjarring the oneoff 7568506.zip ...
 /export/oracle/product/11.1.0.1/agent11g/jdk/bin/jar xvf /export/oracle/product/11.1.0.1/agent11g/install/oneoffs/111010/7568506.zip

  created: 7568506/
  created: 7568506/files/
  created: 7568506/files/lib/
  created: 7568506/files/lib/dms.jar/
  created: 7568506/files/lib/dms.jar/oracle/
  created: 7568506/files/lib/dms.jar/oracle/dms/
  created: 7568506/files/lib/dms.jar/oracle/dms/address/
 inflated: 7568506/files/lib/dms.jar/oracle/dms/address/Optic.class
  created: 7568506/files/lib/dms.jar/oracle/dms/collector/
 inflated: 7568506/files/lib/dms.jar/oracle/dms/collector/Ajp13Connector.class
  created: 7568506/etc/
  created: 7568506/etc/config/
 inflated: 7568506/etc/config/inventory
 inflated: 7568506/etc/config/actions
  created: 7568506/etc/xml/
 inflated: 7568506/etc/xml/GenericActions.xml
 inflated: 7568506/etc/xml/ShiphomeDirectoryStructure.xml
 inflated: 7568506/README.txt

 Applying opatch for the oneoff 7568506 ...
 /export/oracle/product/11.1.0.1/agent11g/OPatch/opatch apply -invPtrLoc /export/oracle/product/11.1.0.1/agent11g/oraInst.loc -silent   -local  -oh /export/oracle/product/11.1.0.1/agent11g /export/oracle/product/11.1.0.1/agent11g/install/oneoffs/111010/7568506

Invoking OPatch 11.1.0.8.0


Oracle Interim Patch Installer version 11.1.0.8.0
Copyright (c) 2009, Oracle Corporation.  All rights reserved.



Oracle Home       : /export/oracle/product/11.1.0.1/agent11g
Central Inventory : /export/oracle/oraInventory
   from           : /export/oracle/product/11.1.0.1/agent11g/oraInst.loc
OPatch version    : 11.1.0.8.0
OUI version       : 11.1.0.8.0
OUI location      : /export/oracle/product/11.1.0.1/agent11g/oui
Log file location : /export/oracle/product/11.1.0.1/agent11g/cfgtoollogs/opatch/opatch2013-01-07_21-24-03PM.log

Patch history file: /export/oracle/product/11.1.0.1/agent11g/cfgtoollogs/opatch/opatch_history.txt


ApplySession applying interim patch '7568506' to OH '/export/oracle/product/11.1.0.1/agent11g'


Running prerequisite checks...


You selected -local option, hence OPatch will patch the local system only.


Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/export/oracle/product/11.1.0.1/agent11g')


Is the local system ready for patching? [y|n]

Y (auto-answered by -silent)
User Responded with: Y
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '7568506' for restore. This might take a while...
Backing up files affected by the patch '7568506' for rollback. This might take a while...


Patching component oracle.dms, 10.1.2.3.0...
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/lib/dms.jar" with "/lib/dms.jar/oracle/dms/address/Optic.class"

Updating jar file "/export/oracle/product/11.1.0.1/agent11g/lib/dms.jar" with "/lib/dms.jar/oracle/dms/collector/Ajp13Connector.class"
ApplySession adding interim patch '7568506' to inventory


Verifying the update...
Inventory check OK: Patch ID 7568506 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 7568506 are present in Oracle Home.

The local system has been patched and can be restarted.


OPatch succeeded.

 Unjarring the oneoff 8685010.zip ...
 /export/oracle/product/11.1.0.1/agent11g/jdk/bin/jar xvf /export/oracle/product/11.1.0.1/agent11g/install/oneoffs/111010/8685010.zip

  created: 8685010/
  created: 8685010/files/
  created: 8685010/files/opmn/
  created: 8685010/files/opmn/lib/
  created: 8685010/files/opmn/lib/optic.jar/
  created: 8685010/files/opmn/lib/optic.jar/oracle/
  created: 8685010/files/opmn/lib/optic.jar/oracle/ias/
  created: 8685010/files/opmn/lib/optic.jar/oracle/ias/opmn/
  created: 8685010/files/opmn/lib/optic.jar/oracle/ias/opmn/optic/
 inflated: 8685010/files/opmn/lib/optic.jar/oracle/ias/opmn/optic/OpmnPhone.class
  created: 8685010/etc/
  created: 8685010/etc/config/
 inflated: 8685010/etc/config/inventory
 inflated: 8685010/etc/config/actions
  created: 8685010/etc/xml/
 inflated: 8685010/etc/xml/GenericActions.xml
 inflated: 8685010/etc/xml/ShiphomeDirectoryStructure.xml

 inflated: 8685010/README.txt

 Applying opatch for the oneoff 8685010 ...
 /export/oracle/product/11.1.0.1/agent11g/OPatch/opatch apply -invPtrLoc /export/oracle/product/11.1.0.1/agent11g/oraInst.loc -silent   -local  -oh /export/oracle/product/11.1.0.1/agent11g /export/oracle/product/11.1.0.1/agent11g/install/oneoffs/111010/8685010

Invoking OPatch 11.1.0.8.0


Oracle Interim Patch Installer version 11.1.0.8.0
Copyright (c) 2009, Oracle Corporation.  All rights reserved.



Oracle Home       : /export/oracle/product/11.1.0.1/agent11g
Central Inventory : /export/oracle/oraInventory
   from           : /export/oracle/product/11.1.0.1/agent11g/oraInst.loc
OPatch version    : 11.1.0.8.0
OUI version       : 11.1.0.8.0
OUI location      : /export/oracle/product/11.1.0.1/agent11g/oui
Log file location : /export/oracle/product/11.1.0.1/agent11g/cfgtoollogs/opatch/opatch2013-01-07_21-24-12PM.log

Patch history file: /export/oracle/product/11.1.0.1/agent11g/cfgtoollogs/opatch/opatch_history.txt


ApplySession applying interim patch '8685010' to OH '/export/oracle/product/11.1.0.1/agent11g'


Running prerequisite checks...


You selected -local option, hence OPatch will patch the local system only.

Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '8685010' for restore. This might take a while...
Backing up files affected by the patch '8685010' for rollback. This might take a while...

Patching component oracle.opmn, 10.1.3.4.0...
Updating jar file "/export/oracle/product/11.1.0.1/agent11g/opmn/lib/optic.jar" with "/opmn/lib/optic.jar/oracle/ias/opmn/optic/OpmnPhone.class"

ApplySession adding interim patch '8685010' to inventory


Verifying the update...
Inventory check OK: Patch ID 8685010 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 8685010 are present in Oracle Home.

OPatch succeeded.

 Unjarring the oneoff 8240469.zip ...
 /export/oracle/product/11.1.0.1/agent11g/jdk/bin/jar xvf /export/oracle/product/11.1.0.1/agent11g/install/oneoffs/111010/8240469.zip

  created: 8240469/
  created: 8240469/files/
  created: 8240469/files/lib/
  created: 8240469/files/lib/libclient11.a/
 inflated: 8240469/files/lib/libclient11.a/kpuds.o
 inflated: 8240469/files/lib/libclient11.a/kpudst.o
  created: 8240469/files/lib32/
  created: 8240469/files/lib32/libclient11.a/
 inflated: 8240469/files/lib32/l
ibclient11.a/kpuds.o
 inflated: 8240469/files/lib32/libclient11.a/kpudst.o
  created: 8240469/etc/
  created: 8240469/etc/config/
 inflated: 8240469/etc/config/inventory.xml
 inflated: 8240469/etc/config/actions.xml
  created: 8240469/etc/xml/
 inflated: 8240469/etc/xml/GenericActions.xml
 inflated: 8240469/etc/xml/ShiphomeDirectoryStructure.xml
 inflated: 8240469/README.txt

 Applying opatch for the oneoff 8240469 ...
 /export/oracle/product/11.1.0.1/agent11g/OPatch/opatch apply -invPtrLoc /export/oracle/product/11.1.0.1/agent11g/oraInst.loc -silent   -local  -oh /export/oracle/product/11.1.0.1/agent11g /export/oracle/product/11.1.0.1/agent11g/install/oneoffs/111010/8240469

Invoking OPatch 11.1.0.8.0


Oracle Interim Patch Installer version 11.1.0.8.0
Copyright (c) 2009, Oracle Corporation.  All rights reserved.



Oracle Home       : /export/oracle/product/11.1.0.1/agent11g
Central Inventory : /export/oracle/oraInventory
   from           : /export/oracle/product/11.1.0.1/agent11g/oraInst.loc
OPatch version    : 11.1.0.8.0
OUI version       : 11.1.0.8.0
OUI location      : /export/oracle/product/11.1.0.1/agent11g/oui
Log file location : /export/oracle/product/11.1.0.1/agent11g/cfgtoollogs/opatch/opatch2013-01-07_21-24-17PM.log

Patch history file: /export/oracle/product/11.1.0.1/agent11g/cfgtoollogs/opatch/opatch_history.txt


ApplySession applying interim patch '8240469' to OH '/export/oracle/product/11.1.0.1/agent11g'


Running prerequisite checks...

Patch 8240469: Optional component(s) missing : [ oracle.rdbms, 11.1.0.7.0 ] , [ oracle.rdbms.util, 11.1.0.7.0 ]

You selected -local option, hence OPatch will patch the local system only.


Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/export/oracle/product/11.1.0.1/agent11g')


Is the local system ready for patching? [y|n]

Y (auto-answered by -silent)
User Responded with: Y
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '8240469' for restore. This might take a while...

Backing up files affected by the patch '8240469' for rollback. This might take a while...


Patching component oracle.rdbms.rman, 11.1.0.7.0...

Patching component oracle.rdbms.rsf, 11.1.0.7.0...
Updating archive file "/export/oracle/product/11.1.0.1/agent11g/lib/libclient11.a"  with "lib/libclient11.a/kpuds.o"

Updating archive file "/export/oracle/product/11.1.0.1/agent11g/lib/libclient11.a"  with "lib/libclient11.a/kpudst.o"


Patching component oracle.rsf.hybrid, 11.1.0.7.0...
Updating archive file "/export/oracle/product/11.1.0.1/agent11g/lib32/libclient11.a"  with "lib32/libclient11.a/kpuds.o"

Updating archive file "/export/oracle/product/11.1.0.1/agent11g/lib32/libclient11.a"  with "lib32/libclient11.a/kpudst.o"

Running make for target irman

Running make for target client_sharedlib

ApplySession adding interim patch '8240469' to inventory


Verifying the update...

Inventory check OK: Patch ID 8240469 is registered in Oracle Home inventory with proper meta-data.

Files check OK: Files from Patch ID 8240469 are present in Oracle Home.

The local system has been patched and can be restarted.


OPatch succeeded.

 Unjarring the oneoff 9676134.zip ...
 /export/oracle/product/11.1.0.1/agent11g/jdk/bin/jar xvf /export/oracle/product/11.1.0.1/agent11g/install/oneoffs/111010/9676134.zip

  created: 9676134/
  created: 9676134/files/
  created: 9676134/files/sysman/
  created: 9676134/files/sysman/admin/
  created: 9676134/files/sysman/admin/default_collection/
 inflated: 9676134/files/sysman/admin/default_collection/database.xmlp
  created: 9676134/files/sysman/admin/metadata/
 inflated: 9676134/files/sysman/admin/metadata/oracle_database.xml
 inflated: 9676134/files/sysman/admin/metadata/rac_database.xml
 inflated: 9676134/README.txt
  created: 9676134/etc/
  created: 9676134/etc/xml/
 inflated: 9676134/etc/xml/ShiphomeDirectoryStructure.xml
 inflated: 9676134/etc/xml/GenericActions.xml
  created: 9676134/etc/config/
 inflated: 9676134/etc/config/actions.xml
 inflated: 9676134/etc/config/inventory.xml
 inflated: 9676134/etc/config/deploy.xml

 Applying opatch for the oneoff 9676134 ...
 /export/oracle/product/11.1.0.1/agent11g/OPatch/opatch apply -invPtrLoc /export/oracle/product/11.1.0.1/agent11g/oraInst.loc -silent   -local  -oh /export/oracle/product/11.1.0.1/agent11g /export/oracle/product/11.1.0.1/agent11g/install/oneoffs/111010/9676134

Invoking OPatch 11.1.0.8.0


Oracle Interim Patch Installer version 11.1.0.8.0
Copyright (c) 2009, Oracle Corporation.  All rights reserved.



Oracle Home       : /export/oracle/product/11.1.0.1/agent11g
Central Inventory : /export/oracle/oraInventory
   from           : /export/oracle/product/11.1.0.1/agent11g/oraInst.loc
OPatch version    : 11.1.0.8.0
OUI version       : 11.1.0.8.0
OUI location      : /export/oracle/product/11.1.0.1/agent11g/oui
Log file location : /export/oracle/product/11.1.0.1/agent11g/cfgtoollogs/opatch/opatch2013-01-07_21-24-34PM.log

Patch history file: /export/oracle/product/11.1.0.1/agent11g/cfgtoollogs/opatch/opatch_history.txt


ApplySession applying interim patch '9676134' to OH '/export/oracle/product/11.1.0.1/agent11g'


Running prerequisite checks...

You selected -local option, hence OPatch will patch the local system only.

Backing up files and inventory (not for auto-rollback) for the Oracle Home

Backing up files affected by the patch '9676134' for restore. This might take a while...
Backing up files affected by the patch '9676134' for rollback. This might take a while...

Patching component oracle.sysman.top.agent, 11.1.0.1.0...
Copying file to "/export/oracle/product/11.1.0.1/agent11g/sysman/admin/default_collection/database.xmlp"
Copying file to "/export/oracle/product/11.1.0.1/agent11g/sysman/admin/metadata/oracle_database.xml"
Copying file to "/export/oracle/product/11.1.0.1/agent11g/sysman/admin/metadata/rac_database.xml"
ApplySession adding interim patch '9676134' to inventory


Verifying the update...
Inventory check OK: Patch ID 9676134 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 9676134 are present in Oracle Home.

Configuration assistant "Agent Oneoff Patch Application" Succeeded


OPatch succeeded.

 Finished one-offs apply...

 Deleting the files...

 Finished deleting the above files...

Running Configuration assistant "Agent Add-on Plug-in"

Configuration assistant "Agent Add-on Plug-in" Succeeded

Running Configuration assistant "Agent Upgrade Configuration"

AgentUpgrade:  Stopping old agent ...

AgentUpgrade:  Resolving emd.properties ...

AgentUpgrade:  Resolving log files ...
AgentUpgrade:  Resolving discover.lst ...

AgentUpgrade:  Resolving security settings ...
AgentUpgrade:  Running migrate functions ...

AgentUpgrade:  Running cluster node upgrade ...
AgentUpgrade:  Migrate Scripts ...

AgentUpgrade:  Starting new agent ...

AgentUpgrade:  Renaming old executables ...

Configuration assistant "Agent Upgrade Configuration" Succeeded

Running Configuration assistant "Agent Upgrade Migration"

Configuration assistant "Agent Upgrade Migration" Succeeded

Run root.sh as prompted. Verify the installation, agent startup, agent upload and communication to the OMS. Verify the targets in Grid control.

> emctl status agent
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 11.1.0.1.0
OMS Version       : 10.2.0.5.0
Protocol Version  : 10.2.0.5.0
Agent Home        : /export/oracle/product/11.1.0.1/agent11g
Agent binaries    : /export/oracle/product/11.1.0.1/agent11g
Agent Process ID  : 14717
Parent Process ID : 29088
Agent URL         : http://slsrac01.ientprise.com:3872/emd/main/
Repository URL    : http://gridcontrol.ientprise.com:4889/em/upload/
Started at        : 2013-01-07 22:41:11
Started by user   : oracle
Last Reload       : 2013-01-10 14:49:53
Last successful upload                       : 2013-01-10 19:44:50
Total Megabytes of XML files uploaded so far :  1173.35
Number of XML files pending upload           :        0
Size of XML files pending upload(MB)         :     0.00
Available disk space on upload filesystem    :    15.04%
Last successful heartbeat to OMS             : 2013-01-10 19:45:09
---------------------------------------------------------------
Agent is Running and Ready

It is not in secure mode as of now. But will be secured soon.

If everything looks OK, do the above procedure for the second node.

Right now, the inventory will show this as a stand-alone agent install.

Inventory listing before change

</HOME>
<HOME NAME="agent11g1" LOC="/export/oracle/product/11.1.0.1/agent11g" TYPE="O" IDX="9"/>
<HOME NAME="agent10g" LOC="/export/oracle/product/10.2.0/agent10g" TYPE="O" IDX="8" REMOVED="T"/>
</HOME_LIST>
</INVENTORY>



We need to update the inventory on both the servers to make this as a cluster installation.

Syntax:

$ORACLE_HOME/oui/bin/runInstaller ORACLE_HOME=/export/oracle/product/11.1.0.1/agent11g -updateNodeList "CLUSTER_NODES={slsrac01,slsrac02}" -local -invPtrLoc /etc/oraInst.loc

slsrac01 |AGENT| /export/oracle/product/11.1.0.1/agent11g
> $ORACLE_HOME/oui/bin/runInstaller ORACLE_HOME=/export/oracle/product/11.1.0.1/agent11g -updateNodeList "CLUSTER_NODES={slsrac01,slsrac02}" -local -invPtrLoc /etc/oraInst.loc
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 13429 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /export/oracle/oraInventory
'UpdateNodeList' was successful.
slsrac01 |AGENT| /export/oracle/product/11.1.0.1/agent11g

Inventory listing after change

</HOME>
<HOME NAME="agent11g1" LOC="/export/oracle/product/11.1.0.1/agent11g" TYPE="O" IDX="9">
   <NODE_LIST>
      <NODE NAME="slsrac01"/>
      <NODE NAME="slsrac02"/>
   </NODE_LIST>
</HOME>


I have had this new 11.1.0.1 agent monitoring targets for couple of days now and it has been stable communicating with 10.2.0.5 OMS.



No comments:

Post a Comment