Oracle® Application Server Installation Guide 10g Release 3 (10.1.3.2.0) for HP-UX PA-RISC (64-Bit) Part Number B32406-01 |
|
|
View PDF |
This appendix guides you through the deinstallation and reinstallation process for Oracle Application Server.
Section D.3, "Additional Deinstallation Tasks for Oracle Content DB"
Section D.4, "Cleaning Up Oracle Application Server Processes"
Follow these high-level steps to deinstall Oracle Application Server (the details are provided in later sections):
Run the installer and click the Deinstall Products button.
Clean up any remaining files.
Items to Remove or Clean Up
To deinstall Oracle Application Server instances, you have to clean up the items listed in Table D-1. The procedures are described later in this appendix.
Table D-1 Items to Deinstall
Item to Clean Up | Tool to Use |
---|---|
Entries for the deleted instance in the Inventory directory |
Installer |
Instance name from Farm page |
Installer |
Entries for the deleted instance in the |
You have to remove the entries manually. See Step 6. |
The installer does not permit custom deinstallation of individual components.
The steps to deinstall Oracle Application Server are as follows:
Log in as the operating system user who installed the instance you want to deinstall.
Stop all processes associated with the instance you want to deinstall.
See the Oracle Application Server Administrator's Guide for details on how to stop the processes.
Start the installer.
prompt> $ORACLE_HOME/oui/bin/runInstaller
Follow these steps in the installer.
Welcome screen: Click Deinstall Products.
Inventory screen: Select the instance you want to deinstall, and click Remove.
Confirmation screen: Verify the components selected for deinstallation. Click Yes to continue.
Deinstallation Progress screen: Monitor the progress of the deinstallation.
Exit the installer when the deinstallation is complete.
Delete any remaining files in the deleted instance's Oracle home directory.
prompt> rm -rf $ORACLE_HOME
Remove the line for the deinstalled instance from the /var/opt/oracle/oratab
file.
Towards the end of the file, you should see lines that specify the Oracle home directory. Remove the line for the Oracle home that you deinstalled. For example, if your Oracle home is /private1/j2ee
, the line would look like the following:
*:/private1/j2ee:N
If you deinstalled Oracle Content DB, perform the steps in Section D.3, "Additional Deinstallation Tasks for Oracle Content DB".
This section describes additional tasks to deinstall Oracle Content DB. If you have more than one middle tier, perform these steps after you deinstall the last Oracle Content DB middle tier.
On the database computer, go to the Oracle home of the database.
Connect to SQL*Plus as the database user SYS, with the SYSDBA option.
Drop the Oracle Content DB schemas (CONTENT
and CONTENT$CM
), the Oracle Workflow schema (OWF_MGR
), and the Oracle Content DB tablespaces by executing the following commands. The first command may take a few minutes to run.
drop user CONTENT cascade; drop user CONTENT$CM cascade; drop user OWF_MGR cascade; drop tablespace CONTENT_IFS_MAIN including contents; drop tablespace CONTENT_IFS_LOB_N including contents; drop tablespace CONTENT_IFS_LOB_I including contents; drop tablespace CONTENT_IFS_LOB_M including contents; drop tablespace CONTENT_IFS_CTX_K including contents; drop tablespace CONTENT_IFS_CTX_I including contents; drop tablespace CONTENT_IFS_CTX_X including contents; drop tablespace WORKFLOW_IFS_MAIN including contents;
If you forgot to shut down Oracle Application Server processes before starting the installation, you have to kill the processes because the files for these processes are deleted. To check for processes that are still running, run the ps
command:
prompt> ps -ef
To kill a process, use the kill command:
prompt> kill -9 process_id
You can determine the process_id from the ps
command.
The installer does not allow reinstallation of an Oracle Application Server instance in a directory that already contains an Oracle Application Server instance. To reinstall Oracle Application Server in the same directory, you have to deinstall and then install it.