Oracle® Universal Installer and OP atch User’s Guide 11g Release 1 (11.1) for W

Oracle® Universal Installer and OP atch User’s Guide 11g Release 1 (11.1) for W indows and UNIX B31207-07 June 2009 Oracle Universal Installer and OPatch User’s Guide, 11g Release 1 (11.1) for Windows and UNIX B31207-07 Copyright © 1996, 2009, Oracle and/or its affiliates. All rights reserved. Primary Author: Michael Zampiceni This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this software or related documentation is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065. This software is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications which may create a risk of personal injury. If you use this software in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe use of this software. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software in dangerous applications. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. This software and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services. iii Contents Preface ............................................................................................................................................................... xiii Audience..................................................................................................................................................... xiii Documentation Accessibility................................................................................................................... xiii Structure ..................................................................................................................................................... xiv Conventions ............................................................................................................................................... xv 1 Introduction to Oracle Universal Installer System Requirements.............................................................................................................................. 1-1 Key Features .............................................................................................................................................. 1-1 Utilities....................................................................................................................................................... 1-3 Oracle Universal Installer ................................................................................................................. 1-3 OPatch.................................................................................................................................................. 1-3 Actions Performed by the Utilities ....................................................................................................... 1-3 Installation........................................................................................................................................... 1-3 Deinstallation...................................................................................................................................... 1-3 Cloning ................................................................................................................................................ 1-3 Patching ............................................................................................................................................... 1-3 Upgrades and Patchsets.................................................................................................................... 1-4 Adding Nodes .................................................................................................................................... 1-4 Inventory Operations ........................................................................................................................ 1-4 Attaching Oracle Homes............................................................................................................ 1-4 Detaching Oracle Homes ........................................................................................................... 1-4 Updating the Node List ............................................................................................................. 1-4 Major Entities Created............................................................................................................................. 1-5 Inventory ............................................................................................................................................. 1-5 Oracle Home ....................................................................................................................................... 1-5 Modes of Installation............................................................................................................................... 1-5 Interactive Mode ................................................................................................................................ 1-5 Suppressed-Interactive Mode........................................................................................................... 1-5 Silent Mode ......................................................................................................................................... 1-5 Cluster Mode ...................................................................................................................................... 1-6 2 Managing Oracle Homes Introduction to Oracle Homes .............................................................................................................. 2-1 Installing an Oracle Product ................................................................................................................. 2-1 Removing Oracle Homes ....................................................................................................................... 2-2 Determining the Default Oracle Home .............................................................................................. 2-2 Multiple Oracle Homes .......................................................................................................................... 2-3 Target Home ...................................................................................................................................... 2-3 Oracle Universal Installer Inventory ................................................................................................... 2-3 Structure of the Oracle Universal Installer Inventory ................................................................. 2-3 Central Inventory Pointer File .................................................................................................. 2-4 Central Inventory ....................................................................................................................... 2-4 Oracle Home Inventory ............................................................................................................ 2-5 Creating the Central Inventory ....................................................................................................... 2-7 Using the Session Variables ...................................................................................................... 2-7 Verifying the Operation ............................................................................................................ 2-8 Detaching Oracle Homes from the Central Inventory ................................................................. 2-8 Using Optional Flags ................................................................................................................. 2-8 Removing the Central Inventory ............................................................................................. 2-9 Consolidating Multiple Central Inventories .................................................................................. 2-9 Upgrading and Patching the Oracle Home ................................................................................ 2-10 Cloning Oracle Homes .................................................................................................................. 2-10 Backing up the Inventory .............................................................................................................. 2-10 Recovering from Inventory Corruption ...................................................................................... 2-11 Diagnosing and Recovering from Central Inventory Corruption ................................... 2-11 Diagnosing and Recovering from Oracle Home Inventory Corruption ......................... 2-12 Real Application Clusters ............................................................................................................. 2-12 Updating the Nodes of a Cluster .......................................................................................... 2-12 Diagnosing and Recovering from RAC Oracle Home Inventory Corruption ............... 2-12 Home Selector (Available on Win32 Platforms) ............................................................................. 2-13 Home Selector Overview .............................................................................................................. 2-13 How Home Selector Works .......................................................................................................... 2-13 Oracle Home Directory Structure for Windows Platforms ..................................................... 2-14 Optimal Flexible Architecture Directory Structure (on UNIX) ............................................... 2-14 ORACLE_BASE Directory ..................................................................................................... 2-15 ORACLE_HOME Directory .................................................................................................. 2-15 3 Customizing and Creating Response Files About Response Files ............................................................................................................................. 3-1 What Is a Silent Installation? ........................................................................................................... 3-1 What Is a Response File? .................................................................................................................. 3-1 Why Perform a Silent Installation? ................................................................................................. 3-2 Modifying a Response File .................................................................................................................... 3-2 Creating a Response File With Record Mode .................................................................................... 3-3 Using Record Mode .......................................................................................................................... 3-3 Response File Format .............................................................................................................................. 3-4 Variable Values .................................................................................................................................. 3-4 Variable Lookup Order ............................................................................................................. 3-4 v Response File Entries Order ...................................................................................................... 3-5 Setting the Recommendation Value ........................................................................................ 3-5 Comments .......................................................................................................................................... 3-5 Headers ............................................................................................................................................... 3-5 Response File Parameters ................................................................................................................ 3-6 Installing with a Response File ......................................................................................................... 3-12 Specifying a Response File ............................................................................................................ 3-13 Optional Parameters When Specifying a Response File ........................................................... 3-13 Setting Response File Variables From the Command Line ...................................................... 3-14 Specifying the Value of a Session Variable ......................................................................... 3-14 Specifying the Value of a Component Variable ................................................................. 3-14 4 Installing Products Checking Prerequisites Before Installation ....................................................................................... 4-1 Installing Oracle Products ..................................................................................................................... 4-2 Getting Help While Installing Oracle Products ............................................................................ 4-2 About the ORAPARAM.INI File .................................................................................................... 4-3 Modes of Installation ........................................................................................................................ 4-5 Installation Media ............................................................................................................................. 4-6 Installing from a Single CD-ROM ........................................................................................... 4-6 Installing from Multiple CD-ROMs ........................................................................................ 4-7 Installing from a staged HTTP location .................................................................................. 4-8 Special Instructions for UNIX Users .............................................................................................. 4-8 Failed to Connect to Server Error ............................................................................................ 4-9 Providing a UNIX Installer Location with Root Privileges ................................................. 4-9 Providing a UNIX Group Name ........................................................................................... 4-10 Deinstalling Oracle Products ............................................................................................................. 4-10 Removing Oracle Products and Oracle Homes ......................................................................... 4-10 Deinstalling Top-level Products That Have Dependents ......................................................... 4-11 Silent Deinstallation ....................................................................................................................... 4-11 Immediately Displaying the Inventory Dialog Box ........................................................... 4-11 Hiding the Inventory Dialog Box ......................................................................................... 4-11 Hiding the Deinstallation Confirmation and Progress Dialog Boxes ............................. 4-12 Running Oracle Universal Installer After Installation ................................................................. 4-12 Starting Oracle Universal Installer .............................................................................................. 4-12 Command Line Arguments .......................................................................................................... 4-13 Using Oracle Universal Installer Exit Codes .............................................................................. 4-14 Cloning Considerations ................................................................................................................. 4-15 About Oracle Universal Installer Log Files ..................................................................................... 4-15 5 Installing Cluster Environments Oracle Universal Installer and Real Application Clusters .............................................................. 5-1 Oracle Clusterware ........................................................................................................................... 5-2 Installed Real Application Clusters Components ........................................................................ 5-2 General System Installation Requirements for Real Application Clusters ................................. 5-3 Hardware Requirements for Real Application Clusters Setup .................................................. 5-3 Software Requirements for Real Application Clusters Setup ..................................................... 5-3 Cluster Setup and Pre-installation Configuration Tasks for Real Application Clusters .......... 5-4 Pre-installation Tasks for Real Application Clusters on UNIX ...................................................... 5-4 Logging In to the System as root .................................................................................................... 5-4 Creating Required UNIX Groups and Users ................................................................................ 5-5 Creating Identical Users and Groups on Other Cluster Nodes .......................................... 5-5 Configuring SSH on all Cluster Nodes ................................................................................... 5-6 Configuring the Oracle User Environment ................................................................................... 5-9 Checking the Hardware Requirements ......................................................................................... 5-9 Checking the Network Requirements ............................................................................................ 5-9 Network Hardware Requirements .......................................................................................... 5-9 Network Parameter Requirements .......................................................................................... 5-9 IP Address Requirements ...................................................................................................... 5-10 Node Time Requirements ...................................................................................................... 5-10 Checking Software Requirements ............................................................................................... 5-10 Configuring Kernel Parameters ................................................................................................... 5-10 Identifying Required Software Directories ................................................................................ 5-10 Oracle Base Directory ............................................................................................................. 5-11 Oracle Inventory Directory .................................................................................................... 5-11 Oracle Clusterware Home Directory ................................................................................... 5-12 Oracle Home Directory .......................................................................................................... 5-12 Identifying or Creating an Oracle Base Directory ..................................................................... 5-12 Creating the Clusterware Home Directory ................................................................................ 5-12 Pre-installation Tasks for Real Application Clusters on Windows ............................................ 5-13 Checking Hardware and Software Certification ....................................................................... 5-13 Checking the Hardware Requirements ...................................................................................... 5-14 Hard Disk Space Requirements ............................................................................................ 5-14 Checking the Software Requirements ......................................................................................... 5-14 Checking the Network Requirements ......................................................................................... 5-14 Network Hardware Requirements ....................................................................................... 5-14 IP Address Requirements ...................................................................................................... 5-14 Checking Individual Component Requirements ...................................................................... 5-15 Configuring Storage for Oracle Clusterware .................................................................................. 5-15 Installing Oracle Clusterware on UNIX ........................................................................................... 5-15 Running the Oracle Universal Installer to Install Oracle Clusterware ................................... 5-15 Running the Oracle Universal Installer in Silent Mode to Install Oracle Clusterware ........ 5-16 Oracle Clusterware Background Processes ................................................................................ 5-16 Installing Oracle Clusterware on Windows .................................................................................... 5-16 Running the Oracle Universal Installer to Install Oracle Clusterware ................................... 5-16 Running the Oracle Universal Installer in Silent Mode to Install Oracle Clusterware ........ 5-19 Oracle Clusterware Background Processes ................................................................................ 5-19 Adding More Nodes to the Cluster for Mass Deployment .......................................................... 5-19 Installing Product Software on a Cluster ........................................................................................ 5-20 Cluster Detection ............................................................................................................................ 5-20 Availability Checking .................................................................................................................... 5-20 Cluster Installation ......................................................................................................................... 5-21 Cluster Installation in Silent Mode .............................................................................................. 5-21 vii Cluster Deinstallation .................................................................................................................... uploads/s3/ opatch-guide.pdf

  • 25
  • 0
  • 0
Afficher les détails des licences
Licence et utilisation
Gratuit pour un usage personnel Attribution requise
Partager