Oracle® Fusion Middleware Installation and Upgrade Guide for Oracle Application Integration Architecture Foundation Pack 11g Release 1 (11.1.1.6.0) Part Number E17949-05 |
|
|
PDF · Mobi · ePub |
This chapter provides an overview of Oracle AIA Uninstallation and discusses various uninstallation options of Foundation Pack like how to uninstall Foundation Pack using AIA Deinstaller, how to uninstall specific instances of Foundation Pack using manual steps, how to clean the environment post installation and finally how to whether verify uninstallation is complete.
This chapter includes the following sections:
Section 7.2, "Uninstalling Foundation Pack using AIA Deinstaller"
Section 7.3, "Undeploying a Specific Instance of AIA Foundation Pack Using Manual Steps"
If you have multiple AIA instances, you must manually uninstall the specific AIA instance that you want to undeploy.
Refer to Section 7.3, "Undeploying a Specific Instance of AIA Foundation Pack Using Manual Steps."
To completely uninstall AIA (which means undeploying all AIA instances and removing AIA Home), then you must undeploy all AIA instances except for one instance and then use the De-installer.
If you have deployed the Foundation Pack Demo, undeploy it before you uninstall Foundation Pack, because it does not get undeployed automatically when you uninstall Foundation Pack.
Tip:
Before launching the Deinstaller, ensure that the SOA server is running.To uninstall Foundation Pack using AIA Deinstaller:
Navigate to AIAHOME/oui/bin.
Launch Deinstaller.
Follow the launch instructions for your platform. Table 7-1 lists the commands you must use based on your platform.
Table 7-1 Commands to launch Oracle AIA Deinstaller
Platform | To launch the Oracle AIA Foundation Pack Installer: |
---|---|
Linux Solaris SPARC IBM AIX Based Systems HP-UX |
At the command line prompt, enter: ./runInstaller -invPtrLoc <SOA_HOME>/oraInst.loc -deinstall -jreloc <location of the jre specific to your operating system. This directory should have /bin/java> |
Microsoft Windows |
At the command line prompt, enter: setup.exe -deinstall |
AIA Deinstaller launches the Welcome screen.
Click Next.
AIA Deinstaller displays the installed products.
Select the instance to be uninstalled by clicking once on the Instance name.
Note:
After you select the instance, the deinstaller picks up the server details from the AIAInstallProperties.xml file and prompts the user for the admin username and password for the server in order to confirm deinstall.Click Deinstall.
AIA Deinstaller displays a warning message with the following deinstallation options:
Deinstall and delete AIA Home directory. To deinstall and delete AIA Home directory, click Yes.
Note:
If multiple AIA Instances that are using the same AIA Home exist, then manually undeploy other AIA instances before you delete AIA Home directory using deinstaller.Deinstall without deleting AIA Home directory. To deinstall without deleting the AIA Home directory, click No.
Choose one of the options.
Click Finish in the Deinstallation Complete screen.
Note:
After you uninstall, follow the cleanup steps in Section 7.4, "Cleaning The Environment" to clean the environment and then attempt a fresh installation of AIA.To uninstall Foundation Pack using manual steps:
Navigate to AIA_HOME/aia_instances/<instance_name>/bin.
Run the following command:
. aiaenv.sh (for UNIX based) aiaenv.bat (for windows)
Navigate to AIA_HOME/Infrastructure/Install/AID.
Run the following command to initiate uninstallation:
ant -f AIAInstallDriver.xml -DPropertiesFile=$AIA_HOME/aia_instances/<Instance Name>/config/AIAInstallProperties.xml -logfile $AIA_HOME/aia_instances/<Instance Name>/logs/FPUnInstall.log -DDeploymentPlan=$AIA_HOME/aia_instances/<Instance Name>/config/FPUnInstallDP.xml
Note:
After you uninstall, follow the cleanup steps in Section 7.4, "Cleaning The Environment" to clean the environment and then attempt a fresh installation of AIA.Clean the environment after you uninstall AIA Foundation Pack.
To clean the environment:
Navigate to WebLogic console and click Deployments in the left navigation bar.
Select all AIA related deployments if they exist (ideally they get removed during uninstallation) and click Delete.
Repeat Step 2 for Datasources, JMS modules and JMS resources if they exist.
Navigate to Security Realms and select your realm (myrealm).
Click the Users and Groups tab and remove AIA users and AIA groups.
Shutdown the SOA managed server and then shutdown the Admin server.
Start the Admin server.
Open the console, and verify whether you have any changes to activate in the Activation center. If there are any, activate them. If they do not get activated, undo all changes.
Open the folder Middleware/domains/<your_domain> and remove the file edit.lok.
Open the folder Middleware/domains/<your_domain>/pending, and remove all files.
Restart the SOA Server.
Clean MDS following the steps given in the Section 7.4.1, "Cleaning the MDS" before attempting a fresh installation. Also ensure that you have completed all pre-installation steps before attempting the installation.
To clean the MDS:
Execute SOA_HOME/common/bin/wlst.sh
Connect to admin server by running connect()
Enter the domain config by running domainConfig()
Delete Metadata by running deleteMetadata('soa-infra', 'soa_server1','/apps/AIAMetaData/**')
Note:
For cluster, replace 'soa_server1' with running managed server that is a part of the cluster.Security policies do not get uninstalled when you uninstall Foundation Pack using deinstaller. You must manually uninstall them.
To uninstall security policies:
Login to Oracle Enterprise Manager.
Expand WebLogic Domain and click <Your Domain Name> on the navigation tree.
Click Weblogic Domain menu on the top of the right panel and navigate to Web Services, Policies.
Select All from Applies To dropdown list, and click the Search button next to the Name field.
Select oracle/aia_wss_saml_or_username_token_service_policy_OPT_ON and click the Delete button in the menu on the top.
Repeat step 5 to remove the following policies
oracle/aia_wss_saml_or_username_or_http_token_serivce_policy_OPT_ON
oracle/aia_wss10_saml_token_client_policy_OPT_ON
To verify uninstallation:
Navigate to AIA Console http://<server name>:<port number>/AIA/ and confirm that this page is not available.
Log in to Oracle Enterprise Manager http://<server name>:<port number>/em /.
Log in using the appropriate user which you have created using the pre-install steps.
Navigate to Farm.
Expand Farm_soa_domain, SOA, soa infra in the left panel.
Navigate to Deployed Composites in the main panel.
You should not be able to view any AIA related composites.