SlideShare a Scribd company logo
Upgrade 11.2.0.1 GI/CRS
  to 11.2.0.2 in Linux


       by Maclean.liu
              liu.maclean@gmail.com
          www.oracledatabase12g.com
About Me

l Email:liu.maclean@gmail.com
l Blog:www.oracledatabase12g.com
l Oracle Certified Database Administrator Master 10g
and 11g
l Over 6 years experience with Oracle DBA technology
l Over 7 years experience with Linux technology
l Member Independent Oracle Users Group
l Member All China Users Group
l Presents for advanced Oracle topics: RAC,
DataGuard, Performance Tuning and Oracle Internal.
11.2.0.2 已经 release 1 年多了,相对于 11.2.0.1 要稳定很多。现在我们为客户部署新系统的时
候一般都会推荐直接装 11.2.0.2(out of place),并打到<Oracle Recommended Patches — Oracle
Database>所推荐的 PSU。


对于现有的系统则推荐在停机窗口允许的前提下尽可能升级到 11.2.0.2 上来,当然客户也可
以更耐心的等待 11.2.0.3 版本的 release。




针对 11.2.0.1 到 11.2.0.2 上的升级工程,其与 10g 中的升级略有区别。对于 misson-critical 的
数据库必须进行有效的升级演练和备份操作,因为 Oracle 数据库软件的升级一直是一项复杂
的工程,并且具有风险,不能不慎。




同时 RAC 数据库的升级又要较 single-instance 单实例的升级来的复杂,主要可以分成以下步
骤:




1. 若使用 Exadata Database Machine 硬件,首先要检查是否需要升级 Exadata Storage Software
和 Infiniband Switch 的版本,<Database Machine and Exadata Storage Server 11g Release 2
(11.2) Supported Versions>

2. 完成 rolling upgrade Grid Infrastructure 的准备工作

3.滚动升级 Gird Infrastructure GI 软件

4.完成升级 RDBMS 数据库软件的准备工作

5.具体升级 RDBMS 数据库软件,包括升级数据字典、并编译失效对象等

这里我们重点介绍的是滚动升级 GI/CRS 集群软件的准备工作和具体升级步骤,因为 11.2.0.2
是 11gR2 的第一个 Patchset,且又是首个 out of place 的大补丁集,所以绝大多数人对新的升
级模式并不熟悉。
升级 GI 的准备工作


1.注意从 11.2.0.1 GI/CRS 滚动升级(rolling upgrade)到 11.2.0.2 时可能出现意外错误,具体见
<Pre-requsite for 11.2.0.1 to 11.2.0.2 ASM Rolling Upgrade>,这里一并引用:



Applies to:
Oracle Server - Enterprise Edition - Version: 11.2.0.1.0 to 11.2.0.2.0 -
Release: 11.2 to 11.2
Oracle Server - Enterprise Edition - Version: 11.2.0.1 to 11.2.0.2   [Release:
11.2 to 11.2]
Information in this document applies to any platform.
Purpose
This note is to clarify the patch requirement when doing 11.2.0.1 to 11.2.0.2
rolling upgrade.
Scope and Application
Intended audience includes DBA, support engineers.
Pre-requsite for 11.2.0.1 to 11.2.0.2 ASM Rolling Upgrade

There has been some confusion as what patches need to be applied for 11.2.0.1
ASM rolling
upgrade to 11.2.0.2 to be successful. Documentation regarding this is not very
clear
(at the time of writing) and a documentation bug has been filed and
documentation will be updated in the future.

There are two bugs related to 11.2.0.1 ASM rolling upgrade to 11.2.0.2:

Unpublished bug 9413827: 11201 TO 11202 ASM ROLLING UPGRADE - OLD CRS STACK
FAILS TO STOP

Unpublished bug 9706490: LNX64-11202-UD 11201 -> 11202, DG OFFLINE AFTER RESTART
CRS STACK DURING UPGRADE

Some of the symptoms include error message when running rootupgrade.sh:

ORA-15154: cluster rolling upgrade incomplete (from bug: 9413827)

or

Diskgroup status is shown offline after the upgrade, crsd.log may have:

2010-05-12 03:45:49.029: [ AGFW][1506556224] Agfw Proxy Server sending the
last reply to PE for message:RESOURCE_START[ora.MYDG1.dg rwsdcvm44 1] ID
4098:1526
TextMessage[CRS-2674: Start of 'ora.MYDG1.dg' on 'rwsdcvm44' failed]
TextMessage[ora.MYDG1.dg rwsdcvm44 1]
ora.MYDG1.dg rwsdcvm44 1:

To overcome this issue, there are two actions you need to take:

a). apply proper patch.
b). change crsconfig_lib.pm

Applying Patch:
1). If $GI_HOME is on version 11.2.0.1.2 (i.e GI PSU2 is applied):

Action: You can apply Patch:9706490 for version 11.2.0.1.2.

Unpublished bug 9413827 is fixed in 11.2.0.1.2 GI PSU2. Patch:9706490 for
version
11.2.0.1.2 is built on top of 11.2.0.1.2 GI PSU2 (i.e. includes the 11.2.0.1.2
GI PSU2,
hence includes the fix for 9413827). Applying Patch:9706490 includes both fixes.
opatch will recognize 9706490 is superset of 11.2.0.1.2 GI PSU2 (Patch: 9655006)
and rollback patch 9655006 before applying Patch: 9706490).

2). If $GI_HOME is on version 11.2.0.1.0 (i.e. no GI PSU applied).

Action: You can apply Patch:9706490 for version 11.2.0.1.2. This would make sure
you have
applied 11.2.0.1.2 GI PSU2 plus both 9706490 and 9413827 (which is included in
GI PSU2).

For platforms that do not have 11.2.0.1.2 GI PSU, then you can apply patch
9413827 on 11.2.0.1.0.

3). If $GI_HOME is on version 11.2.0.1.1 (GI PSU1) (this is rare since GI PSU1
was only
released for Linux platforms and was quite old).

Action: You can rollback GI PSU1 then apply Patch:9706490 on version 11.2.0.1.2
if your platform has 11.2.0.1.2 GI PSU. If your platform does not have
11.2.0.1.2GI PSU,
then apply patch 9413827.

Modify crsconfig_lib.pm

After patch is applied, modify $11.2.0.2_GI_HOME/crs/install/crsconfig_lib.pm:

Before the change:
# grep for bugs 9655006 or 9413827
@cmdout = grep(/(9655006|9413827)/, @output);

After the change:
# grep for bugs 9655006 or 9413827 or 9706490
@cmdout = grep(/(9655006|9413827|9706490)/, @output);

This would prevent rootupgrade.sh from failing when it validates the pre-
requsite patches.




这里我们假设环境中的 11.2.0.1 GI 没有 apply 任何 PSU 补丁,为了解决这一”11201 TO 11202
ASM ROLLING UPGRADE – OLD CRS STACK FAILS TO STOP” bug,并成功滚动升级 GI,
需要在正式升级 11.2.0.2 Patchset 之前 apply 9413827 bug 的对应 patch。

此外我们还推荐使用最新的 opatch 工具以避免出现 11.2.0.1 上 opatch 无法识别相关 patch 的
问题。
所以我们为了升级 GI 到 11.2.0.2,需要先从 MOS 下载 3 个对应平台(platform)的补丁包,它
们是

1. 11.2.0.2.0 PATCH SET FOR ORACLE DATABASE SERVER (Patchset)(patchid:10098816),
注意实际上 11.2.0.2 的这个 Patchset 由多达 7 个 zip 文件组成,如在 Linux x86-64 平台上:




其中升级我们只需要下载 1-3 的 zip 包即可,第一、二包是 RDBMS Database 软件的 out of
place Patchset,而第三个包为 Grid Infrastructure/CRS 软件的 out of place Patchset,实际在本
篇文章(只升级 GI)中仅会用到 p10098816_112020_Linux-x86-64_3of7.zip 这个压缩包。
2. Patch 9413827: 11201 TO 11202 ASM ROLLING UPGRADE – OLD CRS STACK FAILS TO
STOP(patchid:9413827)

3. Patch 6880880: OPatch 11.2 (patchid:6880880),最新的 opatch 工具

2. 在所有节点上安装最新的 opatch 工具,该步骤不需要停止任何服务:
切换到 GI 拥有者用户,并移动原有的 Opatch 目录,将新的 Opatch 安装到 CRS_HOME

su - grid

[grid@vrh1 ~]$ mv $CRS_HOME/OPatch $CRS_HOME/OPatch_old
[grid@vrh1 ~]$ unzip /tmp/p6880880_112000_Linux-x86-64.zip -d $CRS_HOME

确认 opatch 版本

[grid@vrh1 ~]$ $CRS_HOME/OPatch/opatch
Invoking OPatch 11.2.0.1.6

Oracle Interim Patch Installer version 11.2.0.1.6
Copyright (c) 2011, Oracle Corporation. All rights reserved.


3. 在所有节点上滚动安装 BUNDLE Patch for Base Bug 9413827 补丁包:
1.切换到 GI 拥有者用户,并确认已经安装的补丁

su - grid
opatch lsinventory -detail -oh $CRS_HOME

Invoking OPatch 11.2.0.1.6

Oracle Interim Patch Installer version 11.2.0.1.6
Copyright (c) 2011, Oracle Corporation. All rights reserved.

Oracle Home       : /g01/11.2.0/grid
Central Inventory : /g01/oraInventory
  from           : /etc/oraInst.loc
OPatch version    : 11.2.0.1.6
OUI version       : 11.2.0.1.0
Log file location : /g01/11.2.0/grid/cfgtoollogs/opatch/opatch2011-09-04_19-08-
33PM.log

Lsinventory Output file location :
/g01/11.2.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2011-09-04_19-08-33PM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1):

Oracle Grid Infrastructure                                           11.2.0.1.0
There are 1 products installed in this Oracle Home.
........................
###########################################################################

2. 解压之前下载的 p9413827_11201_$platform.zip 的补丁包

unzip p9413827_112010_Linux-x86-64.zip

###########################################################################

3. 切换到 DB HOME 拥有者身份,在本地节点上停止 RDBMS DB HOME 相关的资源:

su - oracle

语法:
 % [RDBMS_HOME]/bin/srvctl stop home -o [RDBMS_HOME] -s [status file location]
-n [node_name]

srvctl stop home -o $ORACLE_HOME   -n vrh1 -s stop_db_res

cat stop_db_res
db-vprod

 hostname
www.oracledatabase12g.com

###########################################################################

4. 切换到 root 用户执行 rootcrs.pl -unlock 命令

[root@vrh1 ~]# $CRS_HOME/crs/install/rootcrs.pl -unlock

2011-09-04 20:46:53: Parsing the host name
2011-09-04 20:46:53: Checking for super user privileges
2011-09-04 20:46:53: User has super user privileges
Using configuration parameter file:
/g01/11.2.0/grid/crs/install/crsconfig_params
CRS-2791: Starting shutdown of Oracle High Availability Services-managed
resources on 'vrh1'
CRS-2673: Attempting to stop 'ora.crsd' on 'vrh1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on
'vrh1'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'vrh1'
CRS-2673: Attempting to stop 'ora.SYSTEMDG.dg' on 'vrh1'
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'vrh1'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'vrh1'
CRS-2673: Attempting to stop 'ora.FRA.dg' on 'vrh1'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'vrh1' succeeded
CRS-2673: Attempting to stop 'ora.vrh1.vip' on 'vrh1'
CRS-2677: Stop of 'ora.vrh1.vip' on 'vrh1' succeeded
CRS-2672: Attempting to start 'ora.vrh1.vip' on 'vrh2'
CRS-2677: Stop of 'ora.registry.acfs' on 'vrh1' succeeded
CRS-2676: Start of 'ora.vrh1.vip' on 'vrh2' succeeded
CRS-2677: Stop of 'ora.SYSTEMDG.dg' on 'vrh1' succeeded
CRS-2677: Stop of 'ora.FRA.dg' on 'vrh1' succeeded
CRS-2677: Stop of 'ora.DATA.dg' on 'vrh1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'vrh1'
CRS-2677: Stop of 'ora.asm' on 'vrh1' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'vrh1'
CRS-2673: Attempting to stop 'ora.eons' on 'vrh1'
CRS-2677: Stop of 'ora.ons' on 'vrh1' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'vrh1'
CRS-2677: Stop of 'ora.net1.network' on 'vrh1' succeeded
CRS-2677: Stop of 'ora.eons' on 'vrh1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'vrh1' has
completed
CRS-2677: Stop of 'ora.crsd' on 'vrh1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'vrh1'
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'vrh1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'vrh1'
CRS-2673: Attempting to stop 'ora.evmd' on 'vrh1'
CRS-2673: Attempting to stop 'ora.asm' on 'vrh1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'vrh1'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'vrh1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'vrh1' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'vrh1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'vrh1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'vrh1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'vrh1' succeeded
CRS-2677: Stop of 'ora.drivers.acfs' on 'vrh1' succeeded
CRS-2677: Stop of 'ora.asm' on 'vrh1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'vrh1'
CRS-2677: Stop of 'ora.cssd' on 'vrh1' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'vrh1'
CRS-2673: Attempting to stop 'ora.gipcd' on 'vrh1'
CRS-2677: Stop of 'ora.gipcd' on 'vrh1' succeeded
CRS-2677: Stop of 'ora.diskmon' on 'vrh1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on
'vrh1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Successfully unlock /g01/11.2.0/grid

###########################################################################

5.以 RDBMS HOME 拥有者用户执行 patch 目录下的 prepatch.sh 脚本

su - oracle

% custom/server/9413827/custom/scripts/prepatch.sh -dbhome [RDBMS_HOME]

[oracle@vrh1 tmp]$ 9413827/custom/server/9413827/custom/scripts/prepatch.sh
-dbhome $ORACLE_HOME
9413827/custom/server/9413827/custom/scripts/prepatch.sh completed successfully.

###########################################################################

6.实际 apply patch

以 GI/CRS 拥有者用户执行以下命令

% opatch napply -local -oh [CRS_HOME] -id 9413827

su - grid

cd /tmp/9413827/

opatch napply -local -oh $CRS_HOME -id 9413827

Invoking OPatch 11.2.0.1.6

Oracle Interim Patch Installer version 11.2.0.1.6
Copyright (c) 2011, Oracle Corporation. All rights reserved.

UTIL session

Oracle Home       : /g01/11.2.0/grid
Central Inventory : /g01/oraInventory
  from           : /etc/oraInst.loc
OPatch version    : 11.2.0.1.6
OUI version       : 11.2.0.1.0
Log file location : /g01/11.2.0/grid/cfgtoollogs/opatch/opatch2011-09-04_20-52-
37PM.log

Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   9413827

Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:

You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: y

Please shutdown Oracle instances running out of this ORACLE_HOME on the local
system.
(Oracle Home = '/g01/11.2.0/grid')

Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '9413827' to OH '/g01/11.2.0/grid'

Patching component oracle.crs, 11.2.0.1.0...
Patches 9413827 successfully applied.
Log file location: /g01/11.2.0/grid/cfgtoollogs/opatch/opatch2011-09-04_20-52-
37PM.log
OPatch succeeded.

以 DB/RDBMS 拥有者用户执行以下命令

su - oracle
cd /tmp/9413827/

% opatch napply custom/server/ -local -oh [RDBMS_HOME] -id 9413827

opatch napply custom/server/ -local -oh $ORACLE_HOME -id 9413827

Verifying the update...
Inventory check OK: Patch ID 9413827 is registered in Oracle Home inventory with
proper meta-data.
Files check OK: Files from Patch ID 9413827 are present in Oracle Home.
Running make for target install
Running make for target install

The local system has been patched and can be restarted.

UtilSession: N-Apply done.

OPatch succeeded.

###########################################################################

7. 配置 HOME 目录

以 root 用户执行以下命令

chmod +w $CRS_HOME/log/[nodename]/agent
chmod +w $CRS_HOME/log/[nodename]/agent/crsd

以 DB/RDBMS 拥有者用户执行以下命令
su - oracle

cd /tmp/9413827/

% custom/server/9413827/custom/scripts/postpatch.sh -dbhome [RDBMS_HOME]

[oracle@vrh1 9413827]$ custom/server/9413827/custom/scripts/postpatch.sh -dbhome
$ORACLE_HOME
Reading /s01/orabase/product/11.2.0/dbhome_1/install/params.ora..
Reading /s01/orabase/product/11.2.0/dbhome_1/install/params.ora..
Parsing file /s01/orabase/product/11.2.0/dbhome_1/bin/racgwrap
Parsing file /s01/orabase/product/11.2.0/dbhome_1/bin/srvctl
Parsing file /s01/orabase/product/11.2.0/dbhome_1/bin/srvconfig
Parsing file /s01/orabase/product/11.2.0/dbhome_1/bin/cluvfy
Verifying file /s01/orabase/product/11.2.0/dbhome_1/bin/racgwrap
Verifying file /s01/orabase/product/11.2.0/dbhome_1/bin/srvctl
Verifying file /s01/orabase/product/11.2.0/dbhome_1/bin/srvconfig
Verifying file /s01/orabase/product/11.2.0/dbhome_1/bin/cluvfy
Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/racgwrap
Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/srvctl
Reapplying file permissions on
/s01/orabase/product/11.2.0/dbhome_1/bin/srvconfig
Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/cluvfy
Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/racgmain
Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/racgeut
Reapplying file permissions on
/s01/orabase/product/11.2.0/dbhome_1/bin/diskmon.bin
Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/lsnodes
Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/osdbagrp
Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/rawutl
Reapplying file permissions on
/s01/orabase/product/11.2.0/dbhome_1/srvm/admin/ractrans
Reapplying file permissions on
/s01/orabase/product/11.2.0/dbhome_1/srvm/admin/getcrshome
Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/gnsd
Reapplying file permissions on
/s01/orabase/product/11.2.0/dbhome_1/bin/crsdiag.pl
Reapplying file permissions on
/s01/orabase/product/11.2.0/dbhome_1/lib/libhasgen11.so
Reapplying file permissions on
/s01/orabase/product/11.2.0/dbhome_1/lib/libclsra11.so
Reapplying file permissions on
/s01/orabase/product/11.2.0/dbhome_1/lib/libdbcfg11.so
Reapplying file permissions on
/s01/orabase/product/11.2.0/dbhome_1/lib/libocr11.so
Reapplying file permissions on
/s01/orabase/product/11.2.0/dbhome_1/lib/libocrb11.so
Reapplying file permissions on
/s01/orabase/product/11.2.0/dbhome_1/lib/libocrutl11.so
Reapplying file permissions on
/s01/orabase/product/11.2.0/dbhome_1/lib/libuini11.so
Reapplying file permissions on
/s01/orabase/product/11.2.0/dbhome_1/lib/librdjni11.so
Reapplying file permissions on
/s01/orabase/product/11.2.0/dbhome_1/lib/libgns11.so
Reapplying file permissions on
/s01/orabase/product/11.2.0/dbhome_1/lib/libgnsjni11.so
Reapplying file permissions on
/s01/orabase/product/11.2.0/dbhome_1/lib/libagfw11.so

###########################################################################

8.以 root 用户重启 CRS 进程



# $CRS_HOME/crs/install/rootcrs.pl -patch

2011-09-04 21:03:32: Parsing the host name
2011-09-04 21:03:32: Checking for super user privileges
2011-09-04 21:03:32: User has super user privileges
Using configuration parameter file:
/g01/11.2.0/grid/crs/install/crsconfig_params
CRS-4123: Oracle High Availability Services has been started.

# $ORACLE_HOME/bin/srvctl start home -o $ORACLE_HOME -s $STATUS_FILE -n nodename

###########################################################################

9. 使用 opatch 命令确认补丁安装成功

opatch lsinventory -detail -oh $CRS_HOME
opatch lsinventory -detail -oh $RDBMS_HOME

###########################################################################

10. 在其他节点上重复以上步骤,直到在所有节点上成功安装该补丁

###########################################################################
注意 AIX 平台上有额外的注意事项:

# Special Instruction for AIX
# ---------------------------
#
# During the application of this patch should you see any errors with regards
# to files being locked or opatch being unable to copy files then this
#
# could be as result of a process which requires termination or an additional
#
# file needing to be unloaded from the system cache.
#
#
# To try and identify the likely cause please execute the following commands
#
# and provide the output to your support representative, who will be able to
#
# identify the corrective steps.
#
#
#     genld -l | grep [CRS_HOME]
#
#     genkld | grep [CRS_HOME]    ( full or partial path will do )
#
#
# Simple Case Resolution:
#
# If genld returns data then a currently executing process has something open
# in
# the [CRS_HOME] directory, please terminate the process as
# required/recommended.
#
#
# If genkld return data then please remove the enteries from the
# OS system cache by using the slibclean command as root;
#
#
#     slibclean
#
###########################################################################
#
# Patch Deinstallation Instructions:
# ----------------------------------
#
# To roll back the patch, follow all of the above steps 1-5. In step 6,
# invoke the following opatch commands to roll back the patch in all homes.
#
# % opatch rollback -id 9413827 -local -oh [CRS_HOME]
#
# % opatch rollback -id 9413827 -local -oh [RDBMS_HOME]
#
# Afterwards, continue with steps 7-9 to complete the procedure.
#
###########################################################################
#
# If you have any problems installing this PSE or are not sure
# about inventory setup please call Oracle support.
#
###########################################################################
正式升级 GI 到 11.2.0.2


1. 解压软件包,如上所述第三个 zip 包为 grid 软件
unzip p10098816_112020_Linux-x86-64_3of7.zip



2. 以 GI 拥有者用户启动 GI/CRS 的 OUI 安装界面,并选择 Out of Place 的安装目录
(grid)$ unset ORACLE_HOME ORACLE_BASE ORACLE_SID
(grid)$ export DISPLAY=:0
(grid)$ cd /u01/app/oracle/patchdepot/grid
(grid)$ ./runInstaller
Starting Oracle Universal Installer…

在”Select Installation Options”屏幕中选择 Upgrade Oracle Grid Infrastructure or Oracle Automatic
Storage Management
选择不同于现有 GI 软件的目录
完成安装后会提示要以 root 用户执行 rootupgrade.sh




3. 注意在正式执行 rootupgrade.sh 之前数据库服务在所有节点上都是可用的,而在执行
rootupgrade.sh 脚本期间,本地节点的 CRS 将短暂关闭,也就是说滚动升级期间至少有一个
节点不用

因为 unpublished bug 10011084 and unpublished bug 10128494 的关系,在执行 rootupgrade.sh
之前需要修改 crsconfig_lib.pm 参数文件,修改方式如下:
cp $NEW_CRS_HOME/crs/install/crsconfig_lib.pm
$NEW_CRS_HOME/crs/install/crsconfig_lib.pm.bak
vi $NEW_CRS_HOME/crs/install/crsconfig_lib.pm
从以上配置文件中修改如下行,并使用 diff 命令确认

From
 @cmdout = grep(/$bugid/, @output);
To
 @cmdout = grep(/(9655006|9413827)/, @output);

From
my @exp_func = qw(check_CRSConfig validate_olrconfig validateOCR
To
my @exp_func = qw(check_CRSConfig validate_olrconfig validateOCR read_file

$ diff crsconfig_lib.pm.orig crsconfig_lib.pm
699c699
< my @exp_func = qw(check_CRSConfig validate_olrconfig validateOCR --- >
my @exp_func = qw(check_CRSConfig validate_olrconfig validateOCR read_file
13277c13277
< @cmdout = grep(/$bugid/, @output); --- > @cmdout = grep(/(9655006|9413827)/,
@output);

cp /g01/11.2.0.2/grid/crs/install/crsconfig_lib.pm
/g01/11.2.0.2/grid/crs/install/crsconfig_lib.pm.bak

并在所有节点上复制该配置文件
scp /g01/11.2.0.2/grid/crs/install/crsconfig_lib.pm
vrh2:/g01/11.2.0.2/grid/crs/install/crsconfig_lib.pm


如果觉得麻烦,那么也可以直接从这里下载修改好的 crsconfig_lib.pm。

由于 bug 10056593 和 bug 10241443 的缘故执行 rootupgrde.sh 的过程中还可能出现以下错误
Due to bug 10056593, rootupgrade.sh will report this error and continue. This
error is ignorable.

Failed to add (property/value):('OLD_OCR_ID/'-1') for
checkpoint:ROOTCRS_OLDHOMEINFO.Error code is 256

Due to bug 10241443, rootupgrade.sh may report the following error when
installing the cvuqdisk package.
This error is ignorable.

  ls: /usr/sbin/smartctl: No such file or directory
  /usr/sbin/smartctl not found.


以上错误可以被忽略,不会影响到升级。


4.正式执行 rootupgrade.sh 脚本,建议从负载较高的节点开始



[root@vrh1 grid]# /g01/11.2.0.2/grid/rootupgrade.sh
Running Oracle 11g root script...

The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /g01/11.2.0.2/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

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 script.
Now product-specific root actions will be performed.
Using configuration parameter file:
/g01/11.2.0.2/grid/crs/install/crsconfig_params
Creating trace directory
Failed to add (property/value):('OLD_OCR_ID/'-1') for
checkpoint:ROOTCRS_OLDHOMEINFO.Error code is 256

ASM upgrade has started on first node.

CRS-2791:   Starting shutdown of Oracle High Availability Services-managed
resources   on 'vrh1'
CRS-2673:   Attempting to stop 'ora.crsd' on 'vrh1'
CRS-2790:   Starting shutdown of Cluster Ready Services-managed resources on
'vrh1'
CRS-2673:   Attempting to stop 'ora.LISTENER.lsnr' on 'vrh1'
CRS-2673:   Attempting to stop 'ora.SYSTEMDG.dg' on 'vrh1'
CRS-2673:   Attempting to stop 'ora.registry.acfs' on 'vrh1'
CRS-2677:   Stop of 'ora.LISTENER.lsnr' on 'vrh1' succeeded
CRS-2673:   Attempting to stop 'ora.vrh1.vip' on 'vrh1'
CRS-2677:   Stop of 'ora.vrh1.vip' on 'vrh1' succeeded
CRS-2672:   Attempting to start 'ora.vrh1.vip' on 'vrh2'
CRS-2677:   Stop of 'ora.registry.acfs' on 'vrh1' succeeded
CRS-2676:   Start of 'ora.vrh1.vip' on 'vrh2' succeeded
CRS-2677:   Stop of 'ora.SYSTEMDG.dg' on 'vrh1' succeeded
CRS-2673:   Attempting to stop 'ora.asm' on 'vrh1'
CRS-2677:   Stop of 'ora.asm' on 'vrh1' succeeded
CRS-2673:   Attempting to stop 'ora.ons' on 'vrh1'
CRS-2673:   Attempting to stop 'ora.eons' on 'vrh1'
CRS-2677:   Stop of 'ora.ons' on 'vrh1' succeeded
CRS-2673:   Attempting to stop 'ora.net1.network' on 'vrh1'
CRS-2677:   Stop of 'ora.net1.network' on 'vrh1' succeeded
CRS-2677:   Stop of 'ora.eons' on 'vrh1' succeeded
CRS-2792:   Shutdown of Cluster Ready Services-managed resources on 'vrh1' has
completed
CRS-2677:   Stop of 'ora.crsd' on 'vrh1' succeeded
CRS-2673:   Attempting to stop 'ora.mdnsd' on 'vrh1'
CRS-2673:   Attempting to stop 'ora.cssdmonitor' on 'vrh1'
CRS-2673:   Attempting to stop 'ora.ctssd' on 'vrh1'
CRS-2673:   Attempting to stop 'ora.evmd' on 'vrh1'
CRS-2673:   Attempting to stop 'ora.asm' on 'vrh1'
CRS-2673:   Attempting to stop 'ora.drivers.acfs' on 'vrh1'
CRS-2677:   Stop of 'ora.cssdmonitor' on 'vrh1' succeeded
CRS-2677:   Stop of 'ora.mdnsd' on 'vrh1' succeeded
CRS-2677:   Stop of 'ora.evmd' on 'vrh1' succeeded
CRS-2677:   Stop of 'ora.ctssd' on 'vrh1' succeeded
CRS-2677:   Stop of 'ora.drivers.acfs' on 'vrh1' succeeded
CRS-2677:   Stop of 'ora.asm' on 'vrh1' succeeded
CRS-2673:   Attempting to stop 'ora.cssd' on 'vrh1'
CRS-2677:   Stop of 'ora.cssd' on 'vrh1' succeeded
CRS-2673:   Attempting to stop 'ora.gpnpd' on 'vrh1'
CRS-2673:   Attempting to stop 'ora.diskmon' on 'vrh1'
CRS-2677:   Stop of 'ora.diskmon' on 'vrh1' succeeded
CRS-2677:   Stop of 'ora.gpnpd' on 'vrh1' succeeded
CRS-2673:   Attempting to stop 'ora.gipcd' on 'vrh1'
CRS-2677:   Stop of 'ora.gipcd' on 'vrh1' succeeded
CRS-2793:   Shutdown of Oracle High Availability Services-managed resources on
'vrh1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Successfully deleted 1 keys from OCR.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
OLR initialization - successful
Adding daemon to inittab
ACFS-9200: Supported
ACFS-9300: ADVM/ACFS distribution files found.
ACFS-9312: Existing ADVM/ACFS installation detected.
ACFS-9314: Removing previous ADVM/ACFS installation.
ACFS-9315: Previous ADVM/ACFS components successfully removed.
ACFS-9307: Installing requested ADVM/ACFS software.
ACFS-9308: Loading installed ADVM/ACFS drivers.
ACFS-9321: Creating udev for ADVM/ACFS.
ACFS-9323: Creating module dependencies - this may take some time.
ACFS-9327: Verifying ADVM/ACFS devices.
ACFS-9309: ADVM/ACFS installation correctness verified.
clscfg: EXISTING configuration version 5 detected.
clscfg: version 5 is 11g Release 2.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Preparing packages for installation...
cvuqdisk-1.0.9-1
Configure Oracle Grid Infrastructure for a Cluster ... succeeded




最后执行 rootupgrade.sh 脚本的节点会出现以下 GI/CRS 成功升级的信息:


Successfully deleted 1 keys from OCR.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
OLR initialization - successful
Adding daemon to inittab
ACFS-9200: Supported
ACFS-9300: ADVM/ACFS distribution files found.
ACFS-9312: Existing ADVM/ACFS installation detected.
ACFS-9314: Removing previous ADVM/ACFS installation.
ACFS-9315: Previous ADVM/ACFS components successfully removed.
ACFS-9307: Installing requested ADVM/ACFS software.
ACFS-9308: Loading installed ADVM/ACFS drivers.
ACFS-9321: Creating udev for ADVM/ACFS.
ACFS-9323: Creating module dependencies - this may take some time.
ACFS-9327: Verifying ADVM/ACFS devices.
ACFS-9309: ADVM/ACFS installation correctness verified.
clscfg: EXISTING configuration version 5 detected.
clscfg: version 5 is 11g Release 2.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Started to upgrade the Oracle Clusterware. This operation may take a few
minutes.
Started to upgrade the CSS.
Started to upgrade the CRS.
The CRS was successfully upgraded.
Oracle Clusterware operating version was successfully set to 11.2.0.2.0

ASM upgrade has finished on last node.
Preparing packages for installation...
cvuqdisk-1.0.9-1
Configure Oracle Grid Infrastructure for a Cluster ... succeeded


   5. 确认 GI/CRS 的版本


su - grid

$ crsctl query crs activeversion
Oracle Clusterware active version on the cluster is [11.2.0.2.0]

 hostname
www.oracledatabase12g.com

/g01/11.2.0.2/grid/OPatch/opatch lsinventory -oh /g01/11.2.0.2/grid
Invoking OPatch 11.2.0.1.1

Oracle Interim Patch Installer version 11.2.0.1.1
Copyright (c) 2009, Oracle Corporation. All rights reserved.

Oracle Home       : /g01/11.2.0.2/grid
Central Inventory : /g01/oraInventory
  from           : /etc/oraInst.loc
OPatch version    : 11.2.0.1.1
OUI version       : 11.2.0.2.0
OUI location      : /g01/11.2.0.2/grid/oui
Log file location : /g01/11.2.0.2/grid/cfgtoollogs/opatch/opatch2011-09-05_02-
17-19AM.log

Patch history file: /g01/11.2.0.2/grid/cfgtoollogs/opatch/opatch_history.txt

Lsinventory Output file location :
/g01/11.2.0.2/grid/cfgtoollogs/opatch/lsinv/lsinventory2011-09-05_02-17-19AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1):

Oracle Grid Infrastructure                                            11.2.0.2.0
There are 1 products installed in this Oracle Home.




6.更新 bash_profile , 将 CRS_HOME、ORACLE_HOME、PATH 等变量指向新的 GI 目录

More Related Content

What's hot

Data Base Upgrade
Data Base UpgradeData Base Upgrade
Data Base Upgrade
guest362312
 
Oracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptOracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and concept
Santosh Kangane
 
MySQL Group Replication - Ready For Production? (2018-04)
MySQL Group Replication - Ready For Production? (2018-04)MySQL Group Replication - Ready For Production? (2018-04)
MySQL Group Replication - Ready For Production? (2018-04)
Kenny Gryp
 
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Yury Velikanov
 
Oracle Database Management Basic 1
Oracle Database Management Basic 1Oracle Database Management Basic 1
Oracle Database Management Basic 1
Chien Chung Shen
 
how to protect your sensitive data using oracle database vault
how to protect your sensitive data using oracle database vaulthow to protect your sensitive data using oracle database vault
how to protect your sensitive data using oracle database vault
Anar Godjaev
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)
K Kumar Guduru
 
MySQL Cluster Performance Tuning - 2013 MySQL User Conference
MySQL Cluster Performance Tuning - 2013 MySQL User ConferenceMySQL Cluster Performance Tuning - 2013 MySQL User Conference
MySQL Cluster Performance Tuning - 2013 MySQL User Conference
Severalnines
 
Exadata Patching Demystified
Exadata Patching DemystifiedExadata Patching Demystified
Exadata Patching Demystified
Enkitec
 
Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting DisksOracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting Disks
Markus Michalewicz
 
配置Golden gate同步ddl语句
配置Golden gate同步ddl语句配置Golden gate同步ddl语句
配置Golden gate同步ddl语句
maclean liu
 
Oracle-11g-upgrade
Oracle-11g-upgradeOracle-11g-upgrade
Oracle-11g-upgrade
Antonio Carlos dos Santos Jr
 
Enterprise managerclodcontrolinstallconfiguration emc12c
Enterprise managerclodcontrolinstallconfiguration emc12cEnterprise managerclodcontrolinstallconfiguration emc12c
Enterprise managerclodcontrolinstallconfiguration emc12c
Rakesh Gujjarlapudi
 
Percona Live 2012PPT: introduction-to-mysql-replication
Percona Live 2012PPT: introduction-to-mysql-replicationPercona Live 2012PPT: introduction-to-mysql-replication
Percona Live 2012PPT: introduction-to-mysql-replication
mysqlops
 
Smooth as Silk Exadata Patching
Smooth as Silk Exadata PatchingSmooth as Silk Exadata Patching
Smooth as Silk Exadata Patching
Fahd Mirza Chughtai
 
Enterprise Manager Cloud Control 12c Release 4 - Installation
Enterprise Manager Cloud Control 12c Release 4 - InstallationEnterprise Manager Cloud Control 12c Release 4 - Installation
Enterprise Manager Cloud Control 12c Release 4 - Installation
Ivica Arsov
 
WebLogic, 12C SOA Standalone installation
WebLogic, 12C SOA Standalone installation WebLogic, 12C SOA Standalone installation
WebLogic, 12C SOA Standalone installation
K Kumar Guduru
 
Whitepaper MS SQL Server on Linux
Whitepaper MS SQL Server on LinuxWhitepaper MS SQL Server on Linux
Whitepaper MS SQL Server on Linux
Roger Eisentrager
 
Enterprise manager cloud control 12c(12.1) &agent安装图文指南
Enterprise manager cloud control 12c(12.1) &agent安装图文指南Enterprise manager cloud control 12c(12.1) &agent安装图文指南
Enterprise manager cloud control 12c(12.1) &agent安装图文指南
maclean liu
 
10 ways to improve your rman script
10 ways to improve your rman script10 ways to improve your rman script
10 ways to improve your rman script
Maris Elsins
 

What's hot (20)

Data Base Upgrade
Data Base UpgradeData Base Upgrade
Data Base Upgrade
 
Oracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptOracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and concept
 
MySQL Group Replication - Ready For Production? (2018-04)
MySQL Group Replication - Ready For Production? (2018-04)MySQL Group Replication - Ready For Production? (2018-04)
MySQL Group Replication - Ready For Production? (2018-04)
 
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
 
Oracle Database Management Basic 1
Oracle Database Management Basic 1Oracle Database Management Basic 1
Oracle Database Management Basic 1
 
how to protect your sensitive data using oracle database vault
how to protect your sensitive data using oracle database vaulthow to protect your sensitive data using oracle database vault
how to protect your sensitive data using oracle database vault
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)
 
MySQL Cluster Performance Tuning - 2013 MySQL User Conference
MySQL Cluster Performance Tuning - 2013 MySQL User ConferenceMySQL Cluster Performance Tuning - 2013 MySQL User Conference
MySQL Cluster Performance Tuning - 2013 MySQL User Conference
 
Exadata Patching Demystified
Exadata Patching DemystifiedExadata Patching Demystified
Exadata Patching Demystified
 
Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting DisksOracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting Disks
 
配置Golden gate同步ddl语句
配置Golden gate同步ddl语句配置Golden gate同步ddl语句
配置Golden gate同步ddl语句
 
Oracle-11g-upgrade
Oracle-11g-upgradeOracle-11g-upgrade
Oracle-11g-upgrade
 
Enterprise managerclodcontrolinstallconfiguration emc12c
Enterprise managerclodcontrolinstallconfiguration emc12cEnterprise managerclodcontrolinstallconfiguration emc12c
Enterprise managerclodcontrolinstallconfiguration emc12c
 
Percona Live 2012PPT: introduction-to-mysql-replication
Percona Live 2012PPT: introduction-to-mysql-replicationPercona Live 2012PPT: introduction-to-mysql-replication
Percona Live 2012PPT: introduction-to-mysql-replication
 
Smooth as Silk Exadata Patching
Smooth as Silk Exadata PatchingSmooth as Silk Exadata Patching
Smooth as Silk Exadata Patching
 
Enterprise Manager Cloud Control 12c Release 4 - Installation
Enterprise Manager Cloud Control 12c Release 4 - InstallationEnterprise Manager Cloud Control 12c Release 4 - Installation
Enterprise Manager Cloud Control 12c Release 4 - Installation
 
WebLogic, 12C SOA Standalone installation
WebLogic, 12C SOA Standalone installation WebLogic, 12C SOA Standalone installation
WebLogic, 12C SOA Standalone installation
 
Whitepaper MS SQL Server on Linux
Whitepaper MS SQL Server on LinuxWhitepaper MS SQL Server on Linux
Whitepaper MS SQL Server on Linux
 
Enterprise manager cloud control 12c(12.1) &agent安装图文指南
Enterprise manager cloud control 12c(12.1) &agent安装图文指南Enterprise manager cloud control 12c(12.1) &agent安装图文指南
Enterprise manager cloud control 12c(12.1) &agent安装图文指南
 
10 ways to improve your rman script
10 ways to improve your rman script10 ways to improve your rman script
10 ways to improve your rman script
 

Viewers also liked

Oracle数据库升级前必要的准备工作
Oracle数据库升级前必要的准备工作Oracle数据库升级前必要的准备工作
Oracle数据库升级前必要的准备工作maclean liu
 
了解Oracle critical patch update
了解Oracle critical patch update了解Oracle critical patch update
了解Oracle critical patch update
maclean liu
 
バックアップと障害復旧から考えるOracle Database, MySQL, PostgreSQLの違い - Database Lounge Tokyo #2
バックアップと障害復旧から考えるOracle Database, MySQL, PostgreSQLの違い - Database Lounge Tokyo #2バックアップと障害復旧から考えるOracle Database, MySQL, PostgreSQLの違い - Database Lounge Tokyo #2
バックアップと障害復旧から考えるOracle Database, MySQL, PostgreSQLの違い - Database Lounge Tokyo #2
Ryota Watabe
 
Standard Edition 2でも使えるOracle Database 12c Release 2オススメ新機能
Standard Edition 2でも使えるOracle Database 12c Release 2オススメ新機能Standard Edition 2でも使えるOracle Database 12c Release 2オススメ新機能
Standard Edition 2でも使えるOracle Database 12c Release 2オススメ新機能
Ryota Watabe
 
Finanziamenti regione veneto
Finanziamenti regione venetoFinanziamenti regione veneto
Finanziamenti regione venetoEva Previti
 
AtlasCamp 2010 - Marketing A Plugin
AtlasCamp 2010 - Marketing A PluginAtlasCamp 2010 - Marketing A Plugin
AtlasCamp 2010 - Marketing A Plugin
alexlod
 
Understanding the impact of military deployment on families an australian stu...
Understanding the impact of military deployment on families an australian stu...Understanding the impact of military deployment on families an australian stu...
Understanding the impact of military deployment on families an australian stu...
Leishman Associates
 
Radon migration study of the single layer coverage of the uranium enrichment ...
Radon migration study of the single layer coverage of the uranium enrichment ...Radon migration study of the single layer coverage of the uranium enrichment ...
Radon migration study of the single layer coverage of the uranium enrichment ...
Leishman Associates
 
Barnes Introduction
Barnes IntroductionBarnes Introduction
Barnes Introduction
katischmidt
 
Ci 102 assignment power point
Ci 102 assignment power pointCi 102 assignment power point
Ci 102 assignment power point
jaronchilders100
 
Quentin Tarantino (Media Business)
Quentin Tarantino (Media Business)Quentin Tarantino (Media Business)
Quentin Tarantino (Media Business)
The City of Toronto
 
Reading strategies
Reading strategiesReading strategies
Reading strategies
Sonja Franeta
 
สุขศึกษา
สุขศึกษาสุขศึกษา
สุขศึกษา
saly12300
 
New Zealand Franchising Confidence Index | October 2014
New Zealand Franchising Confidence Index | October 2014New Zealand Franchising Confidence Index | October 2014
New Zealand Franchising Confidence Index | October 2014
Franchize Consultants
 
Permen tahun2013 nomor81a_lampiran4
Permen tahun2013 nomor81a_lampiran4Permen tahun2013 nomor81a_lampiran4
Permen tahun2013 nomor81a_lampiran4
Irma Muthiara Sari
 
Aitiidiikiiwan priid.impress
Aitiidiikiiwan priid.impressAitiidiikiiwan priid.impress
Aitiidiikiiwan priid.impress
fred17
 
Que hago y_como_vivo
Que hago y_como_vivoQue hago y_como_vivo
Que hago y_como_vivo
almeri1595
 
To sample, or not to sample
To sample, or not to sampleTo sample, or not to sample
To sample, or not to sample
indus329
 

Viewers also liked (20)

Oracle数据库升级前必要的准备工作
Oracle数据库升级前必要的准备工作Oracle数据库升级前必要的准备工作
Oracle数据库升级前必要的准备工作
 
了解Oracle critical patch update
了解Oracle critical patch update了解Oracle critical patch update
了解Oracle critical patch update
 
バックアップと障害復旧から考えるOracle Database, MySQL, PostgreSQLの違い - Database Lounge Tokyo #2
バックアップと障害復旧から考えるOracle Database, MySQL, PostgreSQLの違い - Database Lounge Tokyo #2バックアップと障害復旧から考えるOracle Database, MySQL, PostgreSQLの違い - Database Lounge Tokyo #2
バックアップと障害復旧から考えるOracle Database, MySQL, PostgreSQLの違い - Database Lounge Tokyo #2
 
Standard Edition 2でも使えるOracle Database 12c Release 2オススメ新機能
Standard Edition 2でも使えるOracle Database 12c Release 2オススメ新機能Standard Edition 2でも使えるOracle Database 12c Release 2オススメ新機能
Standard Edition 2でも使えるOracle Database 12c Release 2オススメ新機能
 
Finanziamenti regione veneto
Finanziamenti regione venetoFinanziamenti regione veneto
Finanziamenti regione veneto
 
Ais life #1_2010
Ais life #1_2010Ais life #1_2010
Ais life #1_2010
 
AtlasCamp 2010 - Marketing A Plugin
AtlasCamp 2010 - Marketing A PluginAtlasCamp 2010 - Marketing A Plugin
AtlasCamp 2010 - Marketing A Plugin
 
Understanding the impact of military deployment on families an australian stu...
Understanding the impact of military deployment on families an australian stu...Understanding the impact of military deployment on families an australian stu...
Understanding the impact of military deployment on families an australian stu...
 
Radon migration study of the single layer coverage of the uranium enrichment ...
Radon migration study of the single layer coverage of the uranium enrichment ...Radon migration study of the single layer coverage of the uranium enrichment ...
Radon migration study of the single layer coverage of the uranium enrichment ...
 
Barnes Introduction
Barnes IntroductionBarnes Introduction
Barnes Introduction
 
Maquettes
MaquettesMaquettes
Maquettes
 
Ci 102 assignment power point
Ci 102 assignment power pointCi 102 assignment power point
Ci 102 assignment power point
 
Quentin Tarantino (Media Business)
Quentin Tarantino (Media Business)Quentin Tarantino (Media Business)
Quentin Tarantino (Media Business)
 
Reading strategies
Reading strategiesReading strategies
Reading strategies
 
สุขศึกษา
สุขศึกษาสุขศึกษา
สุขศึกษา
 
New Zealand Franchising Confidence Index | October 2014
New Zealand Franchising Confidence Index | October 2014New Zealand Franchising Confidence Index | October 2014
New Zealand Franchising Confidence Index | October 2014
 
Permen tahun2013 nomor81a_lampiran4
Permen tahun2013 nomor81a_lampiran4Permen tahun2013 nomor81a_lampiran4
Permen tahun2013 nomor81a_lampiran4
 
Aitiidiikiiwan priid.impress
Aitiidiikiiwan priid.impressAitiidiikiiwan priid.impress
Aitiidiikiiwan priid.impress
 
Que hago y_como_vivo
Que hago y_como_vivoQue hago y_como_vivo
Que hago y_como_vivo
 
To sample, or not to sample
To sample, or not to sampleTo sample, or not to sample
To sample, or not to sample
 

Similar to Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linux

RAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and DatabaseRAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and Database
Nikhil Kumar
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
maclean liu
 
Discoverer 11.1.1.7 web logic (10.3.6) & ebs r12 12.1.3) implementation guide...
Discoverer 11.1.1.7 web logic (10.3.6) & ebs r12 12.1.3) implementation guide...Discoverer 11.1.1.7 web logic (10.3.6) & ebs r12 12.1.3) implementation guide...
Discoverer 11.1.1.7 web logic (10.3.6) & ebs r12 12.1.3) implementation guide...
ginniapps
 
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响
maclean liu
 
Avi Apelbaum - RAC
Avi Apelbaum - RAC Avi Apelbaum - RAC
Avi Apelbaum - RAC
gridcontrol
 
12c on RHEL7
12c on RHEL712c on RHEL7
12c on RHEL7
Osama Mustafa
 
Upgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 ClusterwareUpgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 Clusterware
Nikhil Kumar
 
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Osama Mustafa
 
Configuration Management with Saltstack
Configuration Management with SaltstackConfiguration Management with Saltstack
Configuration Management with Saltstack
inovex GmbH
 
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
SaltStack
 
Rac on NFS
Rac on NFSRac on NFS
Rac on NFS
mengjiagou
 
Lksn2017 itnsa modul2
Lksn2017 itnsa modul2Lksn2017 itnsa modul2
Lksn2017 itnsa modul2
Verry Hendroprasetyo
 
还原Oracle中真实的cache recovery
还原Oracle中真实的cache recovery还原Oracle中真实的cache recovery
还原Oracle中真实的cache recovery
maclean liu
 
Oracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
Oracle RAC BP for Upgrade & More by Anil Nair and Markus MichalewiczOracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
Oracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
Markus Michalewicz
 
OOW16 - Technical Upgrade Best Practices for Oracle E-Business Suite 12.2 [CO...
OOW16 - Technical Upgrade Best Practices for Oracle E-Business Suite 12.2 [CO...OOW16 - Technical Upgrade Best Practices for Oracle E-Business Suite 12.2 [CO...
OOW16 - Technical Upgrade Best Practices for Oracle E-Business Suite 12.2 [CO...
vasuballa
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Markus Michalewicz
 
Oracle cluster installation with grid and nfs
Oracle cluster  installation with grid and nfsOracle cluster  installation with grid and nfs
Oracle cluster installation with grid and nfs
Chanaka Lasantha
 
12c installation
12c installation12c installation
12c installation
Osama Mustafa
 
Oracle cluster installation with grid and iscsi
Oracle cluster  installation with grid and iscsiOracle cluster  installation with grid and iscsi
Oracle cluster installation with grid and iscsi
Chanaka Lasantha
 
Snort296x centos6x 2
Snort296x centos6x 2Snort296x centos6x 2
Snort296x centos6x 2
Trinh Tuan
 

Similar to Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linux (20)

RAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and DatabaseRAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and Database
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
 
Discoverer 11.1.1.7 web logic (10.3.6) & ebs r12 12.1.3) implementation guide...
Discoverer 11.1.1.7 web logic (10.3.6) & ebs r12 12.1.3) implementation guide...Discoverer 11.1.1.7 web logic (10.3.6) & ebs r12 12.1.3) implementation guide...
Discoverer 11.1.1.7 web logic (10.3.6) & ebs r12 12.1.3) implementation guide...
 
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响
 
Avi Apelbaum - RAC
Avi Apelbaum - RAC Avi Apelbaum - RAC
Avi Apelbaum - RAC
 
12c on RHEL7
12c on RHEL712c on RHEL7
12c on RHEL7
 
Upgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 ClusterwareUpgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 Clusterware
 
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
 
Configuration Management with Saltstack
Configuration Management with SaltstackConfiguration Management with Saltstack
Configuration Management with Saltstack
 
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
 
Rac on NFS
Rac on NFSRac on NFS
Rac on NFS
 
Lksn2017 itnsa modul2
Lksn2017 itnsa modul2Lksn2017 itnsa modul2
Lksn2017 itnsa modul2
 
还原Oracle中真实的cache recovery
还原Oracle中真实的cache recovery还原Oracle中真实的cache recovery
还原Oracle中真实的cache recovery
 
Oracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
Oracle RAC BP for Upgrade & More by Anil Nair and Markus MichalewiczOracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
Oracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
 
OOW16 - Technical Upgrade Best Practices for Oracle E-Business Suite 12.2 [CO...
OOW16 - Technical Upgrade Best Practices for Oracle E-Business Suite 12.2 [CO...OOW16 - Technical Upgrade Best Practices for Oracle E-Business Suite 12.2 [CO...
OOW16 - Technical Upgrade Best Practices for Oracle E-Business Suite 12.2 [CO...
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
 
Oracle cluster installation with grid and nfs
Oracle cluster  installation with grid and nfsOracle cluster  installation with grid and nfs
Oracle cluster installation with grid and nfs
 
12c installation
12c installation12c installation
12c installation
 
Oracle cluster installation with grid and iscsi
Oracle cluster  installation with grid and iscsiOracle cluster  installation with grid and iscsi
Oracle cluster installation with grid and iscsi
 
Snort296x centos6x 2
Snort296x centos6x 2Snort296x centos6x 2
Snort296x centos6x 2
 

More from maclean liu

Mysql企业备份发展及实践
Mysql企业备份发展及实践Mysql企业备份发展及实践
Mysql企业备份发展及实践
maclean liu
 
Oracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアル
Oracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアルOracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアル
Oracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアル
maclean liu
 
【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略
【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略
【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略
maclean liu
 
基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案
基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案
基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案
maclean liu
 
TomCat迁移步骤简述以及案例
TomCat迁移步骤简述以及案例TomCat迁移步骤简述以及案例
TomCat迁移步骤简述以及案例
maclean liu
 
PRM DUL Oracle Database Health Check
PRM DUL Oracle Database Health CheckPRM DUL Oracle Database Health Check
PRM DUL Oracle Database Health Check
maclean liu
 
dbdao.com 汪伟华 my-sql-replication复制高可用配置方案
dbdao.com 汪伟华 my-sql-replication复制高可用配置方案dbdao.com 汪伟华 my-sql-replication复制高可用配置方案
dbdao.com 汪伟华 my-sql-replication复制高可用配置方案
maclean liu
 
【诗檀软件】Mysql高可用方案
【诗檀软件】Mysql高可用方案【诗檀软件】Mysql高可用方案
【诗檀软件】Mysql高可用方案
maclean liu
 
Shoug at apouc2015 4min pitch_biotwang_v2
Shoug at apouc2015 4min pitch_biotwang_v2Shoug at apouc2015 4min pitch_biotwang_v2
Shoug at apouc2015 4min pitch_biotwang_v2
maclean liu
 
Apouc 4min pitch_biotwang_v2
Apouc 4min pitch_biotwang_v2Apouc 4min pitch_biotwang_v2
Apouc 4min pitch_biotwang_v2
maclean liu
 
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
maclean liu
 
诗檀软件 Oracle开发优化基础
诗檀软件 Oracle开发优化基础 诗檀软件 Oracle开发优化基础
诗檀软件 Oracle开发优化基础
maclean liu
 
Orclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wang
Orclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wangOrclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wang
Orclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wang
maclean liu
 
诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24
诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24
诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24
maclean liu
 
追求Jdbc on oracle最佳性能?如何才好?
追求Jdbc on oracle最佳性能?如何才好?追求Jdbc on oracle最佳性能?如何才好?
追求Jdbc on oracle最佳性能?如何才好?
maclean liu
 
使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践
使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践
使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践
maclean liu
 
Prm dul is an oracle database recovery tool database
Prm dul is an oracle database recovery tool   databasePrm dul is an oracle database recovery tool   database
Prm dul is an oracle database recovery tool database
maclean liu
 
Oracle prm dul, jvm and os
Oracle prm dul, jvm and osOracle prm dul, jvm and os
Oracle prm dul, jvm and os
maclean liu
 
Oracle dba必备技能 使用os watcher工具监控系统性能负载
Oracle dba必备技能   使用os watcher工具监控系统性能负载Oracle dba必备技能   使用os watcher工具监控系统性能负载
Oracle dba必备技能 使用os watcher工具监控系统性能负载
maclean liu
 
Parnassus data recovery manager for oracle database user guide v0.3
Parnassus data recovery manager for oracle database user guide v0.3Parnassus data recovery manager for oracle database user guide v0.3
Parnassus data recovery manager for oracle database user guide v0.3
maclean liu
 

More from maclean liu (20)

Mysql企业备份发展及实践
Mysql企业备份发展及实践Mysql企业备份发展及实践
Mysql企业备份发展及实践
 
Oracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアル
Oracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアルOracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアル
Oracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアル
 
【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略
【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略
【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略
 
基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案
基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案
基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案
 
TomCat迁移步骤简述以及案例
TomCat迁移步骤简述以及案例TomCat迁移步骤简述以及案例
TomCat迁移步骤简述以及案例
 
PRM DUL Oracle Database Health Check
PRM DUL Oracle Database Health CheckPRM DUL Oracle Database Health Check
PRM DUL Oracle Database Health Check
 
dbdao.com 汪伟华 my-sql-replication复制高可用配置方案
dbdao.com 汪伟华 my-sql-replication复制高可用配置方案dbdao.com 汪伟华 my-sql-replication复制高可用配置方案
dbdao.com 汪伟华 my-sql-replication复制高可用配置方案
 
【诗檀软件】Mysql高可用方案
【诗檀软件】Mysql高可用方案【诗檀软件】Mysql高可用方案
【诗檀软件】Mysql高可用方案
 
Shoug at apouc2015 4min pitch_biotwang_v2
Shoug at apouc2015 4min pitch_biotwang_v2Shoug at apouc2015 4min pitch_biotwang_v2
Shoug at apouc2015 4min pitch_biotwang_v2
 
Apouc 4min pitch_biotwang_v2
Apouc 4min pitch_biotwang_v2Apouc 4min pitch_biotwang_v2
Apouc 4min pitch_biotwang_v2
 
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
 
诗檀软件 Oracle开发优化基础
诗檀软件 Oracle开发优化基础 诗檀软件 Oracle开发优化基础
诗檀软件 Oracle开发优化基础
 
Orclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wang
Orclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wangOrclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wang
Orclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wang
 
诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24
诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24
诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24
 
追求Jdbc on oracle最佳性能?如何才好?
追求Jdbc on oracle最佳性能?如何才好?追求Jdbc on oracle最佳性能?如何才好?
追求Jdbc on oracle最佳性能?如何才好?
 
使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践
使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践
使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践
 
Prm dul is an oracle database recovery tool database
Prm dul is an oracle database recovery tool   databasePrm dul is an oracle database recovery tool   database
Prm dul is an oracle database recovery tool database
 
Oracle prm dul, jvm and os
Oracle prm dul, jvm and osOracle prm dul, jvm and os
Oracle prm dul, jvm and os
 
Oracle dba必备技能 使用os watcher工具监控系统性能负载
Oracle dba必备技能   使用os watcher工具监控系统性能负载Oracle dba必备技能   使用os watcher工具监控系统性能负载
Oracle dba必备技能 使用os watcher工具监控系统性能负载
 
Parnassus data recovery manager for oracle database user guide v0.3
Parnassus data recovery manager for oracle database user guide v0.3Parnassus data recovery manager for oracle database user guide v0.3
Parnassus data recovery manager for oracle database user guide v0.3
 

Recently uploaded

RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 

Recently uploaded (20)

RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 

Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linux

  • 1. Upgrade 11.2.0.1 GI/CRS to 11.2.0.2 in Linux by Maclean.liu liu.maclean@gmail.com www.oracledatabase12g.com
  • 2. About Me l Email:liu.maclean@gmail.com l Blog:www.oracledatabase12g.com l Oracle Certified Database Administrator Master 10g and 11g l Over 6 years experience with Oracle DBA technology l Over 7 years experience with Linux technology l Member Independent Oracle Users Group l Member All China Users Group l Presents for advanced Oracle topics: RAC, DataGuard, Performance Tuning and Oracle Internal.
  • 3. 11.2.0.2 已经 release 1 年多了,相对于 11.2.0.1 要稳定很多。现在我们为客户部署新系统的时 候一般都会推荐直接装 11.2.0.2(out of place),并打到<Oracle Recommended Patches — Oracle Database>所推荐的 PSU。 对于现有的系统则推荐在停机窗口允许的前提下尽可能升级到 11.2.0.2 上来,当然客户也可 以更耐心的等待 11.2.0.3 版本的 release。 针对 11.2.0.1 到 11.2.0.2 上的升级工程,其与 10g 中的升级略有区别。对于 misson-critical 的 数据库必须进行有效的升级演练和备份操作,因为 Oracle 数据库软件的升级一直是一项复杂 的工程,并且具有风险,不能不慎。 同时 RAC 数据库的升级又要较 single-instance 单实例的升级来的复杂,主要可以分成以下步 骤: 1. 若使用 Exadata Database Machine 硬件,首先要检查是否需要升级 Exadata Storage Software 和 Infiniband Switch 的版本,<Database Machine and Exadata Storage Server 11g Release 2 (11.2) Supported Versions> 2. 完成 rolling upgrade Grid Infrastructure 的准备工作 3.滚动升级 Gird Infrastructure GI 软件 4.完成升级 RDBMS 数据库软件的准备工作 5.具体升级 RDBMS 数据库软件,包括升级数据字典、并编译失效对象等 这里我们重点介绍的是滚动升级 GI/CRS 集群软件的准备工作和具体升级步骤,因为 11.2.0.2 是 11gR2 的第一个 Patchset,且又是首个 out of place 的大补丁集,所以绝大多数人对新的升 级模式并不熟悉。
  • 4. 升级 GI 的准备工作 1.注意从 11.2.0.1 GI/CRS 滚动升级(rolling upgrade)到 11.2.0.2 时可能出现意外错误,具体见 <Pre-requsite for 11.2.0.1 to 11.2.0.2 ASM Rolling Upgrade>,这里一并引用: Applies to: Oracle Server - Enterprise Edition - Version: 11.2.0.1.0 to 11.2.0.2.0 - Release: 11.2 to 11.2 Oracle Server - Enterprise Edition - Version: 11.2.0.1 to 11.2.0.2 [Release: 11.2 to 11.2] Information in this document applies to any platform. Purpose This note is to clarify the patch requirement when doing 11.2.0.1 to 11.2.0.2 rolling upgrade. Scope and Application Intended audience includes DBA, support engineers. Pre-requsite for 11.2.0.1 to 11.2.0.2 ASM Rolling Upgrade There has been some confusion as what patches need to be applied for 11.2.0.1 ASM rolling upgrade to 11.2.0.2 to be successful. Documentation regarding this is not very clear (at the time of writing) and a documentation bug has been filed and documentation will be updated in the future. There are two bugs related to 11.2.0.1 ASM rolling upgrade to 11.2.0.2: Unpublished bug 9413827: 11201 TO 11202 ASM ROLLING UPGRADE - OLD CRS STACK FAILS TO STOP Unpublished bug 9706490: LNX64-11202-UD 11201 -> 11202, DG OFFLINE AFTER RESTART CRS STACK DURING UPGRADE Some of the symptoms include error message when running rootupgrade.sh: ORA-15154: cluster rolling upgrade incomplete (from bug: 9413827) or Diskgroup status is shown offline after the upgrade, crsd.log may have: 2010-05-12 03:45:49.029: [ AGFW][1506556224] Agfw Proxy Server sending the last reply to PE for message:RESOURCE_START[ora.MYDG1.dg rwsdcvm44 1] ID 4098:1526 TextMessage[CRS-2674: Start of 'ora.MYDG1.dg' on 'rwsdcvm44' failed] TextMessage[ora.MYDG1.dg rwsdcvm44 1] ora.MYDG1.dg rwsdcvm44 1: To overcome this issue, there are two actions you need to take: a). apply proper patch. b). change crsconfig_lib.pm Applying Patch:
  • 5. 1). If $GI_HOME is on version 11.2.0.1.2 (i.e GI PSU2 is applied): Action: You can apply Patch:9706490 for version 11.2.0.1.2. Unpublished bug 9413827 is fixed in 11.2.0.1.2 GI PSU2. Patch:9706490 for version 11.2.0.1.2 is built on top of 11.2.0.1.2 GI PSU2 (i.e. includes the 11.2.0.1.2 GI PSU2, hence includes the fix for 9413827). Applying Patch:9706490 includes both fixes. opatch will recognize 9706490 is superset of 11.2.0.1.2 GI PSU2 (Patch: 9655006) and rollback patch 9655006 before applying Patch: 9706490). 2). If $GI_HOME is on version 11.2.0.1.0 (i.e. no GI PSU applied). Action: You can apply Patch:9706490 for version 11.2.0.1.2. This would make sure you have applied 11.2.0.1.2 GI PSU2 plus both 9706490 and 9413827 (which is included in GI PSU2). For platforms that do not have 11.2.0.1.2 GI PSU, then you can apply patch 9413827 on 11.2.0.1.0. 3). If $GI_HOME is on version 11.2.0.1.1 (GI PSU1) (this is rare since GI PSU1 was only released for Linux platforms and was quite old). Action: You can rollback GI PSU1 then apply Patch:9706490 on version 11.2.0.1.2 if your platform has 11.2.0.1.2 GI PSU. If your platform does not have 11.2.0.1.2GI PSU, then apply patch 9413827. Modify crsconfig_lib.pm After patch is applied, modify $11.2.0.2_GI_HOME/crs/install/crsconfig_lib.pm: Before the change: # grep for bugs 9655006 or 9413827 @cmdout = grep(/(9655006|9413827)/, @output); After the change: # grep for bugs 9655006 or 9413827 or 9706490 @cmdout = grep(/(9655006|9413827|9706490)/, @output); This would prevent rootupgrade.sh from failing when it validates the pre- requsite patches. 这里我们假设环境中的 11.2.0.1 GI 没有 apply 任何 PSU 补丁,为了解决这一”11201 TO 11202 ASM ROLLING UPGRADE – OLD CRS STACK FAILS TO STOP” bug,并成功滚动升级 GI, 需要在正式升级 11.2.0.2 Patchset 之前 apply 9413827 bug 的对应 patch。 此外我们还推荐使用最新的 opatch 工具以避免出现 11.2.0.1 上 opatch 无法识别相关 patch 的 问题。
  • 6. 所以我们为了升级 GI 到 11.2.0.2,需要先从 MOS 下载 3 个对应平台(platform)的补丁包,它 们是 1. 11.2.0.2.0 PATCH SET FOR ORACLE DATABASE SERVER (Patchset)(patchid:10098816), 注意实际上 11.2.0.2 的这个 Patchset 由多达 7 个 zip 文件组成,如在 Linux x86-64 平台上: 其中升级我们只需要下载 1-3 的 zip 包即可,第一、二包是 RDBMS Database 软件的 out of place Patchset,而第三个包为 Grid Infrastructure/CRS 软件的 out of place Patchset,实际在本 篇文章(只升级 GI)中仅会用到 p10098816_112020_Linux-x86-64_3of7.zip 这个压缩包。 2. Patch 9413827: 11201 TO 11202 ASM ROLLING UPGRADE – OLD CRS STACK FAILS TO STOP(patchid:9413827) 3. Patch 6880880: OPatch 11.2 (patchid:6880880),最新的 opatch 工具 2. 在所有节点上安装最新的 opatch 工具,该步骤不需要停止任何服务: 切换到 GI 拥有者用户,并移动原有的 Opatch 目录,将新的 Opatch 安装到 CRS_HOME su - grid [grid@vrh1 ~]$ mv $CRS_HOME/OPatch $CRS_HOME/OPatch_old [grid@vrh1 ~]$ unzip /tmp/p6880880_112000_Linux-x86-64.zip -d $CRS_HOME 确认 opatch 版本 [grid@vrh1 ~]$ $CRS_HOME/OPatch/opatch Invoking OPatch 11.2.0.1.6 Oracle Interim Patch Installer version 11.2.0.1.6 Copyright (c) 2011, Oracle Corporation. All rights reserved. 3. 在所有节点上滚动安装 BUNDLE Patch for Base Bug 9413827 补丁包: 1.切换到 GI 拥有者用户,并确认已经安装的补丁 su - grid
  • 7. opatch lsinventory -detail -oh $CRS_HOME Invoking OPatch 11.2.0.1.6 Oracle Interim Patch Installer version 11.2.0.1.6 Copyright (c) 2011, Oracle Corporation. All rights reserved. Oracle Home : /g01/11.2.0/grid Central Inventory : /g01/oraInventory from : /etc/oraInst.loc OPatch version : 11.2.0.1.6 OUI version : 11.2.0.1.0 Log file location : /g01/11.2.0/grid/cfgtoollogs/opatch/opatch2011-09-04_19-08- 33PM.log Lsinventory Output file location : /g01/11.2.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2011-09-04_19-08-33PM.txt -------------------------------------------------------------------------------- Installed Top-level Products (1): Oracle Grid Infrastructure 11.2.0.1.0 There are 1 products installed in this Oracle Home. ........................ ########################################################################### 2. 解压之前下载的 p9413827_11201_$platform.zip 的补丁包 unzip p9413827_112010_Linux-x86-64.zip ########################################################################### 3. 切换到 DB HOME 拥有者身份,在本地节点上停止 RDBMS DB HOME 相关的资源: su - oracle 语法: % [RDBMS_HOME]/bin/srvctl stop home -o [RDBMS_HOME] -s [status file location] -n [node_name] srvctl stop home -o $ORACLE_HOME -n vrh1 -s stop_db_res cat stop_db_res db-vprod hostname www.oracledatabase12g.com ########################################################################### 4. 切换到 root 用户执行 rootcrs.pl -unlock 命令 [root@vrh1 ~]# $CRS_HOME/crs/install/rootcrs.pl -unlock 2011-09-04 20:46:53: Parsing the host name 2011-09-04 20:46:53: Checking for super user privileges 2011-09-04 20:46:53: User has super user privileges Using configuration parameter file: /g01/11.2.0/grid/crs/install/crsconfig_params CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'vrh1'
  • 8. CRS-2673: Attempting to stop 'ora.crsd' on 'vrh1' CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'vrh1' CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'vrh1' CRS-2673: Attempting to stop 'ora.SYSTEMDG.dg' on 'vrh1' CRS-2673: Attempting to stop 'ora.registry.acfs' on 'vrh1' CRS-2673: Attempting to stop 'ora.DATA.dg' on 'vrh1' CRS-2673: Attempting to stop 'ora.FRA.dg' on 'vrh1' CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'vrh1' succeeded CRS-2673: Attempting to stop 'ora.vrh1.vip' on 'vrh1' CRS-2677: Stop of 'ora.vrh1.vip' on 'vrh1' succeeded CRS-2672: Attempting to start 'ora.vrh1.vip' on 'vrh2' CRS-2677: Stop of 'ora.registry.acfs' on 'vrh1' succeeded CRS-2676: Start of 'ora.vrh1.vip' on 'vrh2' succeeded CRS-2677: Stop of 'ora.SYSTEMDG.dg' on 'vrh1' succeeded CRS-2677: Stop of 'ora.FRA.dg' on 'vrh1' succeeded CRS-2677: Stop of 'ora.DATA.dg' on 'vrh1' succeeded CRS-2673: Attempting to stop 'ora.asm' on 'vrh1' CRS-2677: Stop of 'ora.asm' on 'vrh1' succeeded CRS-2673: Attempting to stop 'ora.ons' on 'vrh1' CRS-2673: Attempting to stop 'ora.eons' on 'vrh1' CRS-2677: Stop of 'ora.ons' on 'vrh1' succeeded CRS-2673: Attempting to stop 'ora.net1.network' on 'vrh1' CRS-2677: Stop of 'ora.net1.network' on 'vrh1' succeeded CRS-2677: Stop of 'ora.eons' on 'vrh1' succeeded CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'vrh1' has completed CRS-2677: Stop of 'ora.crsd' on 'vrh1' succeeded CRS-2673: Attempting to stop 'ora.gpnpd' on 'vrh1' CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'vrh1' CRS-2673: Attempting to stop 'ora.ctssd' on 'vrh1' CRS-2673: Attempting to stop 'ora.evmd' on 'vrh1' CRS-2673: Attempting to stop 'ora.asm' on 'vrh1' CRS-2673: Attempting to stop 'ora.mdnsd' on 'vrh1' CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'vrh1' CRS-2677: Stop of 'ora.cssdmonitor' on 'vrh1' succeeded CRS-2677: Stop of 'ora.gpnpd' on 'vrh1' succeeded CRS-2677: Stop of 'ora.evmd' on 'vrh1' succeeded CRS-2677: Stop of 'ora.mdnsd' on 'vrh1' succeeded CRS-2677: Stop of 'ora.ctssd' on 'vrh1' succeeded CRS-2677: Stop of 'ora.drivers.acfs' on 'vrh1' succeeded CRS-2677: Stop of 'ora.asm' on 'vrh1' succeeded CRS-2673: Attempting to stop 'ora.cssd' on 'vrh1' CRS-2677: Stop of 'ora.cssd' on 'vrh1' succeeded CRS-2673: Attempting to stop 'ora.diskmon' on 'vrh1' CRS-2673: Attempting to stop 'ora.gipcd' on 'vrh1' CRS-2677: Stop of 'ora.gipcd' on 'vrh1' succeeded CRS-2677: Stop of 'ora.diskmon' on 'vrh1' succeeded CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'vrh1' has completed CRS-4133: Oracle High Availability Services has been stopped. Successfully unlock /g01/11.2.0/grid ########################################################################### 5.以 RDBMS HOME 拥有者用户执行 patch 目录下的 prepatch.sh 脚本 su - oracle % custom/server/9413827/custom/scripts/prepatch.sh -dbhome [RDBMS_HOME] [oracle@vrh1 tmp]$ 9413827/custom/server/9413827/custom/scripts/prepatch.sh -dbhome $ORACLE_HOME
  • 9. 9413827/custom/server/9413827/custom/scripts/prepatch.sh completed successfully. ########################################################################### 6.实际 apply patch 以 GI/CRS 拥有者用户执行以下命令 % opatch napply -local -oh [CRS_HOME] -id 9413827 su - grid cd /tmp/9413827/ opatch napply -local -oh $CRS_HOME -id 9413827 Invoking OPatch 11.2.0.1.6 Oracle Interim Patch Installer version 11.2.0.1.6 Copyright (c) 2011, Oracle Corporation. All rights reserved. UTIL session Oracle Home : /g01/11.2.0/grid Central Inventory : /g01/oraInventory from : /etc/oraInst.loc OPatch version : 11.2.0.1.6 OUI version : 11.2.0.1.0 Log file location : /g01/11.2.0/grid/cfgtoollogs/opatch/opatch2011-09-04_20-52- 37PM.log Verifying environment and performing prerequisite checks... OPatch continues with these patches: 9413827 Do you want to proceed? [y|n] y User Responded with: Y All checks passed. Provide your email address to be informed of security issues, install and initiate Oracle Configuration Manager. Easier for you if you use your My Oracle Support Email address/User Name. Visit http://www.oracle.com/support/policies.html for details. Email address/User Name: You have not provided an email address for notification of security issues. Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: y Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = '/g01/11.2.0/grid') Is the local system ready for patching? [y|n] y User Responded with: Y Backing up files... Applying interim patch '9413827' to OH '/g01/11.2.0/grid' Patching component oracle.crs, 11.2.0.1.0... Patches 9413827 successfully applied. Log file location: /g01/11.2.0/grid/cfgtoollogs/opatch/opatch2011-09-04_20-52- 37PM.log
  • 10. OPatch succeeded. 以 DB/RDBMS 拥有者用户执行以下命令 su - oracle cd /tmp/9413827/ % opatch napply custom/server/ -local -oh [RDBMS_HOME] -id 9413827 opatch napply custom/server/ -local -oh $ORACLE_HOME -id 9413827 Verifying the update... Inventory check OK: Patch ID 9413827 is registered in Oracle Home inventory with proper meta-data. Files check OK: Files from Patch ID 9413827 are present in Oracle Home. Running make for target install Running make for target install The local system has been patched and can be restarted. UtilSession: N-Apply done. OPatch succeeded. ########################################################################### 7. 配置 HOME 目录 以 root 用户执行以下命令 chmod +w $CRS_HOME/log/[nodename]/agent chmod +w $CRS_HOME/log/[nodename]/agent/crsd 以 DB/RDBMS 拥有者用户执行以下命令 su - oracle cd /tmp/9413827/ % custom/server/9413827/custom/scripts/postpatch.sh -dbhome [RDBMS_HOME] [oracle@vrh1 9413827]$ custom/server/9413827/custom/scripts/postpatch.sh -dbhome $ORACLE_HOME Reading /s01/orabase/product/11.2.0/dbhome_1/install/params.ora.. Reading /s01/orabase/product/11.2.0/dbhome_1/install/params.ora.. Parsing file /s01/orabase/product/11.2.0/dbhome_1/bin/racgwrap Parsing file /s01/orabase/product/11.2.0/dbhome_1/bin/srvctl Parsing file /s01/orabase/product/11.2.0/dbhome_1/bin/srvconfig Parsing file /s01/orabase/product/11.2.0/dbhome_1/bin/cluvfy Verifying file /s01/orabase/product/11.2.0/dbhome_1/bin/racgwrap Verifying file /s01/orabase/product/11.2.0/dbhome_1/bin/srvctl Verifying file /s01/orabase/product/11.2.0/dbhome_1/bin/srvconfig Verifying file /s01/orabase/product/11.2.0/dbhome_1/bin/cluvfy Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/racgwrap Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/srvctl Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/srvconfig Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/cluvfy Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/racgmain Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/racgeut Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/diskmon.bin Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/lsnodes
  • 11. Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/osdbagrp Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/rawutl Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/srvm/admin/ractrans Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/srvm/admin/getcrshome Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/gnsd Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/bin/crsdiag.pl Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/lib/libhasgen11.so Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/lib/libclsra11.so Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/lib/libdbcfg11.so Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/lib/libocr11.so Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/lib/libocrb11.so Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/lib/libocrutl11.so Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/lib/libuini11.so Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/lib/librdjni11.so Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/lib/libgns11.so Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/lib/libgnsjni11.so Reapplying file permissions on /s01/orabase/product/11.2.0/dbhome_1/lib/libagfw11.so ########################################################################### 8.以 root 用户重启 CRS 进程 # $CRS_HOME/crs/install/rootcrs.pl -patch 2011-09-04 21:03:32: Parsing the host name 2011-09-04 21:03:32: Checking for super user privileges 2011-09-04 21:03:32: User has super user privileges Using configuration parameter file: /g01/11.2.0/grid/crs/install/crsconfig_params CRS-4123: Oracle High Availability Services has been started. # $ORACLE_HOME/bin/srvctl start home -o $ORACLE_HOME -s $STATUS_FILE -n nodename ########################################################################### 9. 使用 opatch 命令确认补丁安装成功 opatch lsinventory -detail -oh $CRS_HOME opatch lsinventory -detail -oh $RDBMS_HOME ########################################################################### 10. 在其他节点上重复以上步骤,直到在所有节点上成功安装该补丁 ###########################################################################
  • 12. 注意 AIX 平台上有额外的注意事项: # Special Instruction for AIX # --------------------------- # # During the application of this patch should you see any errors with regards # to files being locked or opatch being unable to copy files then this # # could be as result of a process which requires termination or an additional # # file needing to be unloaded from the system cache. # # # To try and identify the likely cause please execute the following commands # # and provide the output to your support representative, who will be able to # # identify the corrective steps. # # # genld -l | grep [CRS_HOME] # # genkld | grep [CRS_HOME] ( full or partial path will do ) # # # Simple Case Resolution: # # If genld returns data then a currently executing process has something open # in # the [CRS_HOME] directory, please terminate the process as # required/recommended. # # # If genkld return data then please remove the enteries from the # OS system cache by using the slibclean command as root; # # # slibclean # ########################################################################### # # Patch Deinstallation Instructions: # ---------------------------------- # # To roll back the patch, follow all of the above steps 1-5. In step 6, # invoke the following opatch commands to roll back the patch in all homes. # # % opatch rollback -id 9413827 -local -oh [CRS_HOME] # # % opatch rollback -id 9413827 -local -oh [RDBMS_HOME] # # Afterwards, continue with steps 7-9 to complete the procedure. # ########################################################################### # # If you have any problems installing this PSE or are not sure # about inventory setup please call Oracle support. # ###########################################################################
  • 13. 正式升级 GI 到 11.2.0.2 1. 解压软件包,如上所述第三个 zip 包为 grid 软件 unzip p10098816_112020_Linux-x86-64_3of7.zip 2. 以 GI 拥有者用户启动 GI/CRS 的 OUI 安装界面,并选择 Out of Place 的安装目录 (grid)$ unset ORACLE_HOME ORACLE_BASE ORACLE_SID (grid)$ export DISPLAY=:0 (grid)$ cd /u01/app/oracle/patchdepot/grid (grid)$ ./runInstaller Starting Oracle Universal Installer… 在”Select Installation Options”屏幕中选择 Upgrade Oracle Grid Infrastructure or Oracle Automatic Storage Management
  • 14.
  • 16. 完成安装后会提示要以 root 用户执行 rootupgrade.sh 3. 注意在正式执行 rootupgrade.sh 之前数据库服务在所有节点上都是可用的,而在执行 rootupgrade.sh 脚本期间,本地节点的 CRS 将短暂关闭,也就是说滚动升级期间至少有一个 节点不用 因为 unpublished bug 10011084 and unpublished bug 10128494 的关系,在执行 rootupgrade.sh 之前需要修改 crsconfig_lib.pm 参数文件,修改方式如下: cp $NEW_CRS_HOME/crs/install/crsconfig_lib.pm $NEW_CRS_HOME/crs/install/crsconfig_lib.pm.bak vi $NEW_CRS_HOME/crs/install/crsconfig_lib.pm
  • 17. 从以上配置文件中修改如下行,并使用 diff 命令确认 From @cmdout = grep(/$bugid/, @output); To @cmdout = grep(/(9655006|9413827)/, @output); From my @exp_func = qw(check_CRSConfig validate_olrconfig validateOCR To my @exp_func = qw(check_CRSConfig validate_olrconfig validateOCR read_file $ diff crsconfig_lib.pm.orig crsconfig_lib.pm 699c699 < my @exp_func = qw(check_CRSConfig validate_olrconfig validateOCR --- > my @exp_func = qw(check_CRSConfig validate_olrconfig validateOCR read_file 13277c13277 < @cmdout = grep(/$bugid/, @output); --- > @cmdout = grep(/(9655006|9413827)/, @output); cp /g01/11.2.0.2/grid/crs/install/crsconfig_lib.pm /g01/11.2.0.2/grid/crs/install/crsconfig_lib.pm.bak 并在所有节点上复制该配置文件 scp /g01/11.2.0.2/grid/crs/install/crsconfig_lib.pm vrh2:/g01/11.2.0.2/grid/crs/install/crsconfig_lib.pm 如果觉得麻烦,那么也可以直接从这里下载修改好的 crsconfig_lib.pm。 由于 bug 10056593 和 bug 10241443 的缘故执行 rootupgrde.sh 的过程中还可能出现以下错误 Due to bug 10056593, rootupgrade.sh will report this error and continue. This error is ignorable. Failed to add (property/value):('OLD_OCR_ID/'-1') for checkpoint:ROOTCRS_OLDHOMEINFO.Error code is 256 Due to bug 10241443, rootupgrade.sh may report the following error when installing the cvuqdisk package. This error is ignorable. ls: /usr/sbin/smartctl: No such file or directory /usr/sbin/smartctl not found. 以上错误可以被忽略,不会影响到升级。 4.正式执行 rootupgrade.sh 脚本,建议从负载较高的节点开始 [root@vrh1 grid]# /g01/11.2.0.2/grid/rootupgrade.sh Running Oracle 11g root script... The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /g01/11.2.0.2/grid
  • 18. Enter the full pathname of the local bin directory: [/usr/local/bin]: The contents of "dbhome" have not changed. No need to overwrite. The contents of "oraenv" have not changed. No need to overwrite. The contents of "coraenv" have not changed. No need to overwrite. 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 script. Now product-specific root actions will be performed. Using configuration parameter file: /g01/11.2.0.2/grid/crs/install/crsconfig_params Creating trace directory Failed to add (property/value):('OLD_OCR_ID/'-1') for checkpoint:ROOTCRS_OLDHOMEINFO.Error code is 256 ASM upgrade has started on first node. CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'vrh1' CRS-2673: Attempting to stop 'ora.crsd' on 'vrh1' CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'vrh1' CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'vrh1' CRS-2673: Attempting to stop 'ora.SYSTEMDG.dg' on 'vrh1' CRS-2673: Attempting to stop 'ora.registry.acfs' on 'vrh1' CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'vrh1' succeeded CRS-2673: Attempting to stop 'ora.vrh1.vip' on 'vrh1' CRS-2677: Stop of 'ora.vrh1.vip' on 'vrh1' succeeded CRS-2672: Attempting to start 'ora.vrh1.vip' on 'vrh2' CRS-2677: Stop of 'ora.registry.acfs' on 'vrh1' succeeded CRS-2676: Start of 'ora.vrh1.vip' on 'vrh2' succeeded CRS-2677: Stop of 'ora.SYSTEMDG.dg' on 'vrh1' succeeded CRS-2673: Attempting to stop 'ora.asm' on 'vrh1' CRS-2677: Stop of 'ora.asm' on 'vrh1' succeeded CRS-2673: Attempting to stop 'ora.ons' on 'vrh1' CRS-2673: Attempting to stop 'ora.eons' on 'vrh1' CRS-2677: Stop of 'ora.ons' on 'vrh1' succeeded CRS-2673: Attempting to stop 'ora.net1.network' on 'vrh1' CRS-2677: Stop of 'ora.net1.network' on 'vrh1' succeeded CRS-2677: Stop of 'ora.eons' on 'vrh1' succeeded CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'vrh1' has completed CRS-2677: Stop of 'ora.crsd' on 'vrh1' succeeded CRS-2673: Attempting to stop 'ora.mdnsd' on 'vrh1' CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'vrh1' CRS-2673: Attempting to stop 'ora.ctssd' on 'vrh1' CRS-2673: Attempting to stop 'ora.evmd' on 'vrh1' CRS-2673: Attempting to stop 'ora.asm' on 'vrh1' CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'vrh1' CRS-2677: Stop of 'ora.cssdmonitor' on 'vrh1' succeeded CRS-2677: Stop of 'ora.mdnsd' on 'vrh1' succeeded CRS-2677: Stop of 'ora.evmd' on 'vrh1' succeeded CRS-2677: Stop of 'ora.ctssd' on 'vrh1' succeeded CRS-2677: Stop of 'ora.drivers.acfs' on 'vrh1' succeeded CRS-2677: Stop of 'ora.asm' on 'vrh1' succeeded CRS-2673: Attempting to stop 'ora.cssd' on 'vrh1' CRS-2677: Stop of 'ora.cssd' on 'vrh1' succeeded CRS-2673: Attempting to stop 'ora.gpnpd' on 'vrh1' CRS-2673: Attempting to stop 'ora.diskmon' on 'vrh1' CRS-2677: Stop of 'ora.diskmon' on 'vrh1' succeeded CRS-2677: Stop of 'ora.gpnpd' on 'vrh1' succeeded CRS-2673: Attempting to stop 'ora.gipcd' on 'vrh1' CRS-2677: Stop of 'ora.gipcd' on 'vrh1' succeeded CRS-2793: Shutdown of Oracle High Availability Services-managed resources on
  • 19. 'vrh1' has completed CRS-4133: Oracle High Availability Services has been stopped. Successfully deleted 1 keys from OCR. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. OLR initialization - successful Adding daemon to inittab ACFS-9200: Supported ACFS-9300: ADVM/ACFS distribution files found. ACFS-9312: Existing ADVM/ACFS installation detected. ACFS-9314: Removing previous ADVM/ACFS installation. ACFS-9315: Previous ADVM/ACFS components successfully removed. ACFS-9307: Installing requested ADVM/ACFS software. ACFS-9308: Loading installed ADVM/ACFS drivers. ACFS-9321: Creating udev for ADVM/ACFS. ACFS-9323: Creating module dependencies - this may take some time. ACFS-9327: Verifying ADVM/ACFS devices. ACFS-9309: ADVM/ACFS installation correctness verified. clscfg: EXISTING configuration version 5 detected. clscfg: version 5 is 11g Release 2. Successfully accumulated necessary OCR keys. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. Preparing packages for installation... cvuqdisk-1.0.9-1 Configure Oracle Grid Infrastructure for a Cluster ... succeeded 最后执行 rootupgrade.sh 脚本的节点会出现以下 GI/CRS 成功升级的信息: Successfully deleted 1 keys from OCR. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. OLR initialization - successful Adding daemon to inittab ACFS-9200: Supported ACFS-9300: ADVM/ACFS distribution files found. ACFS-9312: Existing ADVM/ACFS installation detected. ACFS-9314: Removing previous ADVM/ACFS installation. ACFS-9315: Previous ADVM/ACFS components successfully removed. ACFS-9307: Installing requested ADVM/ACFS software. ACFS-9308: Loading installed ADVM/ACFS drivers. ACFS-9321: Creating udev for ADVM/ACFS. ACFS-9323: Creating module dependencies - this may take some time. ACFS-9327: Verifying ADVM/ACFS devices. ACFS-9309: ADVM/ACFS installation correctness verified. clscfg: EXISTING configuration version 5 detected. clscfg: version 5 is 11g Release 2. Successfully accumulated necessary OCR keys. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. Started to upgrade the Oracle Clusterware. This operation may take a few minutes. Started to upgrade the CSS. Started to upgrade the CRS. The CRS was successfully upgraded. Oracle Clusterware operating version was successfully set to 11.2.0.2.0 ASM upgrade has finished on last node.
  • 20. Preparing packages for installation... cvuqdisk-1.0.9-1 Configure Oracle Grid Infrastructure for a Cluster ... succeeded 5. 确认 GI/CRS 的版本 su - grid $ crsctl query crs activeversion Oracle Clusterware active version on the cluster is [11.2.0.2.0] hostname www.oracledatabase12g.com /g01/11.2.0.2/grid/OPatch/opatch lsinventory -oh /g01/11.2.0.2/grid Invoking OPatch 11.2.0.1.1 Oracle Interim Patch Installer version 11.2.0.1.1 Copyright (c) 2009, Oracle Corporation. All rights reserved. Oracle Home : /g01/11.2.0.2/grid Central Inventory : /g01/oraInventory from : /etc/oraInst.loc OPatch version : 11.2.0.1.1 OUI version : 11.2.0.2.0 OUI location : /g01/11.2.0.2/grid/oui Log file location : /g01/11.2.0.2/grid/cfgtoollogs/opatch/opatch2011-09-05_02- 17-19AM.log Patch history file: /g01/11.2.0.2/grid/cfgtoollogs/opatch/opatch_history.txt Lsinventory Output file location : /g01/11.2.0.2/grid/cfgtoollogs/opatch/lsinv/lsinventory2011-09-05_02-17-19AM.txt -------------------------------------------------------------------------------- Installed Top-level Products (1): Oracle Grid Infrastructure 11.2.0.2.0 There are 1 products installed in this Oracle Home. 6.更新 bash_profile , 将 CRS_HOME、ORACLE_HOME、PATH 等变量指向新的 GI 目录