12 Uninstalling ASAP
This chapter describes how to uninstall Oracle Communications ASAP and its components.
About Uninstalling ASAP
You use the RPM to uninstall ASAP. See "Re-Running the ASAP Server Installation" for uninstalling ASAP and its components through RPM.
Uninstalling ASAP WebLogic Server Components
The ASAP WebLogic Server uninstaller removes all of the components and features of ASAP on the WebLogic Server with the exception of the cartridge management component. This component is shared by other Oracle products and should be deleted manually using the WebLogic Server Administration Console.
The uninstaller also removes all changes or customizations to your ASAP WebLogic Server components.
To remove ASAP UNIX server components, see "Uninstalling ASAP UNIX Servers."
Note:
You must uninstall the ASAP WebLogic Server before you uninstall the ASAP UNIX server components.
To uninstall the ASAP WebLogic Server components:
-
Stop the WebLogic Server.
-
Run the following command on domain to remove the domain directory:
rm- rf
Uninstalling ASAP UNIX Servers
You remove the ASAP WebLogic server components and then uninstall the ASAP UNIX servers. To remove ASAP WebLogic server components, see "Uninstalling ASAP WebLogic Server Components."
-
Stop the WebLogic server:
cd domain_home/bin ./stopWebLogic.sh -U wls_admin_user
-
Remove the WebLogic server components.
-
Drop the Database as appropriate.
-
Remove the installed RPM package by running the following commands:
#Get the name of the rpm rpm -q asap-installer #Remove the RPM package rpm -ev rpm_name
-
Remove all the directories and files that were created by ASAP installation by running the following command:
rm -rf
Uninstalling a Cartridge
There are two ways of uninstalling a cartridge:
Uninstalling a Cartridge Using Scripts
Run the uninstallation script uninstallCartridge to uninstall the cartridge. The script runs the following tasks:
-
Deconfigures cartridge-specific NEs using the SACT.
-
Undeploys the cartridge service model (only if the cartridge service model is already deployed) using the SADT.
-
Removes the cartridge-specific jar files and cpp library file from the ASAP environment.
For more information on the SACT and the SADT, refer to the ASAP System Administrator's Guide.
To uninstall the cartridge:
-
Run the uninstallCartridge script. At the prompt, type:
uninstallCartridge SAR_file.Timestamp.sar
-
The script prompts you to enter the NEP server name.
-
The script prompts you for the values of the following parameters:
-
WebLogic Hostname
-
WebLogic HTTP Port
-
WebLogic Login User ID
-
WebLogic Login Password
-
The script unloads the NEP-NE configuration and CSDL-ASDL configuration from SARM database. It also removes the cartridge specific jar files from the ASAP environment.
Uninstalling a Cartridge Using Design Studio
To uninstall a cartridge using Design Studio:
-
Connect to your environment using the Connect button.
-
Select the cartridge from the Environment Cartridge list in Design Studio and click Undeploy.
-
Verify the Environment Cartridge list. If the check box for the cartridge is unchecked, it means that the cartridge is uninstalled.