SAP Note 1525025 - Oracle 11.2.0: Oracle Software Deinstallation

Component : Oracle -

Solution : https://service.sap.com/sap/support/notes/1525025 (SAP Service marketplace login required)

Summary :
SAP Note regarding the deinstallation of Oracle Database software (11.2 onwards) on Unix/Linux platforms outlines the necessity to use the 'deinstall' tool included from Oracle version 11.2. This tool must be used instead of the Oracle Universal Installer (OUI). The document warns against using the 'deinstall' tool for Oracle Database versions 11.2.0.1 and 11.2.0.2 in SAP environments due to potential broad deletions, including SAP-related directories and files under ORACLE_BASE. Version 11.2.0.3 onwards is compatible with the 'deinstall' tool but caution is advised, especially if it's the last Oracle home in the inventory, as it might remove all directories under $ORACLE_BASE. Users are urged to back up critical files and verify homes with 'opatch lsinventory'. For more detailed procedures on deinstallation and precautions, SAP notes and Oracle documentation should be consulted.

Key words :
check installed oracle homesos> $oracle_home/opatch/opatch lsinventory -allyou, 1 - oracle de-install utility - 11g r2 oracle universal installer, location  qo1_102_64    /oracle/qo1/102_64  oradb_home1   /oracle/qo1/11202, symbolic linkos> cd /oracle/$db_sidos> mv 112_64 112_64, remove symbolic linkos> cd /oracle/$db_sidos> rm 112_64, 1 softwareos> cd /oracle/$db_sidos> rm -rf 112_64, os> cd /oracle/$db_sidos> mv 112_64 112_64, central oracle inventoryos> <oracle_home>/oui/bin/attachhome, central oracle inventorywith '<oracle_home>/opatch/opatch lsinventory -, 2 softwareos> cd /oracle/$db_sidos> rm -rf 11202 deinstallation

Related Notes :

1591580Oracle Home administration on Windows
1524205Oracle 11.2.0: Database Software Installation