Upgrade to Oracle Database 11 R2

  • View
    492

  • Download
    2

Embed Size (px)

Text of Upgrade to Oracle Database 11 R2

Upgrade Guide Upgrade to Oracle Database 11 Release 2 (11.2): WindowsBased on Oracle Patch Set Release 11.2.0.2Target Audience Technology Consultants System Administrators Database Administrators Developers

PUBLIC Document version: 2.10 2011-12-14

Typographic Conventions

Example

Description

Example Example ExampleExample

Angle brackets indicate that you replace these words or characters with appropriate entries to make entries in the system, for example, Enter your . Arrows separating the parts of a navigation path, for example, menu options Emphasized words or expressions Words or characters that you enter in the system exactly as they appear in the documentation Textual cross-references to an internet address Quicklinks added to the internet address of a homepage to enable quick access to specific content on the Web Hyperlink to an SAP Note, for example, SAP Note 123456 Words or characters quoted from the screen. These include field labels, screen titles, pushbutton labels, menu names, and menu options. Cross-references to other documentation or published works Output on the screen following a user action, for example, messages Source code or syntax quoted directly from a program File and directory names and their paths, names of variables and parameters, and names of installation, upgrade, and database tools Technical names of system objects. These include report names, program names, transaction codes, database table names, and key concepts of a programming language when they are surrounded by body text, for example, SELECT and INCLUDE Keys on the keyboard

http://www.sap.com /example

123456 Example

Example

EXAMPLE

EXAMPLE

2/54

PUBLIC

2011-12-14

Document History

CAUTION

Before you start the implementation, make sure you have the latest version of this document. You can find the latest version on SAP Service Marketplace http://service.sap.com/ instguides. The following table provides an overview on the most important document changes:Version Date Description

2.10 2.00 1.00

2011-12-14 2011-05-17 2010-06-02

Minor changes in chapters MSCS Only: Setting Up a Shared Database Directory in Oracle Home and Changing the Registry Value of Oracle Autostart Major update for Oracle Patch Set Release 11.2.0.2 Initial Version

2011-12-14

PUBLIC

3/54

Table of Contents

Chapter 1 1.1 1.2 1.3 Chapter 2 2.1 2.2 2.3 2.4 Chapter 3 3.1 3.2 3.3 Chapter 4 4.1 4.1.1 4.1.2 4.1.3 4.2 4.3 4.4 4.5 Chapter 5 5.1 5.2 5.3 5.4

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 New Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 SAP Notes for the Upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 More Information on SAP Service Marketplace . . . . . . . . . . . . . . . . . . . . . . . . 10 Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Checking the Original Version of Your Database . . . . . . . . . . . . . . . . . . . . . . . Checking Hardware and Software Requirements . . . . . . . . . . . . . . . . . . . . . . . Checking Additional Requirements for the Upgrade . . . . . . . . . . . . . . . . . . . . Using Multiple Oracle Homes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Preparation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Checking the SAP System Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MSCS Only: Removing the Database from the Cluster Group . . . . . . . . . . . . . MSCS Only: Upgrading to OFS 3.4.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Oracle Database Upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing the Oracle Database Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing the Oracle 11g Server Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing Required Patches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Updating the Oracle 11.2.0.2 Client Software . . . . . . . . . . . . . . . . . . . . . . . . . . Copying and Adapting the SQL*Net Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Backing Up the Oracle Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Changing and Checking the Environment for User adm . . . . . . . . . . Performing the Database Upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Post-Upgrade Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Changing Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating the Oracle TNSListener Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MSCS Only: Setting Up a Shared Database Directory in Oracle Home . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Changing the Registry Value of Oracle Autostart . . . . . . . . . . . . . . . . . . . . . . 11 11 11 12 13 15 15 15 16 19 19 19 21 22 22 23 23 25 27 27 28 28 30

4/54

PUBLIC

2011-12-14

5.5 5.6 5.7 5.8 5.9 5.10 5.11

Checking the Start Up Type of the Oracle Services . . . . . . . . . . . . . . . . . . . . . Updating the SAP Executables and the BR*Tools . . . . . . . . . . . . . . . . . . . . . . . Performing Post-Upgrade Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Deleting the Old Oracle Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MSCS Only: Adding the Database to the Cluster Group . . . . . . . . . . . . . . . . . Backing Up the Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring the New Features for Oracle Database 11g Release 2 (11.2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Common Administration Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Starting and Stopping the Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Starting and Stopping the Database in a Standard Configuration . . . . . . . . . . Starting and Stopping the Database in an MSCS Configuration . . . . . . . . . . . . Checking Oracle Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Starting and Stopping Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Changing or Deleting Oracle Database Parameters . . . . . . . . . . . . . . . . . . . . . Determining the Value of SAP System Profile Parameters . . . . . . . . . . . . . . . . Moving Groups or Services and Applications for MSCS . . . . . . . . . . . . . . . . . . Starting and Stopping the SAP System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30 31 33 34 35 37 37 39 39 39 40 41 42 43 44 44 45

Chapter 6 6.1 6.1.1 6.1.2 6.2 6.3 6.4 6.5 6.6 6.7 Chapter A A.1

Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Using Powershell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49

2011-12-14

PUBLIC

5/54

This page is left blank for documents that are printed on both sides.

1

Introduction

1 Introduction

This documentation explains how to upgrade the Oracle database for the SAP system on the Windows operating system: From Oracle Database 10g Release 2 (10.2.0.4 or 10.2.0.5), or Oracle Database 11g Release 2 (11.2.0.1) To Oracle Database 11g Release 2 (11.2) (11.2.0.2 or higher)CAUTION

Oracle 11.2 is only supported for SAP systems with an EX2 kernel or higher. Oracle 11g is released only with SAP products based on kernel 640 (640_EX2) or higher. There is no general release provided for older SAP releases 3.1I up to and including 4.6C. For these older releases, only an upgrade certification is provided for valid upgrade paths for more information, see SAP Note 1398634. For upgrade certification, the SAP kernel needs to be EXT kernel (for releases 3.1 up to and including 4.5B) or EX2 kernel (for release 4.6C). If you have a 640_REL kernel, you need to switch to the 640_EX2 kernel immediately after the database upgrade to Oracle 11.2. We do not support running a 640_REL kernel with the Oracle 11.2 database. This documentation only covers the standard upgrade from Oracle 10.2.0.4 or higher to Oracle Database 11g Release 2 (11.2) using the Oracle Database Upgrade Assistant.NOTE

Oracle offers and supports direct database upgrades from Oracle 9.2.0.8 to Oracle 11.2, although we do not recommend this. For more information, see Checking the Original Version of Your Database [page 11].CAUTION

User Account Control on Windows: As of Windows Server 2008, the Windows standard security settings only grant administrative privileges to an account being a member of the local administrators group, if the process was started elevated (Run as Administrator). This means that during the installation and upgrade process of an Oracle database software, most of the statements must be executed with administrative privileges. Therefore, when you are asked to open a command prompt (cmd.exe) or a Powershell prompt (powershell.exe), or other tools like the Oracle Failsafe Manager, you have to open it in elevated mode (right-click on cmd.exe, and choose Run as Administrator). For more information about User Account Co

Recommended

View more >