【Oracle RAC】Oracle 11g RAC Grid卸载过程

教程发布:风哥 教程分类:ITPUX技术网 更新日期:2022-02-12 浏览学习:114

【Oracle RAC】Oracle 11g RAC Grid卸载过程

[grid@rac1 ~]$ cd /oracle/app/grid/product/11.2.0/deinstall/

[grid@rac1 deinstall]$ ./deinstall

Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2010-08-02_12-50-24-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//crsdc.log
Network Configuration check config START
Network de-configuration trace file location: /tmp/deinstall2010-08-02_12-50-24-PM/logs/netdc_check3727611104686472502.log
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_check3719702873382016900.log
Automatic Storage Management (ASM) instance is detected in this Oracle home /oracle/app/grid/product/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, you 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 drop 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 input nodes seperated by ",", eg: node1,node2,...)rac1,rac2
Oracle Home selected for de-install is: /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_deconfig2010-08-02_12-52-52-PM.out'
Any error messages from this session will be written to: '/tmp/deinstall2010-08-02_12-50-24-PM/logs/deinstall_deconfig2010-08-02_12-52-52-PM.err'
######################## CLEAN OPERATION START ########################
ASM de-configuration trace file location: /tmp/deinstall2010-08-02_12-50-24-PM/logs/asmcadc_clean2327220596251819051.log
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_clean8273718125405356927.log
De-configuring Naming Methods configuration file on all nodes...
Naming Methods configuration file de-configured successfully.
De-configuring Local Net Service Names configuration file on all nodes...
Local Net Service Names configuration file de-configured successfully.
De-configuring Directory Usage configuration file on all nodes...
Directory Usage configuration file de-configured successfully.
De-configuring backup files on all nodes...
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 -I/tmp/deinstall2010-08-02_12-50-24-PM/crs/install /tmp/deinstall2010-08-02_12-50-24-PM/crs/install/rootcrs.pl -force -delete -paramfile /tmp/deinstall2010-08-02_12-50-24-PM/response/deinstall_Ora11g_gridinfrahome1.rsp -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 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 nodes '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_gridinfrahome1.rsp as /tmp/deinstall2010-08-02_12-50-24-PM/response/deinstall_Ora11g_gridinfrahome1.rsp3 ######################### 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 Clusterware is stopped and de-configured successfully. Successfully detached Oracle home '/oracle/app/grid/product/11.2.0' from the central inventory on the 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 detached Oracle home '/oracle/app/grid/product/11.2.0' from the central inventory on the 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/oraInst.loc' as root on node(s) 'rac1,rac2' at the end of the session. Oracle install successfully cleaned up the temporary directories. ####################################################################### ############# ORACLE DEINSTALL & DECONFIG TOOL END #############

本文标签:
网站声明:本文由风哥整理发布,转载请保留此段声明,本站所有内容将不对其使用后果做任何承诺,请读者谨慎使用!
【上一篇】
【下一篇】