卸载Oracle 11gR2 RAC

本文详细记录了卸载Oracle 11gR2 RAC的过程,包括使用DBCA卸载数据库、Oracle用户执行deinstall、执行rootcrs.pl以及grid用户执行deinstall等关键步骤,提供了详细的命令执行和确认信息,适用于需要卸载RAC环境的操作参考。
摘要由CSDN通过智能技术生成

Oracle 11gR2 RAC的卸载,有了一个很好用的工具deinstall。刚好这两天有一个这样的机会,在此记录一下。

一 DBCA卸载数据库

/home/oracle> dbca

 

以上操作后,删除数据库。

二 Oracle用户执行deinstall

使用Oracle用户登录任意节点,执行deinstall

cd $ORACLE_HOME/deinstall

./deinstall

Checking for required files and bootstrapping ...
Please wait ...
Location of logs /u01/TEST/grid/oraInventory/logs/

############ ORACLE DEINSTALL & DECONFIG TOOL START ############


######################### CHECK OPERATION START #########################
## [START] Install check configuration ##


Checking for existence of the Oracle home location /u01/TEST/racdb/11.2.0
Oracle Home type selected for deinstall is: Oracle Real Application Cluster Database
Oracle Base selected for deinstall is: /u01/TEST/racdb
Checking for existence of central inventory location /u01/TEST/grid/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /u01/TEST/grid/11.2.0
The following nodes are part of this cluster: test01,test02
Checking for sufficient temp space availability on node(s) : 'test01,test02'

## [END] Install check configuration ##


Network Configuration check config START

Network de-configuration trace file location: /u01/TEST/grid/oraInventory/logs/netdc_check2014-01-13_09-55-53-AM.log

Specify all RAC listeners (do not include SCAN listener) that are to be de-configured [LISTENER_OFPRD]:


Network Configuration check config END

Database Check Configuration START

Database de-configuration trace file location: /u01/TEST/grid/oraInventory/logs/databasedc_check2014-01-13_09-58-57-AM.log

Use comma as separator when specifying list of values as input

Specify the list of database names that are configured in this Oracle home []:
Database Check Configuration END

Enterprise Manager Configuration Assistant START

EMCA de-configuration trace file location: /u01/TEST/grid/oraInventory/logs/emcadc_check2014-01-13_09-59-41-AM.log

Enterprise Manager Configuration Assistant END
Oracle Configuration Manager check START
OCM check log file location : /u01/TEST/grid/oraInventory/logs//ocm_check6301.log
Oracle Configuration Manager check END

######################### CHECK OPERATION END #########################


####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /u01/TEST/grid/11.2.0
The cluster node(s) on which the Oracle home deinstallation will be performed are:test01,test02

Oracle Home selected for deinstall is: /u01/TEST/racdb/11.2.0
Inventory Location where the Oracle home registered is: /u01/TEST/grid/oraInventory
Following RAC listener(s) will be de-configured: LISTENER_OFPRD
No Enterprise Manager configuration to be updated for any database(s)
No Enterprise Manager ASM targets to update
No Enterprise Manager listener targets to migrate
Checking the config status for CCR
test01 : Oracle Home exists with CCR directory, but CCR is not configured
test02 : Oracle Home exists with CCR directory, but CCR is not configured
CCR check is finished
Do you want to continue (y - yes, n - no)? [n]: y

A log of this session will be written to: '/u01/TEST/grid/oraInventory/logs/deinstall_deconfig2014-01-13_09-55-39-AM.out'
Any error messages from this session will be written to: '/u01/TEST/grid/oraInventory/logs/deinstall_deconfig2014-01-13_09-55-39-AM.err'

######################## CLEAN OPERATION START ########################

Enterprise Manager Configuration Assistant START

EMCA de-configuration trace file location: /u01/TEST/grid/oraInventory/logs/emcadc_clean2014-01-13_09-59-41-AM.log

Updating Enterprise Manager ASM targets (if any)
Updating Enterprise Manager listener targets (if any)
Enterprise Manager Configuration Assistant END
Database de-configuration trace file location: /u01/TEST/grid/oraInventory/logs/databasedc_clean2014-01-13_10-01-17-AM.log

Network Configuration clean config START

Network de-configuration trace file location: /u01/TEST/grid/oraInventory/logs/netdc_clean2014-01-13_10-01-17-AM.log

De-configuring RAC listener(s): LISTENER_OFPRD

De-configuring listener: LISTENER_OFPRD
    Stopping listener: LISTENER_OFPRD
    Listener stopped successfully.
    Unregistering listener: LISTENER_O

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值