1/8
ASM 11gR2 Grid Infrastructure
Deinstallation
This document explains, in detail, the steps required to deinstall the Oracle Grid
Infrastructure 11gR2 (11.2.0.1.0), remove the CSS & OHAS services, remove an ASM
instance and diskgroups through the roothas.pl script & deinstall command.
Deinstallation steps:
1) Shutdown the Database instance(s) associated with this ASM configuration.
2) Shutdown the ASM instance:
ASM 11gR2 Grid Infrastructure Deinstallation Author: Esteban Bernal
2/8
3) Shutdown and remove the CSS & OHAS services (connect as root OS user) using
the roothas.pl script:
ASM 11gR2 Grid Infrastructure Deinstallation Author: Esteban Bernal
3/8
4) Validate that the OHAS & CSS services were removed & are down:
5) Now proceed with the Oracle Grid Infrastructure deinstallation, connect as oracle
OS user and execute the deinstall command as follow:
ASM 11gR2 Grid Infrastructure Deinstallation Author: Esteban Bernal
4/8
===============================================================
[oracle@asmteam deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2010-02-26_03-57-26-PM/logs/
############ ORACLE DEINSTALL & DECONFIG TOOL START ############
######################## CHECK OPERATION START
########################
Install check configuration START
Checking for existence of the Oracle home location /u01/app/11.2.0/grid
Oracle Home type selected for de-install is: SIHA
Oracle Base selected for de-install is: /u01/app/oracle
Checking for existence of central inventory location /u01/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home
Install check configuration END
Traces log file: /tmp/deinstall2010-02-26_03-57-26-PM/logs//crsdc.log
Network Configuration check config START
Network de-configuration trace file location: /tmp/deinstall2010-02-26_03-57-26-
PM/logs/netdc_check6020178976464255598.log
Specify all Oracle Restart enabled listeners that are to be de-configured [LISTENER]:
<(== Press Enter Here
Network Configuration check config END
Asm Check Configuration START
ASM de-configuration trace file location: /tmp/deinstall2010-02-26_03-57-26-
PM/logs/asmcadc_check2635788680541261413.log
Specify the ASM Diagnostic Destination [ ]: <(== Press Enter Here
Specify the diskgroups that are managed by this ASM instance []: DATA <<Optional>>
<<< Warning: DO NOT specify diskgroups if you what to preserve them >>>
De-configuring ASM will drop all the diskgroups at cleanup time. Do you want deconfig
tool to drop the diskgroups y|n [y]: <(== Press Enter Here
######################### CHECK OPERATION END
#########################
ASM 11gR2 Grid Infrastructure Deinstallation Author: Esteban Bernal
5/8
####################### CHECK OPERATION SUMMARY
#######################
Oracle Grid Infrastructure Home is:
The cluster node(s) on which the Oracle home exists are: (Please input nodes separated
by ",", eg: node1,node2,...)null
Oracle Home selected for de-install is: /u01/app/11.2.0/grid
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
Following Oracle Restart enabled listener(s) will be de-configured: LISTENER
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-02-26_03-57-26-
PM/logs/deinstall_deconfig2010-02-26_03-58-26-PM.out'
Any error messages from this session will be written to: '/tmp/deinstall2010-02-26_03-
57-26-PM/logs/deinstall_deconfig2010-02-26_03-58-26-PM.err'
######################## CLEAN OPERATION START
########################
ASM de-configuration trace file location: /tmp/deinstall2010-02-26_03-57-26-
PM/logs/asmcadc_clean1178874827201485437.log
ASM Clean Configuration START
ASM deletion in progress. This operation may take few minutes.
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location: /tmp/deinstall2010-02-26_03-57-26-
PM/logs/netdc_clean3249025414653957412.log
De-configuring Oracle Restart enabled listener(s): LISTENER
De-configuring listener: LISTENER
Stopping listener: LISTENER
Warning: Failed to stop listener. Listener may not be running.
Deleting listener: LISTENER
Listener deleted successfully.
Listener de-configured successfully.
De-configuring Listener configuration file...
Listener configuration file de-configured successfully.
De-configuring Naming Methods configuration file...
Naming Methods configuration file de-configured successfully.
De-configuring backup files...
Backup files de-configured successfully.
The network configuration has been cleaned up successfully.
Network Configuration clean config END
ASM 11gR2 Grid Infrastructure Deinstallation Author: Esteban Bernal
6/8
Oracle Universal Installer clean START
Detach Oracle home '/u01/app/11.2.0/grid' from the central inventory on the local node :
Done
Delete directory '/u01/app/11.2.0/grid' on the local node : Done
Delete directory '/u01/app/oraInventory' on the local node : Done
Delete directory '/u01/app/oracle' on the local node : 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 'asmteam'
Oracle install clean END
######################### CLEAN OPERATION END
#########################
####################### CLEAN OPERATION SUMMARY
#######################
ASM instance was de-configured successfully from the Oracle home
Following Oracle Restart enabled listener(s) were de-configured successfully:
LISTENER
Oracle Restart is stopped and de-configured successfully.
Successfully detached Oracle home '/u01/app/11.2.0/grid' from the central inventory on
the local node.
Successfully deleted directory '/u01/app/11.2.0/grid' on the local node.
Successfully deleted directory '/u01/app/oraInventory' on the local node.
Successfully deleted directory '/u01/app/oracle' on the local node.
Oracle Universal Installer cleanup was successful.
Run 'rm -rf /etc/oraInst.loc' as root on node(s) 'asmteam' at the end of the session.
Oracle install successfully cleaned up the temporary directories.
######################################################################
#
############# ORACLE DEINSTALL & DECONFIG TOOL END #############
[oracle@asmteam deinstall]$
===============================================================
ASM 11gR2 Grid Infrastructure Deinstallation Author: Esteban Bernal
7/8
6) Finally run 'rm -rf /etc/oraInst.loc' as root (as requested above):
7) Verify the 11.2 Grid Infrastructure Oracle Home was removed:
ASM 11gR2 Grid Infrastructure Deinstallation Author: Esteban Bernal
8/8
8) Verify that the ASM entry form the /etc/oratab file was removed:
9) Now the OHAS & CSS services were removed, the ASM instance & Diskgroups were
removed (optional) and finally the Oracle Grid Infrastructure was deinstalled.
ASM 11gR2 Grid Infrastructure Deinstallation Author: Esteban Bernal