This chapter describes how to uninstall Oracle Communications Evolved Communications Application Server (OCECAS) and its components.
Uninstalling OCECAS consists of the following steps.
Silent mode enables you to uninstall the product without having to respond to prompts during the process. For general information about silent installation for Oracle products, see "Using the Oracle Universal Installer in Silent Mode" in Oracle Fusion Middleware Installing with the Oracle Universal Installer.
You can drop the OPSS repository in either GUI mode or silent mode.
Follow these steps to drop the OPSS Repository in GUI mode:
If it is not already running, start the Oracle database listener by entering the following command:
DB_Oracle_home/bin/lsnrctl start
If WebLogic is running and using the database, stop WebLogic.
You will not be able to drop the repository if it is being used.
Locate the Oracle repository creation utility (rcu
) and run it. For example:
cd OCECAS_home/oracle_common/bin
./rcu
On the Welcome screen, click Next.
On the next screen, select the Drop Repository option button and then click Next.
On the Database Connection Details screen, enter the specified values for the following entries:
Table 11-1 Entries for Database Connection Details
Entry | Value |
---|---|
Database Type |
Select Oracle Database from the menu list. |
Host Name |
Enter the host name of your host. |
Port |
Enter port number 1521. |
Service Name |
Enter SDC. |
Username |
Enter sys. |
Password |
Enter the password for user sys. |
Role |
Select SYSDBA from the menu list. |
Then click Next.
On the Checking Prerequisites progress dialog, click OK when the operation is complete.
On the Select Components screen, select the following schemas under Oracle AS Repository Components -> AS Common Schemas:
Audit Services
Audit Services Append
Audit Services Viewer
Oracle Platform Security Services
Common Infrastructure Services
Then click Next.
On the Checking Prerequisites progress dialog, click OK when the operation is complete.
On the Summary screen, click Drop.
On the Completion Summary screen, click Close.
You can also drop the OPSS database repository by using the -silent
option to run rcu
in silent mode.
Follow these steps to drop the OPSS repository in silent mode:
If it is not already running, start the Oracle database listener by entering the following command:
DB_Oracle_home/bin/lsnrctl start
If WebLogic is running and using the database, stop WebLogic.
You will not be able to drop the repository if it is being used.
Enter the following commands on the command line to drop the repository in silent mode; if necessary, adjust the path for ORACLE_HOME
to the directory that you are actually using:
JAVA_HOME=/usr/java/latest
ORACLE_HOME=/middleware/occas/oracle/product/12.1.0
export JAVA_HOME ORACLE_HOME
OCECAS_home/oracle_common/bin/rcu -silent -dropRepository -databaseType ORACLE -connectString localhost:1521:SDC -dbUser sys -dbRole sysdba -schemaPrefix SDC -component OPSS
Enter the password for user SYS when you see the following prompt:
Please enter the database password(User:sys):
The utility displays output like the following as it proceeds to completion:
Processing command line .... Repository Creation Utility - Checking Prerequisites Checking Global Prerequisites Repository Creation Utility - Checking Prerequisites Checking Component Prerequisites Repository Creation Utility - Drop Repository Drop in progress. Percent Complete: 22 Percent Complete: 47 Percent Complete: 49 Percent Complete: 49 Percent Complete: 100 Repository Creation Utility: Drop - Completion Summary Database details: Host Name : localhost Port : 1521 Service Name : SDC Connected As : sys Prefix for (prefixable) Schema Owners : SDC RCU Logfile : /middleware/occas/oracle/logdir.2015-10-07_08-36/rcu.log Component schemas dropped: Component Status Logfile Oracle Platform Security Services Success /middleware/occas/oracle/logdir.2015-10-07_08- 36/opss.log Repository Creation Utility - Drop : Operation Completed
Prior to uninstalling OCECAS you must drop the OCECAS database from the machine where you installed it, either the machine that hosts the management domain, or the remote machine where you installed it.
To drop the OCECAS database from the machine that hosts the management domain, follow these steps:
Manually shut down all services and WebLogic Server.
Go to the Ocecas_home directory and enter the following command:
./root.sh -d remove
To drop the OCECAS database from a remote machine, follow these steps:
Log in to the remote machine.
Locate the scripts directory, which should be in the same location as on the machine hosting the management domain. For example:
cd Ocecas_home/wlserver/csp/installation/scripts
Run the following command:
sdc-db.sh -d remove
You can uninstall OCECAS in either GUI mode or in silent mode.
To uninstall OCECAS components in GUI mode, perform the following on each machine in your OCECAS system:
Log in to the target system.
Manually shut down all services and WebLogic Server.
Go to the Ocecas_home/oui/bin directory, and enter the following command:
./deinstall.sh
If you have multiple Oracle products installed in your Oracle inventory directory (oraInventory), the Distribution to Uninstall screen appears.
Perform the following to specify the Oracle product to uninstall:
From the Select Distribution to Uninstall list, select Evolved Communications Application Server~7.0.0.0.0.
Click Uninstall.
From the Welcome screen, click Next.
The Deinstallation Summary screen appears.
Verify that the list of feature sets to uninstall is correct.
To save the information to a response file so you can uninstall the components later, click Save Response File and specify the name and location of the response file.
Click Deinstall.
The Deinstallation Progress screen appears, and a progress bar indicates the status of the uninstallation process.
When the uninstallation process is complete, click Next.
The Deinstallation Complete screen appears.
Click Finish.
The uninstaller exits.
Use silent mode to uninstall duplicate installations on multiple machines. In silent mode, you create and use a response_uninistall.rsp configuration file, and then specify it as a parameter at the command line. The program does not display any options during the uninstallation process.
To uninstall OCECAS components in silent mode, perform the following on each machine in your OCECAS system:
Log in to the target system.
Manually shut down all services and WebLogic Server.
Create a text file.
Add the following contents to your text file:
[ENGINE]
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
[GENERIC]
#This will be blank when there is nothing to be de-installed in distribution level
SELECTED_DISTRIBUTION=Evolved Communications Application Server~7.0.0.0.0
#The oracle home location. This can be an existing Oracle Home or a new Oracle Home
ORACLE_HOME=Ocecas_home
where SELECTED_DISTRIBUTION is set to the component to uninstall. This parameter is required only if multiple applications are installed in the Oracle Inventory directory (oraInventory). For OCECAS, set SELECTED_DISTRIBUTION to Evolved Communications Application Server~7.0.0.0.0.
Save the text file with the name response_uninstall.rsp.
Perform this step only on the machine that hosts your Management Domain:
Go to the Ocecas_home directory, and enter the following command:
./root.sh -d remove
Go to the Ocecas_home/oui/bin directory and enter the following in a command window:
./deinstall.sh -silent -responseFile ResponseFile
where ResponseFile is the full path and name of the response_uninstall.rsp file. For example, Ocecas_home/oui/bin/response_uninstall.rsp.
The uninstallation process completes with no prompts.
If the uninstallation procedure completes successfully, you see a response similar to the following:
Launcher log file is /tmp/OraInstall2015-11-06_01-46-10PM/launcher2015-11-06_01-46-10PM.log. Starting Oracle Universal Installer Checking if CPU speed is above 300 MHz. Actual 2893.030 MHz Passed Checking swap space: must be greater than 512 MB. Actual 15826924 MB Passed Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required) Checking temp space: must be greater than 300 MB. Actual 136360 MB Passed Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2014-11-06_01-46-10PM Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 Log: /tmp/OraInstall2014-11-06_01-46-10PM/deinstall2014-11-06_01-46-10PM.log Setting ORACLE_HOME to /home/oracle/ Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved. Starting silent deinstallation... -----------20%----------40%----------60%----------80%--------100% The uninstall of Oracle Communications Evolved Communications Application Server 7.0.0.0.0 completed successfully. Logs successfully copied to /export/oraInventory/logs.