7 Removing Oracle RAC Software
The deinstall.bat
command removes Oracle Clusterware and Oracle Automatic Storage Management (Oracle ASM) from your server, and Oracle Database installations, for both Oracle RAC and single-instance databases.
- Overview of Deinstallation Procedures
There are several tasks to perform when completely removing all Oracle databases, instances, and software from an Oracle home directory. - About Oracle Deinstallation Options
Thedeinstall.bat
command stops Oracle software, and removes Oracle software and configuration files on the operating system. - Files Deleted by the deinstall Command
Thedeinstall
command removes Oracle software and files from your system. - Identifying All Instances On a Cluster
You can identify the database instances on your cluster using either SRVCTL or the Windows Services control interface. - deinstall Command Reference
You can run thedeinstall
command to remove Oracle software. You can run this command from an Oracle home directory after installation. - Using the Deinstallation Tool to Remove Oracle RAC
You can run the deinstallation tool in multiple ways. - Cleaning Up After a Failed Installation
If an installation fails, then you must remove the Oracle home directory and remove all files that Oracle Universal Installer (OUI) created during the attempted installation.
7.1 Files Deleted by the deinstall
Command
The deinstall
command removes Oracle software and files from your system.
When you run deinstall
, if the central inventory (Inventory
) contains no other registered homes besides the home that you are deconfiguring and removing, then the deinstall
removes the following files and directory contents in the Oracle base directory of the Oracle Database installation owner:
-
admin
-
cfgtoollogs
-
checkpoints
-
diag
-
oradata
-
fast_recovery_area
Oracle strongly recommends that you configure your installations using an Optimal Flexible Architecture (OFA) configuration, and that you reserve Oracle base and Oracle home paths for exclusive use of Oracle software. If you have any user data in these locations in the Oracle base that is owned by the user account that owns the Oracle software, then deinstall
deletes this data.
Caution:
Thedeinstall
command deletes Oracle Database configuration files, user data, and fast recovery area (FRA) files even if they are located outside of the Oracle base directory path.
Parent topic: Removing Oracle RAC Software