| Oracle Enterprise Manager 10g Grid Control ReadMe for Linux x86 (32-bit) and Microsoft Windows x86 (32-bit) 10g Release 5 (10.2.0.5)
Last updated: February 2009 1. Introduction 2. Installing Oracle Enterprise Manager 10g Grid Control Release 2 (10.2.0.1/10.2.0.2) and upgrading it to Oracle Enterprise Manager 10g Grid Control Release 5 (10.2.0.5) 3. Upgrading any existing Oracle Enterprise Manager 10g Grid Control Release 2 (10.2.0.x)to Oracle Enterprise Manager 10g Grid Control Release 5 (10.2.0.5) 4. Upgrading any existing Oracle Management Agent Release 1 (10.1.0.x) or Release 2 (10.2.0.x) or higher to Oracle Management Agent Release 5 (10.2.0.5) This document provides information about installing and upgrading Oracle Enterprise Manager 10g Grid Control and Oracle Management Agent for the following cases: -----------------------------------------------------------------------------------------------------------------------------
Download the GridControl_10.2.0.5_<platform name>.zip patch set installation archive from the following location to any directory of a host where Oracle Management Service (OMS) is running. http://www.oracle.com/technology/software/products/oem/index.html $ unzip GridControl_10.2.0.5_<platform name>.zip This command extracts the following files and directory:
NOTE: <platform name> will be "LINUX" or "Win32" depending on the platform for which you are installing. For installing Enterprise Manager 10g Grid Control Release 5 (10.2.0.5), refer to the Release Notes available in the "doc" directory. - p3731593_10205_<platform name>.zip is the ZIP file that contains 10.2.0.5 patch set software. This zip can be used for:
NOTE: This will not upgrade the database in which the Management Repository (sysman schema) resides. In order to install Enterprise Manager 10g Grid Control Release 5 (10.2.0.5), you must have 10.2.0.1.0 (10.2.0.2.0 for Windows) release up and running. The Enterprise Manager Grid Control software can be downloaded from the following location:
---------------------------------------------------------------------------------------------------------
Installing Enterprise Manager 10g Grid Control Release 2 (10.2.0.1) requires previous release of Grid Control to be 10.2.0.1.0.or higher (10.2.0.2.0 or higher for Microsoft Windows) . If you do not have a previous release, but want to have a 10.2.0.5.0 Grid Control environment, then first install 10.2.0.1.0 Grid Control and then upgrade it to 10.2.0.5.0. A. Download Enterprise Manager 10g Grid Control Release 2 (10.2.0.1) from the following location: http://www.oracle.com/technology/software/products/oem/index.htm Refer to the Enterprise Manager Grid Control Installation and Basic Configuration Install guide for the instructions on installing the Grid Control 10.2.0.1.0 available at the following URL. This URL takes you to the Enterprise Manager documentation library page, and from the table, click View Library. On the following page, click the Documentation tab, and then click the name of the document you want to access. http://www.oracle.com/technology/documentation/oem.html If you do not have Grid control installed in your environment, then fast and recommended method is to perform a software-only installation of 10.2.0.5. Refer to "Installing Software-Only and Configuring Later" described in Enterprise Manager Grid Control Installation and Basic Configuration Guide available at the following URL. This URL takes you to the Enterprise Manager documentation library page, and from the table, click View Library. On the following page, click the Documentation tab, and then click the name of the document you want to access. http://www.oracle.com/technology/documentation/oem.html This method does not require any DST patches because we will be upgrading the Grid Control 10.2.0.1.0 to 10.2.0.5.0 directly using the software-only installation method . http://www.oracle.com/technology/documentation/oem.html Download the GridControl_10.2.0.5_<platform name>.zip patch set installation archive to any directory on the host where Oracle Management Service is running. The patch set can be downloaded from the following location:
To understand how to patch Oracle Management Service Release 2 (10.2.0.1) to 10.2.0.5.0, refer to section 4.2 "Upgrading Oracle Management Service" of the Release Notes. 1. Oracle recommends that you back up the Oracle home that will be upgraded using this Patch Set. In the case of a Management Repository, Oracle recommends that you back up the repository database before applying the Patch set because the Patch Set makes changes to the repository that cannot be rolled back. Also, back up the Oracle Inventory directory. http://www.oracle.com/technology/documentation/oem.html Above URL takes you to the Enterprise Manager documentation library page, and from the table, click View Library. On the following page, click the Documentation tab, and then click the name of the document you want to access. Above URL takes you to the Enterprise Manager documentation library page, and from the table, click View Library. On the following page, click the Documentation tab, and then click the name of the document you want to access. Connected to the Database as sysdba and run the following query to see if the Partioning Option is installed:
Should give VALUE=TRUE. Note: No additional partitioning license is required for the Database housing the Grid control repository, as it is basic Grid Control requirement. 5.Both the DBSNMP and SYSMAN users require the EXECUTE privilege on the DBMS_RANDOM package in the Repository Database. You must grant the privilege to both users as follows: a. Log into the Repository Database as SYSDBA.
SQL> grant execute on dbms_random to dbsnmp;
c. Verify that the query below does not return any invalid objects:
6. If the repository database is configured with the UTF8 character set, the value of the NLS_LENGTH_SEMANTICS needs to be set to BYTE. To check this in the database: SQL> SELECT value FROM nls_database_parameters
If the value is not set to 'BYTE', change it by running this command:
Once the OMS upgrade is successful then revert the Data Guard force logging changes: SQL> CONNECT / AS SYSDBA;
a) Log into the Repository Database as SYSMAN
9. Make sure that there are no invalid sysman objects present in your Grid Control repository. * Note *: Oracle recommends that you back up your database before you perform the upgrade operation. Perform the following steps before upgrading:
b) Check if there are any invalid SYSMAN objects
c) Go to step b again to be sure all SYSMAN objects are valid. If you still have invalid SYSMAN objects that are not in the Recycle bin, please contact Oracle support. d) Check to be sure there is no invalid SYS object:
e) If any of the packages fail to become valid even after recompilation, then Contact Oracle Support to assist you.
SET SERVEROUTPUT ON SIZE 4000
SPOOL run_after_upgrade.sql
DELETE MGMT_TYPE_PROPERTIES WHERE TARGET_TYPE IN ('RHreposURL','SusereposURL','SolarisreposURL','WindowsreposURL','PatchCrossRef' ); COMMIT;
c) The above step will generate a file 'run_after_upgrade.sql'. For example: INSERT INTO MGMT_PATCHING_PROPERTIES(PROPERTY_TYPE,PROPERTY_NAME,PROPERTY_VALUE)values('os_patching_repos_url','RHreposURL','ftp://stack34.us.oracle.com/pub/rpm');
COMMIT; PL/SQL procedure successfully completed. + If there are no INSTERT statement then you are not required to run this file after the Grid control upgrade is done successfully + If there are INSTERT statements then remove or comments out the line "PL/SQL procedure successfully completed" and then run the 'run_after_upgrade.sql'on the Grid control Repository database as sysman user after the Grid control upgrade is done successfully 11.If your 10.1.0.5.0 database housing the Grid control repository does not have CPU Jan 2008 patch 6826532 applied then make sure that you apply this patch or if you have applied latest CPU Jan 2009 patch 7592360 on your database housing the Grid control repository then you need not apply the old CPU Jan 2008 patch 6826532. Note: CPU Jan 2008 patch 6826532 and CPU Jan 2009 patch 7592360 are not applicable on Windows platform 12. If you have applied the latest CPU Jan 2009 patch 7608318 to your Oracle Management Service (OMS) before upgrading, then you may receive a warning about patch conflict during the product specific prerequisite check. You can ignore this warning and continue with the 10.2.0.5.0 upgrade. The installer will automatically rollback the patch. 13.If you have applied the latest CPU Jan 2009 patch 7608318 to your Oracle Management Service (OMS) before upgrading, then make sure that permission of the following files under the Oracle home of directory of OMS <ORACLE_HOME>/rdbms/admin is set to 664.
If the permission is not set to 664 for the above files then during the upgrade you will get permission denied error,
14. Before proceeding with the upgrade, make sure that the dbms jobs are stopped. To do this, follow these steps:
c) Stop the Repository Database
15.Make sure DBMS JOBS and DBMS Scheduler (for version 10.1+ RDBMS) in the Enterprise Manager Grid Control Repository are turned off during the Enterprise Manager schema upgrade process. To perform this task, follow these steps: a.Log into the repository as SYSMAN.
1. Write down the values of job_queue_processes for each of the instances after you run the following command: SQL> select a.instance_name as sid, b.value as jobqueue from gv$instance a, gv$parameter b where a.inst_id = b.inst_id and b.name='job_queue_processes'; 2. Turn off DBMS JOBS by running the following command:
Be sure there were no active jobs running by waiting until the following query returns 0:
3. Turn off the DBMS Scheduler by running (for version 10.1+ RDBMS) the following command: SQL> exec dbms_scheduler.set_scheduler_attribute ('SCHEDULER_DISABLED','TRUE'); Be sure there were no active schedules running by waiting until the following query returns 0 (for version 10.1+ RDBMS): SQL> select count(*) from dba_scheduler_running_jobs where SLAVE_PROCESS_ID IS NOT NULL;
a.Log into the repository as SYSMAN
Note: Refer to upgrade checklist Note 464674.1 the on My Oracle Support. This note will be updated frequently with the latest information. --------------------------------------------------------------------------------------------------------------------------
Make sure that you follow the Preinstallation steps decribed in the above section 2.2 before upgarding any existing Oracle Enterprise Manager 10g Grid Control Release 2 (10.2.0.x) or higher to Oracle Enterprise Manager 10g Grid Control Release 5 (10.2.0.5) Note: Make sure that you first upgrade the Oracle Management Service (OMS), and then the Management Agent before upgrading the
Enter the following command to unzip and extract the installation files from the downloaded software. For details on how to download the software refer to section 1.2 above. $ unzip p3731593_10205_<platform name>.zip
+ Navigate to the 3731593/Disk1 subdirectory $ cd 3731593/Disk1 + Set the ORACLE_HOME variable to the Oracle home directory of Oracle Management Service (OMS). + Execute the runInstaller
Note: This will only upgrade your OMS and Management repository (sysman schema) + Set the ORACLE_HOME variable to the Oracle home directory of Management Agent. + Execute the runInstaller
Note: This will only upgrade your Management Agent residing on the OMS host. For detailed instructions refer to section 4 "Installation Procedure" of the Release notes under the "doc" directory. The upgrade process then upgrades the Oracle Management Service (OMS), Oracle Management Repository and the Management Agent on the same host as the OMS to the latest Enterprise Manager 10g Release 5 (10.2.0.5). This will not upgrade the Database in which Management repository resides. If your Additional management agent version is 10.1.0.x and you want to upgrade it to 10.2.0.5 version then you have to first download the 10.2.0.5.0 Agent Software from the Oracle Technology Network (OTN):- http://www.oracle.com/technology/software/products/oem/htdocs/agentsoft.html Follow the instructions to upgrade the management agent from the Chapter "Upgrading Enterprise Manager Grid Control" of the Enterprise Manager Grid Control Installation and Basic Configuration Guide available at- http://www.oracle.com/technology/documentation/oem.html This URL takes you to the Enterprise Manager documentation library page, and this URL may appear in many parts of the Release Notes. Access this URL to reach the library page, and from the table, click View Library. On the following page, click the Documentation tab, and then click the name of the document you want to access. If you have Additional management agent version 10.2.0.x or higher and want to upgrade it to 10.2.0.5 version then follow the steps from the section "Upgrading Management Agent" of the Release note.
|
