The BPMSnapshotSourceProfile command copies the configuration files in the source profile to a snapshot directory that will serve as the source of the profile migration.
BPMSnapshotSourceProfile [options] source_install_root source_profile_name snapshot_directory
Stop all servers and node agents associated with the profile being copied before invoking the BPMSnapshotSourceProfile command.
-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.Copy the configuration files for the profile named profile1 located in the BPM620 source installation root directory to the /MigrationSnapshots/ProcServer620 snapshot directory:
Copy the configuration files for the profile named profile1 located in the ProcServer620 source installation root directory to the /MigrationSnapshots/ProcServer620 snapshot directory with trace turned on:
Errors are logged in the snapshot directory in a file whose name begins with BPMSnapshotSourceProfile and ends with .error.
To turn on trace, use the -trace option. By default, the trace information is written to the snapshot_directory/logs/BPMSnapshotSourceProfile.timestamp.trace file. To specify an alternative trace file, use the -traceFile parameter.
The BPMSnapshotSourceProfile command script might fail when copying a profile. To prevent the BPMSnapshotSourceProfile command script from failing because too many files are open, increase the ulimit setting in the bash command shell profile.
cd ~
vi .bashrc
ulimit -n 8192
If the profile copying fails, check the logs to identify the problem. Fix the problem and rerun the BPMMSnapshotSourceProfile command.