User the following procedure for migrating a server profile on a system whose operating system is being upgraded.
Follow the steps in this procedure to migrate a profile on a system whose operating system is being upgraded.
From any system that has the new version installed, create a remote migration utilities image using the BPMCreateRemoteMigrationUtilities command from the target_install_root/bin directory.
Use the following syntax:

BPMCreateRemoteMigrationUtilities.sh
remoteMigrationUtilities.gzip
BPMCreateRemoteMigrationUtilities.bat
remoteMigrationUtilities.zip The location of the remoteMigrationUtilities.gzip file is displayed when you run the BPMCreateRemoteMigrationUtilities command. By default, the remoteMigrationUtilities.gzip file is located in the appserver_root/util/migration directory.
For more information about the BPMCreateRemoteMigrationUtilities command, see the BPMCreateRemoteMigrationUtilities command topic.
Using FTP, RCP, or some other mechanism, copy the remote migration utilities from the target system to the source system and extract the remote migration utilities on the source system into their own unique directory.
If you have applications that use WebSphere Adapters, extract the application deployment configuration using the BPMQueryDeploymentConfiguration command from the remote migration utilities/bin directory.
The user-specified snapshot directory should not be located in the source or target product installation directories, so those directories can be removed later if necessary without impacting the configuration files in the snapshot directory.


BPMQueryDeploymentConfiguration.sh
/opt/ibm/WebSphere/ProcServer sourceProfile1 /MigrationSnapshots/ProcServer
BPMQueryDeploymentConfiguration.bat
"C:\Program Files\IBM\WebSphere\ProcServer" sourceProfile1 c:\MigrationSnapshots\ProcServer 
<snapshot directory>/profiles/<profile name>
You will need to edit the ApplicationMigrationInformation.xml file to mark which WebSphere Adapter instances to update to the new version during runtime migration. See step 4 for information on editing ApplicationMigrationInformation.xml.
For more information about the BPMQueryDeploymentConfiguration command, see BPMQueryDeploymentConfiguration command-line utility.
If you extracted the application deployment configuration as described in step 3, edit ApplicationMigrationInformation.xml to mark the WebSphere Adapter instances to update to the new version during runtime migration.
<snapshot directory>/profiles/<profile name>
Configuring Resource Adapters in the WebSphere® Application
Server information
center.On the migration source system, use the BPMSnapshotSourceProfile command from the remote migration utilities/bin directory to create a snapshot directory containing the configuration files that will be migrated.
Use the following syntax to snapshot a source profile named sourceProfile1 located in the installation root directory to the /MigrationSnapshots/ProcServer snapshot directory:

BPMSnapshotSourceProfile.sh /opt/ibm/WebSphere/ProcServer
sourceProfile1 /MigrationSnapshots/ProcServer
BPMSnapshotSourceProfile.bat "C:\Program
Files\IBM\WebSphere\ProcServer" sourceProfile1 c:\MigrationSnapshots\ProcServer For more information about the BPMSnapshotSourceProfile command, see the BPMSnapshotSourceProfile command topic.
Create a compressed file of the source snapshot directory and copy it to a remote system temporarily while the source system is being upgraded.
Upgrade the system's operating system to the appropriate version.
Install the target product and latest fix packs on the same system as the source product of the migration.
Copy the snapshot directory compressed file that was stored temporarily on the remote system back to the freshly upgraded target migration system. Extract the compressed file to create a snapshot directory folder on the target migration system. Use the extracted root directory as the snapshot directory value for the remaining IBM Business Process Manager migration command-line utilities.
Create the target profile by running the BPMCreateTargetProfile command from the target_install_root/bin directory. This profile will not be ready for use until the BPMMigrateProfile command is run from the target_install_root/bin directory to migrate the source profile to the new target profile.
Use the following syntax to create a target profile for the migration using the source profile named sourceProfile1 copied to the /MigrationSnapshots/ProcServer snapshot directory:

BPMCreateTargetProfile.sh /MigrationSnapshots/ProcServer
sourceProfile1
BPMCreateTargetProfile.bat "C:\MigrationSnapshots\ProcServer"
sourceProfile1 For more information about the BPMCreateTargetProfile command, see the BPMCreateTargetProfile command topic.
Migrate the source profile to the target profile using the BPMMigrateProfile command. This command will read the configuration information from the snapshot directory specified by the BPMSnapshotSourceProfile command and migrate it to the target profile.
Use the following syntax to migrate the source profile named sourceProfile1 copied into the /MigrationSnapshots/ProcServer directory to the target profile:

BPMMigrateProfile.sh /MigrationSnapshots/ProcServer
sourceProfile1
BPMMigrateProfile.bat "C:\MigrationSnapshots\ProcServer"
sourceProfile1 If the source profile does not have security enabled, the -username and -password parameters are unnecessary; otherwise, the user name provided must be a member of the operator or administrator role.
On the Windows operating system, even if security is enabled, the -username and -password parameters do not have to be specified if the server is running as a Windows service. In this case, the parameters are automatically passed into the script that the Windows service uses to shut down the system.
For more information about the BPMMigrateProfile command, see the BPMMigrateProfile topic.
Run the BPMMigrationStatus command from the target_install_root/bin directory to verify the current state of the migration.

BPMMigrationStatus.sh
BPMMigrationStatus.bat For more information about the BPMMigrationStatus command, see the BPMMigrationStatus command topic.