ITPub博客

首页 > Linux操作系统 > Linux操作系统 > How to Deinstall Oracle Clusterware Home Manually

How to Deinstall Oracle Clusterware Home Manually

原创 Linux操作系统 作者:xiexingzhi 时间:2012-12-13 12:38:19 0 删除 编辑
In this Document
  Goal
  Solution

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.
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 fails in some cases. 

This notes provides manual instruction to remove a clusterware home (CRS or Grid Infrastructure).

Solution

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

export ORACLE_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

unset ORACLE_HOME

If it fails for any reason, as clusterware user execute the following on all nodes:
export ORACLE_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

unset ORACLE_HOME

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22531473/viewspace-751026/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-09-14

  • 博文量
    46
  • 访问量
    208781