Overview of scripts called during application migration
This topic provides detail on the scripts called when you migrate the WebSphere Commerce application using the WCIM migration script.
Migrating the WebSphere Commerce application involves
the following steps, which can be seen in the file WC_installdir/migration/xml/build.xml:
<target name="-migration" depends="-setprops">
<antcall target="-checkdb" />
<antcall target="-migratedb" />
<antcall target="-backupapp" />
<antcall target="-migrateapp" />
<!-- config ws -> config app-->
<antcall target="-configapp" />
<antcall target="-installapp" />
</target>
where -migratedb
is for the database migration task-backupapp
is for application backup task-migrateapp
is for application migration task,-configapp
and-installapp
are for application configuration task
For more details about
-migrateapp
,
refer to the file WC_installdir/migration/xml/app.xml.
The main tasks called by app.xml are:- Creating the V7 profile
- Migrating the instance
- Running WASPostUpgradeWithoutApp
- Running SyncNode if the environment is clustered
- Copying the V7 EAR template into a temporary directory, which is included in the target migrated in the file WC_installdir/migration/xml/features/BASE/app/561/build.xml
For more details about
-configapp
,
refer to the file WC_installdir/migration/xml/ws.xml.
The main tasks called by configapp are:- Updating the related WebSphere Application Server xml file
- Replacing wc-server.xml with the migrated WebSphere Commerce instance xml file.
More details about
-installapp
are
also in the file WC_installdir/migration/xml/ws.xml.
The main tasks called by installapp are: - Make profile configuration changes, such as CreateVirtualHosts, modifyVirtualHosts, modifyDataSource, remapAppServer.
- Deploying the migrated EAR to the WebSphere Commerce V7 server
- Rebuilding the cluster
- Regenerating the Web server plugin xml file