admin 管理员组

文章数量: 1184232


2024年12月29日发(作者:input如果满了如何换行)

Oracle11gRACGrid安装卸载

在oracle 11gR2以前的版本中,卸载CRS和oracle database时

需要手工去删除部分东西,从oracle 11 gR2版本开始新增deinstall命

令可以卸载grid和database,new oui版本中不再支持卸载,可以删除

的非常干净,需要手工删除的话,deinstall命令也会有提示出来。

[grid@rac1 ~]$ cd

/oracle/app/grid/product/11.2.0/deinstall/

[grid@rac1 deinstall]$ ./deinstall

Checking for required files and bootstrapping ...

Please wait ...

Location

PM/logs/

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

START ############

######################## CHECK OPERATION START

########################

Install check configuration START

Checking for existence of the Oracle home location

/oracle/app/grid/product/11.2.0

Oracle Home type selected for de-install is: CRS

Oracle Base selected for de-install is: /oracle/app/oracle

Checking for existence of central inventory location

/oracle/app/oraInventory

Checking for existence of the Oracle Grid Infrastructure

home /oracle/app/grid/product/11.2.0

The following nodes are part of this cluster: rac1,rac2

Install check configuration END

Traces log file: /tmp/deinstall2010-08-02_12-50-24-

PM/logs//

of logs /tmp/deinstall2010-08-02_12-50-24-

Network Configuration check config START

Network de-configuration trace file location:

/tmp/deinstall2010-08-02_12-50-24-PM/logs/netdc_check

Network Configuration check config END

Asm Check Configuration START

ASM de-configuration trace file location:

/tmp/deinstall2010-08-02_12-50-24-PM/logs/asmcadc_check

Automatic Storage Management (ASM) instance is detected

in this Oracle home /oracle/app/grid/p roduct/11.2.0.

ASM Diagnostic Destination : /oracle/app/oracle

ASM Diskgroups : +CRS

Diskgroups will be dropped

De-configuring ASM will drop all the diskgroups and it's

contents at cleanup time. This will affect all of the databases and

ACFS that use this ASM instance(s).

If you want to retain the existing diskgroups or if any of the

information detected is incorrect, yo u can modify by entering 'y'.

Do you want to modify above information (y|n) [n]: y

Specify the ASM Diagnostic Destination [/oracle/app/oracle]:

Specify the diskgroups that are managed by this ASM

instance [+CRS]:

De-configuring ASM will drop all the diskgroups at cleanup

time. Do you want deconfig tool to dr op the diskgroups y|n [y]:

y

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

#########################

####################### CHECK OPERATION

SUMMARY #######################

Oracle Grid Infrastructure Home is:

/oracle/app/grid/product/11.2.0

The cluster node(s) on which the Oracle home exists are:

(Please

Oracle

input nodes seperated

for

by ",", eg:

is:

node1,node2,...)rac1,rac2

Home selected de-install

/oracle/app/grid/product/11.2.0

Inventory Location where the Oracle home registered is:

/oracle/app/oraInventory

ASM instance will be de-configured from this Oracle home

Do you want to continue (y - yes, n - no)? [n]: y

A log of this session will be written to: '/tmp/deinstall2010-

08-02_12-50-24-PM/logs/deinstall_deconf ig2010-08-02_12-52-

'

Any error messages from this session will be written to:

'/tmp/deinstall2010-08-02_12-50-24-PM/log

s/deinstall_deconfig2010-08-02_'

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

########################

ASM de-configuration trace file location:

/tmp/deinstall2010-08-02_12-50-24-PM/logs/asmcadc_clean

ASM Clean Configuration START

ASM Clean Configuration END

Network Configuration clean config START

Network de-configuration trace file location:

/tmp/deinstall2010-08-02_12-50-24-PM/logs/netdc_clean

De-configuring Naming Methods configuration file on all

Naming

successfully.

Methods configuration file de-configured

De-configuring Local Net Service Names configuration file

on

Local Net Service Names configuration file de-configured

successfully.

De-configuring Directory Usage configuration file on all

Directory Usage configuration file de-configured successfully.

De-configuring backup files on

Backup files de-configured successfully.

The network configuration has been cleaned up successfully.

Network Configuration clean config END

---------------------------------------->

Run the following command as the root user or the

administrator on node "rac1".

/tmp/deinstall2010-08-02_12-50-24-PM/perl/bin/perl

I/tmp/deinstall2010-08-02_12-50-24-PM/perl/lib

tmp/deinstall2010-08-02_12-50-24-PM/crs/install

/tmp/deinstall2010-08-02_12-50-24-PM/crs/install/root -

force -delete -paramfile /tmp/deinstall2010-08-02_12-50-24-

PM/response/deinstall_Ora11g_gri -lastnode

Press Enter after you finish running the above commands

<----------------------------------------

enter

Oracle Universal Installer clean START

Detach Oracle home '/oracle/app/grid/product/11.2.0' from

the central inventory on the local node : Done

Delete directory '/oracle/app/grid/product/11.2.0' on the

local node : Done

-

-I/

Delete directory '/oracle/app/oraInventory' on the local

node : Done

Delete directory '/oracle/app/oracle' on the local node :

Done

Detach Oracle home '/oracle/app/grid/product/11.2.0' from

the central inventory on the remote nod es 'rac2' : Done

Delete directory '/oracle/app/grid/product/11.2.0' on the

remote nodes 'rac2' : Done

Delete directory '/oracle/app/oraInventory' on the remote

nodes 'rac2' : Done

Delete directory '/oracle/app/oracle' on the remote nodes

'rac2' : Done

Oracle Universal Installer cleanup was successful.

Oracle Universal Installer clean END

Oracle install clean START

Clean install operation removing temporary directory

'/tmp/install' on node 'rac1'

Clean install operation removing temporary directory

'/tmp/install' on node 'rac2'

Oracle install clean END

Moved default properties file /tmp/deinstall2010-08-02_12-

50-24-PM/response/deinstall_Ora11g_gridi as

/tmp/deinstall2010-08-02_12-50-24-

PM/response/deinstall_Ora11g_gridinfrahome1.r sp3

######################### CLEAN OPERATION END

#########################

####################### CLEAN OPERATION

SUMMARY #######################

ASM instance was de-configured successfully from the

Oracle home

Oracle Clusterware was already stopped and de-configured

on node "rac2"

Oracle Clusterware is stopped and successfully de-

configured on node "rac1"

Oracle

successfully.

Successfully

he local node.

Successfully deleted directory

'/oracle/app/grid/product/11.2.0' on the local node.

Successfully deleted directory '/oracle/app/oraInventory' on

the local node.

Successfully deleted directory '/oracle/app/oracle' on the

local node.

Successfully

he remote nodes 'rac2'.

Successfully deleted directory

'/oracle/app/grid/product/11.2.0' on the remote nodes 'rac2'.

Successfully deleted directory '/oracle/app/oraInventory' on the

remote nodes 'rac2'.

Successfully deleted directory '/oracle/app/oracle' on the

remote nodes 'rac2'.

Oracle Universal Installer cleanup was successful.

Run 'rm -rf /etc/' as root on node(s) 'rac1,rac2' at

the end of the session.

Oracle install successfully cleaned up the temporary

directories.

#############################################

detached Oracle home

'/oracle/app/grid/product/11.2.0' from the central inventory on t

detached Oracle home

'/oracle/app/grid/product/11.2.0' from the central inventory on t

Clusterware is stopped and de-configured

##########################

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

END #############


本文标签: 删除 版本 卸载 手工 需要