Upgrade Oracle 10.2.0.2 To 11.2.0.1
Upgrade Oracle 10.2.0.2 To 11.2.0.1
Upgrade Oracle 10.2.0.2 To 11.2.0.1
1
Before beginning, make sure all aspects of the database to be upgraded can be recovered,
including the operating system.
If upgrading on a temporary or other system; start by performing a database refresh. Youll need
a control.sql file from the source system:
Alter database backup controlfile to trace;
This guide begins with a working 10.2.0.2 database. The steps will include upgrading the
database to 10.2.0.4, and then on to 11.2.0.1 (including 8 patches to be applied after upgrading to
11.2).
The upgrade files are located on \\walkerr2\sapdownloads. Map this UNC path to Y: on the
system you are upgrading.
Upgrade to 10.2.0.4
1)
2)
3)
4)
5)
6)
7)
8)
9)
10)
11)
m. Select No that you do not want to create another listener, and click Next
n. When Listener configuration is complete, click Next
o. Click Finish
p. Ensure the new listener service has been created and is started
At this point only the binaries are upgraded; next the database files must be upgraded.
a. Start the database in upgrade mode:
i. sqlplus /nolog
ii. connect / as sysdba
iii. startup upgrade
b. Click Start All Programs Oracle - <Oracle Home Name> Configuration
and Migration Tools Database Upgrade Assistant
i. On the Welcome screen, click next
ii. Ensure the correct oracle home is selected (there should only be one) and
click Next
iii. If the upgrade assistant warns of invalid objects, do the following, click
Yes to continue with the upgrade
iv. If the upgrade assistant states that any tablespaces need to be expanded,
use the following command to do so:
ALTER TABLESPACE <name> ADD DATAFILE
e:\oracle\<SID>\sapdata1\<short_name>_#\<short_name>.DATA# size
4096M;
Example:
ALTER TABLESPACE PSAPSR3 ADD DATAFILE
e:\oracle\SND\sapdata1\SR3_2\SR3.DATA2 SIZE 4096M;
Note: if a temporary tablespace is what needs to be extended replace the
word DATAFILE with TEMPFILE.
v. Use the default option Do Not Move Database Files as Part of Upgrade
and click Next
vi. Check Recompile invalid objects and choose 4 for Degree of
Parallelism, and select Turn off Archiving, for duration of upgrade then
click Next
vii. Select I have already backed up my database and click Next
viii. Do not specify a flash recovery area and click Next
ix. Review the summary page and click Finish
1. The upgrade will run, and will take between 5-10 minutes.
x. Click OK when the upgrade completes.
xi. Review the results and click Close
xii. Shutdown the database, reboot, and bring the database back up.
xiii. 10.2.0.4 Upgrade Complete!
Upgrade to 11.2.0.1
1)
Pre-upgrade preparation
Software Installation
a. Navigate to Y:\Oracle11.2\x64\database\SAP and run sapserver.cmd
b. Do not enter an email address, and leave the checkbox unchecked (this feature is
not relevant for OEM installations), and click Next
i. It will ask you to confirm, click Yes
c. Use the default option Install database software only and click Next
d. Use the default option Single instance database installation and click Next
e. Use the default language English and click Next
f. Use the default edition Enterprise Edition and click Next
g. Verify the oracle base and software location and click Next
i. D:\oracle
ii. D:\oracle\<SID>\112
h. Review the summary and click Finish
3)
4)
5)
6)
7)
8)
9)
10)
11)
12)
b. connect / as sysdba
c. shutdown immediate
Ensure that the database will not auto-start, run from CLI the following:
oradim edit sid <SID> -startmode manual
Yes; do the above again
13)
14)
15)
Reboot
Once the system has restarted, use sqlplus to start the database.
Upgrade Complete!