How to Upgrade Oracle Software and Databases from Oracle Version / to for Ex Libris Applications

Similar documents
How to Upgrade Oracle Software and Databases from Oracle Version x to for Ex Libris Applications

November Ex Libris Certified Third-Party Software and Security Patch Release Notes

Ex Libris Patch Instructions for Oracle 10 CPUs for Voyager Windows Servers

Ex Libris Patch Instructions for Oracle 10 CPUs for Voyager Solaris/AIX Servers

Requirements for Upgrading from MetaLib 3.13 to MetaLib 4. Version 4

Ex Libris Patch Instructions for Oracle 10 CPUs for Voyager Windows Servers

How to Configure the Web Services Server in Aleph. Versions 22 and later

Staff User s Guide Task Manager. Version 20

Server Access for Ex Libris Support. August 2015

URM and Its Benefits FAQ

How to Change the Server Hostname

All You Wanted To Know About the Management of Digital Resources in Alma

Voyager-L Mailing List

Rosetta Service Pack Installation Guide

SFX KnowledgeBase eservice. Versions 3 and 4

Ex Libris Group Password Management Policy

Oracle 10g ODBC Installation Guide. Voyager Version 9.0+

Primo Online End User Help. Version 4.x

Ex Libris Patch Instructions for Oracle 10 CPUs for Voyager Linux Servers

Aleph Requirements for EDI -Outgoing and Incoming Messages

SMS Proxy User s Guide. Version 1.0

Setting Up SSL / HTTPS for Local Primo Customers

Salesforce CRM Customer Portal Documentation

Ex Libris Cloud Service Packages. Version 2.0

Requirements for Rosetta Installation. Version 4.2

ALEPH VERSIONS 16, 17, 18 ALEPH Publishing Mechanism

Siebel Installation Guide for UNIX. Siebel Innovation Pack 2013 Version 8.1/8.2, Rev. A April 2014

DOCUMENTATION ORACLE BACKUP & RESTORE OPERATIONS

Verax Service Desk Installation Guide for UNIX and Windows

Siebel Installation Guide for Microsoft Windows. Siebel Innovation Pack 2013 Version 8.1/8.2, Rev. A April 2014

Oracle 9i to Oracle 10g Upgrade Guide

DOCUMENTATION MICROSOFT SQL BACKUP & RESTORE OPERATIONS

TIBCO ActiveMatrix BusinessWorks Plug-in for TIBCO Managed File Transfer Software Installation

Backup & Restore with SAP BPC (MS SQL 2005)

Integration Service Database. Installation Guide - Oracle. On-Premises

NWBC10 NetWeaver Business Client

2 Software requirements and installation

GoAnywhere Director to GoAnywhere MFT Upgrade Guide. Version: Publication Date: 07/09/2015

Dell One Identity Manager 7.0. Help Desk Module Administration Guide

PN Connect:Enterprise Secure FTP Client Release Notes Version

AIMS Installation and Licensing Guide

SAP Business Intelligence Suite Patch 10.x Update Guide

Patch Assessment Content Update Release Notes for CCS Version: Update

Oracle Order to Activate Integration Pack for Siebel CRM and Oracle Communications Order and Service Management

BIT601 SAP Workflow Definition and Use of Customer-Specific Workflows

DOCUMENTATION LOTUS NOTES BACKUP & RESTORE OPERATIONS

How to Configure Access Control for Exchange using PowerShell Cmdlets A Step-by-Step guide

Control-M for Hadoop. Technical Bulletin.

An Oracle White Paper January Oracle Database 12c: Full Transportable Export/Import

CA Client Automation

Compatibility Matrix BES12. September 16, 2015

Ahsay Offsite Backup Server and Ahsay Replication Server

TIBCO Enterprise Administrator Release Notes

CA Workload Automation Agent for Databases

24x7 Scheduler Multi-platform Edition 5.2

Symantec NetBackup for Oracle Administrator's Guide

An Oracle White Paper November Oracle Business Intelligence Standard Edition One 11g

Upgrade Guide. Product Version: Publication Date: 02/11/2015

Sentinel Cloud V.3.5 Installation Guide

Aleph 23 Extended Topologies. Version 23

FSC130 SAP Bank Communication Management

Third Party System Management Integration Solution

IBM Security QRadar Version (MR1) Replacing the SSL Certificate Technical Note

APPLICATION MANAGEMENT SUITE FOR SIEBEL APPLICATIONS

Oracle server: An Oracle server includes an Oracle Instance and an Oracle database.

IBM Endpoint Manager Version 9.2. Software Use Analysis Upgrading Guide

BC407 Reporting: QuickViewer, InfoSet Query and SAP Query

TIBCO Hawk SNMP Adapter Installation

DOCUMENTATION SYSTEM STATE BACKUP & RESTORE OPERATIONS

How to configure BusinessObjects Enterprise with Citrix Presentation Server 4.0

Oracle Essbase Integration Services. Readme. Release

Oracle Database 12c Upgrade Tools and Best Practices from Oracle Support

How To Load Data Into An Org Database Cloud Service - Multitenant Edition

Backup/Restore Oracle 8i/9i/10g

Oracle Database. Products Available on the Oracle Database Examples Media. Oracle Database Examples. Examples Installation Guide 11g Release 2 (11.

Oracle Database. New Feature in Oracle Database 11g Release 2 ( ) Products Available on the Oracle Database Examples Media

Linux. Managing security compliance

Sage 100 ERP. Installation and System Administrator s Guide

DOCUMENTATION MySQL BACKUP & RESTORE OPERATIONS

Oracle Enterprise Manager

linux20 (R12 Server) R Single Node SID - TEST linux1 (10gAS Server) Oracle 10gAS ( ) with OID SID - asinf server name

Restoring To A Different Location With EBU And RMAN An AppsDBA Consulting White Paper

FREQUENTLY ASKED QUESTIONS

An Oracle White Paper June, Provisioning & Patching Oracle Database using Enterprise Manager 12c.

DB2 Database Demonstration Program Version 9.7 Installation and Quick Reference Guide

System Requirements and Platform Support Guide

VERITAS NetBackup 6.0 for Oracle

BC481 SAP Interactive Forms by Adobe

IBM TRIRIGA Anywhere Version 10 Release 4. Installing a development environment

Oracle Enterprise Manager

Oracle E-Business Suite Release 11i upgrade to R12.1 and platform migration guide: Oracle Sun SPARC-based server to HP ProLiant servers

An Oracle White Paper February Oracle Data Integrator 12c Architecture Overview

Disaster Recovery Configuration Guide for CiscoWorks Network Compliance Manager 1.8

Installation Guide Customized Installation of SQL Server 2008 for an SAP System with SQL4SAP.VBS

DOCUMENTATION MICROSOFT WINDOWS SYSTEM BACKUP AND RESTORE OPERATIONS

Oracle Data Mining. Administrator's Guide 11g Release 2 (11.2) E

IBM VisualAge for Java,Version3.5. Remote Access to Tool API

Patch Assessment Content Update Release Notes for CCS Version: Update

Change Manager 5.0 Installation Guide

Veritas Operations Manager Release Notes. 3.0 Rolling Patch 1

Transcription:

How to Upgrade Oracle Software and Databases from Oracle Version 10.2.0.1/10.2.0.3 to 10.2.0.4 for Ex Libris Applications

CONFIDENTIAL INFORMATION The information herein is the property of Ex Libris Ltd. or its affiliates and any misuse or abuse will result in economic loss. DO NOT COPY UNLESS YOU HAVE BEEN GIVEN SPECIFIC WRITTEN AUTHORIZATION FROM EX LIBRIS LTD. This document is provided for limited and restricted purposes in accordance with a binding contract with Ex Libris Ltd. or an affiliate. The information herein includes trade secrets and is confidential. DISCLAIMER The information in this document will be subject to periodic change and updating. Please confirm that you have the most current documentation. There are no warranties of any kind, express or implied, provided in this documentation, other than those expressly agreed upon in the applicable Ex Libris contract. This information is provided AS IS. Unless otherwise agreed, Ex Libris shall not be liable for any damages for use of this document, including, without limitation, consequential, punitive, indirect or direct damages. Any references in this document to third party material (including third party Web sites) are provided for convenience only and do not in any manner serve as an endorsement of that third party material or those Web sites. The third party materials are not part of the materials for this Ex Libris product and Ex Libris has no liability for such materials. TRADEMARKS ʺEx Libris,ʺ the Ex Libris bridge, Primo, Aleph, Alephino, Voyager, SFX, MetaLib, Verde, DigiTool, Preservation, URM, Voyager, ENCompass, Endeavor ezconnect, WebVoyage, Citation Server, LinkFinder and LinkFinder Plus, and other marks are trademarks or registered trademarks of Ex Libris Ltd. or its affiliates. The absence of a name or logo in this list does not constitute a waiver of any and all intellectual property rights that Ex Libris Ltd. or its affiliates have established in any of its products, features, or service names or logos. Trademarks of various third party products, which may include the following, are referenced in this documentation. Ex Libris does not claim any rights in these trademarks. Use of these marks does not imply endorsement by Ex Libris of these third party products, or endorsement by these third parties of Ex Libris products. Oracle is a registered trademark of Oracle Corporation. UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Ltd. Microsoft, the Microsoft logo, MS, MS DOS, Microsoft PowerPoint, Visual Basic, Visual C++, Win32, Microsoft Windows, the Windows logo, Microsoft Notepad, Microsoft Windows Explorer, Microsoft Internet Explorer, and Windows NT are registered trademarks and ActiveX is a trademark of the Microsoft Corporation in the United States and/or other countries. Unicode and the Unicode logo are registered trademarks of Unicode, Inc. Google is a registered trademark of Google, Inc. Copyright Ex Libris Limited, 2009. All rights reserved. Document released: November 2008 Web address: http://www.exlibrisgroup.com 2

Table of Contents 1 Before You Upgrade 4 Upgrade Prerequisites 4 Pre Upgrade Procedure 5 2 Upgrading Your Oracle Software and Database 6 Upgrading Oracle Software 6 Upgrading Oracle Databases 8 Running the Pre Upgrade Information Tool 8 Upgrading a 10.2 Database 10 3

1 Before You Upgrade This section lists the prerequisites for upgrading and describes the pre upgrade procedures that you should perform. Upgrade Prerequisites The upgrade of your Oracle software and databases must be performed by a local DBA only. Before starting an upgrade, a full backup of all Oracle 10 software and databases is absolutely necessary. For all platforms, all operating system requirements must be met before starting the upgrade process. If you are working with an AIX operating system, the following are the system requirements for this patch set: Operating system AIX version 5.2 or 5.3 Operating system patches IY73570: IBM C++ Runtime Environment Components for AIX PTF Note: If you have XL C installed on your system, apply the following patch in addition to the abovementioned required patch: IY73568: XL C Enterprise Edition V7.0 for AIX PTF. If you have XL C/C++ installed on your system, apply the following patch in addition to the above mentioned required patch: IY73569: XL C/C++ Enterprise Edition V7.0 for AIX PTF. Oracle 10.2.0.4 has been tested and can be implemented for the following Ex Libris applications that work with Oracle 10g. For information as to whether the application and application version 4

with which you are working supports Oracle 10g, refer to the documentation for your application. Pre-Upgrade Procedure Before you upgrade, you must perform the following procedure. 1 Log on to the Oracle server as an Oracle user (typically oracle). 2 Use the following command to determine which operating system is installed on the Oracle server: Uname -a Note that the packages on the Ex Libris FTP server (ftp.exlibris.co.il) are compatible with the following operating systems: Linux, Sun Solaris, and AIX. 3 Download the appropriate package from the /oracle/102/<platform>/quick directory on the Ex Libris FTP server. Note that this download can take quite a long time. 4 Place the package in a temporary directory, such as /exlibris/ftp_from_exlibris. 5 Extract the package using the following: the tar utility, if your Oracle server is running on a Linux platform the gnu_tar utility, if your Oracle server is running on a Sun Solaris platform the gnu_tar_aix utility, if your Oracle server is running on an AIX platform For detailed instructions on using these utilities, see step 7 in Upgrading Oracle Software. The tar utility is available with your operating system installation. The gnu_tar and gnu_tar_aix utilities are available on the FTP server, along with the Oracle packages. If you are working with the gnu_tar_aix utility, you must rename it to gnu_tar after downloading it. If you are working with either gnu_tar utility, you must change permissions after downloading the utility. To do so, use the following commands: cd /exlibris/ftp_from_exlibris chmod +x gnu_tar* Note: Make sure that the orainst.loc file resides on the Oracle server in the /var/opt/oracle directory on a Sun Solaris OS and in the /etc directory on a Linux OS. The contents of the orainst.loc file are as follows: inventory_loc=/exlibris/app/oracle/product/102/orainventory inst_group=dba 5

2 Upgrading Your Oracle Software and Database This section describes how to upgrade your Oracle software, as well as each database associated with Oracle 102. Upgrading Oracle Software The upgrade instructions below relate to a standard Oracle installation in the /exlibris/app/oracle/product/102 directory. These instructions are relevant for customers using the quick upgrade package, according to Ex Libris recommendations. To upgrade your Oracle software: 1 Log on to the Oracle server as an application user (for example, aleph, metalib, dtl, or verde). 2 Shut down the Ex Libris applications associated with Oracle 102. 3 Shut down all Oracle 10 databases. 4 Log on again to the Oracle server as an Oracle user (typically oracle). 5 Stop the Oracle listener: lsnrctl stop Note: You do not have to stop the listener processes related to other Oracle versions (8 or 10). 6

6 Back up the existing database and listener configurations: cd $ORACLE_HOME tar -cf./../conf102.tar./dbs./network/admin/listener*./network/admin/tnsnames* 7 Back up the current Oracle software located in the /exlibris/app/oracle/product/102 directory and remove or rename it: cd $ORACLE_HOME/.. mv 102 10203 (or 10201, if this is your current version) 8 Extract the Oracle 10204 quick upgrade package from the temporary directory in which you placed it to the /exlibris/app/oracle/product directory: cd /exlibris/app/oracle/product Use the following commands: For Sun Solaris platforms: cat /exlibris/<ftp_from_exlibris>/ora10204s_solaris.tar.gz_* gnu_tar -xzvf For Linux platforms: cat /exlibris/<ftp_from_exlibris>/ora_10204s_linux.tar.gz_* tar -xzvf For AIX platforms: cat /exlibris/<ftp_from_exlibris>/ora10204s_aix.tar.gz_* gnu_tar -xzvf cd $ORACLE_HOME vi.cshrc Add the following lines: limit memoryuse 2045680 limit datasize 1048576 Log on as a root user and run the following command: /usr/sbin/slibclean Note: The new Oracle version includes a revised.chsrc file for the Oracle 10 user. 9 Restore the original configuration of the databases and listener: cd $ORACLE_HOME tar -xf./../conf102.tar 10 Open the.cshrc file under $ORACLE_HOME and change the ORACLE_SID environment variable to the appropriate variable. 7

11 Change permissions for the Oracle binary files: chmod +s $ORACLE_HOME/bin/oracle cd $ORACLE_HOME find. -type d xargs chmod +x find. xargs chmod +r Upgrading Oracle Databases The procedures in this section should be performed for each database associated with the upgraded Oracle home. Running the Pre-Upgrade Information Tool You should analyze the database prior to the upgrade by running the Pre Upgrade Information Tool. The Pre Upgrade Information Tool is an SQL script that is available with Oracle Database 10.2. To run the Pre-Upgrade Information Tool: 1 As an Oracle user (typically oracle), start the database in UPGRADE mode: SQL> sqlplus /as sysdba SQL> STARTUP UPGRADE 2 Set the system to spool results to a log file for later analysis: SQL> SPOOL upgrade_info.log 3 Run the Pre Upgrade Information Tool: SQL> @?/rdbms/admin/utlu102i.sql 4 Turn off the spooling of script results to the log file: SQL> SPOOL OFF 5 Check the output of the Pre Upgrade Information Tool in the upgrade_info.log file. The following is an example of the output generated by the Pre Upgrade Information Tool: Oracle Database 10.2 Upgrade Information Utility 02-04-2008 11:48:11 Database: --> name: X102040 --> version: 10.2.0.1.0 compatible: 10.2.0.1 blocksize: 8192 Tablespaces: [make adjustments in the current environment] 8

SYSTEM tablespace is adequate for the upgrade.... minimum required size: 505 MB... AUTOEXTEND additional space required: 15 MB UNDOTBS1 tablespace is adequate for the upgrade.... minimum required size: 401 MB... AUTOEXTEND additional space required: 376 MB SYSAUX tablespace is adequate for the upgrade.... minimum required size: 265 MB... AUTOEXTEND additional space required: 15 MB TEMP tablespace is adequate for the upgrade.... minimum required size: 58 MB... AUTOEXTEND additional space required: 38 MB EXAMPLE tablespace is adequate for the upgrade.... minimum required size: 69 MB Update Parameters: [Update Oracle Database 10.2 init.ora or spfile] WARNING: --> "shared_pool_size" needs to be increased to at least 167772160 WARNING: --> "java_pool_size" needs to be increased to at least 67108864 Components: [The following database components will be upgraded orinstalled] --> Oracle Catalog Views [upgrade] VALID --> Oracle Packages and Types [upgrade] VALID JServer JAVA Virtual Machine [upgrade] VALID --> Oracle XDK for Java [upgrade] VALID --> Oracle Java Packages [upgrade] VALID --> Oracle Text [upgrade] VALID --> Oracle XML Database [upgrade] VALID --> Oracle Workspace Manager [upgrade] VALID --> Oracle Data Mining [upgrade] VALID --> Messaging Gateway [upgrade] VALID --> OLAP Analytic Workspace [upgrade] VALID --> OLAP Catalog [upgrade] VALID --> Oracle OLAP API [upgrade] VALID --> Oracle intermedia [upgrade] VALID --> Spatial [upgrade] VALID --> Oracle Ultra Search [upgrade] VALID --> Oracle Label Security [upgrade] VALID --> Expression Filter [upgrade] VALID --> EM Repository [upgrade] VALID --> Rule Manager [upgrade] VALID PL/SQL procedure successfully completed. The following sections provide explanations of each of the sections in the Pre Upgrade Information Tool output: Database This section displays global database information about the current database, such as the database name and release number prior to the database upgrade. 9

Tablespaces This section displays a list of tablespaces in the current database. For each tablespace, the tablespace name and minimum required size is displayed. In addition, a message is displayed indicating whether the tablespace is adequate for the upgrade. If the tablespace does not have enough free space, space must be added to the tablespace in the current database. Tablespace adjustments must be made before the database is upgraded. Update/Obsolete/Deprecated Parameters These sections display a list of initialization parameters in the parameter file of the current database that should be adjusted before the database is upgraded. The adjustments must be made to the Oracle Database 10.2 init.ora or spfile. (For instructions on how to change Oracle parameters, refer to the How to Change Oracle Database 10g Parameters document.) Components This section displays a list of database components that are upgraded or installed when the current database is upgraded. Upgrading a 10.2 Database After you install the patch set, you must perform the procedure below on every database associated with the upgraded Oracle home. Note: If you start a database for normal operation without running the catupgrd.sql script as described below, ORA 01092: ORACLE instance terminated. Disconnection forced errors will occur and the error ORA 39700: database must be opened with UPGRADE option will appear in the alert log file. To upgrade a 10.2 database: 1 For single instance installations, start the Oracle Net listener using the following command: lsnrctl start 2 As an Oracle user (typically oracle), use SQL*Plus to log on to the database as the SYS user with SYSDBA privileges: $ sqlplus /as sysdba SQL> SHUTDOWN IMMEDIATE 3 Enter the following SQL*Plus commands: SQL> STARTUP UPGRADE SQL> SPOOL patch.log SQL>set pause off SQL> @?/rdbms/admin/catupgrd.sql 10

To tune in the background: cd rdbms/admin sqlplus sys/exlibris2005 as sysdba @ catupgrd.sql >& patch.log & SQL> SPOOL OFF 4 Review the patch.log file for errors and inspect the list of components that is displayed at the end of the catupgrd.sql script. This list provides the version and status of each SERVER component in the database. If necessary, rerun the catupgrd.sql script after correcting any problems. 5 Restart the database: SQL> SHUTDOWN IMMEDIATE SQL> STARTUP 6 Run the utlrp.sql script to recompile all invalid PL/SQL packages now (instead of doing so when the packages are accessed for the first time): SQL> @?/rdbms/admin/utlrp.sql Note: This step is optional, but recommended. 7 Run the following commands to check the status of all the components after the upgrade: SQL> SELECT COMP_NAME, VERSION, STATUS FROM SYS.DBA_REGISTRY; The status of all the components should be VALID, indicating a successful upgrade. Once the upgrade is finished, start up an Ex Libris application and perform sanity checks. 11