This document specifies on how to install 10.2.0.4 patchset on top of 10.2.0.1 binaries and upgrading database from 10.2.0.1 to 10.2.0.4 Below are the server and database specifications I used OS : Oracle Enterprise Linux 4.7 Database : Oracle 10.2.0.1 STEPS for performing 10.2.0.4 binaries installation 1. We need to take full backup of the database using RMAN [oracle@dbserver ~]$ rman target / Recovery Manager: Release 10.2.0.1.0 - Production on Mon Jul 2 21:57:36 2012 Copyright (c) 1982, 2005, Oracle. All rights reserved. connected to target database: PRODDB (DBID=527661573) RMAN> backup database plus archivelog; Starting backup at 02-JUL-12 current log archived using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=154 devtype=DISK
33
Embed
pavandba.files.wordpress.com … · Web view10.11.2009 · Below are the server and database specifications I used. OS : ... Invoke VNC VIEWER from windows (local machine) and .
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
This document specifies on how to install 10.2.0.4 patchset on top of 10.2.0.1 binaries and upgrading database from 10.2.0.1 to 10.2.0.4
Below are the server and database specifications I used
OS : Oracle Enterprise Linux 4.7
Database : Oracle 10.2.0.1
STEPS for performing 10.2.0.4 binaries installation
1. We need to take full backup of the database using RMAN
[oracle@dbserver ~]$ rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Mon Jul 2 21:57:36 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: PRODDB (DBID=527661573)
RMAN> backup database plus archivelog;
Starting backup at 02-JUL-12
current log archived
using target database control file instead of recovery catalog
New 'dbserver.kannatechnologies.com:2 (oracle)' desktop is dbserver.kannatechnologies.com:2
Starting applications specified in /home/oracle/.vnc/xstartup
Log file is /home/oracle/.vnc/dbserver.kannatechnologies.com:2.log
7. Invoke VNC VIEWER from windows (local machine) and goto Disk1 directory. Start runInstaller from there
If correct ORACLE_HOME is not pointing here, please use browse option and select it
In the next screen, you need to provide My Oracle Support details. But I have not seen most od DBA’s really provide any details
Execute root.sh as root user (in real time, DBA’s will not have root access, so to execute this script SYS admins will help us)
[oracle@dbserver ~]$ su - root
Password:
[root@dbserver ~]# /u01/ora10g/root.sh
Running Oracle10 root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/ora10g
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
8. Now that 10.2.0.4 binaries installation completed. Now we need to upgrade our database to 10.2.0.4
This we can either using DBUA or Manual method. In this document, I am showing how to do that using DBUA
DBUA – Database upgrade assistant is used to upgrade database to higher versions and can be invoked just like DBCA. The disadvantage of DBUA is, it can be used only once
In the next screen, DBUA provides the option for taking backup. If we have not done backup already, we can use this
Below is the method to find out if upgrade is successful or not