在11gR2/12c 的GI中,ORA_CRS_HOME 环境变量必须被unset
来源于:
Environment Variable ORA_CRS_HOME MUST be UNSET in 11gR2/12c GI (文档 ID 1502996.1)
适用于:
Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.
目标:
在11gR2/12c GI 和 rac中,环境变量ORA_CRS_HOME 会导致问题发生,因此,强烈推荐在user's session中将此环境变量unset掉,并从user's profile中remove掉。
解决方案:
当ORA_CRS_HOME 被设置时 引发的问题,请参考如下文章:
note 952925.1 - NETCA & ASMCA Fail during Upgrade of CRS/ASM to Grid Infrastructure 11gR2
note 1177483.1 - DBCA Does Not Display ASM Disk Groups In 11.2
note 1428162.1 - ASMCA Detected Pre 11gr2 ASM, But It Does Not Have A Local Instance Configured On This Node
note 1498538.1 - 11gR2 rootupgrade.sh fails with "The pre-upgrade checks failed, aborting the upgrade" as ORA_CRS_HOME is set
========================================================================
如下来自实践中遇到的问题,并不是翻译的上面的mos文章。
该问题在如下情况下肯定会遇到:
从sap官方获取的Suse(SLES) 11的介质,然后用此介质安装好了Suse 11,该suse 11环境中,默认是有ORA_CRS_HOME环境变量的。因此要unset掉这个环境变量,否则安装11gR2 的GI肯定会报错。