The BPMMigrateProfile command migrates a source profile from the snapshot directory to a target profile.
The BPMMigrateProfile command migrates the configuration files that were copied from a source profile specified by the snapshot_directory parameter and the source_profile_name parameter to a target profile created with the BPMCreateTargetProfile command.
By default, do not replace the version 6.2.0 port definition during migration. The source version's configuration is left alone and no channels are deleted. The following four named channels are set to values that are equivalent to the values set for the source version:
This option is supported for stand-alone profile migration only.
The migration process creates transports or channels, based on the -scriptCompatibility setting, for any ports in the source version. The migration process sets all non-web-container ports to the values set for the previous release.
Port conflicts might arise if the migration process creates a transport or channel that is the same as one defined in the web container. This is the default.
If this option is specified, replace all virtual host alias port settings during migration with version 8.0 port definitions.
By default, the migration process adds configuration data from the previous environment to the data in the new IBM® Business Process Manager environment. In some cases, however, this might not be the correct behavior for these port values. For example, existing port definitions from the earlier release might have been carefully set to avoid port conflicts with other products. In such cases, it is likely that you would want to migrate these settings into the new version's configuration.
If the -replacePorts parameter is set to true, the migration process uses all port values from the old configuration in the new configuration. All ports from the old configuration supersede the settings for the same ports in the new configuration.
If the -replacePorts parameter is set to false, the default port definitions in the new profile are not replaced with the values from the old configuration during migration. All port values from the new configuration supersede the settings for the same ports in the old configuration.
If the -replacePorts parameter is not set, a conflicting port is renumbered incrementally from its original value until a nonconflicting port is identified. If the -basePort parameter is set, a conflicting port is renumbered incrementally from the port block number until a nonconflicting port is identified.
The default value is true. Specify true to minimize impacts to existing administration scripts. For example, if you have existing wsadmin scripts or programs that use third-party configuration APIs to create or modify the Version 6.x configuration definitions, you might want to specify true for this option during migration.
By default, when a source deployment manager profile is migrated to a target deployment manager profile, the source deployment manager profile is disabled. Disabling the source deployment manager by default ensures that the source and target deployment managers are not started at the same time.
Specifying true for this parameter means that any configuration changes made in the old configuration during migration might not be migrated.
BPMMigrateProfile.timestamp.trace
BPMProfileUpgrade.timestamp.trace
WASPostUpgrade.timestamp.trace
-wasTraceString *=all
To
get a trace for a specific component, specify, for example:-wasTraceString com.ibm.ws.migration.preupgrade.*=all:com.ibm.ws.admin.*=finer
By
default, the trace information is written to the snapshot_directory/logs/WASPostUpgrade.profile_nametimestamp.log file.Migrate the configuration for the source profile named profile1 copied to the /MigrationSnapshots/ProcServer directory:
Migrate the configuration for the source profile named profile1 (which has security turned on) that is copied to the /MigrationSnapshots/ProcServer directory:
Migrate the configuration for the source profile named profile1 that is copied to the /MigrationSnapshots/ProcServer directory to a target profile that was created with a different name of profile2:
Migrate the configuration for the source profile named profile1 copied to the /MigrationSnapshots/ProcServer directory with trace turned on to the finest level and specify a non-default trace log file:
Errors are logged in the snapshot directory in a file whose name begins with BPMMigrateProfile and ends with .error.
To turn on trace, use the -trace option. By default, the trace information is written to the snapshot_directory/logs/BPMMigrateProfile. timestamp.log file. To specify an alternative trace file, use the -traceFile parameter.
The BPMMigrateProfile command displays status to the screen while it is running. This command also saves a more extensive set of logging information in the BPMMigrateProfile.profilename.timestamp.log file located in the snapshot_directory/logs directory. You can view the BPMMigrateProfile.profilename.timestamp.log file with a text editor.
If the profile migration fails, check the logs to identify the problem and fix it. You can then rerun the BPMMigrateProfile command.
If the keepSourceDMgrEnabled option is specified, make sure that both deployment managers are not started at the same time. If they are, port conflict errors will likely result and managed profiles will receive conflicting configuration information. If the keepSourceDMgrEnabled option is not specified, and it is necessary to roll back a deployment manager profile migration, use the migrationDisablementReversal command.
MIGR0380E: The JMX connection is not established with the deployment manager node qaxs06,
using connector type of SOAP on port 8879. The WASPostMigration program is now closing.
No changes are made to the local Application Server environment.
com.ibm.websphere.management.exception.ConnectorException: ADMC0016E: The system cannot
create a SOAP connector to connect to host qaxs06 at port 8879.
com.ibm.ws.migration.utility.UpgradeException: com.ibm.websphere.management.exception.ConnectorException:
ADMC0016E: The system cannot create a SOAP connector to connect to host qaxs06 at port 8879.