Oracle 11gR2 Deinstall And Deconfig Tool Options (Doc ID 886749.1)

rongshiyuan發表於2014-05-07

Oracle 11gR2 Deinstall And Deconfig Tool Options (Doc ID 886749.1)


In this Document

Goal
Solution

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.
***Checked for relevance on 22-Dec-2013***

Goal

What are the options available with Oracle deinstall and deconfig tools?

Solution

The following are the options that can be used with the Oracle deinstall and deconfig tools:


[ -silent ]
-silent: Use this flag to run the command in noninteractive mode. If you use the -silent flag, then you must use the -paramFile flag, and provide a parameter file that contains the configuration values for the Oracle home that you want to deinstall or deconfigure. You can generate a parameter file to use or modify by running deinstall with the -checkonly flag. The deinstall command then discovers information from the Oracle home that you want to deinstall and deconfigure. It generates the properties file, which you can then use with the -silent option. You can also modify the template file deinstall.rsp.tmpl, located in the response folder.

 

[ -checkonly ]
-checkonly: Use this flag to check the status of the Oracle software home configuration. Running the command with the checkonly flag does not remove the Oracle configuration. The checkonly flag generates a parameter file that you can use with the deinstall command.
-local: Use this flag on a multinode environment to deconfigure Oracle software in a cluster. When you run deconfig with this flag, it deconfigures and deinstalls the Oracle software on the local node (the node where deconfig is run). On remote nodes, it deconfigures Oracle software, but does not deinstall the Oracle software.

 

[ -local ]
-local: Use this flag on a multinode environment to deconfigure Oracle software in a cluster. When you run deconfig with this flag, it deconfigures and deinstalls the Oracle software on the local node (the node where deconfig is run). On remote nodes, it deconfigures Oracle software, but does not deinstall the Oracle software.

 

[ -paramfile ]
-paramfile : Use this flag to run deconfig with a parameter file in a location other than the default. When you use this flag, provide the complete path where the parameter file is located.The default location of the parameter file depends on the location of deconfig: 1.From the installation media or stage location: $ORACLE_HOME/inventory/response. 2.From a unzipped archive file from OTN: /ziplocation/response. 3.After installation from the installed Oracle home: $ORACLE_HOME/deinstall/response.

 

[ -params ]
-params : Use this flag with a parameter file to override one or more values that you want to change in a parameter file you have already created.

 


[ -o ]
-o : Use this flag to provide a path other than the default location where the properties file (deinstall.rsp.tmpl) is saved. The default location of the parameter file depends on the location of deconfig: 1.From the installation media or stage location before installation: $ORACLE_HOME/. 2.From a unzipped archive file from OTN: /ziplocation/response/. 3.After installation from the installed Oracle home: $ORACLE_HOME/deinstall/response.

 

[ -help | -h: Type -h or -help to get more information on each of the above options. ]

 

[-home] :Use this flag to indicate the home path of the Oracle home to check or deinstall.

To deinstall Oracle software using the deinstall command, located in the Oracle home you plan to deinstall, provide a response file located outside the Oracle home, and do not use the -home flag.

If you run the deinstallation tool from the $ORACLE_HOME/deinstall path, then the -home flag is not required because the tool identifies the location of the home where it is run. If you use runInstaller -deinstall from the installation media, then -home is mandatory.

 

 


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1156326/,如需轉載,請註明出處,否則將追究法律責任。

相關文章