加入收藏 | 设为首页 | 会员中心 | 我要投稿 厦门网 (https://www.xiamenwang.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长百科 > 正文

How to Deinstall Oracle Clusterware Home Manually

发布时间:2021-03-31 22:48:59 所属栏目:站长百科 来源:网络整理
导读:GOAL In 11gR2,deinstall is the recommended tool to deinstall an Oracle Clusterware(Grid Infrastructure) home,however it does not apply to certain scenarios or failures in some cases.? This notes provides instruction to manually remove curr

GOAL

In 11gR2,deinstall is the recommended tool to deinstall an Oracle Clusterware(Grid Infrastructure) home,however it does not apply to certain scenarios or failures in some cases.?

This notes provides instruction to manually remove current/active clusterware home.

Before removing current/active clusterware home,it‘s necessary to deconfigure Grid Infrastructure,refer to?note 1377349.1?for steps.?

To remove pre-upgrade clusterware home after successful upgrade to newer GI version,refer to?note 1346305.1

SOLUTION

Before removing current/active clusterware home,refer to note 1377349.1 for steps

To remove a home,as clusterware user execute the following on any node:

export ORACLE_HOME=<clusterware-home>

## detach ORACLE_HOME
$ORACLE_HOME/oui/bin/runInstaller -detachHome -silent ORACLE_HOME=$ORACLE_HOME

## confirm $ORACLE_HOME is removed from central inventory:
$ORACLE_HOME/OPatch/opatch lsinventory -all???

## remove files in ORACLE_HOME manually on all nodes
/bin/rm -rf $ORACLE_HOME ?????????????? ##>> if grid user fails to remove all files,switch to root user?

unset ORACLE_HOME

If it fails for any reason,as clusterware user execute the following on?all?nodes:

export ORACLE_HOME=<clusterware-home>

## detach ORACLE_HOME
$ORACLE_HOME/oui/bin/runInstaller -detachHome -silent -local ORACLE_HOME=$ORACLE_HOME

## confirm $ORACLE_HOME is removed from central inventory:
$ORACLE_HOME/OPatch/opatch lsinventory -all???

## remove files in ORACLE_HOME manually
/bin/rm -rf $ORACLE_HOME ?????????????? ##>> if grid user fails to remove all files,switch to root user? unset ORACLE_HOME

(编辑:厦门网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读