Consider Before Upgrading to 11.2.0.3/11.2.0.4 Grid Infrastructure/ASM_1363369.1

rongshiyuan發表於2014-10-18

Things to Consider Before Upgrading to 11.2.0.3/11.2.0.4 Grid Infrastructure/ASM (文件 ID 1363369.1)


In this Document

Purpose
Scope
Details
  A. Run CVU pre-upgrade check tool
  B. Ensure consistent network setting
  C. Mandatory/Recommended patches for upgrade
  D. Install pre-req patch
  E. ASM memory_max_target and memory_target
  F. Execute rootupgrade.sh as real root user - not through sudo etc
  G. HACMP/PowerHA special consideration
  Appendix 1. Known Issues
  Community Discussions

References

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 to 11.2.0.4 [Release 10.2 to 11.2]
Information in this document applies to any platform.

Purpose

This document lists things to check, known issues to avoid, and areas to consider to have smooth upgrade to 11.2.0.3/11.2.0.4 Grid Infrastructure.

It includes instruction to run CVU pre-upgrade check and list of mandatory/recommended patches that should be applied for Oracle Grid Infrastructure and Oracle ASM upgrade.

Scope

This document is intended for Oracle Clusterware Administrators and Oracle Support engineers.

For Exadata, refer to the following note for details:

Document 1373255.1 - 11.2.0.1/11.2.0.2 to 11.2.0.3 Database Upgrade on Exadata Database Machine

Details

11.2.0.3/11.2.0.4 is a full release, any pre-11.2 Oracle Clusterware (CRS) can be upgraded to 11.2.0.3/11.2.0.4 directly; also started from 11gR2, in-place patch set upgrade is not supported, any patch set must be installed into a new HOME (out-of-place upgrade).

Before beginning, use our "orachk" utility to check your environment for Upgrade Readiness.  Reference:  ORAchk 11.2.0.3 Upgrade Readiness Assessment (Doc ID 1457357.1)

A. Run CVU pre-upgrade check tool

Execute runcluvfy.sh in unzipped GI software location as grid user to confirm whether the environment is suitable for upgrading:

USAGE: runcluvfy.sh stage -pre crsinst -upgrade [-n ] [-rolling]
-src_crshome -dest_crshome -dest_version
[-fixup [-fixupdir]] [-verbose]

For example, to upgrade a 3-node Oracle Clusterware in /u01/app/11.1 to 11.2.0.3 in /u01/app/grid in rolling fashion, execute the following:

$ runcluvfy.sh stage -pre crsinst -upgrade -n ,, -rolling -src_crshome /u01/app/11.1 -dest_crshome /u01/app/grid -dest_version 11.2.0.3.0 -fixup -fixupdir /tmp -verbose

Any error from CVU should be fixed before upgrade is attempted. Use CVU option "-fixup" to generate runnable script for fixable issues, other errors that can not be be fixed by CVU should be fixed manually.

If pre-req patch is not installed, the following will be reported when running rootupgrade.sh:

The cluvfy tool found some mandatory patches are not installed.
These patches need to be installed before the upgrade can proceed.
The pre-upgrade checks failed, aborting the upgrade

However, more often, the above error is caused by CVU issues, refer to Document 1452184.1 for details.

B. Ensure consistent network setting

Refer to Document 1386709.1 to ensure network information in Oracle Clusterware is consistent with the setting on OS level on all nodes

C. Mandatory/Recommended patches for upgrade

The following table lists the required/recommended patches which should be applied to pre-upgrade clusterware home prior to the upgrade. The table is categorized by Exadata and non-Exadata environment.

The "Minimum source version" indicates prerequisite patches, which must be patched before mandatory upgrading patches being applied, or else patching or installation may fail.

The "Required PSU or one off patch" indicates mandatory patches that must be applied.

Source Oracle Clusterware version Minimum source version Required PSU or one off patch
10.2.0.4 NULL PATCH 8705958 - 10.2.0.4.2 CRS PSU
10.2.0.5 NULL PATCH 9952245 - 10.2.0.5.2 CRS PSU

11.1.0.7 NULL PATCH 11724953 - 11.1.0.7.7 CRS PSU
11.2.0.1 NULL PATCH 9413827

Or PATCH 9706490 if on AIX, Solaris or HP 
 
Or PATCH 10100101 if on Windows, the fix is in Patch 6 and above  
11.2.0.2 NULL PATCH 12539000 which is also part of GI PSU6

The patch must be applied to GI home and is recommended for 11.2.0.2 database homes. It's available on top of all DB PSUs which are  part of corresponding GI PSU. It's recommended to be applied with "opatch auto" with latest 11.2 opatch (patch 6880880) as root:

# $GRID_HOME/OPatch/opatch auto -oh

# $GRID_HOME/OPatch/opatch auto  -oh

When opatch asks the following question, enter 'yes' without quote:

Enter 'yes' if you have unzipped this patch to an empty directory to proceed  (yes/no):yes

If opatch auto fails, apply it manually:

1. Stop all databases manually as database users: /bin/srvctl stop database -d

2. Unlock GI home as root user:

For GI Cluster environment:

# $GRID_HOME/crs/install/rootcrs.pl -unlock

For GI Standalone (Oracle Restart):

# $GRID_HOME/crs/install/roothas.pl -unlock

3. Apply the patch to GI and database homes:

As grid user: $ $GRID_HOME/OPatch/opatch napply -oh -local /12539000

As database user: /OPatch/opatch napply -oh -local /12539000

4. Lock GI home as root user:

For GI Cluster environment:

# $GRID_HOME/rdbms/install/rootadd_rdbms.sh
# $GRID_HOME/crs/install/rootcrs.pl -patch

For GI Standalone (Oracle Restart):

# $GRID_HOME/rdbms/install/rootadd_rdbms.sh
# $GRID_HOME/crs/install/roothas.pl -patch

5. Start all databases manually as database users: /bin/srvctl start database -d


As of 1/15/2012, patch readme section "manual steps to apply" on top of PSU1/2/3 is wrong, and patch readme on top of PSU4/5(11.2.0.2.4/5) is wrong.

If mandatory patch is not installed, the following error will be reported:

CVU error:

PRVG-1253 : Required Oracle patch is not found on node "racnode1" in home "/ocw/b201".
  - Cause:  Required Oracle patch is not applied.  - Cause:  Required Oracle patch is not applied.
  - Action:  Apply the required Oracle patch.

OUI error/log

Oracle patch:9413827

INFO: Oracle patch:9706490 or 9413827: This test ensures that Oracle patch "9706490 or 9413827" has been applied in home "/ocw/b201".
INFO: Severity:CRITICAL
INFO: OverallStatus:VERIFICATION_FAILED

D. Install pre-req patch

In 11.2.0.3/11.2.0.4, CVU/OUI validates existing setup based on instruction in CVU pre-req xml, it's recommended to use Software Update Option to download and apply latest pre-req xml to ensure proper check up, refer to Document 1289738.1 for details of this feature.


Note: Software Update Option consumes OUI patch which is packaged differently than regular patches

E. ASM memory_max_target and memory_target

In 11.2.0.3/11.2.0.4, init.ora parameter "processes" will be default to "available CPU cores * 80 + 40". As the default value for "memory_target" is based on "processes", it can be insufficient if there's large number of CPU cores or large number of diskgroups which could cause issues (i.e. GI stack fails to stop with ORA-04031 etc), it's recommended to increase the value of memory_max_target and memory_target before upgrading to 11.2.0.3/11.2.0.4(does not apply to 10g ASM):

Log in to ASM:

SQL> show parameter memory_target

If the value is smaller than 1536m, issue the following:

SQL> alter system set memory_max_target=4096m scope=spfile;
SQL> alter system set memory_target=1536m scope=spfile;

The number 1536m has proven to be sufficient for most environment, the change will not be effective until next restart.


If rootupgrade.sh already failed due to insufficient memory_target setting, refer to Document 969254.1 to proceed.

F. Execute rootupgrade.sh as real root user - not through sudo etc

When switching to the root user to execute rootupgrade.sh, "su -" or "su - root" provides the full root environment, while sudo, pbrun, "su root" or "su" or similar facilities don't. It is recommended to execute rootupgrade.sh with full root environment to avoid issues documented in the following notes:

  • Document 1315203.1 - ACFS Drivers Fail To Install During Root.Sh Execution Of 11.2.0.2 GI Standalone On AIX
  • Document 1235944.1 - 11gR2 root.sh Fails as crsd.bin Does not Come up due to Wrong ulimit
  • Document 1259874.1 - root.sh Fails as the ora.asm resource is not ONLINE or PROTL-16 due to Wrong umask

G. HACMP/PowerHA special consideration

If upgrading a cluster with IBM HACMP/PowerHA, refer to Document 1443814.1 for special consideration.

Appendix 1. Known Issues

  • Note 1379498.1 - 11.2.0.3 VIP/SCAN VIP is Not Pingable After Failover Leads to Connection Issue
  • Note 1493255.1 - Random Node Eviction When Upgrading 10.2.0.5 CRS to 11.2.0.3 GI 
  • Note 1392633.1 - Things to Consider Before Upgrading to 11.2.0.3 to Avoid Poor Performance or Wrong Results


 

Community Discussions

Still have questions? Use the communities window below to search for similar discussions or start a new discussion on this subject.

Note: Window is the LIVE community not a screenshot.

Click here to open in main browser window.

References

NOTE:1386709.1 - The Basics of IPv4 Subnet and Oracle Clusterware
NOTE:1373255.1 - 11.2.0.1/11.2.0.2 to 11.2.0.3 Grid Infrastructure and Database Upgrade on Exadata Database Machine

BUG:13605735 - SET ASM MEMORY_TARGET TO BE AT LEAST 1536M WHILE UPGRADING TO 11.2.0.3

NOTE:1312225.1 - Things to Consider Before Upgrading to 11.2.0.2 Grid Infrastructure/ASM
 

文件詳細資訊

 
為此文件評級 通過電子郵件傳送此文件的連結在新視窗中開啟文件可列印頁
型別:
狀態:
上次主更新:
上次更新:
語言:
BULLETIN
PUBLISHED
2014-7-23
2014-7-23
English簡體中文日本語
     
 

相關產品

 
     
 

資訊中心

 
     
 

文件引用

 
     
 

最近檢視

 
     

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1302896/,如需轉載,請註明出處,否則將追究法律責任。

相關文章