How To Deinstall/Uninstall Oracle Home In 11gR2 (Doc ID 883743.1)
How To Deinstall/Uninstall Oracle Home In 11gR2 (Doc ID 883743.1)
In this Document
Goal |
Ask Questions, Get Help, And Share Your Experiences With This Article |
Solution |
References |
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.
Goal
The goal of this document is to show the steps for deinstalling an Oracle Home in an 11gR2 environment.
Ask Questions, Get Help, And Share Your Experiences With This Article
Would you like to explore this topic further with other Oracle Customers, Oracle Employees, and Industry Experts?
Click here to join the discussion where you can ask questions, get help from others, and share your experiences with this specific article.
Discover discussions about other articles and helpful subjects by clicking here to access the main My Oracle Support Community page for Database Install/Upgrade.
Solution
From 11gR2, de-installing Oracle Home should be done by deinstall tools provided separately. De-installation from 11.2 OUI is desupported. Please note the following text taken from the 11.2 Installation guides under:
Chapter7 Removing Oracle Database Software
7.1 About the Deinstallation Tool
Caution:
When you run the deinstall command, if the central inventory (oraInventory) contains no
other registered homes besides the home that you are deconfiguring and removing, then the
deinstall command removes the following files and directory contents in the Oracle base
directory of the Oracle Database installation owner:
* admin
* cfgtoollogs
* checkpoints
* diag
* oradata
* flash_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 the deinstall command deletes this data.
It is also suggested that before doing a deinstall on a server where more than one ORACLE_HOME exists there are a valid set of backups for the ORACLE_HOMEs, databases, and oraInventory.
Official documentation presents two methods to remove Oracle Database software:
1) External de-install utility downloadable from OTN ***Recommended method***
It is advised to use the external De-install utility that is downloadable from OTN as currently there are some open bugs with the deinstall script.
To get the external tool :
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
Under Oracle Database 11g Release 2, click See All for the respective platform for which you want to download the De-install utility.
If the intent is to deinstall 11.2.0.1 or 11.2.0.2 then you should use the latest version of the 11.2 deinstall utility, which would be version 11.2.0.4.0.
The De-install utility is available for download from the following links:
2) Deinstall script located inside Oracle Home (It is highly recommended not use the $ORACLE_HOME deinstall utility for versions 11.2.0.1 and 11.2.0.2, Download and use the 11.2.0.4.0 version):
%ORACLE_HOME%\deinstall\deinstall.bat (windows platforms)
3) It is possible to run the deinstall utility without doing the deinstall to confirm the deinstall will remove what is expected and allow any potential problems to be sorted out by running the following command:
$ /
% \
The logs can be found in one of the locations noted in the LOG LOCATION section below.
This will also generate a parameter file that can be used with interactive or silent deinstall. The parameter file will be generated in the /
De-installing Oracle Home using external de-install utility
If Oracle Home deinstall script has some issue and you want to deinstall home then you can download separate de-install utility from OTN and use it.
1. Download and unzip de-install utility in some folder outside Oracle Home.
2. Go to the deinstall folder.
3. Invoke deinstall utility with the -home option specifying the full path of the Oracle Home you want to deinstall.
Example:
4. If you want to do a non-interactive deinstall you can use the -silent option with a parameter file.
Example:
An example response file is located in /deinstall/response/deinstall.rsp.tmpl. You can modify and use it.
5. Check the logs created under
6. Check the inventory is updated properly.
7. Check if Oracle Home folder is deleted or not. If not then you have to remove it manually.
LOG LOCATION
- deinstall tool creates logs as per this logic:
a) If there are other oracle home (OUI based) in this Host except one which you are installing then it will create log under
b) If this is last Oracle Home to be deinstalled then current central inventory will also get deleted along with deinstall , therefore in this case it will choose log locations in the following order:
- It will create log directory in current location where deinstall utility is launched.
- If current folder is not writable or remotely mounted (permission issues ) then it will create user home directory (/home/oracle) as next option.
- If all criteria above is not met then it will proceed to create log directory under user TEMP location (/tmp).
|
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1156325/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How to Deinstall Oracle Clusterware Home ManuallyOracle
- Oracle 11gR2 Deinstall And Deconfig Tool Options (Doc ID 886749.1)Oracle
- How to Start 11gR2 Grid Infrastrucure in Exclusive Mode (Doc ID 1364971.1)AST
- How to Troubleshoot Connectivity Issue with 11gR2 SCAN Name (Doc ID 975457.1)
- oracle 11gR2 新增deinstall命令來解除安裝grid和databaseOracleDatabase
- How to Prepare Storage for ASM (Doc ID 452924.1)ASM
- How to get ORACLE_HOME from data dictionaryOracle
- 【DBA】Relinking Oracle Home 常見問題 (Doc ID 2048232.1)Oracle
- How to Duplicate a Database in NOARCHIVELOG mode (Doc ID 275480.1)DatabaseHive
- How To Replicate Data from Oracle to Postgres Using GoldenGate (Doc ID 1544137.1OracleGo
- How To Size the Database Smart Flash Cache (Doc ID 1317950.1)Database
- How To List All The Named Events Set For A Database (Doc ID 436036.1)Database
- How to free space from an ASM diskgroup? (Doc ID 1553744.1)ASM
- oracle install/uninstallOracle
- How to Collect Diagnostics for Database Hanging Issues (Doc ID 452358.1)Database
- How to Monitor and tune Open and Cached Cursors (Doc ID 1430255.1)
- deinstall oracle 資料庫Oracle資料庫
- [doc]How To Efficiently Drop A Table With Many Extents
- 【CURSOR】How to Monitor and tune Open and Cached Cursors (Doc ID 1430255.1)
- Uninstall Oracle 9iOracle
- 【健康檢查】How to Perform a Health Check on the Database (Doc ID 122669.1)ORMDatabase
- Top ASM Bugs In 11gR2 (Doc ID 1506033.1)ASM
- Oracle Text Health Check (Doc ID 823649.1)Oracle
- oracle 11g RAC手動解除安裝grid,no deinstallOracle
- How To Check if Asynchronous I/O is Working On Linux (Doc ID 237299.1)Linux
- Oracle 最新PSU (Doc ID 2118136.2)Oracle
- Oracle Forum HOMEOracle
- Oracle Grid/RAC 11.2.0.4 on Oracle Linux 7 (Doc ID 1951613.1)OracleLinux
- Oracle10G RMAN Database Duplication (Doc ID 259694.1)OracleDatabase
- Master Note - Oracle GoldenGate (Doc ID 1298817.1)ASTOracleGo
- Oracle Clusterware: Components installed. (Doc ID 556976.1)Oracle
- Oracle Linux and External Storage Systems (Doc ID 753050.1)OracleLinux
- How to create and relocate an 11gr2 RAC DATABASE SERVICEDatabase
- How to modify Public ip and vip In 11gr2 Rac
- 使用Deinstall專用工具刪除Oracle DatabaseOracleDatabase
- What is the $ORACLE_HOME/dbs/hc_<ORACLE_SID>.dat fileOracle
- How to Turn Archiving ON and OFF in Oracle RDBMS [ID 69739.1]Oracle
- 克隆(clone) ORACLE HOMEOracle