Anda di halaman 1dari 1

Oracle OPatch User's Guide

11g Release 2 (11.2) for Windows and UNIX


E15429-01

Contents Index
Previous Next

3 OPatch Prerequisite Checks
Before you use the OPatch command and available options, you need to check that OPatch prerequisites have been fulfilled. The following sections of this chapter provide the needed information:
Checks for Single Instances and Oracle Real Application Clusters
Additional Checks for Oracle Real Application Clusters
Checks for Single Instances and Oracle Real Application Clusters
Before you invoke OPatch, perform the following prerequisite checks:
Check ORACLE_HOME Environment Variable
OPatch verifies if the Oracle home is present. You must ensure that the ORACLE_HOME environment variable is set to the Oracle home of the product you are trying to patch. Check your respective vendor documentation for the details to set the environment variable.
Check for JRE and JDK
OPatch requires JRE version 1.4 or higher to work properly.
Check for System Space
When OPatch processes the script for the installation of a patch, it simultaneously generates a Rollback script and saves a copy of every file edited or deleted during the patching. OPatch also backs up the inventory information. Consequently, Oracle recommends that you have sufficient system space to accommodate the patch and the backup information.
Check for Oracle Universal Installer and OPatch Version Compatibility
OPatch 11.2 requires Oracle Universal Installer 11.2 or higher to work properly. If the Oracle Universal Installer version is less than what OPatch requires, OPatch errors out.
Check for Patch Applicable on Operating System
OPatch detects if a particular patch is applicable for an operating system. If it is not applicable, OPatch displays an error message.
Check for System Commands
OPatch supports a set of properties used for various software operations. You can use these properties to control the internal operations of OPatch. By default, OPatch uses the standard Java property format to specify the properties. The following list shows the default properties and their values:
fuser=/sbin:/usr/sbin
ar=/usr/ccs/bin/
make=/usr/bin
You can specify OPatch properties in the following ways:
Use the default OPatch properties.
Specify the location of the user-defined properties file.
Use the command line. The syntax is as follows:
PROPERTY_NAME=VALUE
Example: fuser=/sbin:/usr/sbin
Additional Checks for Oracle Real Application Clusters
For Oracle Real Application Clusters (RAC), ensure that you perform the following prerequisite checks besides the other checks listed in the previous sections.
Check for User Equivalence
You must ensure that the cluster systems have user equivalence set for the user installing Oracle Clusterware and Oracle Real Application Clusters. On UNIX, this means rsh , ssh or both should be set up on the cluster systems. On Windows, this means the same <domain>\<user> should have administrative privileges on all the cluster systems and the systems should be a member of the <domain>.
If the user equivalence is set properly, the following command will work properly:
$ rsh <nodename> date
Check for OPatch lsinventory
Ensure that you are able to invoke the opatch lsinventory -detail command and can see the node information being printed out. If the node information is not correctly printed out, you need to update the node list. For information on updating the node list, see the Oracle Universal Installer User's Guide.
The following example shows the command output for the 134 installed products:
Invoking OPatch 11.1.0.6.6

Oracle Interim Patch Installer version 11.1.0.6.6
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : /scratch/usernameusername/11.2db
Central Inventory : /home/username/newDB/oraInventory
from : /etc/oraInst.loc
OPatch version : 11.1.0.6.6
OUI version : 11.2.0.1.0
OUI location : /scratch/username/11.2db/oui
Log file location : /scratch/username/11.2db/cfgtoollogs/opatch/opatch2009-07-27_10-18-36AM.log
Patch history file: /scratch/username/11.2db/cfgtoollogs/opatch/opatch_history.txt
Lsinventory Output file location : /scratch/username/11.2db/cfgtoollogs/opatch/lsinv/lsinventory2009-07-27_10-18-36AM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Database 11g 11.2.0.1.0
There are 1 products installed in this Oracle Home.
Installed Products (134):
Agent Required Support Files 10.2.0.4.2
Assistant Common Files 11.2.0.1.0
Bali Share 1.1.18.0.0
Buildtools Common Files 11.2.0.1.0
Character Set Migration Utility 11.2.0.1.0
Cluster Verification Utility Common Files 11.2.0.1.0
Database Configuration and Upgrade Assistants 11.2.0.1.0
Database SQL Scripts 11.2.0.1.0
Database Workspace Manager 11.2.0.1.0
Deinstallation Tool 11.2.0.1.0
Enterprise Edition Options 11.2.0.1.0
Enterprise Manager Agent 10.2.0.4.2
Enterprise Manager Agent Core Files 10.2.0.4.2
Enterprise Manager Common Core Files 10.2.0.4.2
Enterprise Manager Common Files 10.2.0.4.2
Enterprise Manager Database Plugin -- Agent Support 11.2.0.1.0
Enterprise Manager Database Plugin -- Repository Support 11.2.0.1.0
Enterprise Manager Grid Control Core Files 10.2.0.4.2
Enterprise Manager Minimal Integration 11.2.0.1.0
Enterprise Manager plugin Common Files 11.2.0.1.0
Enterprise Manager Repository Core Files 10.2.0.4.2
Exadata Storage Server 11.2.0.1.0
Expat libraries 2.0.1.0.1
Generic Connectivity Common Files 11.2.0.1.0
HAS Common Files 11.2.0.1.0
HAS Files for DB 11.2.0.1.0
Installation Common Files 11.2.0.1.0
Installation Plugin Files 11.2.0.1.0
Installer SDK Component 11.2.0.1.0
JAccelerator (COMPANION) 11.2.0.1.0
LDAP Required Support Files 11.2.0.1.0
OLAP SQL Scripts 11.2.0.1.0
Oracle 11g Warehouse Builder Required Files 11.2.0.1.0
Oracle Advanced Security 11.2.0.1.0
Oracle Application Express 11.2.0.1.0
Oracle Call Interface (OCI) 11.2.0.1.0
Oracle Clusterware RDBMS Files 11.2.0.1.0
Oracle Code Editor 1.2.1.0.0I
Oracle Configuration Manager 10.3.1.1.0
Oracle Configuration Manager Deconfiguration 10.3.1.0.0
Oracle Containers for Java 11.2.0.1.0
Oracle Core Required Support Files 11.2.0.1.0
Oracle Data Mining RDBMS Files 11.2.0.1.0
Oracle Database 11g 11.2.0.1.0
Oracle Database 11g 11.2.0.1.0
Oracle Database 11g Multimedia Files 11.2.0.1.0
Oracle Database Deconfiguration 11.2.0.1.0
Oracle Database Gateway for ODBC 11.2.0.1.0
Oracle Database User Interface 2.2.13.0.0
Oracle Database Utilities 11.2.0.1.0
Oracle Database Vault J2EE Application 11.2.0.1.0
Oracle Database Vault option 11.2.0.1.0
Oracle DBCA Deconfiguration 11.2.0.1.0
Oracle Display Fonts 9.0.2.0.0
Oracle Enterprise Manager Console DB 11.2.0.1.0
Oracle Extended Windowing Toolkit 3.4.47.0.0
Oracle Globalization Support 11.2.0.1.0
Oracle Globalization Support 11.2.0.1.0
Oracle Help For Java 4.2.9.0.0
Oracle Help for the Web 2.0.14.0.0
Oracle Ice Browser 5.2.3.6.0
Oracle Internet Directory Client 11.2.0.1.0
Oracle Java Client 11.2.0.1.0
Oracle JDBC Server Support Package 11.2.0.1.0
Oracle JDBC/OCI Instant Client 11.2.0.1.0
Oracle JDBC/THIN Interfaces 11.2.0.1.0
Oracle JFC Extended Windowing Toolkit 4.2.36.0.0
Oracle JVM 11.2.0.1.0
Oracle Label Security 11.2.0.1.0
Oracle LDAP administration 11.2.0.1.0
Oracle Locale Builder 11.2.0.1.0
Oracle Message Gateway Common Files 11.2.0.1.0Oracle Multimedia 11.2.0.1.0Oracle Multimedia Annotator 11.2.0.1.0Oracle Multimedia Client Option 11.2.0.1.0Oracle Multimedia Java Advanced Imaging 11.2.0.1.0Oracle Multimedia Locator 11.2.0.1.0Orac

Previous Next
Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserv ed.
Legal Notices

Contents Index
OPatch Prerequisite Checks file:///E:/dba docks/OPatch Prerequisite Checks.htm
1 of 1 6/27/2014 11:23 AM