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.
Official documentation presents two methods to remove Oracle Database software:. 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 :. 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 The De-install utility is available for download from the following links:. Microsoft Windows bit. Microsoft Windows x Linux x Solaris x HP-UX Itanium. This will also generate a parameter file that can be used with interactive or silent deinstall. 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.
Download and unzip de-install utility in some folder outside Oracle Home. Go to the deinstall folder. Invoke deinstall utility with the -home option specifying the full path of the Oracle Home you want to deinstall. If you want to do a non-interactive deinstall you can use the -silent option with a parameter file. Checking for required files and bootstrapping Please wait Network Configuration check config END. Use comma as separator when specifying list of values as input.
Single Instance Database. Storage type used by the Database:. Storage used :. No Enterprise Manager configuration to be updated for any database s. No Enterprise Manager listener targets to migrate. Checking the config status for CCR. CCR check is finished.
Do you want to continue y - yes, n - no? Updating Enterprise Manager listener targets if any. This operation may take few minutes. Listener stopped successfully. 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. After the script has completed, you can run the deinstall command. With release As root , unlock and move the Grid binaries from the old Grid home location to the new Grid home location. As root again, enter the following commands to start up in the new home location:.
Running the rootcrs. This feature is useful if you encounter an error on one or more cluster nodes during installation when running the root. By running rootcrs. Run rootcrs. If you are deconfiguring Oracle Clusterware on all nodes in the cluster, then on the last node, enter the following command:. The -lastnode flag completes deconfiguration of the cluster, including the OCR and voting disks. The following sections describe the command, and provide information about additional options to use the command:.
The Deinstallation Tool deinstall stops Oracle software, and removes Oracle software and configuration files on the operating system. It is available in the installation media before installation, and is available in Oracle home directories after installation. You can download the Deinstallation tool with the complete Oracle Database 11g release 2 software, or as a separate archive file.
To download the Deinstallation tool separately, click the See All link next to the software version. The Deinstallation tool command uses the information you provide and the information gathered from the software home to create a parameter file. Alternatively, you can use a parameter file generated previously by the deinstall command using the -checkonly flag and -o flag. You can also edit a response file template to create a parameter file.
The Deinstallation tool command stops Oracle software, and removes Oracle software and configuration files on the operating system for a specific Oracle home. If you run the Deinstallation tool to remove an Oracle Grid Infrastructure for a cluster installation, then the tool prompts you to run the rootcrs. 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. The default method for running the deinstall tool is from the deinstall directory in the Grid home. In addition, you can run the deinstall tool from other locations, or with a parameter file, or select other options to run the tool.
Use this flag to indicate the home path of the Oracle home that you want to check or deinstall. To deinstall Oracle software using the deinstall command in the Oracle home you plan to deinstall, provide a parameter file in another location, and do not use the -home flag. If you use the standalone version of the tool, then -home is mandatory.
Use this flag to run the command in noninteractive mode. This option requires a properties file that contains the configuration values for the Oracle home that is being deinstalled or deconfigured. To create a properties file and provide the required parameters, refer to the template file deinstall.
If you have a working system, then instead of using the template file, you can generate a properties file by running the deinstall command using 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. 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.
When you run deinstall with this flag, it deconfigures and deinstalls the Oracle software on the local node the node where deinstall is run for non-shared home directories.
On remote nodes, it deconfigures Oracle software, but does not deinstall the Oracle software. Use this flag to run deinstall 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.
If you are running the deinstall command from the Oracle home that you plan to deinstall, then you do not need to use the -paramfile flag. The default location of the parameter file depends on the location of deinstall :.
0コメント