${ANT_HOME}/bin/ant -Druntime=<INSTALL_DIR> -Druntime.old=<INSTALL_DIR_OLD> -f buildmigration.xml -logfile <logfile> -Dtarget=copyextensions migrate
This command will prepare the extensions package from the old runtime and install it on the new <INSTALL_DIR>
The *.done files created in the 9.3 status folder for the task copyextensions are:
To customize the web.xml, weblogic.xml, and application.xml files, apply these changes manually in the old runtime.
${ANT_HOME}/bin/ant -Druntime=<INSTALL_DIR> -Druntime.old=<INSTALL_DIR_OLD> -f
buildmigration.xml -logfile <logfile> -Dtarget=installPCAs migrate
This command will create a package of all the PCAs installed on the old runtime and install these packages on the new <INSTALL_DIR>.
The *.done file created in the 9.3 status folder for the task installPCAs is ant_installPCAs.xml.done.
If migrating from 8.5 (or later) to 9.4 as part of sharded upgrade, and performing a "colony-by-colony" upgrade, to populate the pca version numbers of the migrated PCAs, run the following SQL commands in the 9.4 configuration shard:
INSERT INTO SI_VERSION (PRODUCT_LABEL, BUILD_NUMBER, LIC_PROD_VER, SI_COMMENTS) values ('<pca product name>','<pca version#>','<pca version#>','<pca product name>');
${ANT_HOME}/bin/ant -Druntime=<INSTALL_DIR> -Druntime.old=<INSTALL_DIR_OLD> -f
buildmigration.xml -logfile <logfile> -Dtarget=initupgrade migrate
This command performs the following tasks:
The *.done files created in the 9.3 status folder for the task initupgrade task are:
${ANT_HOME}/bin/ant -Druntime=<INSTALL_DIR>
-Druntime.old=<INSTALL_DIR_OLD> -f buildmigration.xml -logfile
<logfile> -Dtarget=clean-up-for-rerun migrate
${ANT_HOME}/bin/ant -f ycdmigration.xml -Druntime=<INSTALL_DIR> -Druntime.old
=<INSTALL_DIR_OLD>
-DYANTRA_RUNTIME_NEW=<INSTALL_DIR>
-Dtarget=clean-up-for-rerun migrate -logfile <logfile>
This command deletes the /history and /transaction subfolders located in the <INSTALL_DIR>/Migration/9.3/database/scripts/<db version> directory. This command also deletes the extensions that were copied by running the copyextensions target.
From:
TAX_PERCENTAGE NUMBER (8,5) DEFAULT 0
To:
TAX_PERCENTAGE NUMBER (18,5) DEFAULT 0
If this change is not applied, the apply alters step fails, and the "column to be modified must be empty to decrease precision or scale" error may be thrown.
When migrating from 8.5, 9.0, 9.1, 9.2.1, or 9.3 to 9.4, run the following command:
${ANT_HOME}/bin/ant -Druntime=<INSTALL_DIR> -Druntime.old=<INSTALL_DIR_OLD> -f buildmigration.xml -logfile <logfile> -Dtarget=update-metadata-tables migrate
The *.done file created in the 9.3 status folder for the update-metadata-tables task is transaction_ant_colonyversionmigrator.xml.done.
When migrating from 8.5, 9.0, 9.1, 9.2, 9.2.1 or 9.3 to 9.4, run the following command:
${ANT_HOME}/bin/ant -Druntime=<INSTALL_DIR> -Druntime.old=<INSTALL_DIR_OLD> -f buildmigration.xml -logfile <logfile> -Dtarget=delete-stale-colony-pool migrate
The *.done file created in the 9.3 status folder for the delete-stale-colony-pool task is ant_deletecolonypools.xml.done.
This property determines the number of threads that are used to process alter scripts. By default, this value is set to 6. For example, if 10 alters are generated by initupgrade and yfs.upgrade.no.of.threads.for.tablealters is set to 6, 6 threads will process the 10 alters.
This property determines the number of colonies that are processed in parallel by the threads running alter scripts. This property is used only for sharded mode. By default, this value is set to 1. For example, if this value is set to 2 and yfs.upgrade.no.of.threads.for.tablealters is set to 6, 6 threads will run for colony1, and 6 threads will run for colony2.