Undeploying Services Oracle Fusion Middleware Online Documentation Library

Generating Deployment Plans and Deploying Artifacts 6-11 ant -f AIA_HOME\Infrastructure\Install\AID\AIAInstallDriver.xml -DPropertiesFile=AIA_HOME\aia_instances\AIA_Instance_ name\config\AIAInstallProperties.xml -DDeploymentPlan=AIA_HOME\pips\PIP_ name\DeploymentPlans\PIP_nameDP.xml -DSupplementaryDeploymentPlan =AIA_ HOME\pips\PIP_name\DeploymentPlans\PIP_nameSupplementaryDP.xml -DCustomDeploymentPlan=AIA_HOME\pips\PIP_name\DeploymentPlans\PIP_ nameCustomDP.xml -DDeploymentPolicyFile=AIA_HOME\pips\PIP_ name\DeploymentPlans\PIP_nameConditionalPolicy.xml The PropertiesFile, AIAInstallProperties.xml, contains the details of the AIA environment and is located here: AIA_HOMEaia_instancesinstance_ nameconfig.

6.6 Undeploying Services

The undeployment plan is generated at the same location as the deployment plan with the name PIP_NameUndeployDP.xml. The undeployment plan is generated only for native artifacts modified through the Project Lifecycle Workbench. This contains undeploy tasks for all the services deployed and the configurations done as part of Deployment Plan. The undeployment plan is executed using the AID. The undeployment command is similar to the deployment plan command except for the Deployment Plan input argument and an additional argument “Uninstall”. For example, if you have used the following command to deploy modified native artifacts: ant -f AIA_HOME\Infrastructure\Install\AID\AIAInstallDriver.xml -DPropertiesFile=AIA_HOME\aia_instances\AIA_Instance_ name\config\AIAInstallProperties.xml -DDeploymentPlan=AIA_HOME\pips\PIP_ name\DeploymentPlans\PIP_nameDP.xml -DSupplementaryDeploymentPlan =AIA_ HOME\pips\PIP_name\DeploymentPlans\PIP_nameSupplementaryDP.xml -DDeploymentPolicyFile=AIA_HOME\pips\PIP_name\DeploymentPlans\PIP_ nameConditionalPolicy.xml then the undeployment command will be: ant -f AIA_HOME\Infrastructure\Install\AID\AIAInstallDriver.xml -DPropertiesFile=AIA_HOME\aia_instances\AIA_Instance_ name\config\AIAInstallProperties.xml Uninstall -DDeploymentPlan=AIA_ HOME\pips\PIP_name\DeploymentPlans\PIP_nameUndeployDP.xml However, for non-native artifacts you must generate the undeployment plan manually. You must take a copy of the supplementary deployment plan and name it PIP_ NameUndeploySupplementaryDP.xml or PIP_ NameUndeployCustomSupplementaryDP.xml depending on the supplementary deployment plan name. In the new deployment plan change the action attributes of all the tasks from “deploy” to “undeploy” or from “create” to “delete”. 6-12 Developers Guide for Oracle Application Integration Architecture Foundation Pack 7 Generating a Deployment Plan for ODI 7-1 7 Generating a Deployment Plan for ODI This chapter includes the following sections: ■ Section 7.1, Introduction to Generating a Deployment Plan for ODI