Professional Documents
Culture Documents
10g OCW, ASM and RAC Upgrade To 11g On Linux
10g OCW, ASM and RAC Upgrade To 11g On Linux
Summary............................................................................................................................................................................2
The Environment................................................................................................................................................................2
Install 11.1.0.6 Oracle Home for ASM and Database........................................................................................................4
Root.sh on Node 1..........................................................................................................................................................7
Root.sh on Node 2..........................................................................................................................................................8
Upgrade ASM and Databases Home to 11.1.0.7.............................................................................................................10
Upgrade ASM to 11.1.0.7.................................................................................................................................................16
1/1
10g OCW, ASM and RAC Upgrade to 11g on Linux
Summary
This document describes the procedure to upgrade Oracle Clusterware, ASM and RAC database from 10.2.0.3 to
11.1.0.7 step by step.
The CRS and ASM upgrades are straightforward and were completed without any inconvenient. The database upgrade
took longer and required more manual intervention, there are several preupgrade tasks that must be completed, even
using the database upgrade assistant.
Usually I do prefere manual upgrades but this time I wanted to check how well DBUA worked on 11g and it did the job
quite well.
The Environment
The environment consisted of 2 nodes running Red Hat Linux Version 4, Oracle clusterware and database version
10.2.0.3
2/18
10g OCW, ASM and RAC Upgrade to 11g on Linux
ora.rac1.ons ONLINE ONLINE on rac1
ora.rac1.vip ONLINE ONLINE on rac1
ora.rac2.ASM2.asm ONLINE ONLINE on rac2
ora.rac2.LISTENER_RAC2.lsnr ONLINE ONLINE on rac2
ora.rac2.gsd ONLINE ONLINE on rac2
ora.rac2.ons ONLINE ONLINE on rac2
ora.rac2.vip ONLINE ONLINE on rac2
ora.sati.db ONLINE ONLINE on rac2
ora.sati.dbserv.cs ONLINE ONLINE on rac2
ora.sati.dbserv.sati1.srv ONLINE ONLINE on rac1
ora.sati.dbserv.sati2.srv ONLINE ONLINE on rac2
ora.sati.sati1.inst ONLINE ONLINE on rac1
ora.sati.sati2.inst ONLINE ONLINE on rac2
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
3/18
10g OCW, ASM and RAC Upgrade to 11g on Linux
CORE 10.2.0.3.0 Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
4/18
10g OCW, ASM and RAC Upgrade to 11g on Linux
5/18
10g OCW, ASM and RAC Upgrade to 11g on Linux
6/18
10g OCW, ASM and RAC Upgrade to 11g on Linux
Root.sh on Node 1
[oracle@rac1 db_1]$ su -
Password:
[root@rac1 ~]# /u01/app/oracle/product/11.1.0/db_1/root.sh
Running Oracle 11g root.sh script...
7/18
10g OCW, ASM and RAC Upgrade to 11g on Linux
[n]:
Root.sh on Node 2
8/18
10g OCW, ASM and RAC Upgrade to 11g on Linux
9/18
10g OCW, ASM and RAC Upgrade to 11g on Linux
Upgrade ASM and Databases Home to 11.1.0.7
Once the new 11.1.0.6 Homes are installed for ASM and Database, I did upgrade them to the last patch level, today is
11.1.0.7.
Checking Temp space: must be greater than 80 MB. Actual 1906 MB Passed
Checking swap space: must be greater than 150 MB. Actual 2039 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 1
6777216 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-12-15_02
-38-44PM. Please wait ...[oracle@rac1 db_1]$ Oracle Universal Installer, Version
11.1.0.7.0 Production
Copyright (C) 1999, 2008, Oracle. All rights reserved.
10/18
10g OCW, ASM and RAC Upgrade to 11g on Linux
11/18
10g OCW, ASM and RAC Upgrade to 11g on Linux
12/18
10g OCW, ASM and RAC Upgrade to 11g on Linux
13/18
10g OCW, ASM and RAC Upgrade to 11g on Linux
[n]:
14/18
10g OCW, ASM and RAC Upgrade to 11g on Linux
15/18
10g OCW, ASM and RAC Upgrade to 11g on Linux
Upgrade ASM to 11.1.0.7
In this example I did upgrade ASM using the Database Upgrade Assistant, DBUA, it does upgrade also the listeners.
16/18
10g OCW, ASM and RAC Upgrade to 11g on Linux
17/18
10g OCW, ASM and RAC Upgrade to 11g on Linux
18/18