Grid Control Patch Set Step by Step Install On Linux

Similar documents
Oracle Agile Engineering Data Management

Oracle Application Express: Administration 1-2

FLASHBACK RAC DATABASE TO RESTORE POINT Y. MORAN

Who Can Use the Quick Upgrade Guide?

Oracle Database 10g R2. Installation Guide for OEL5(x86) Writer : 이경호

Oracle Agile Engineering Data Management

Gunes EROL-

Upgrade Oracle Applications from to R12.1.1

Setting Up Oracle for ISC

Setting Up Oracle for Prime Fulfillment

Welcome to the Oracle Enterprise Manager

How to Implement Oracle CPUs for EBS

Oracle Audit Vault. 1 Downloading the Latest Version of This Document. 2 Installing the Oracle Audit Vault Patch Set on the Audit Vault Server

Monitoring Dell 9G Servers in Oracle GRID

USING ENTERPRISE MANAGER TO ACHIEVE GRID AUTOMATION WITH DEPLOYMENT PROCEDURES

W H I T E P A P E R : T E C H N I C AL. Symantec High Availability Solution for Oracle Enterprise Manager Grid Control 11g and Cloud Control 12c

Enterprise Manager Cloud Control 12c Release1 ( ) Installation Akanksha Sheoran Product Management

Using Oracle Clusterware to Protect Oracle Database 10g with Oracle Enterprise Manager Grid Control Integration

Steps how to duplicate a database to a new machine. Version 10gR2

Oracle Enterprise Manager

Manually create oracle 9i database in RedHat Linux Advanced Server 2.1 by M.B.G.Suranga De Silva

1.1 Introduction. 2. Linux Machine This is the Machine where the Functional version of OBIEE is installed with the latest patchset.

Disaster Recovery: Restore Database from One Server to another Server when Different Location

Oracle Enterprise Manager

INTRODUCTION ORACLEAS 10G ARCHITECTURE ARCHITECTURE OVERVIEW

APAR PO06620 Installation Instructions

Masterclass: WebLogic Server for OAS Administrators

Author A.Kishore Convert 11gR2 non-rac database to RAC database using rconfig

Oracle Configuration Manager

SYSTEM DOCUMENTATION. ALEPH 500 Installation Instructions Version 16

Install Legato Networker Server 7.1 on Windows 2000 Professional

Installation/Upgrade Tactics and Architecture for Large Sites

Sql 2005 User's Guide Oracle 11g Release 2

Enterprise Manager Cloud Control 12c Release 4 ( )

ORACLE ORAchk. Using Class of Secure Transport (COST) to Restrict Instance Registration (ÿÿ ID ) APPLIES TO: GOAL

Using Connection Manager to manage seamless seamless HA (RAC & DG) DB connectivity. Mark Abell Oracle DBA / Developer since 1985 (V4)

Maximum Availability Architecture

How To Enable Oracle Database Cloud Service with Property Graph Capabilities

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Overview of the Cisco NCS Command-Line Interface

ORACLE RAC DBA COURSE CONTENT

DBaaS (Oracle and Open Source)

Enterprise Manager: Scalable Oracle Management

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2 NEW

Oracle Database 12c R1

Oracle 11g Release 2 RAC & Grid Infrastructure Administration Course Overview

Oracle Fusion Middleware

BEAAquaLogic. Interaction Studio. Installation and Upgrade Guide

MBS Microsoft Oracle Plug-In 6.82 User Guide

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Evaluated Configuration Guide for Oracle Identity Manager 10g ( )

Installing Oracle9i on IBM xseries 450 with Red Hat Enterprise Linux AS 2.1 for the Itanium Processor

Oracle Utilities Data Model Installation Guide. Release 12.2

METALIB VERSION 4 How to Remove MetaLib Version 3

Oracle is a registered trademark, and Net8, Oracle8i, Oracle Database Configuration Assistant, Oracle intermedia, Oracle

Oracle WebCenter Portal Jump Start Kit (JSK) Readme for Linux 64-bit Operating Systems

Oracle Secure Enterprise Search

Upgrading using 1-system upgrade approach (on a different host)

Migrating to 11g - Step-Ordered Approach. April Sims Southern Utah University OCP 8i,9i,10g

KVS Enterprise Server Installation Worksheet

1 Certification Information

"Charting the Course... Oracle 18c DBA I (3 Day) Course Summary

Oracle 12c Grid Infrastructure Management Repository Everything You Wanted To Know

Oracle Workflow Server Installation Notes

Page 1 نشانی: تهران خیابان شهید بهشتی نرسیده به قائم مقام فراهانی پالک طبقه تلفن: فکس:

OpenManage Integration for VMware vcenter Quick Install Guide for vsphere Client, Version 2.3.1

Installing Prime Optical

Microsoft Windows NT Microsoft Windows SystemWalker/StorageMGR. Installation Guide V10.0L10

2 Upgrading from Oracle Audit Vault x to 10.3.x

Maintaining an Efficient Network

Ralf Durben Business Unit Datenbank. Oracle Corporation

Accenture Enkitec Group PATCHING ORACLE MARTIN BACH #DOAGDB17

1Z Oracle WebLogic Server 12c - Administration I Exam Summary Syllabus Questions

Installation Guide for Siebel Service Manager. For Hewlett-Packard HP-UX Operating System, BEA WebLogic Server, and Oracle Database

Database proactive patching step (PSU) for October 2017

Lab4 - Managing Database Storage Structures Using Enterprise Manager Database Express

Configuring the Oracle Network Environment. Copyright 2009, Oracle. All rights reserved.

REAL APPLICATION TESTING ON 10G STEP BY STEP

Exam Name: Oracle Application Server 10g: Administration I Exam Type: Oracle Exam Code: 1Z0-311 Total Questions: 131

Upgrade Completed Successfully. Has it Really??

KVS Enterprise Server Installation NOTE:

Oracle8i. Release Notes

Oracle 11g Database Replay Inderpal S. Johal. Inderpal S. Johal, Data Softech Inc.

Oracle 11g R2. Installation and Configuration Guide. Abstract

Deploy Oracle GoldenGate Veridata Version 3.0 for comparison between Oracle RDBMS databases replicated using OGG 11gR2

Oracle Communications Data Model

Zend Core TM. Installation and Maintenance Guide. Zend Core for Oracle. By Zend Technologies, Inc. w w w. z e n d. c o m

Convert a Single Instance Database to Oracle RAC 10g on RHEL4 Using Grid Control

ORACLE 11gR2 DBA. by Mr. Akal Singh ( Oracle Certified Master ) COURSE CONTENT. INTRODUCTION to ORACLE

Troubleshooting. Backing up the Monitoring Database in a Multi-Node Setup. This chapter contains the following sections:

Oracle Secure Enterprise Search

Citrix CloudPlatform (powered by Apache CloudStack) Version Patch D Release Notes. Revised July 02, :15 pm Pacific

Oracle ILM Assistant Installation Guide Version 1.4

Installation Guide Release for Microsoft Windows

DocuShare Installation Guide

OOOCTA Version 4.1. Installation and Users Guide.

Grid Control INSTALLATION & CONFIGURATION ESSENTIALS. Michael New

LEI Installation Basics - on Windows and Linux platforms

Transcription:

Grid Control Patch Set 10.2.0.3 Step by Step Install On Linux Alejandro Vargas 11/02/2007 INDEX About This Document...2 1. Check your Grid Control Database Version...2 2. Download the last Patch Set for Both database and Grid Control...2 3. Read the preinstall requisites of the Grid Control Patchset....3 4. Stop all Grid Control Components...3 5. Make a Backup of the complete Grid Control Installation...6 6. If the Database is 10.0.1.0.4 install patch for bug 4329444...7 7. Restart the Database and listener (before Installing the OMS Patch)...9 8. Apply the 10.2.0.3 Patchset to Grid Control...11 9. Install the Patch on the Agent Home...15 10. Repeat Install of the Patchset of the Agents Home on other servers...16 End of the procedure...16

About This Document This document describes the steps used to update Grid Control 10.2.0.1 to 10.2.0.3 on a Linux Red Hat Enterprise Linux AS release 32 bits machine. For a complete reference thoroughly check the Readme of the Grid Control Patchset. 1. Check your Grid Control Database Version {oragrid} /home/oracle [gridsrv] > sqlplus '/ as sysdba' SQL*Plus: Release 10.1.0.4.0 - Production on Thu Feb 8 10:43:06 2007 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production With the Partitioning, OLAP and Data Mining options 2. Download the last Patch Set for Both database and Grid Control Patch#5337014 Patchset for oracle database server: Patchset Version 10.2.0.3, date 29- NOV-2006, size 900M Patch #3731593 Enterprise Manager Grid Control: Patchset Version 10.2.0.3, date 01- FEB-2007, size 528M

3. Read the preinstall requisites of the Grid Control Patchset. Check the Readme of the Grid Control Patchset 4. Stop all Grid Control Components Environment Variables and Aliases used on the Grid Control server for setting up the environment: setenv $BASE_PATH /gridsrv/app01/oracle/scripts/general:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/ sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/x11r6/bin:/root/bin:/usr/local/ maint/oracle setenv ORACLE_BASE /gridsrv/app01/oracle setenv ORACLE_HOME /gridsrv/app01/oracle/oraclehomes/db10g setenv DBS_HOME /gridsrv/app01/oracle/oraclehomes/db10g setenv OMS_HOME /gridsrv/app01/oracle/oraclehomes/oms10g setenv AGENT_HOME /gridsrv/app01/oracle/oraclehomes/agent10g setenv ORACLE_SID emrep 10ag setenv ORACLE_HOME $AGENT_HOME; setenv PATH ${ORACLE_HOME}/bin:${BASE_PATH} 10db setenv ORACLE_HOME $DBS_HOME; setenv PATH ${ORACLE_HOME}/bin:${BASE_PATH} 10gr setenv ORACLE_HOME $OMS_HOME; setenv PATH ${ORACLE_HOME}/bin:${BASE_PATH} - Stop agent

{oragrid} /home/oracle [gridsrv] > 10ag {oragrid} /home/oracle [gridsrv] > emctl stop agent Oracle Enterprise Manager 10g Release 10.2.0.1.0. Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved. Stopping agent... stopped. - Stop all Grid Components {oragrid} /home/oracle [gridsrv] > $ORACLE_HOME/dcm/bin/dcmctl getstate -v Current State for Instance:EnterpriseManager0.gridsrv.testgsm.org Component Type Up Status In Sync Status ================================================================================ 1 home OC4J Up True 2 HTTP_Server HTTP_Server Up True 3 OC4J_EM OC4J Up True 4 OC4J_EMPROV OC4J Up True {oragrid} /home/oracle [gridsrv] > $ORACLE_HOME/opmn/bin/opmnctl stopall opmnctl: stopping opmn and all managed processes... {oragrid} /home/oracle [gridsrv] > $ORACLE_HOME/dcm/bin/dcmctl getstate -v Current State for Instance:EnterpriseManager0.gridsrv.testgsm.org Component Type Up Status In Sync Status ================================================================================

1 home OC4J Down True 2 HTTP_Server HTTP_Server Down True 3 OC4J_EM OC4J Down True 4 OC4J_EMPROV OC4J Down True {oragrid} /home/oracle [gridsrv] > emctl status oms Oracle Enterprise Manager 10g Release 10.2.0.1.0 Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved. Oracle Management Server is Down. - Stop the database {oragrid} /home/oracle [gridsrv] > 10db {oragrid} /home/oracle [gridsrv] > sts emrep {oragrid} /home/oracle [gridsrv] > sqlplus '/as sysdba' SQL*Plus: Release 10.1.0.4.0 - Production on Thu Feb 8 14:03:13 2007 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production With the Partitioning, OLAP and Data Mining options SQL> shutdown immediate; Database closed. Database dismounted. ORACLE instance shut down. SQL> exit

Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production With the Partitioning, OLAP and Data Mining options 5. Make a Backup of the complete Grid Control Installation Check all Directories that need to be backed up. In this case all homes are installed under a same directory: /gridsrv/app01 it contains the inventory, OMS home, agent home and oracle database home. /gridsrv/app01/oracle admin flash_recovery_area OracleHomes oradata orainventory scripts agent10g db10g oms10g - Check available space for backup {oragrid} /home/oracle [gridsrv] > df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 54040380 21712584 29582692 43% / none 8205224 0 8205224 0% /dev/shm /dev/vx/dsk/gridsrv/oracle 110092288 1185576 108055888 2% /gridsrv/oracle - Create a directory to hold the backup mkdir /gridsrv/oracle/grid_control_backup

- Create a tar file containing the whole installation cd /gridsrv/app01 tar cvf /gridsrv/oracle/grid_control_backup/full_backup_08_feb_2007.tar app01/* 6. If the Database is 10.0.1.0.4 install patch for bug 4329444 In case of Grid Control environment installed via "Enterprise Manager using New Database" option or "Enterprise Manager using an existing Database" option with 10.1.0.4 or 10.1.0.5 Database, then before upgrading to 10.2.0.3, apply the patch for bug 4329444 on the Database Home. {oragrid} /home/oragrid/gridpatch10203 [gridsrv] > unzip p4329444_10104_linux.zip Archive: p4329444_10104_linux.zip creating: 4329444/ creating: 4329444/files/ creating: 4329444/files/lib/ creating: 4329444/files/lib/libserver10.a/ inflating: 4329444/files/lib/libserver10.a/qerix.o creating: 4329444/etc/ creating: 4329444/etc/config/ inflating: 4329444/etc/config/inventory inflating: 4329444/etc/config/actions creating: 4329444/etc/xml/ inflating: 4329444/etc/xml/GenericActions.xml inflating: 4329444/etc/xml/ShiphomeDirectoryStructure.xml inflating: 4329444/README.txt

{oragrid} /home/oragrid/gridpatch10203 [gridsrv] > cd 4329444/ {oragrid} /home/oragrid/gridpatch10203/4329444 [gridsrv] > /gridsrv/app01/oracle/oraclehomes/db10g/opatch/opatch apply Invoking OPatch 10.2.0.1.0 Oracle interim Patch Installer version 10.2.0.1.0 Copyright (c) 2005, Oracle Corporation. All rights reserved.. Oracle Home : /gridsrv/app01/oracle/oraclehomes/db10g Central Inventory : /gridsrv/app01/oracle/orainventory from : /gridsrv/app01/oracle/oraclehomes/db10g/orainst.loc OPatch version : 10.2.0.1.0 OUI version : 10.2.0.1.0 OUI location : /gridsrv/app01/oracle/oraclehomes/db10g/oui Log file location : /gridsrv/app01/oracle/oraclehomes/db10g/cfgtoollogs/opatch/opatch- 2007_Feb_08_16-53-51-IST_Thu.log ApplySession applying interim patch '4329444' to OH '/gridsrv/app01/oracle/oraclehomes/db10g' Invoking fuser to check for active processes. Invoking fuser on "/gridsrv/app01/oracle/oraclehomes/db10g/bin/oracle" OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only. Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = '/gridsrv/app01/oracle/oraclehomes/db10g')

Is the local system ready for patching? Do you want to proceed? [y n] y User Responded with: Y Backing up files and inventory (not for auto-rollback) for the Oracle Home Backing up files affected by the patch '4329444' for restore. This might take a while... Backing up files affected by the patch '4329444' for rollback. This might take a while... Patching component oracle.rdbms, 10.1.0.4.0... Updating archive file "/gridsrv/app01/oracle/oraclehomes/db10g/lib/libserver10.a" with "lib/libserver10.a/qerix.o" Running make for target ioracle ApplySession adding interim patch '4329444' to inventory The local system has been patched and can be restarted. OPatch succeeded. 7. Restart the Database and listener (before Installing the OMS Patch) {oragrid} /home/oragrid/gridpatch10203/gc10203/3731593/disk1 [gridsrv] > 10db {oragrid} /home/oragrid/gridpatch10203/gc10203/3731593/disk1 [gridsrv] > sts emrep {oragrid} /home/oragrid/gridpatch10203/gc10203/3731593/disk1 [gridsrv] > sql SQL*Plus: Release 10.1.0.4.0 - Production on Sun Feb 11 10:56:01 2007 Copyright (c) 1982, 2005, Oracle. All rights reserved.

Connected to an idle instance. SQL> startup ORACLE instance started. Total System Global Area 536870912 bytes Fixed Size 780056 bytes Variable Size 178526440 bytes Database Buffers 356515840 bytes Redo Buffers 1048576 bytes Database mounted. Database opened. SQL> {oragrid} [gridsrv] > lsnrctl start LISTENER LSNRCTL for Linux: Version 10.1.0.4.0 - Production on 11-FEB-2007 11:07:20 Copyright (c) 1991, 2004, Oracle. All rights reserved. Starting /gridsrv/app01/oracle/oraclehomes/db10g/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 10.1.0.4.0 - Production System parameter file is /gridsrv/app01/oracle/oraclehomes/db10g/network/admin/listener.ora Log messages written to /gridsrv/app01/oracle/oraclehomes/db10g/network/log/listener.log Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gridsrv.testgsm.org)(PORT=1521))) Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))

STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 10.1.0.4.0 - Production Start Date 11-FEB-2007 11:07:20 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /gridsrv/app01/oracle/oraclehomes/db10g/network/admin/listener.ora Listener Log File /gridsrv/app01/oracle/oraclehomes/db10g/network/log/listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gridsrv.testgsm.org)(PORT=1521))) Services Summary... Service "PLSExtProc" has 1 instance(s). Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service... Service "emrep" has 1 instance(s). Instance "emrep", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully 8. Apply the 10.2.0.3 Patchset to Grid Control Go to the directory where you unzipped the Patchset: {oragrid} [gridsrv] > cd /home/oragrid/gridpatch10203/gc10203/3731593/disk1/ {oragrid} [gridsrv] > ls doc install oui response runinstaller stage

Setup the Display {oragrid} [gridsrv] > setenv DISPLAY OSN10928:0.0 Execute runinstaller {oragrid} /home/oragrid/gridpatch10203/gc10203/3731593/disk1 [gridsrv] >./runinstaller Starting Oracle Universal Installer... Checking installer requirements... The full message on the last screen: Use the following URL to access the Oracle Enterprise Manager 10g Application Server Control Console : http://gridsrv.testgsm.org:1156

The following information is available in: /gridsrv/app01/oracle/oraclehomes/oms10g/install/setupinfo.txt Oracle Application Server 10g 10.1.2.0.2 Usernames and Default password information: Please refer to the Oracle Application Server 10g Administrator Guide for more information. Install Type: J2EE and Web Cache Services Configured Components: Use the following URL to access the Oracle HTTP Server and the Welcome Page: http://gridsrv.testgsm.org:7777 ----------------------------------------- Use the following URL to access the Oracle Enterprise Manager Application Server Control: http://gridsrv.testgsm.org:1156 Instance Name: EnterpriseManager0.gridsrv.testgsm.org Note: The Software Library was not been set up prior to the patchset installation. Because of this some Software Library components and directives required by the Provisioning Pack have not be created. You can set them up post patchset installation by

a. Set up Software Library - For details on setting up the software library, refer to section 15.7 "Setting up and Configuring Software Library with Oracle Enterprise Manager" of Chapter 15 "Additional Configuration Tasks" in the Enterprise Manager Advanced Configuration Guide. b. Once the software library is setup, run following command from OMS ORACLE HOME : /gridsrv/app01/oracle/oraclehomes/oms10g/bin/pardeploy -action deploy -parfile /gridsrv/app01/oracle/oraclehomes/oms10g/sysman/prov/paf/patchadvisor.par force Check OMS Status: {oragrid} /home/oragrid/gridpatch10203/gc10203/3731593/disk1 [gridsrv] > $ORACLE_HOME/bin/emctl status oms Oracle Enterprise Manager 10g Release 3 Grid Control Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved. Oracle Management Server is Up. {oragrid} /home/oragrid/gridpatch10203/gc10203/3731593/disk1 [gridsrv] > $ORACLE_HOME/dcm/bin/dcmctl getstate -v Current State for Instance:EnterpriseManager0.gridsrv.testgsm.org Component Type Up Status In Sync Status ================================================================================ 1 home OC4J Up True 2 HTTP_Server HTTP_Server Up True 3 OC4J_EM OC4J Up True 4 OC4J_EMPROV OC4J Up True

9. Install the Patch on the Agent Home Check Agent Status: {oragrid} /home/oragrid/gridpatch10203/gc10203/3731593/disk1 [gridsrv] > emctl status agent Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0. Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved. --------------------------------------------------------------- Agent Version : 10.2.0.3.0 OMS Version : 10.2.0.3.0 Protocol Version : 10.2.0.2.0 Agent Home : /gridsrv/app01/oracle/oraclehomes/agent10g Agent binaries : /gridsrv/app01/oracle/oraclehomes/agent10g Agent Process ID : 20304 Parent Process ID : 20284 Agent URL : https://gridsrv.testgsm.org:3872/emd/main/ Repository URL : https://gridsrv.testgsm.org:1159/em/upload Started at : 2007-02-11 12:50:49 Started by user : oracle Last Reload : 2007-02-11 12:52:36 Last successful upload : 2007-02-11 12:59:20 Total Megabytes of XML files uploaded so far : 10.42 Number of XML files pending upload : 0

Size of XML files pending upload(mb) : 0.00 Available disk space on upload filesystem : 50.48% Last successful heartbeat to OMS : 2007-02-11 12:58:57 --------------------------------------------------------------- Agent is Running and Ready 10. Repeat Install of the Patchset of the Agents Home on other servers End of the procedure