Thursday, 20 January 2011

AIA Migration

Prerequisites:
1. Running 10g server
2. Running 11g server
3. jDeveloper 11g installed
4. SOA suite installed

under the MW_HOME/Oracle_SOA/util/AIAMigrationUtility script AIAMigrationUtility.xml
As input AIAMigrationUtility.properties with following params:
jdev.home=<jDev HOME>
oracle.home=<PATH to SOA home>
service.home=<Service to migrate PATH>
service.name=<Service name>
http.hostname=<Target HOST>
http.port=<Target SOA PORT>
application.name=<Application name>
target.dir=<Target directory>
process.type=<Provider, Requestor, DBAdapter, JMSAdapter, OracleAppsAdapter, EBF, EBS>

Before execution make sure following environment variables are set (Win):
MW_HOME (set MW_HOME=Directory where Middleware installed)
ANT_HOME (set ANT_HOME=<MW_HOME>\\Oracle_SOA\\ant)
SOA_HOME (set SOA_HOME=<MW_HOME>\\Oracle_SOA)
ORACLE_HOME (set ORACLE_HOME=<MW_HOME>\\Oracle_SOA1)
CLASSPATH (set CLASSPATH=.;<MW_HOME>\\wlserver_10.3\\server\\lib\\weblogic.jar;<MW_HOME>\\Oracle_SOA\\lib\\aia.jar;<MW_HOME>\\modules\\net.sf.antcontrib_1.0.0.0_1-0b2\\lib\\ant-contrib.jar)
PATH (set PATH=<MW_HOME>\\Oracle_SOA1\\ant\\bin;<MW_HOME>\\jrockit_160_14_R27.6.5-32\\jre\\bin;<MW_HOME>\\wlserver_10.3\\server\\lib\\weblogic.jar)

Run the migration for each process:
ant -f AIAMigrationUtility.xml > Process-1.log

Migrate DVM

ant -f AIAMigrationUtility.xml upgradeDVM -DinputDir=C:\SVN\DVMs -DoutputDir=C:\NEW


Don't forget to add path afterwards (not created by default):
xmlns="http://xmlns.oracle.com/dvm"
Btw, good manual available for this!

No comments:

Post a Comment